vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   User(group) color vB code (https://vborg.vbsupport.ru/showthread.php?t=267589)

unfeelingalloy 07-28-2011 09:05 PM

User(group) color vB code
 
Greetings, all!

I have a quick question regarding how to specify a user's color in the recent forum posts widget (or any other place, for that matter). To explain: currently, users' names are showing up in whatever link color is specified for that div, but I'd like for the system to detect in what color the user's name appears in other parts of the system and apply it to that username in that location. I'm assuming I'll modify the widget's template where it calls the username and specify that it should be their normal color.

So basically I'm wondering if there's a special code that says "Hey, this is this user's name color" - something to the effect of {vb:user_color}.

Hope this makes sense. I checked around to see if a question like this had been asked before, but didn't see anything. If I missed a thread, hit me in the head. :)

Thanks!

unfeelingalloy 08-01-2011 07:57 PM

Hoping this isn't too soon for a shameless self-bump.

Again, if I'm overlooking something obvious, please hit me in the head. ;)


All times are GMT. The time now is 04:59 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.00990 seconds
  • Memory Usage 1,704KB
  • 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
  • (2)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