The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
please someone, I can't figure it out, there have a been a couple of posts, but none of them work
So could someone please tell me the code I would replace THanks! |
#2
|
|||
|
|||
In admin/functions.php
Code:
FIND: if (is_array($userpostcount)) { while(list($postuserid,$subtract)=each($userpostcount)) { $DB_site->query("UPDATE user SET posts=posts$subtract WHERE userid='$postuserid'"); } } Code:
REPLACE WITH: // if (is_array($userpostcount)) { // while(list($postuserid,$subtract)=each($userpostcount)) { // $DB_site->query("UPDATE user SET posts=posts$subtract WHERE userid='$postuserid'"); // } // } |
#3
|
|||
|
|||
thanks man,
|
#4
|
|||
|
|||
umm actually I am failing to see the difference in the codes????
what am I missing? all he did, was edit out that code??? with the // |
#5
|
||||
|
||||
That's the update query that reduces the users post count. You edit it out, the count shouldn't reduce.
|
#6
|
|||
|
|||
oooooo well good luck to me~
|
#7
|
|||
|
|||
I was just thinking the same stuff. Now, I have a question. If i prune my boards and use this. it will not lower the counts for the user but what about total threads on the board? My database is huge over 300mb.. and I am trying to find ways to cut it down. My concerns are losing the total # of threads/posts on the main page. Also, does pruning delete attachments and reduce the search index?
Thanks for the help! |
#8
|
|||
|
|||
Dammit surprisingly it did not work
Could some one pretty please, help me out here I don't see what could be so hard about it, althu I don't know php that good please help thanks!!!! |
#9
|
|||
|
|||
OK I am gonna push this one, as I am sure there are a lot of people out there, that might want this, and I don't think it would be that hard........
|
#10
|
|||
|
|||
grrrr.............
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|