Brent W Well-known member Jul 28, 2012 #1 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.
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.
Jake Bunce Well-known member Jul 28, 2012 #2 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. Upvote 0 Downvote
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.
Brent W Well-known member Jul 28, 2012 #3 Unfortunately the parent node is where I am moving them lol Upvote 0 Downvote
Brent W Well-known member Jul 28, 2012 #4 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? Upvote 0 Downvote
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?
Jake Bunce Well-known member Jul 28, 2012 #5 Code: UPDATE xf_thread SET node_id = 123 WHERE node_id IN (456,457,458,459); Upvote 0 Downvote