Modifying Usergroup Hack

thisisepic

New Member
Instead of seeing the usergroups as..

[Admin] [SuperMod] [Moderator] etc, etc.

I would like for them to appear like this..

Admin - SuperMod - Moderator

also for some reason they are appearing as 'bold' which I do not want them to either. Not sure what to edit but im sure it's in here somewhere, just need a bit of direction :)

Product Code:

Code:
<plugin active="1" executionorder="5">
			<title>Usergroup Color Bar</title>
			<hookname>forumhome_complete</hookname>
			<phpcode><![CDATA[if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<br />';
$userbuls = split(',', $vbulletin->options['sirala']);
foreach($userbuls AS $userbul) {

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '• '.$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
$activeusers = '<b>'.$activeusers2 .'</b><br /><br />'. $activeusers;
}]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_sirala_desc" date="1185364479" username="Zero Relax" version="1.0.0"><![CDATA[Write the id numbers of the user groups in order. Please put comma between each group. It will show as you write the order.]]></phrase>
			<phrase name="setting_sirala_title" date="1185364479" username="Zero Relax" version="1.0.0"><![CDATA[User Grup Order Style]]></phrase>
			<phrase name="setting_ugcb_onoff_desc" date="1185275296" username="Zero Relax" version="1.0.0"><![CDATA[Enable (Yes/No)]]></phrase>
			<phrase name="setting_ugcb_onoff_title" date="1185275296" username="Zero Relax" version="1.0.0"><![CDATA[Enable Usergroup Color Bar]]></phrase>
			<phrase name="settinggroup_ugcb" date="1185275204" username="Zero Relax" version="1.0.0"><![CDATA[Usergroup Color Bar]]></phrase>
		</phrasetype>
	</phrases>
	<options>
		<settinggroup name="ugcb" displayorder="65535">
			<setting varname="ugcb_onoff" displayorder="10">
				<datatype>boolean</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="sirala" displayorder="20">
				<datatype>free</datatype>
				<defaultvalue>6,5,7,2</defaultvalue>
			</setting>
		</settinggroup>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>
 
Back
Top