How to do these modifications?

kan3

New Member
Greetings,

Please guide me on how to do these modifications.

1- How to remove this text "User Group Key"

96947951oz7.png


2- How to change the "-" to "|"


I am using

Usergroup Color Bar Legend[Updated]

Vb 3.7

Ambient Style


Thankyou
 
Mate heres the xml file

PHP:
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="ugcb" active="1">
	<title>Usergroup Color Bar</title>
	<description/>
	<version>1.0.0</version>
	<url/>
	<versioncheckurl/>
	<dependencies>
	</dependencies>
	<codes>
	</codes>
	<templates>
	</templates>
	<plugins>
		<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 />User group key: ';
$userbuls = split(',', $vbulletin->options['sirala']);
$first = true;
foreach($userbuls AS $userbul) {
if($first) {
$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] .$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
$first = false;
} else {
$activeusers2 .= ' - '.$vbulletin->usergroupcache["$userbul"]['opentag'].$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
}
$activeusers = $activeusers.'<br /><br /><b>'.$activeusers2 .'</b>';
}]]></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>
	<templateedits>
	</templateedits>
</product>

Can you please guide me?
 
About the User group key: I think the line 20

Code:
$activeusers2 .= '<br />User group key: ';

has to be changed to

Code:
$activeusers2 .= '<br /> ';

But what about the "-" to "|"?
 
Back
Top