![]() |
Colored name in Navbar
This is my first "release" here, and it's pretty much simple :p This is based on the usergroup's Username HTML Markup, so you MUST have something set, for this to display anything. How to do it: Ok, go to your Style Manager -> Edit Templates -> Navbar Find: HTML Code:
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> HTML Code:
<strong><phrase 1="$bbuserinfo[musername]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> Please mark as "Installed" if you use this modification, thanks ! |
Quite a nice little hack.
Thanks, Regards Jason :) |
nice
|
awesome, installed
|
Thanks :)
|
Thx
Install! |
Great lil hack and I modified it for 3.6.8
Find: HTML Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /> HTML Code:
<strong><phrase 1="$bbuserinfo[musername]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x]</phrase></strong><br /> |
Is it me or is the part your changing the same as the part your adding???
|
Almost dude...
$bbuserinfo[username] displays only the username, while $bbuserinfo[musername] displays the color that is set in the usergroup settings. |
Quote:
thanks |
thanks
|
Hmm Thank You :))
|
So where do you set the color in the user group permissions? Thanks, rg.
|
AdminCP -> Usergroups -> Usergroup Manager -> Select the desired usergroup -> Edit usergroup. And you'll find the "Username HTML Markup" field... click the small "?" button for more help.
|
some other modifications is overtaking this mod.
i could not install it. any guide appreciated. |
Umm... search the navbar for:
HTML Code:
<phrase 1="$bbuserinfo[username]" HTML Code:
<phrase 1="$bbuserinfo[musername]" |
Hi mate,
Are you able to color the username in the 'Last Post' field too? https://vborg.vbsupport.ru/ Cheers LTC |
How do you do a legend so users can know what color belongs to what? thanks, rg.
|
I believe you want this mod, roland: Usergroup Color Bar
|
Quote:
|
Quote:
|
Yes, i already answered to your question, right under your post:
Quote:
|
Hey Mag,
Any solution to my post? Cheers LTC Quote:
|
Yeah, that can be done, but it'll take SOME modification to templates...
Though i'll try and make my first product for that. |
Quick & Easy, Thanks!
|
thanks!
|
who would of known a little m would change colors :D
thanks mate [high]* Brandon Sheley clicks install[/high] |
I know you installed it, i've seen it in action :D
|
Added Installation Instructions file.
|
Quite Simple Mod..
But Useful |
Done. Easy. Thank you :)
|
As small as the line of code is I am surprised this isn't done with the default vBulletin.
|
Thanks!!!
|
This was already done by someone else in the past:
https://vborg.vbsupport.ru/showthread.php?t=124996 But... nice re-release nevertheless. :) |
Would it be possible to do something like this with the "Today's Birthdays" box? The same trick doesn't seem to work, does anyone know another way?
|
Well... it might have different hooks there or phrases or w/e it uses.
|
Yeah, it's a bit different:
HTML Code:
<!--rlm--><a href="member.php?$session[sessionurl]u=$birthday[userid]">$birthday[username]</a> |
Works Great! Installed and Marked!
|
Thanks guy.
I installed and clicked the install button.;) |
I cant seem to find "navbar" in my edit templates any help would be apprec please?
|
All times are GMT. The time now is 04:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|