View Full Version : Post Icons for a specific usergroup
Imprezer
06-08-2004, 06:24 AM
I want to have post icons only visible and usable by a selected usergroup when posting a new thread, but viewable by everyone when the thread is posted.
Is that doable?
Slapyo
06-08-2004, 06:51 AM
i'm not sure if this is how you would do it. but just from quickly thinking about it, you might be able to get away with an IF in the template around where the post icons are displayed.
so IF certain user group {show icons} else {don't show}
like in the newthread template:
FIND:
$posticons
REPLACE WITH:
<if condition="$bbuserinfo['usergroupid'] = 1">
$posticons
</if>
you can change the 1 to whatever usergroup you want to see the post icons.
i think that would work, i'm not sure though. if it does work, then you would have to go through the different templates that have post icons in it and put the same code in place.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.