Welcome, Guest. Please Login or Register.
October 02, 2024, 08:23:08 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  How do I change the colour of........ « previous next »
Pages: [1] Reply Ignore Print
Author Topic: How do I change the colour of........  (Read 704 times)
tauonline
Noobie
*
Posts: 11


I'm a llama!

WWW
How do I change the colour of........
« on: February 16, 2004, 11:33:52 AM »
Reply with quote

Link to Forum: http://www.forums.gamers-place.co.uk

Problem Description:
Hi! How do I change the colour of the text in my Users online box from red? I know there's going to be an easy answer but I can't find it!
 Thanks.
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:How do I change the colour of........
« Reply #1 on: February 16, 2004, 12:55:46 PM »
Reply with quote

Well, it's only admins who are red by default, but it looks like you must have found out because, when I looked at your forum just now, *all* your text was purple on a blue background!
Logged

tauonline
Noobie
*
Posts: 11


I'm a llama!

WWW
Re:How do I change the colour of........
« Reply #2 on: February 16, 2004, 08:15:55 PM »
Reply with quote

Quote from: Peter Duggan on February 16, 2004, 12:55:46 PM
Well, it's only admins who are red by default, but it looks like you must have found out because, when I looked at your forum just now, *all* your text was purple on a blue background!

Thanks for your reply! So is there no way to change it?
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:How do I change the colour of........
« Reply #3 on: February 16, 2004, 09:55:58 PM »
Reply with quote

Of course you can change it!

There's a mod for this, but it's easy enough to edit BoardIndex.php direct:

      if ($tmp['realName'] != '')
      {
         if ($tmp['memberGroup'] == 'Administrator')
            $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>";
         else
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\">$tmp[realName]</a>";
      }
« Last Edit: February 16, 2004, 09:57:35 PM by Peter Duggan » Logged

tauonline
Noobie
*
Posts: 11


I'm a llama!

WWW
Re:How do I change the colour of........
« Reply #4 on: February 17, 2004, 11:32:03 AM »
Reply with quote

Quote from: Peter Duggan on February 16, 2004, 09:55:58 PM
Of course you can change it!

There's a mod for this, but it's easy enough to edit BoardIndex.php direct:

      if ($tmp['realName'] != '')
      {
         if ($tmp['memberGroup'] == 'Administrator')
            $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>";
         else
            $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\">$tmp[realName]</a>";
      }


Ah right! Thanks a lot :)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  How do I change the colour of........ « 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.102 seconds with 21 queries.