Back to vBulletin 3.6 Template Modifications

User Legend: on ForumHome with mouseover
Mod Version: 1.00, by Digitalus

This modification is in the archives.
vB Version: 3.6.4 Rating: (7 votes - 4.43 average) Installs: 71
Released: 21 Feb 2007 Last Update: 22 Mar 2007 Downloads: 492
Not Supported Template Edits  

*********************************************************
** UserLegend on ForumHome with mouseover
** Version: 1.00
** Modification by Digitalus
**
** Works on any vBulletin versions
**
*********************************************************

*********************************************************
TEMPLATES EDITS
*********************************************************

--------------------------------------------

In forumhome template, find:

----------------------------------------

<!-- what's going on box -->

------------------------------------------------------

Add below:

-----------------------------------------------------

HTML Code:
<script type="text/javascript">
<!--
setup_memberlegend = function(tobj)
{
	prefix = ''
	suffix = ''
	if (tobj.getAttribute('ital'))
	{
		prefix += '<em>'
		suffix += '</em>'
	}
	if (tobj.getAttribute('undr'))
	{
		prefix += '<u>'
		suffix += '</u>'
	}
	if (tobj.getAttribute('bold'))
	{
		prefix += '<b>'
		suffix += '</b>'
	}
	if (tobj.getAttribute('line'))
	{
		prefix += '<s>'
		suffix += '</s>'
	}
	if (tobj.getAttribute('clr'))
	{
		prefix += '<span style="color:' + tobj.getAttribute('clr') + ';">'
		suffix += '</span>'
	}
	fetch_object('memberlegend').innerHTML = prefix + tobj.getAttribute('group') + suffix
}
-->
</script>

--------------------------------------------

In forumhome template, find:

----------------------------------------

<!-- end logged-in users -->

------------------------------------------------------

Add below:

-----------------------------------------------------

HTML Code:
<!-- User Legend By Digitalus-->
<tbody> <tr> <td class="thead" colspan="2"> <a style="float: right;" href="#top" onclick="return toggle_collapse('forumhome_legend')"><img src=$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_legend].gif alt="" name="collapseimg_forumhome_legend" width="16" height="16" border="0" id="collapseimg_forumhome_legend"></a> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">User Legend </a></td> 
		</tr> </tbody> <tbody id="collapseobj_forumhome_legend" style=""> <tr> <td class="alt2"><a href="showgroups.php$session[sessionurl_q]" rel="nofollow"><img title="Legend" src="$stylevar[imgdir_misc]/whos_online.gif" alt="Legend" border="0"></a></td> <td class="alt1" width="100%"> 				<div style="float:left;"><strong>Legend</strong>:</div>
                <div style="float:left;">&nbsp;</div>
		<div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Banned Member" ital="y" line="y" clr="#000000" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
			<div class="tborder" style="height:8px;width:8px;background:#000000;"></div>
		</div>
		<div style="float:left;">&nbsp;</div>
		<div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Member" bold="y" clr="#999999" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
			<div class="tborder" style="cursor:help;height:8px;width:8px;background:#999999;"></div>
		</div>
		<div style="float:left;">&nbsp;</div>
		<div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Vip Member" bold="y" clr="#FF9933" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
			<div class="tborder" style="cursor:help;height:8px;width:8px;background:#FF9933;"></div>
		</div>
		<div style="float:left;">&nbsp;</div>
		<div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Moderators" bold="y" clr="#339933" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
			<div class="tborder" style="cursor:help;height:8px;width:8px;background:#339933;"></div>
		</div>
		<div style="float:left;">&nbsp;</div>
		<div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Super Moderators" bold="y" clr="#0D3CEB" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
			<div class="tborder" style="cursor:help;height:8px;width:8px;background:#0D3CEB;"></div>
		</div>
		<div style="float:left;">&nbsp;</div>
		<div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Administrators" clr="#DC143C" bold="y" ital="y" undr="y" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
			<div class="tborder" style="cursor:help;height:8px;width:8px;background:#DC143C;"></div>
		</div>
		<div style="float:left;width:10px;height:1px;">&nbsp;</div>
		<div style="float:left;" id="memberlegend"></div> </td> </tr> </tbody>
<!-- End User Legend by Digitalus -->

Download

This modification is archived, downloads are still allowed.

File Type: %1$s User legende.zip (1.2 KB, 476 downloads)

Supporters / CoAuthors

  • Digitalus

Screenshots

Click image for larger version
Name:	userlegend.JPG
Views:	2806
Size:	5.9 KB
ID:	60954  

Similar Mods

User Legend on ForumHome vBulletin 3.6 Template Modifications
Forum Home Enhancements Forumhome Mouseover Effect Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024