The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Post Counts
I want to know how to make it so that post counts are not lowered when posts are deleted without making a seperate forum which only admins and smods can see, so like editing a php file or something, but for 3.0.3
|
#2
|
|||
|
|||
please can someone help me i need it urgently
|
#3
|
||||
|
||||
Quote:
For what you want, you may need to create another field and store the values someway there, A SQL Pro can help ya here. |
#4
|
|||
|
|||
so is there a sql pro lol
|
#5
|
|||
|
|||
please can someone help me
|
#6
|
|||
|
|||
i am not much of a programmer, but i suggest a new DB table so that new post is copied to both, and when they delete they only delete from ain, and u keep showing the other?
|
#7
|
|||
|
|||
so how do i do that lol
|
#8
|
||||
|
||||
Why are you deleting posts?
If you don't need to save space or so, you can just soft delete them, which will not reduce the postcount. |
#9
|
|||
|
|||
i don't want to soft delete them i want them gone lol, so how do i do it without making the post counts go down
|
#10
|
||||
|
||||
You'd have to look for the function that hard deletes posts.
There should be a query there along the lines of $DB_site->query("UPDATE " . TABLE_PREFIX . "user SET postcount = postcount-1 WHERE userid = $userid"); Delete that query. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|