Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Active Users Legend Details »»
Active Users Legend
Version: 1.0.1, by vbenhancer vbenhancer is offline
Developer Last Online: Nov 2012 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 12-19-2009 Last Update: Never Installs: 37
Uses Plugins Auto-Templates
 
No support by the author.

Very simple display of each usergroups you decide to put in the legend, to gives you the choice to display a legend of the usergroups markups in the active users listing.

It's a simple product upload too, and here are the settings in the menu of the same name:

Remember a detail... this is the only version in the vB industry that will display the legend in forumdisplay and showthread, where you activate the setting "Show Users Browsing"...

Download Now

File Type: xml product-nex_active_users_legend.xml (6.2 KB, 241 views)

Screenshots

File Type: jpg nex_active_users_legend_options.jpg (38.5 KB, 0 views)
File Type: jpg product-nex_active_users_legend_result.jpg (10.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-20-2009, 03:49 AM
S7rik3R's Avatar
S7rik3R S7rik3R is offline
 
Join Date: Mar 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ... this works in 3.8.2 as well ...
Reply With Quote
  #3  
Old 12-20-2009, 02:42 PM
BostWick-x BostWick-x is offline
 
Join Date: Jul 2009
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks for the great mod.
Reply With Quote
  #4  
Old 12-20-2009, 03:20 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great!!! another top mod from vbenhancer..good work mate..imstalled
Reply With Quote
  #5  
Old 12-20-2009, 08:10 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you ..installed
Reply With Quote
  #6  
Old 12-20-2009, 10:42 PM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice; installed.
Reply With Quote
  #7  
Old 12-21-2009, 01:02 PM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by funmasti View Post
installed....
actually, posting this is useless, click the "Mark as Installed" button instead, it will be more useful that way.
Reply With Quote
  #8  
Old 03-24-2010, 10:34 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi folks, i've a trouble with this hack (by [name]vbenhancer[/name])

i need to put this hack onto my new Suite board, but i saw that there are some troubles ... this is the code:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>



<product productid="nex_active_users_legend" active="1">
	<title><![CDATA[Nexia's Active Users Legend]]></title>
	<description>Gives you the choice to display a legend of the usergroups markups in the active users listing.</description>
	<version>1.0.1</version>
	<url>http://www.vbenhancer.com/</url>
	<versioncheckurl />
	<dependencies>
		<dependency dependencytype="vbulletin" minversion="3.8.0" maxversion="" />
	</dependencies>
	<codes>
	</codes>
	<templates>
		<template name="nex_active_users_legend_wol" templatetype="template" date="1217606436" username="nexia" version="1.0.0"><![CDATA[

</table><br />

<table class="tborder" width="100%" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">

<tr>

<td class="alt1 smallfont">$vbphrase[nex_active_users_legend_wol]$legend_ugs

</td>

</tr>

]]></template>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>add nex_active_users_legend_wol to the cache</title>
			<hookname>cache_templates</hookname>
			<phpcode><![CDATA[$globaltemplates[] = 'nex_active_users_legend_wol';]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="999">
			<title>Active Users Legend on Forumdisplay</title>
			<hookname>forumdisplay_complete</hookname>
			<phpcode><![CDATA[

if ($show['activeusers'] AND $vbulletin->options['nex_active_users_legend'])

{

	$ug_list = explode(',', $vbulletin->options['nex_active_users_legend_ug']);

	$legend_ug = array();

	foreach($ug_list AS $key => $value)

	{

		if($value > 0) $legend_ug[] = $vbulletin->usergroupcache["$value"]['opentag'] . $vbulletin->usergroupcache["$value"]['title'] . $vbulletin->usergroupcache["$value"]['closetag'];

	}

	if(count($legend_ug) > 0) $activeusers .= $vbphrase['nex_active_users_legend_sep'] . implode(', ', $legend_ug);

}

]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="999">
			<title>Active Users Legend on Forumhome</title>
			<hookname>forumhome_complete</hookname>
			<phpcode><![CDATA[

if ($vbulletin->options['nex_active_users_legend'])

{

	$ug_list = explode(',', $vbulletin->options['nex_active_users_legend_ug']);

	$legend_ug = array();

	foreach($ug_list AS $key => $value)

	{

		if($value > 0) $legend_ug[] = $vbulletin->usergroupcache["$value"]['opentag'] . $vbulletin->usergroupcache["$value"]['title'] . $vbulletin->usergroupcache["$value"]['closetag'];

	}

	if(count($legend_ug) > 0) $activeusers .= $vbphrase['nex_active_users_legend_sep'] . implode(', ', $legend_ug);

}

]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="999">
			<title>Active Users Legend on Forumhome</title>
			<hookname>online_complete</hookname>
			<phpcode><![CDATA[

if ($vbulletin->options['nex_active_users_legend'])

{

	$ug_list = explode(',', $vbulletin->options['nex_active_users_legend_ug']);

	$legend_ug = array();

	foreach($ug_list AS $key => $value)

	{

		if($value > 0) $legend_ug[] = $vbulletin->usergroupcache["$value"]['opentag'] . $vbulletin->usergroupcache["$value"]['title'] . $vbulletin->usergroupcache["$value"]['closetag'];

	}

	if(count($legend_ug) > 0)

	{

		$legend_ugs = implode(', ', $legend_ug);

		eval('$onlinebits .= "' . fetch_template('nex_active_users_legend_wol') . '";');

	}

}

]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="999">
			<title>Active Users Legend on ShowThread</title>
			<hookname>showthread_complete</hookname>
			<phpcode><![CDATA[

if ($show['activeusers'] AND $vbulletin->options['nex_active_users_legend'])

{

	$ug_list = explode(',', $vbulletin->options['nex_active_users_legend_ug']);

	$legend_ug = array();

	foreach($ug_list AS $key => $value)

	{

		if($value > 0) $legend_ug[] = $vbulletin->usergroupcache["$value"]['opentag'] . $vbulletin->usergroupcache["$value"]['title'] . $vbulletin->usergroupcache["$value"]['closetag'];

	}

	if(count($legend_ug) > 0) $activeusers .= $vbphrase['nex_active_users_legend_sep'] . implode(', ', $legend_ug);

}

]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="GLOBAL" fieldname="global">
			<phrase name="nex_active_users_legend_sep" date="1185364479" username="nexia" version="1.0.0"><![CDATA[<hr align="left" width="99%" />Legend: ]]></phrase>
			<phrase name="nex_active_users_legend_wol" date="1185364479" username="nexia" version="1.0.0"><![CDATA[Legend: ]]></phrase>
		</phrasetype>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_nex_active_users_legend_desc" date="1185275296" username="nexia" version="1.0.0"><![CDATA[If set to Yes, will display a legend of the active users usergroup markups that you specify in the list below.  It is displayed in forumhome, forumdisplay and showthread pages when you activate this feature for each page, named "Show Users Browsing Forums/Threads"]]></phrase>
			<phrase name="setting_nex_active_users_legend_title" date="1185275296" username="nexia" version="1.0.0"><![CDATA[Activate the Active Users Legend display]]></phrase>
			<phrase name="setting_nex_active_users_legend_ug_desc" date="1245201733" username="nexia" version="2.0.0"><![CDATA[Select which usergroups have to be listed in the legend. Enter each usergroupID that you want to display, in the order you want them to show in the legend, seperated by a comma (1,2,3).]]></phrase>
			<phrase name="setting_nex_active_users_legend_ug_title" date="1245201733" username="nexia" version="2.0.0"><![CDATA[Which Usergroups Markup have to be listed]]></phrase>
			<phrase name="settinggroup_nex_active_users_legend" date="1185275204" username="nexia" version="1.0.0"><![CDATA[Nexia's Active Users Legend]]></phrase>
		</phrasetype>
	</phrases>
	<options>
		<settinggroup name="nex_active_users_legend" displayorder="580">
			<setting varname="nex_active_users_legend" displayorder="10">
				<datatype>boolean</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="nex_active_users_legend_ug" displayorder="20">
				<datatype>free</datatype>
				<defaultvalue>5,6,7</defaultvalue>
			</setting>
		</settinggroup>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>
i've noticed a small cosmetic issue into the forumhome so i've changed the simple <hr/> tag with <hr align="left" width="99%" /> and now there isn't any trouble like you can see in the following pic:



also there aren't any troubles in the showthread page, instead i've saw a little trouble in the WOL page like you can see in the following pic:



what i need is a simple tip to correct the small cosmetic trouble in this page ... any suggestion will be really appreciated ... :P

TIA
Reply With Quote
  #9  
Old 04-18-2011, 07:18 PM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to move it from who's online to forum statistic block in 3.8.6?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04669 seconds
  • Memory Usage 2,314KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (3)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete