vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Username HTML Markup in Navbar (https://vborg.vbsupport.ru/showthread.php?t=105683)

HMBeaty 01-18-2006 10:00 PM

Username HTML Markup in Navbar
 
Just something I've been wanting to do for awhile now, and in my opinion, I think it makes things look a little nicer, but thats just my personal opinion. But if you want your username in your navbar to show up with the HTML markup used in the usergroups, follow this quick and easy step.....


In you navbar template, find

Code:

<phrase 1="$bbuserinfo[username]">
Replace with

Code:

<phrase 1="$bbuserinfo[musername]">

Guest210212002 01-19-2006 02:12 AM

[high]* Guest210212002 click install.
[/high]

Great tip. Some quick CSS to remove the underline would be peachy. :)

HMBeaty 01-19-2006 02:15 AM

Thanks, its been something running through my head for the longest time just never actually remember to get around to doing it until now

9tn.tip. 01-19-2006 03:39 AM

thanks for sharing

Zia 01-19-2006 03:59 AM

umm what it does...a bit confused.....

HMBeaty 01-19-2006 04:03 AM

Here's a screenshot of what it does.....

rasp187 01-19-2006 02:17 PM

Nice, thanks.

Snake 01-19-2006 03:47 PM

Great thank you!

MentaL 01-19-2006 04:02 PM

Thanks.

(PS its a temp mod not code)

notsonormal 01-22-2006 09:04 AM

thanks


All times are GMT. The time now is 01:10 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.01131 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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