The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Help with rolloever in php...
Ok...there is a rollover legend hack available, a color legend hack available, and a sort usergroup hack avaiable...i want to combine all 3 of them...
the first thing I need is to figure out how to combine the first two... I need to know how to add this template code into this plugin code... template Code:
<div style="float:left;"> </div><div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Banned Member" ital="y" line="y" clr="#000000" onmouseover="setup_legend(this)" onmouseout="fetch_object('legend').innerHTML = ''"> <div class="tborder" style="height:8px;width:8px;background:#000000;"></div> </div><div style="float:left;width:10px;height:1px;"> </div><div style="float:left;" id="legend"></div> this code below is a plugin that creates a usergroup legend and displays whatever markup is set via the admin cp...i would like to somehow incorporate the above into this plugin... Code:
foreach ($vbulletin->usergroupcache AS $usergroup) { if (!$usergroup['opentag']) { continue; } if (!isset($legend)) { $legend = $usergroup['opentag'] . $usergroup['title'] . $usergroup['closetag']; } else { $legend .= " | " . $usergroup['opentag'] . $usergroup['title'] . $usergroup['closetag']; } } if you look on my site...http://vbgamerz.com/forum (ignore the content...it's under construction as you can tell)...in the what's going on box...the plugin provides the pretty colored usergroup list... while that template adds the black hover box below it... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|