The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove post through database and reset Topics and Posts count
Hi All,
I need to remove post from database,it can be by deleting post from node table but facing only one problem, that topics and posts count remains unchanged, Need help to reset Topics and Posts Count in database table. Thanks in Advance |
#2
|
||||
|
||||
Deleting a post from the node table is not the way to do it. There are other tables involved that need to be deleted and or updated as well. You should use the system API to delete from the database. Then the post counts and so forth would be automatically updated.
|
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
Why do you need to try and do it via the database (which is a very bad idea) and not just through the front end ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|