Hi,
I'm very new to VB, but after lots of testing i ended up with 150k topics/replies and 10k users
Now i don't want to start fresh so i keep my other settings, but is there a fast way to delete all topics and replies. I use import scripts using VB_api calls to import our old forum data into VB. But i want to add something that on every import i first delete all existing topics and users and then import everything again. Since now it adds doubles every time.
The channels, which also are the first node items, i want to keep.
If i search in the vb_api docs, you can only delete by id. So then i first must find a search command to get all the IDs but the node -> fetchChannelNodeTree() doesn't return the full list.
Can i maybe delete the nodes straight from the database using some vBForum query? But maybe there are relation tables that depends on these nodes?
The prune option from de adminCP can't really handle this, and i want to run it automatically using the import script with vb_api or vBForum (or plain sql).
Same goes for the users, only keep the default Admin user, delete all others.
Thank you
I'm very new to VB, but after lots of testing i ended up with 150k topics/replies and 10k users
Now i don't want to start fresh so i keep my other settings, but is there a fast way to delete all topics and replies. I use import scripts using VB_api calls to import our old forum data into VB. But i want to add something that on every import i first delete all existing topics and users and then import everything again. Since now it adds doubles every time.
The channels, which also are the first node items, i want to keep.
If i search in the vb_api docs, you can only delete by id. So then i first must find a search command to get all the IDs but the node -> fetchChannelNodeTree() doesn't return the full list.
Can i maybe delete the nodes straight from the database using some vBForum query? But maybe there are relation tables that depends on these nodes?
The prune option from de adminCP can't really handle this, and i want to run it automatically using the import script with vb_api or vBForum (or plain sql).
Same goes for the users, only keep the default Admin user, delete all others.
Thank you
Comment