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)

MrHorror 08-28-2012 10:18 PM

This mod didn't even show up at the foot of the screen when I installed it on my board.

MrHorror 08-29-2012 03:07 PM

Ok I downloaded ugcb.xml the first time. This morning, I downloaded ugcb.xml 211. Installed it, and it works!

Amaury 08-29-2012 06:16 PM

Quote:

Originally Posted by cjwinternet (Post 2356367)
Useless.

Some of our usergroups are 'black-bold', some of them are 'black-normal'.

This plugin shows everything as bold.

That's as designed.

Psycho-Killer 10-14-2012 08:23 PM

Usergroup Color Bar zentrieren

Search in the file product-ugcb-211.xml:
PHP Code:

$template_hook['forumhome_wgo_pos2'] .= '<h3 class="blocksubhead">'.$activeusers2.'</h3> 

replace with:
PHP Code:

$template_hook['forumhome_wgo_pos2'] .= '<h3 class="blocksubhead"><center>'.$activeusers2.'</center></h3> 

and Done;)

Alibass 10-14-2012 09:52 PM

Quote:

Originally Posted by Disco_Stu (Post 2355255)
I installed this mod and it looks good but I wanted the ability to display the color legend from any page without having to change the template for each page so I added a link to the nav bar to allow a visitor to display the color legend on demand as a popup on any page.

The legend is being displayed via the standard_error message box in a small php file that the link calls. Because I don't plan on changing the color assignments I simply hard coded the colors in the popup message via font markups in the php file. This eliminates having to retrieve the color values each time the popup is displayed.

Here's the php code:

PHP Code:

<?php

define
('THIS_SCRIPT''color_legend');

require_once(
'./global.php');

eval(
standard_error('<center>Our user accounts are color coded to help identify their category. The colors are as follows:<br><br><font color=red>? Administrators</font>&nbsp;&nbsp;<font color=yellow> ? Super Moderators</font>&nbsp;&nbsp;<font color=purple> ? Moderators</font>&nbsp;&nbsp;<font color=green> ? Registered Users</font></center> '));

?>


Thanks for sharing your code... :):up:

d0zer 11-26-2012 05:09 PM

atakan usta 4.2.0 versiyonunda resimdeki gibi yerde çıkmadı ?onun bir alt bölmesinde ayrı şekilde çıktı

Amaury 11-26-2012 07:22 PM

Quote:

Originally Posted by d0zer (Post 2385331)
atakan usta 4.2.0 versiyonunda resimdeki gibi yerde ?ıkmadı ?onun bir alt b?lmesinde ayrı şekilde ?ıktı

Google Translation:

Quote:

Originally Posted by Google Translate
atakan master version 4.2.0 did not place as in the picture? its a sub-panel to a separate output


Glenn379 12-02-2012 03:58 AM

It would be really helpful if you labelled the 2 files better. The normal one doesn't work at all. The '211' version works.

Thanks for the mod but it would have been lot easier with the above in place.

Morpheuss89 12-04-2012 02:10 PM

EDIT: solved

fxdigi-cash 12-04-2012 04:21 PM

very good plugin. works great on vb4.2.0


All times are GMT. The time now is 07:40 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.01690 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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