vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Usergroup colour in forumhome under thread title (https://vborg.vbsupport.ru/showthread.php?t=218291)

Sp32 07-10-2009 09:01 AM

Usergroup colour in forumhome under thread title
 
I want Sp32 to be red because I am in the admin usergroup

and AltusVultur to be blue because he is in the supermod usergroup

https://vborg.vbsupport.ru/external/2009/07/57.jpg

But its not.. phpbb has this feature and I really want it so if it is possible please tell me how to do it, thanks!

Sp32 07-12-2009 10:27 AM

no one???

James Birkett 07-12-2009 11:37 AM

There is a modification that does this - I'll get it for you.
*searches for it*
EDIT: I can't find it but it's definitely out there :rolleyes: It was called something like "usergroup colors on forumdisplay".
EDITEDIT: Found it, click here.

Sp32 07-14-2009 10:31 PM

Thanks this is a very good mod but it is only half of what I wanted, I would like the colours also to appear on the index page (where all the forums are displayed)

James Birkett 07-15-2009 07:44 PM

Hey SP, if you look at the XML of this modification:

edit by Lynne: code removed. You may not repost code written by another user without their permission.

It just uses fetch_musername hook to display with the threads. So if you look at it you might be able to add a line for index.php
I'll look at the minute and see what I can come up with.


All times are GMT. The time now is 08:16 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.01021 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete