QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

Does delete boards/posts automatically remove from database?

Started by LandyVlad, Sep 12, 2021, 10:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LandyVlad

If I was to delete some boards (including the posts therein) from a forum does that automatically remove all that stuff from the database?

What about the attachments to the posts - does it delete those files from the server too?

I ask because I want to duplicate my existing 2.0.18 forum, cull it down a LOT, and then update to 2.1RC4 for experimentation etc.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Bigguy

If you delete a board it will get rid of that board from the database. It has to be empty first before you can do this. If you get rid of all the topics in that board they will also be deleted from the database. Unless you have recycle topics on and then they will go to whatever board you have deemed for recycled posts/topics. As for attachments....I THINK they get deleted as well from the database as the post they were attached to is gone they should be as well. If not doing all your maintenance should clear anything else up.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

LandyVlad

Is there an easy way to delete all threads from a board?
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Bigguy

You can select all of them and delete, but that means doing it page by page.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

LandyVlad

How to select all?

This is what I see on any given page.
You cannot view this attachment.

and there's no way I'll be doing them individual thread by thread.


Even page by page surely there must be a quicker way?
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Bigguy

See at the very right of the message window....all those little icons (4 icons). You have to change that so it's checkboxes. Then you can select all of them and delete.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Hatshepsut

You can delete all topics from a board in Admin panel => Maintenance => Forum maintenance => Topics

Enter '0' value in
"Remove all topics not posted in for .... days", then check 'Any sort of topic' radiobutton.
Select board from drop-down list below, and then click "Remove now"

Also, you can delete topics from more than one board.

LandyVlad

@Hatshepsut thanks you that was super awesomely helpful !

I managed to cull the forum right down so I can do an upgrade to 2.1RC4 next !
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Skhilled

I read this topic but got side-tracked and never responded to it...sorry. Hatshepsut is correct and that will work.

Oldiesmann

I believe SMF gives you the option to move topics to another board if you try to delete a non-empty board. It's been years since I last looked at that code/played with that stuff though so I could be wrong.
Christian Metal Fans - https://www.christianmetal.fans

Skhilled

Yeah, I think you're right or used to be able to do it. LOL