View Full Version : How can you add color in
Hi everyone I wonder if there is a plugin that allowes you to get this;
Welcome, FSG .
I'm sorta looking for a plugin like that, I've seen it befor but I don't remember where.
Thanks in advance.
MajorKokosnuss
08-24-2014, 10:23 AM
You can add this in a notice.
you can use this as begin:
Welcome, {font-color="yellow"}{musername}{/font}
{br}
{br}
Your Text
The {br} are spaces, you can remove them if you want
//EDIT:
you can use {username} too if you don't want that it shows your HTML group mark up :)
cellarius
08-24-2014, 10:18 PM
Now, my guess would have been that he wants to color the username in the already existing "Welcome, username" message at the top of the header, not just adding it once againg a few pixels below.
Which would be done by editing the header template, changing bbuserinfo.username to bbuserinfo.musername in the following line of code (which will preserve the color added to the username by usergroup or individual user settings):
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
Or, alternatively, edit the phrase welcome_x_link_y (html should be possible there).
Now, my guess would have been that he wants to color the username in the already existing "Welcome, username" message at the top of the header, not just adding it once againg a few pixels below.
Which would be done by editing the header template, changing bbuserinfo.username to bbuserinfo.musername in the following line of code (which will preserve the color added to the username by usergroup or individual user settings):
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
Or, alternatively, edit the phrase welcome_x_link_y (html should be possible there).
Thanks for the help, but is this ment to go into the main template?
cellarius
08-26-2014, 05:26 AM
Just as I said: The code is in the header template. That's where you need to make the change. And you would have to do that for every style you use.
I have no idea what you mean by "main template".
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.