![]() |
How do I freeze post counts
How do I freeze a post count. For example: If I set my post count to be 500 in the UserCP, how do I set it so that it always stays at 500 even if I continue posting? Thanks in advance ;)
Domokun |
Hi,
You have to edit all the forums... Forum Manager > Edit (Forum). Set "Count Posts Made in this Forum Towards User Post Counts" to No. :) Adrian |
I think he may have only been wanting this for specific users maybe. eg. make your post count 1337 and leave it there lol. iono ^^
|
Yes, to set this for specific users is what I'm looking for.
Domokun |
Bump, somebody has to know how to do this for an individual user.
Domokun |
I just did it on my vBulletin 3.6 like so and its working good.
Plugin Manager -> Add New Plugin -> Input the following Product - vBulletin Hook Location - userdata_presave Title - Freeze postcount Execution Order - 5 Plugin PHP Code - Code:
if ($this->fetch_field('userid') == X) Plugin is Active - Yes Save and enjoy Be sure to change the post count to whatever number you want it to be first, and then make the plugin active. |
Wow, this is exactly what I'm looking for :D . Thank you soo much.
Sincerely, Domokun |
Hmm, the post count freeze code you gave me works great, but I was wondering, how do you add more than one user? I tried separating the UserID's with a comma but that didn't work. Thanks again :)
Domokun |
Quote:
Code:
if ($this->fetch_field('userid') == X || $this->fetch_field('userid') == X) Or you could create an array with the user ids and use in_array http://php.net/in_array |
All times are GMT. The time now is 09:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|