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

Reply
 
Thread Tools
Split Useronline on Forumhome (Members / Team) Details »»
Split Useronline on Forumhome (Members / Team)
Version: 1.0.3, by Surviver Surviver is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.4 Rating:
Released: 01-06-2007 Last Update: 02-28-2007 Installs: 197
Uses Plugins Template Edits
 
No support by the author.

Split Useronline

Description

This Hack splits the User Onine Display on Forumhome.
In the ACP you can select Team-Usergroups. The Description (Team/Member) will only be shown up, if anybody of this Categorie is online.

Installation

Import the Product and configurate it in the vBulletin Settings (No Templateedit)

That's all, have fun

Changelog
v 1.0.2
[F] Fixed a bug (Usercount)
[F] Fixed a bug that the description was not showing up, when no team-member was online
[+] Added two Groups: Premiummembers & VIPs

v 1.0.3
[+] If only normal Members are online, the Description is not shown up now (Thanks to Snake)


Greetings Surviver

Show Your Support

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

Comments
  #82  
Old 04-30-2008, 05:22 AM
nikki712 nikki712 is offline
 
Join Date: Sep 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 3.7 Gold, and it still works for me, but I have two commas between each membername. It looks like:

Team: Michael

Premium Members: , jane, , john, , joe, , jack and so on. How can I get rid of these extra commas? Right now, they're only showing up for the premium usergroup.

Regular Members: joan, mark, andy, paul and so on.
Reply With Quote
  #83  
Old 04-30-2008, 05:53 AM
VIRUS-T-HUNTER VIRUS-T-HUNTER is offline
 
Join Date: Jul 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot boss but cant find the opion to add the group????
Reply With Quote
  #84  
Old 05-01-2008, 02:32 AM
nikki712 nikki712 is offline
 
Join Date: Sep 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VIRUS-T-HUNTER View Post
Thanks a lot boss but cant find the opion to add the group????
Vbulletin Options > Forum Home Page Options. You can enable it from there and add whatever groups you want.
Reply With Quote
  #85  
Old 05-01-2008, 07:07 PM
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Location: Germany/NRW
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
the Mod don?t work on vb3.7.x Gold.

No Settings where saved and the Usernames have a double comma between the names.
The Groups where not displayed.

@Nikki: clear your Browsercache
Reply With Quote
  #86  
Old 05-01-2008, 08:24 PM
neolab neolab is offline
 
Join Date: Feb 2005
Location: Caen France
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Up to 3.7.0
Reply With Quote
  #87  
Old 05-02-2008, 09:24 PM
GoldenChaos GoldenChaos is offline
 
Join Date: Feb 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same double comma issue that everyone else has. I'm disabling this until an update occurs. PLEASE update! This is a very great hack and it would be a shame for it to die off.
Reply With Quote
  #88  
Old 05-04-2008, 05:48 PM
AdeptusAstartes's Avatar
AdeptusAstartes AdeptusAstartes is offline
 
Join Date: Aug 2007
Location: z?rich
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same problem here
Reply With Quote
  #89  
Old 05-08-2008, 04:53 AM
RedTrinity's Avatar
RedTrinity RedTrinity is offline
 
Join Date: Mar 2008
Location: QLD, Australia
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoldenChaos View Post
I have the same double comma issue that everyone else has. I'm disabling this until an update occurs. PLEASE update! This is a very great hack and it would be a shame for it to die off.
I did this to fix the double comma issue:

Open FORUMHOME_loggedinuser

Find:

Code:
<if condition="$show['comma_leader']">, </if>
Change to:

Code:
<if condition="$show['comma_leader']"> </if>
Removing the comma in that template worked for me
Reply With Quote
  #90  
Old 05-08-2008, 10:26 AM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes! That solves the problem. Using 3.7 and this mod works fine.
Reply With Quote
  #91  
Old 05-08-2008, 03:04 PM
neolab neolab is offline
 
Join Date: Feb 2005
Location: Caen France
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrD View Post
Hi,
the Mod don?t work on vb3.7.x Gold.

No Settings where saved and the Usernames have a double comma between the names.
The Groups where not displayed.

@Nikki: clear your Browsercache
Saving groupe directly in xml (<defaultvalue>)

Code:
$teamusergroups .= "\\t\\t<label for=\\"setting[$setting[varname]]$usergroupid\\" title=\\"usergroupid: $usergroupid\\"><input type=\\"checkbox\\" tabindex=\\"1\\" 

name=\\"setting[$setting[varname]]"."[]\\" id=\\"setting[$setting[varname]]$usergroupid\\" value=\\"$usergroupid\\"" . iif(strpos(",$setting[value],", ",$usergroupid,") !== false, \' 

checked="checked"\') . iif($vbulletin->debug, " title=\\"name=&quot;setting[$setting[varname]]&quot;\\"") . " />$usergroup[title]</label><br />\\n";
}
return "<span class=\\"smallfont\\">\\n$teamusergroups\\t</span>";')  . "<input type=\"hidden\" name=\"setting[$setting[varname]][]\" value=\"0\" />]]></optioncode>
				

<defaultvalue>5,6,7</defaultvalue>
			</setting>
			<setting varname="split_useronline_premiumusers" displayorder="110">
				

<datatype>free</datatype>
				<optioncode><![CDATA[" . eval('foreach($vbulletin->usergroupcache AS $usergroupid => $usergroup)
{
	$premiumusergroups .= "\\t\\t<label for=\\"setting[$setting[varname]]$usergroupid\\" title=\\"usergroupid: $usergroupid\\"><input type=\\"checkbox\\" tabindex=\\"1\\" 

name=\\"setting[$setting[varname]]"."[]\\" id=\\"setting[$setting[varname]]$usergroupid\\" value=\\"$usergroupid\\"" . iif(strpos(",$setting[value],", ",$usergroupid,") !== false, \' 

checked="checked"\') . iif($vbulletin->debug, " title=\\"name=&quot;setting[$setting[varname]]&quot;\\"") . " />$usergroup[title]</label><br />\\n";
}
return "<span class=\\"smallfont\\">\\n$premiumusergroups\\t</span>";')  . "<input type=\"hidden\" name=\"setting[$setting[varname]][]\" value=\"0\" />]]></optioncode>
			

<defaultvalue>98</defaultvalue>
			</setting>
			<setting varname="split_useronline_vipusers" displayorder="120">
				

<datatype>free</datatype>
				<optioncode><![CDATA[" . eval('foreach($vbulletin->usergroupcache AS $usergroupid => $usergroup)
{
	$vipusergroups .= "\\t\\t<label for=\\"setting[$setting[varname]]$usergroupid\\" title=\\"usergroupid: $usergroupid\\"><input type=\\"checkbox\\" tabindex=\\"1\\" 

name=\\"setting[$setting[varname]]"."[]\\" id=\\"setting[$setting[varname]]$usergroupid\\" value=\\"$usergroupid\\"" . iif(strpos(",$setting[value],", ",$usergroupid,") !== false, \' 

checked="checked"\') . iif($vbulletin->debug, " title=\\"name=&quot;setting[$setting[varname]]&quot;\\"") . " />$usergroup[title]</label><br />\\n";
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 11:33 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.05930 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete