The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
|||
|
|||
Whoa that's actually pretty good, I wonder if it's possible to do the same with the board's post count?
|
#3
|
|||
|
|||
Oh btw I have another question, does the counter still work when you delete a thread? I mean if you delete a thread will it reduce that user's post count?
|
#4
|
|||
|
|||
With this hack, any time a post is deleted (be it via Pruning or by the user himself or the moderator of the forum, and whether you are deleting an individual post or a whole thread), the user's post count is *not* affected. So this makes his count truly a full count of the total number of posts he has made since registering. The reason it works this way is all the different ways to delete a post - pruning, moderator deleting, user deleting, thread being deleted - rely on these two functions to work. Once you remove the reduce count functionality from these two places, no matter how a post is deleted, the user's count stays the same.
|
#5
|
|||
|
|||
I see, the only drawback would be if a user spammed the board intentionaly to raise his or her post count, and then deleted his threads.
I guess if you don't allow users to delete their threads, but only to edit them you kinda solve this problem! Nice hack indeed man! |
#6
|
|||
|
|||
I guess I'm the only person that likes it the way it is now. I like the fact that when a post is deleted, the post count goes down.
Messages are only deleted on my board for one main reason: The user accidentally double-posted. When I see a double post, I delete one. It makes things look nicer. And I don't think someone should get positive credit for a mistake, even if a genuine, simple mistake. Now we have a very progressive moderating attitude on my board. We will allow a lot of stuff to go by, as long as people are not attacking each other, etc. But when situations do come up, I prefer to edit or censor, rather than deleting the message. By editing the message, and putting an explanation in the edited message, the person who posted the offending message will see right away that what he did was not acceptable, and will have an explanation. This is preferable, in my opinion, that the person coming back and seeing his message missing, and not knowing what is going on. So deleting a post is not normally done on my board, and only as a very last resort. So if something is deleted, it was because it was very, very bad, and once again, I do not feel someone should continue to get positive credit, to keep credit for that post, if it was so bad that it had to be deleted. Now I have things set so nobody can delete their own messages or threads, so we do not have a situation of innocent people getting their counts lowered because someone deleted the first post. |
#7
|
|||
|
|||
You might want to read what I wrote here at the bottom:
http://vbulletin.com/forum/showthrea...threadid=12189 This entire hack is redundent. Instead of so many code lines, you can achieve exactly the same result by changing in functions.php: Code:
function deletethread($threadid,$countposts=1) Code:
function deletethread($threadid,$countposts=0) and if you want post count not to change when specific posts are deleted as well, then in function.php change: Code:
function deletepost($postid,$countposts=1,$threadid=0) Code:
function deletepost($postid,$countposts=0,$threadid=0) |
#8
|
|||
|
|||
hmm, bira's version of the hack does not work in vB 2.0 final and tubedogg`s first replacement is not anywhere in the funcions.php of the final release.
Can you help me? Edit: forgotten the word "not" |
#9
|
||||
|
||||
Quote:
|
#10
|
|||
|
|||
Quote:
I have forgotten the little word "not". Bira's version of the hack does not work, too. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|