Welcome, Guest. Please Login or Register.
April 27, 2025, 11:05:52 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Graphics and Templates  |  administrator name in red « previous next »
Pages: [1] Reply Ignore Print
Author Topic: administrator name in red  (Read 837 times)
kiboost
Jr. Member
**
Posts: 58


Enjoy your life !!

ICQ - 60784747 WWW
administrator name in red
« on: July 28, 2002, 04:10:01 PM »
Reply with quote

Is there a way to not have the administrator memeber writed into red ?

Thanks

Kib
Logged
PHPlugin
Sr. Member
****
Posts: 465


WWW
Re:administrator name in red
« Reply #1 on: July 30, 2002, 12:16:43 AM »
Reply with quote

This color (red) is hardcoded in a PHP file!
Thats means you CANT set it in forum settings or anywhere else!
You would have to open this PHP file to change the color!

But I don't know which file that would be!
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:administrator name in red
« Reply #2 on: July 30, 2002, 03:07:59 AM »
Reply with quote

Edit BoardIndex.php and search for red.
Logged

kiboost
Jr. Member
**
Posts: 58


Enjoy your life !!

ICQ - 60784747 WWW
Re:administrator name in red
« Reply #3 on: July 30, 2002, 08:45:19 PM »
Reply with quote

hey great, it do the job !!!
Now, I've to find it for "who's online" on my hmepage. maybe in ssi.php
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:administrator name in red
« Reply #4 on: July 31, 2002, 10:38:31 PM »
Reply with quote

those colors should be controlled by css unless they would be controlled from the admin cp
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
PHPlugin
Sr. Member
****
Posts: 465


WWW
Re:administrator name in red
« Reply #5 on: August 01, 2002, 06:28:19 AM »
Reply with quote

yeah they should be set by the admin,
but not in cp, more in CSS part of template.php!
And it's not to hard to realize that!

But I'm just to lazy! ;D
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:administrator name in red
« Reply #6 on: August 03, 2002, 05:46:57 PM »
Reply with quote

in Boardindex.php search for:
  $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"red\">$tmp[realName]</font></a>";
elseif ($tmp['memberGroup']=="Global Moderator")
   $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"blue\">$tmp[realName]</font></a>";
elseif ($tmp['memberGroup']=="YaBB SE Developer")
   $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"green\">$tmp[realName]</font></a>";
elseif ($tmp['memberGroup']=="Mod Team")
   $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"orange\">$tmp[realName]</font></a>";

replace:
  $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font class=\"admin_color\">$tmp[realName]</font></a>";
elseif ($tmp['memberGroup']=="Global Moderator")
   $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font class=\"gm_color\">$tmp[realName]</font></a>";
elseif ($tmp['memberGroup']=="YaBB SE Developer")
   $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font class=\"developer_color\">$tmp[realName]</font></a>";
elseif ($tmp['memberGroup']=="Mod Team")
   $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font class=\"modteam_color\">$tmp[realName]</font></a>";

then in your template search for:
.meaction {
   COLOR: red; BACKGROUND-COLOR: transparent
}

add after:
.admin_color {
   COLOR: red;
}
.gm_color {
   COLOR: blue;
}
.developer_color {
   COLOR: green;
}
.modteam_color {
   COLOR: orange;
}
« Last Edit: August 03, 2002, 05:48:34 PM by groundup » Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  administrator name in red « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.030 seconds with 17 queries.