View Full Version : Colored name in Navbar
Magnumutz
23 Dec 2007, 22:21
Colored name in Navbar
Please mark as "Installed (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=166058)" if you use this modification, thanks !
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:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Enjoy :)
Please mark as "Installed (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=166058)" if you use this modification, thanks !
Quite a nice little hack.
Thanks,
Regards Jason :)
Derek Chai
24 Dec 2007, 01:14
nice
hornstar1337
24 Dec 2007, 11:49
Thanks :)
dvbusuario
26 Dec 2007, 00:28
Thx
Install!
newtsys
27 Dec 2007, 02:40
Great lil hack and I modified it for 3.6.8
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
just removed the link_y and used a diffrent find for the navbar.
HuggyCT2
04 Jan 2008, 22:15
Is it me or is the part your changing the same as the part your adding???
Magnumutz
05 Jan 2008, 13:54
Almost dude...
$bbuserinfo[username] displays only the username, while $bbuserinfo[musername] displays the color that is set in the usergroup settings.
Great lil hack and I modified it for 3.6.8
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
just removed the link_y and used a diffrent find for the navbar.
Installed and work perfectly at 3.6.7 with this modification.
thanks
ARB4HOSTING.COM
25 Jan 2008, 01:09
thanks
avsunforum
05 Feb 2008, 13:44
Hmm Thank You :))
rolandogomez
14 Feb 2008, 23:40
So where do you set the color in the user group permissions? Thanks, rg.
Magnumutz
15 Feb 2008, 16:28
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.
Magnumutz
16 Feb 2008, 17:34
Umm... search the navbar for:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It's just adding a letter :)
lordtopcat
16 Feb 2008, 23:49
Hi mate,
Are you able to color the username in the 'Last Post' field too?
http://hsmcafe.com/images/other/usercolor.png
Cheers
LTC
rolandogomez
17 Feb 2008, 08:42
How do you do a legend so users can know what color belongs to what? thanks, rg.
lordtopcat
17 Feb 2008, 08:48
I believe you want this mod, roland: Usergroup Color Bar (http://www.vbulletin.org/forum/showthread.php?t=165980)
rolandogomez
17 Feb 2008, 09:16
I believe you want this mod, roland: Usergroup Color Bar (http://www.vbulletin.org/forum/showthread.php?t=165980)
Thanks, works like a charm, rg sends!
some other modifications is overtaking this mod.
i could not install it.
any guide appreciated.
Any help with this.? :o
Magnumutz
18 Feb 2008, 08:54
Yes, i already answered to your question, right under your post:
Umm... search the navbar for:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It's just adding a letter :)
lordtopcat
18 Feb 2008, 09:12
Hey Mag,
Any solution to my post?
Cheers
LTC
Are you able to color the username in the 'Last Post' field too?
Magnumutz
18 Feb 2008, 10:07
Yeah, that can be done, but it'll take SOME modification to templates...
Though i'll try and make my first product for that.
Aclikyano
26 Mar 2008, 04:31
thanks!
who would of known a little m would change colors :D
thanks mate
/me clicks install
Magnumutz
26 Mar 2008, 07:33
I know you installed it, i've seen it in action :D
Magnumutz
19 May 2008, 14:30
Added Installation Instructions file.
JetHaCkR
27 May 2008, 10:59
Quite Simple Mod..
But Useful
trilogy33
28 May 2008, 14:56
Done. Easy. Thank you :)
Charlie98902
28 May 2008, 16:17
As small as the line of code is I am surprised this isn't done with the default vBulletin.
carrlos
29 May 2008, 04:13
Thanks!!!
This was already done by someone else in the past:
http://www.vbulletin.org/forum/showthread.php?t=124996
But... nice re-release nevertheless. :)
LasT-ChaNcE
17 Jun 2008, 00:04
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?
Magnumutz
17 Jun 2008, 04:37
Well... it might have different hooks there or phrases or w/e it uses.
LasT-ChaNcE
17 Jun 2008, 08:21
Yeah, it's a bit different:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Anyone have any ideas how to connect this to the usergroup colors?
Captain Tycoon
17 Jun 2008, 11:17
Works Great! Installed and Marked!
Thanks guy.
I installed and clicked the install button.;)
GraNdMaStEr-B
25 Jun 2008, 03:12
I cant seem to find "navbar" in my edit templates any help would be apprec please?
Magnumutz
25 Jun 2008, 09:19
First of all, login to your AdminCP. Then, on the left menu, you'll see the "Styles & Templates" expandable menu, click on it until it expands, then select "Style Manager".
Now you will see all your installed styles. Choose the one to edit and on it's right side, there's a drop-down menu, where you have to choose "Edit Templates".
On the new page that appears, almost on the center of it, you'll find some selectable templates, scroll down to "Navigation / Breadcrumb Templates", now you'll see the same page but with new templates available for you to click on, select "navbar"... that's the one you need to edit.
Thomas Dukic
25 Jun 2008, 14:42
Thanks ! Installed.
GraNdMaStEr-B
25 Jun 2008, 16:17
Thank you for the speedy help!
Installed!
g0dfather1984
26 Jun 2008, 21:41
Thank you.
tillcat5
29 Jun 2008, 23:02
im also using the good afternoon, good evening mod and for some reason when i do what it says it take out the entire good after, username line. any suggestions?
Magnumutz
02 Jul 2008, 16:48
I'll have to install it and see what code it uses, but i'll do this in the days to follow cuz i'm pretty busy with tomorrow's exam.
oo, I had forgot about this one.. added it back to my forum
thanks Magnumutz :)
Magnumutz
04 Jul 2008, 07:17
I know, i've seen it :D
nice hack, thank you !
clicked *installed*
slawkens
02 Aug 2008, 02:52
Installed this 1-letter mod :P :P
uzaklar19
09 Aug 2008, 17:35
thank you, nice...
...
BuCwIld
11 Aug 2008, 16:47
installed, thanks
shotkey
19 Aug 2008, 05:26
installed - works - thanks.
BoYagoob
03 Sep 2008, 19:14
Installed, thanks ..
students_forum
04 Sep 2008, 13:04
cool
Bio-Con
29 Sep 2008, 15:46
thanx..its a little different for vb 3.7.3....instead of it being in navbar..its in the header template..so search for the first string there and replace..
Magnumutz
29 Sep 2008, 21:35
That's probably cuz your using a modified style ;)
On default and MOST skins, it's in the navbar.
djlotus
03 Oct 2008, 17:11
nice installed
djrapid.com
03 Oct 2008, 19:44
some other modifications is overtaking this mod.
Same with me, when installed it just removed the whole of the top line, i have about three other mods in that section, they must be stopping it
Magnumutz
04 Oct 2008, 11:28
Yeah, that might.
What mods are you using?
Great Mod
Works well for me and my forum
<3 Liam...
but the custom ranks are not colored
how to make it work VIP`s or Elite Members ?
Thank You!
Magnumutz
14 Oct 2008, 07:24
Well, edit the desired usergroups and at the "Username HTML Markup" box, enter whatever colors and HTML you want.
denman75
23 Dec 2008, 08:15
....nvm
my mistake
Thanks for this wonderful addition
crackers
28 Dec 2008, 12:35
Nice, thanks.
Could you write how to corolize postusernames in threads listing, please?
Magnumutz
28 Dec 2008, 20:21
That cannot be done without file edits yet...
And there's a product that does that for you.
You can find that here: http://www.vbulletin.org/forum/showthread.php?t=199109
However, it adds a lot of queries.
crackers
28 Dec 2008, 23:16
Unfortunately linked by you mod generates big load (as most of Hasann's mods...).
Magnumutz
29 Dec 2008, 08:10
I did say that in my post...
crackers
29 Dec 2008, 11:12
You say that this mod adds a lot of queries but you didn't say that this mod can overload every server ;) Maybe someone optimize this mod by deleting unnecessary queries?
Magnumutz
30 Dec 2008, 16:26
Well, adding a lot of queries MAY lead to server overloading...
For example, i've got my forum on a VPS, it can handle all the queries.
But a shared host for example, might not.
Hasann said he will try and optimize it.
algor65
01 Jan 2009, 21:50
The best things are also the most simple ones!!!
Thanks. It works and it is great!!!
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.