vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Usergroup Color Bar Legend (https://vborg.vbsupport.ru/showthread.php?t=228607)

Swordman844555 02-23-2011 10:52 AM

Nice work, Big Thx Boofo! :up:

matrixmark 02-23-2011 11:16 AM

Thanks Boofo this works almost for me!! but any idea why it places dots after the rank image?

https://vborg.vbsupport.ru/external/2011/02/13.png

As you can see its after the actual rank images it places a dot in there. I have checked the HTML Markup for the usergroups and no dots in there.

Thanks

Mark

P.s Its also doing this with the Default theme.

fxwoody 02-23-2011 11:27 AM

Boofo our savior! ;)
Tks my friend, works A1

@matrixmark

remove the dot (in red) from this line:

Code:

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . ' ? ' . $vbulletin

Boofo 02-23-2011 11:27 AM

You messed up somewhere when you edited the code. There were no extra dots in the code I posted.

fxwoody 02-23-2011 11:49 AM

yes there is one boofo! The one in the code i posted is what he's looking for to remove! If you change it to ' ~ ' it will show this between the usergroup name

emath 02-23-2011 11:58 AM

Quote:

Originally Posted by Boofo (Post 2165739)
This will fix it to work on 4.1.2 like it did before. Replace the code in the forumhome_complete hook with the following:

Code:

if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
        $activeusers2 = '';
        $userbuls = split(',', $vbulletin->options['sirala']);

        foreach($userbuls AS $userbul)
        {
                $activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . ' ? ' . $vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'] . ' ';
        }
        $vbphrase['most_users_ever_online_was_x_y_at_z'] .= '<p><b>'.$activeusers2.'</b></p>';
}


I expect to see lots of Boofo donations for this. ;)


thanks, works..

dont expect too many donation for editing one line ;)

AshMagic 02-23-2011 12:05 PM

Where is the forumhome_complete hook?

If this is the case, won't it get deleted after every update? Thanks.

matrixmark 02-23-2011 12:07 PM

Quote:

Originally Posted by fxwoody (Post 2165753)
Boofo our savior! ;)
Tks my friend, works A1

@matrixmark

remove the dot (in red) from this line:

Code:

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . ' ? ' . $vbulletin

That worked, thanks very much guys :)

Boofo 02-23-2011 12:11 PM

Quote:

Originally Posted by fxwoody (Post 2165762)
yes there is one boofo! The one in the code i posted is what he's looking for to remove! If you change it to ' ~ ' it will show this between the usergroup name

No, there were no extra dots in the code I posted. Just the one that separates each title, which is the default. He added images to his markups, that was what I was referring to.

TeknoSounds 02-23-2011 12:38 PM

ya'll are awesome, just sayin' :D


All times are GMT. The time now is 11:53 AM.

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.01425 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)pagenav_pagelinkrel
  • (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