XF 1.1 Query To Mass Delete Forums

Brent W

Well-known member
Is it possible to have a query that will mass delete forums if I have the forum ids of the forums that I wish to remove? All forums are empty.
 
Probably. But this should really be done in the control panel. Note that when you delete a parent node it deletes all children as well. This might reduce your workload if all of the forums share a parent.
 
While I have you Jake:

Code:
UPDATE xf_thread SET node_id = 123 WHERE node_id = 456;

Can I simply do this:
Code:
UPDATE xf_thread SET node_id = 123 WHERE node_id = 456,457,458,459;

to mass move threads from multiple forums (456-459) into node 123?
 
Back
Top Bottom