![]() |
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:
|
Quote:
|
It stuffed my User CP page up, and I'm using 2.2.8 :confused:
|
Quote:
|
Would this hack make it so I could set permissions for the mod in a different usergrop. But still let them have the moderator Status shown under their name?
|
Quote:
|
I have been looking EVERYWHERE for this hack
Thank you so very much! *CLicks Install* -Nem :D |
That's great! I actually switched it round though so the custom title shows above the usergroup title. Just change
Code:
$customtext = $usertitle . '<br />' . $customtext; Code:
$customtext = $customtext . '<br />' . $usertitle; |
Ive tried to install this on 2.3.0 but I cant see that it makes any changes there. As its just as before.
Dont this hack work with 2.3.0 ? |
If you find the same piece of code in 2.3.0, the hack should work fine. Even though I have not yet had the chance to test this on 2.3.0, the base code for vBulletin changes very little with new non-major releases (and I highly doubt that it would change in this area).
|
I tried it on 2.3.0 too, and something seems to
cancel it out. I'm still looking around in there to see if I can see what is resetting it. |
Im not using this anymore. To many bugs. I made my own.
|
All times are GMT. The time now is 04:47 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:
|