Welcome, Guest. Please Login or Register.
April 27, 2025, 02:21:25 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  |  Template code confusion « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Template code confusion  (Read 774 times)
Ally6
Jr. Member
**
Posts: 70


I'm a llama.......watch it i spit!

Template code confusion
« on: July 04, 2002, 06:54:54 PM »
Reply with quote

I would love some help here.  First of all could someone explain what these two code strings relate to on the template;
.hr {
   COLOR: #c3fb17; BACKGROUND-COLOR: transparent
}

.meaction {
   COLOR: red; BACKGROUND-COLOR: transparent
}

ive tried changing the colour coding to make whatever it is stand out so i can recognise it but noticed no changes.

The reason i ask is i HATE the colours of the users online names shown at the bottom of the forum.  I want them to be all the one colour not red, blue etc which doesn't go with my template at all. In my quest to change this i can't find the appropriate code so i would be grateful if someone could direct me.

thanks  :)
Logged
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:Template code confusion
« Reply #1 on: July 04, 2002, 07:05:30 PM »
Reply with quote

HR is for horizontal lines (below):



And meaction is for / me (see below):

* Mach8 grins  ;D
Logged
Ally6
Jr. Member
**
Posts: 70


I'm a llama.......watch it i spit!

Re:Template code confusion
« Reply #2 on: July 05, 2002, 12:50:49 AM »
Reply with quote

Thats great, probably why i couldn't see any changes immediately when i was playing around with it.  Thanks  :)

Now does anyone know about changing the user online colours?
Logged
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:Template code confusion
« Reply #3 on: July 05, 2002, 10:35:58 PM »
Reply with quote

Open up BoardIndex.php and find:

if ($tmp[1]=="Administrator")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"red\">$tmp[0]</font></a>";
            elseif ($tmp[1]=="Global Moderator")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"blue\">$tmp[0]</font></a>";
            elseif ($tmp[1]=="YaBB SE Developer")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"green\">$tmp[0]</font></a>";
            elseif ($tmp[1]=="Mod Team")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"orange\">$tmp[0]</font></a>";
            else
           $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\">$tmp[0]</a>";
      }
      else
         $guests ++;

There you can change the colours and also the member groups which the colours affect to.
Logged
Ally6
Jr. Member
**
Posts: 70


I'm a llama.......watch it i spit!

Re:Template code confusion
« Reply #4 on: July 05, 2002, 11:19:34 PM »
Reply with quote

Thankyou

I'll go make the changes.
« Last Edit: July 05, 2002, 11:21:12 PM by Ally6 » Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Template code confusion « 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.139 seconds with 21 queries.