Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Aug 2014, 04:41
FSG FSG is offline
 
Join Date: Sep 2013
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.
Reply With Quote
  #2  
Old 24 Aug 2014, 11:23
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
You can add this in a notice.

you can use this as begin:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Last edited by MajorKokosnuss; 24 Aug 2014 at 12:35.
Reply With Quote
  #3  
Old 24 Aug 2014, 23:18
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
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):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Or, alternatively, edit the phrase welcome_x_link_y (html should be possible there).
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #4  
Old 25 Aug 2014, 21:17
FSG FSG is offline
 
Join Date: Sep 2013
Originally Posted by cellarius View Post
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):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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?
Reply With Quote
  #5  
Old 26 Aug 2014, 06:26
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
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".
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:58.

Layout Options | Width: Wide Color: