![]() |
Custom Moderator Titles
This goes for my friend Danny (LeeCHeSSS) who asked me to make it for him.
Basically is a very simple hack to change the user title for each mod in function of the numer of posts, the same way like a regular user. I wanted first to make it admin CP based, but that would involve new fields added to database, several files hacked, etc. Why do all this when we can do it in less then 20seconds with a simple file edit? ;) functions.php FIND: Code:
$post[joindate]=vbdate($registereddateformat,$post[joindate]); Code:
if ( $post[usertitle] == 'Moderator' ) Customize your titles the way you want. You can it do the same way with Super Mods and Admins. Is up to you how to have fun with it. You could also use: Code:
if ( $post[usertitle] == 'Moderator' ) That will change the name of your moderators in function of how many posts per day they make. The more posts per days they make, the better it will be their title and the members will count more on their support. |
btw, that's the new way the vBulletin 3 code is written. :)
|
Cool idea, thanks :)
Installed. |
It says postsperday...? Doesn't that mean posts per day?
|
ya. :)
|
Nice :D
You're a good lad, teck ;) |
Quote:
|
So TECK, if it means postsperday, it will go by how many posts the moderator posts for that day? I'm confused...
|
Nice hack ... but here's how I set it up on my forum:
// Custom Moderator Titles if ( $post[usertitle] == 'Moderator' ) { if ( $post[posts] > 30 and $post[posts] < 100 ) { $post[usertitle] = 'Junior Moderator'; } elseif ( $post[posts] == 100 and $post[posts] < 301 ) { $post[usertitle] = 'Special Moderator'; } elseif ( $post[posts] > 300 ) { $post[usertitle] = 'Expert Moderator'; } } // End Custom Moderator Titles |
This is pretty basic, but useful. ;) I do this with mine as well, using one of my very earlier hacks.
Quote:
:p |
All times are GMT. The time now is 04:30 PM. |
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:
|