L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 11:12:14 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: Colors Module - Priority
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Colors Module - Priority  (Read 252 times)
0 Members and 1 Guest are viewing this topic.
redmagician
Freshman
*
Offline Offline

Posts: 7


Colors Module - Priority
« on: August 24, 2007, 10:18:45 AM »

Hi all,
Just thought I'd post my thoughts on the colors module.
First, I love these new ##color## tags, it cuts down on me having to lookup the correct hex value.

However, I've run into a "problem" and would like to know if this is intended or possibly an oversight.

Take this code in the whois module:
$result = "\"##whois_name##" . $who["nickname"] . "##end##\"";

In the current colors implementation if $who["nickname"] contains a color (for example black)
It has higher priority than the theme so the output is "##whois_nameend##" instead of "Black"

I believe themes should have a higher priority so I moved the "create all other color tags" check to be last, but I'd really like to know what other people think.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Colors Module - Priority
« Reply #1 on: August 24, 2007, 10:46:17 AM »

I guess it would have been smarter to use different tags for opening and closing...

Anyways, you can try moving block creating the color tags behind the block creating the scheme tags, perhaps it will help.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: Colors Module - Priority
« previous next »
 
Jump to:  

Recent
!items database
by Zeephonz
[Today at 08:05:21 PM]

Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11146
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 16
Total: 18
Elesar1
Vain

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.185 seconds with 28 queries. (Pretty URLs adds 0.029s, 4q)
Loading...