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)

steve1966 02-21-2011 06:13 PM

you could use this one until the authors fixes this one

https://vborg.vbsupport.ru/showthrea...+legend&page=2

manuly added and working ok for me

venom2124 02-22-2011 01:29 AM

Quote:

Originally Posted by steve1966 (Post 2165085)
you could use this one until the authors fixes this one

https://vborg.vbsupport.ru/showthrea...+legend&page=2

manuly added and working ok for me

See I asked the question if that mod was working with 4.1.2 and they said no and now you are saying it works. Interesting.

Boofo 02-22-2011 01:36 AM

I posted that in the wrong thread. It was supposed to be posted here. Sorry for the confusion. This one does NOT work with 4.1.2 as it is right now. The other one does.

FractalizeR 02-22-2011 08:27 AM

4.1.2 compatibilty patch:

================================================== ==========

Go to /admincp/plugin.php?do=modify and replace there the contents of the forumhome_complete module, that belongs to Usergroup Colorbar plugin with the following:

PHP 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'].' ';
}
$activemembers .= '<br /><b>'.$activeusers2 .'</b><br /><br />';



Boofo 02-22-2011 08:42 AM

I'm just curious here... where are you getting $activemembers from? That throws it down in the statistics block.

TeknoSounds 02-22-2011 09:36 AM

it used to be $activeusers, I assume its a global vbulletin variable thats out there, and it got changed to $activemembers. other than that, looks like the mod is fairly intact.

Very much thanks for figuring it out Fractalizer.

Boofo 02-22-2011 10:03 AM

No, $activeusers did not get changed to $activemembers. $activeusers is an array now. Did you even try the code he posted? It puts in the the stats block at the bottom.

fxwoody 02-22-2011 11:04 AM

Yes the code end up in the stat but at least it works ;)
I'm trying to figure out how it puts it there tho!?!

Boofo 02-22-2011 11:19 AM

Quote:

Originally Posted by fxwoody (Post 2165356)
Yes the code end up in the stat but at least it works ;)
I'm trying to figure out how it puts it there tho!?!

Because that is where $activemembers is.

Mikevet1984 02-22-2011 04:15 PM

Because not everybody is expert in coding and vBulletin software, could sb please do the patch that the coder FractalizeR shared with us and export the xml file of the updated version of this mod and share it with us in this topic?


All times are GMT. The time now is 09:20 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.01468 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_php_printable
  • (2)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