Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
  #1  
Old 31st January 2014, 17:08
Birkoff's Avatar
Birkoff Birkoff is offline
Senior Member
 
Join Date: Aug 2010
P2P
Posts: 24
Thumbs up Usercolor in status bar!
in your header.php replace this:

PHP Code:
<?php echo $lang->global['welcomeback']; ?> <a href="<?php echo ts_seo($CURUSER['id'], $CURUSER['username'],true); ?>"><?php echo get_user_color($CURUSER['username'], $usergroups['namestyle']); ?></a> <?$medaldon?> <?$warn?> (<?php echo htmlspecialchars_uni($CURUSER['ip']); ?>) <a href="<?php echo $BASEURL?>/logout.php?logouthash=<?php echo $_SESSION['hash']; ?>" onclick="return log_out()"><?php echo $lang->global['logout']; ?></a></span>&nbsp;&nbsp;&nbsp;&nbsp;
With this:
PHP Code:
<?php echo $lang->global['welcomeback']; ?> <a href="<?php echo ts_seo($CURUSER['id'], $CURUSER['username']); ?>"><?php echo get_user_color($CURUSER['username'], $usergroups['namestyle']); ?></a> <?$medaldon?> <?$warn?> (<?php echo htmlspecialchars_uni($CURUSER['ip']); ?>) <a href="<?php echo $BASEURL?>/logout.php?logouthash=<?php echo $_SESSION['hash']; ?>" onclick="return log_out()"><?php echo $lang->global['logout']; ?></a></span>&nbsp;&nbsp;&nbsp;&nbsp;
__________________
http://lastfile.net
If you find a minimal "bug" report to me (Birkoff), receive 1 week vip!

Last edited by joeroberts; 1st February 2014 at 00:35.
Reply With Quote
The Following 2 Users Say Thank You to Birkoff For This Useful Post:
jh0ng (12th February 2017), Marco (5th February 2014)
Reply

Tags
bar , status , usercolor

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

Forum Jump



All times are GMT +2. The time now is 23:57. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.