![]() |
Keep User Group title for Moderators with a Custom Tag
On my forums, we give out a custom title at 3000 posts, so it's quite an acomplishment. Of course, the moderators want this too, even though they have to keep their "Moderator" or "Super Moderator" tags as well. Previously we were doing this through the admin panel, but that got a bit tidious, so I did a quick hack that will add moderator custom tags after the "Moderator" bit.
Install time: About 2 minutes - just one file edit :) In member.php, after: PHP Code:
PHP Code:
Note: This will enble HTML for moderators in custom tags as well, but you can trust them not to use it. Right? :paranoid: If you use this hack, please hit the "Install" button on this thread so I know :). The latest version is merely a slight modification of the original, to allow for easier addition of user groups. Feel no need to upgrade, it doesn't actually change how the hack works except make it easier to modify. |
Any Screenshots?
Satan |
Quote:
Moderator My Custom Tag! Does that answer your question? |
Oh ok...
It just sounded more complicated than it actually is... Thanks:) Great hack! Satan |
Quote:
|
Doesn't seem to work for me. Does this work with 2.2.7 because I installed the code correctly.
Dark Shogun |
It doesn't work for me either, I'm also on 2.2.7 :(
|
I'll have to get back to you guys on this one - we're running 2.2.6, and I'm not the one who owns the license (that's the other webmaster), so I haven't had a look at the source code for 2.2.7 yet. I'll see if he can send it over to me though :).
|
I did this an easier way, just make a custom profile field only Admin Edittable for the Moderator Rank, and put that above the user title in the post bit template...Same idea I guess, and Mods can still edit their titles as well...
|
Quote:
|
All times are GMT. The time now is 11:00 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:
|