collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Whois.php Fix  (Read 1969 times)

0 Members and 1 Guest are viewing this topic.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Whois.php Fix
« on: September 10, 2007, 09:57:17 pm »
Problem doing !whois with colors or stuff like highlight
reason: ##color##nick##end## (##nick##) changeing to color
fix - Moved a few bits so the nickname is no longer the only thing in the middle of the color
the prob is prob caused by it doing a check for ##color## before ##whois_name##

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Re: Whois.php Fix
« Reply #1 on: September 11, 2007, 10:45:19 am »
Can you give an example of the problem you were seeing?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Whois.php Fix
« Reply #2 on: September 11, 2007, 01:07:40 pm »
##color1##color2##end## creates a problem, as you can't guarantee if color1 or color2 gets replaced first. I should have picked different opening and closing tags I guess.

There still is time to correct that, even if it requires a complete modifying of all color tags in all modules.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Whois.php Fix
« Reply #3 on: September 11, 2007, 04:13:40 pm »
the broblem in this case is like what alreadythere wrote only color2 was the charname

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 686
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal