Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2001
Posts: 128
Member
Member
Joined: Aug 2001
Posts: 128
OK I found a bug in the code. It seems you call the previously selected ICQ code to get the image if the person doesn't have ICQ set up... You need to reset that code in the who's on-line:

What you have:
code:
if ( (ereg("^[0-9]",$ICQ)) && ($config['ICQ_Status']) ) {



What it needs to be:
code:
if ( (ereg('^[0-9]*$',$ICQ)) && ($config['ICQ_Status']) ) {


Last edited by Datal; 05/14/2002 9:10 AM.
Sponsored Links
Joined: Aug 2001
Posts: 128
Member
Member
Joined: Aug 2001
Posts: 128
Also I added $ICQ to where it says alt="*" made it say alt="$ICQ" cause I like to see if they have an ICQ number actually entered...

Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
the icqs don't refresh correctly, if the status changes?
for exampe: I loff off ICQ whils still in online.php.

(the page refresh does not update the status-icons?)

Joined: Aug 2001
Posts: 128
Member
Member
Joined: Aug 2001
Posts: 128
Works great for me .... umm did you change that code??

Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
yes chode changes to what I think are the bugfixes mentioned here: $ICQ and ICQ_status in big letters:


}
// ICQ Hack: bugfix ICQ 2* big!
if ( (ereg('^[0-9]*$',$ICQ)) && ($config['ICQ_Status']) ) {
// ICQ Hack: ICQ Nummer bei ALT... und ICQ big (bug)
// $icqindicator = "<img src="http://online.mirabilis.com/scripts/online.dll?icq=$icq&img=5" alt="*" />";
$icqindicator = "<img src="http://online.mirabilis.com/scripts/online.dll?icq=$ICQ&img=5" alt="$ICQ" />";


Sponsored Links
Joined: Aug 2001
Posts: 128
Member
Member
Joined: Aug 2001
Posts: 128
Writes caymuc:
yes chode changes to what I think are the bugfixes mentioned here: $ICQ and ICQ_status in big letters:


}
// ICQ Hack: bugfix ICQ 2* big!
if ( (ereg('^[0-9]*$',$ICQ)) && ($config['ICQ_Status']) ) {
// ICQ Hack: ICQ Nummer bei ALT... und ICQ big (bug)
// $icqindicator = "<img src="http://online.mirabilis.com/scripts/online.dll?icq=$icq&img=5" alt="*" />";
$icqindicator = "<img src="http://online.mirabilis.com/scripts/online.dll?icq=$ICQ&img=5" alt="$ICQ" />";




Umm isn't that what I had??

Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
Yes that's your code but not the original code.
If I understood the question right, I was asked whether I did code changes.

Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
Yes that's your code but not the original threads code.
If I understood the question right, I was asked whether I did code changes.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)