vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Split Useronline on Forumhome (Members / Team) (https://vborg.vbsupport.ru/showthread.php?t=135771)

nikki712 04-30-2008 05:22 AM

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.

VIRUS-T-HUNTER 04-30-2008 05:53 AM

Thanks a lot boss but cant find the opion to add the group????

nikki712 05-01-2008 02:32 AM

Quote:

Originally Posted by VIRUS-T-HUNTER (Post 1503033)
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.

MrD 05-01-2008 07:07 PM

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 :D

neolab 05-01-2008 08:24 PM

Up to 3.7.0 ;)

GoldenChaos 05-02-2008 09:24 PM

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.

AdeptusAstartes 05-04-2008 05:48 PM

same problem here

RedTrinity 05-08-2008 04:53 AM

Quote:

Originally Posted by GoldenChaos (Post 1506189)
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 :)

pedroenf 05-08-2008 10:26 AM

Yes! That solves the problem. Using 3.7 and this mod works fine.

neolab 05-08-2008 03:04 PM

Quote:

Originally Posted by MrD (Post 1504913)
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 :D

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";



All times are GMT. The time now is 10:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01146 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete