Skip to content
WJunction - Webmaster Forum

XenForo Mass Delete Threads

Status
Not open for further replies.

bxflow

Distinguished Member
4,686
2010
621
XenForo does not have an option to mass delete threads from a forum category. If you delete the category the threads do not delete.

Does anyone know of any query to delete all threads belonging to a certain forum?




EDIT: I ran this SQL query

Code:
delete from `xf_thread` where `node_id`='[B][COLOR="Red"]XX[/COLOR][/B]'

Replacing XX with your node id (category id) will empty that certain category.. but I am not sure if the threads are actually gone from the database... I rebuiled the forum information and it shows the new thread count with the threads "deleted" but then I ran a rebuild thread cache and it counted all of them like if they were still there. Maybe they are now orphan somewhere?
 
Last edited:

5 comments

This should mass remove threads, I think this is a standard feature in XenForo, If not I'm sure there is a mod/plugin that can accomplish the same thing you're doing manually.

Rebuilding the catch should update those threads, However it could still be located in the xf_data_registry still.
 
This should mass remove threads, I think this is a standard feature in XenForo, If not I'm sure there is a mod/plugin that can accomplish the same thing you're doing manually.

Rebuilding the catch should update those threads, However it could still be located in the xf_data_registry still.
 
Well I own a legal version of vBulletin and XenForo.

Only thing XenForo to me seems to lack is themes, maybe some mods/plugins that wouldn't mind seeing ported over.

Overall I prefer both of them, but XenForo is cheaper and I don't want to upgrade to vBulletin 5.

However, I may still for one of projects of one of the domain names I own.

Regards,
Cory
 
vBulletin 5 is the most worse product created by vBulletin.
And You are right XenForo is cheaper than vBulletin and IPBoard.
 
Status
Not open for further replies.

About the author

B
Distinguished Member · Joined
Looking out my skyscraper window
4,686
Messages
621
Reactions
113
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom