PDA

View Full Version : Usergroups in postbit modification?


twilighthush
07-14-2007, 06:42 PM
I tried to install this: https://vborg.vbsupport.ru/showthread.php?t=107356&page=2 on 3.6.7, but it's still not working for whatever reason; additional groups are not showing up.

Is there a template hack to allow additional users to show up on 3.6.7?

cyberphr
07-14-2007, 08:26 PM
I don't think there is, but it shouldn't be hard. Edit the template and put in the query... Something like this:
$vbulletin->userinfo['usergroup']

I'm not certain.

twilighthush
07-14-2007, 09:28 PM
I'm not sure if that will work, because some users are in several different usergroups

<div class="info"><b>Group:</b> {$GLOBALS['vbulletin']->usergroupcache[$post[usergroupid]]['title']}</div>
<if condition="$groupstr != ''"><div><b>$vbphrase[member_groups]:</b> <br>$groupstr</div></if>
<if condition="$show['reppower']"><div class="info"><b>$vbphrase[reppower]:</b> $post[reputationdisplay] $post[reppower]</div></if>

This is the code that I have right now with the plugin which... does not work at all. Any ideas as to how I can have ALL additional usergroups displayed?



Edit: Just tested the code you provided. It does not work.