Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 10
Great hack...but found a problem. It will not work in IE at least with the Ultimate.cgi version of the hack.

Netscape can handle multiple BODY statements in the HTML. IE cannot, it'll toss the second one. So, we need to get that onLoad= bit into the first body statement and eliminate the second one.

This is my first time documenting this...so, I hope this helps.

So to fix this, we eliminate the old $pmpop mess by removing it from the bottom of the code. These lines go away:

$CurrentPMpop = "$cookie{pmpop}";
if ($CurrentPMpop eq "1") {
$pmpop = qq(); }
else {
$pmpop = qq(VLINK="#000080" ALINK="#000080" onLoad="poppm()>");
}


Also, at the very bottom code in one of the subroutines, there's a $pmpop on a line by itself inside a print<< routine. We kill that too. It's just after the users online stuff prints.

Now, back up in the code we find the first BODY statement inside a large "print << INTROHTML" routine.

Make it look like this...

Code
code:

And that is it. It will now work in both IE and Netscape because this will setup only one BODY tag based on if they have messages or not. If no messages, the standard body tag is used, if new messages, it will add in the onload call.

I thank my friend Otto for helping me with this for I am learning as I go.

------------------
David Bott
AVS Forum Admin
http://www.avsforum.com

This message has been edited by David Bott on October 22, 2000 at 08:36 PM

Sponsored Links
Entire Thread
Subject Posted By Posted
PrivateMessage Notification technoforum.de 10/06/2000 4:01 PM
Re: PrivateMessage Notification Tim 3dfiles 10/06/2000 5:10 PM
Re: PrivateMessage Notification technoforum.de 10/06/2000 7:03 PM
Re: PrivateMessage Notification Nido 10/07/2000 2:34 AM
Re: PrivateMessage Notification technoforum.de 10/07/2000 4:27 AM
Re: PrivateMessage Notification Nido 10/07/2000 5:23 PM
Re: PrivateMessage Notification technoforum.de 10/07/2000 6:45 PM
Re: PrivateMessage Notification NBAustin 10/07/2000 7:12 PM
Re: PrivateMessage Notification technoforum.de 10/07/2000 8:42 PM
Re: PrivateMessage Notification Nido 10/08/2000 12:52 AM
Re: PrivateMessage Notification technoforum.de 10/08/2000 2:23 PM
Re: PrivateMessage Notification Exstatica 10/08/2000 11:09 PM
Re: PrivateMessage Notification SpAwN 10/09/2000 8:07 AM
Re: PrivateMessage Notification Jaxel 10/09/2000 3:00 PM
Re: PrivateMessage Notification technoforum.de 10/10/2000 12:24 AM
Re: PrivateMessage Notification Saturn [K] 10/12/2000 3:01 PM
Re: PrivateMessage Notification technoforum.de 10/12/2000 7:57 PM
Re: PrivateMessage Notification Saturn [K] 10/12/2000 10:32 PM
Re: PrivateMessage Notification technoforum.de 10/13/2000 2:37 PM
Re: PrivateMessage Notification Saturn [K] 10/13/2000 4:03 PM
Re: PrivateMessage Notification ASC 10/13/2000 10:44 PM
Re: PrivateMessage Notification B 10/13/2000 10:47 PM
Re: PrivateMessage Notification Saturn [K] 10/14/2000 1:46 AM
Re: PrivateMessage Notification technoforum.de 10/14/2000 12:29 PM
Re: PrivateMessage Notification David Bott 10/23/2000 3:34 AM
Re: PrivateMessage Notification Metallifukinca 11/22/2001 11:36 AM
Re: PrivateMessage Notification Lord Dexter 11/22/2001 11:43 AM
Re: PrivateMessage Notification Metallifukinca 11/22/2001 12:01 PM
Re: PrivateMessage Notification Lord Dexter 11/23/2001 8:07 AM
Re: PrivateMessage Notification Metallifukinca 11/23/2001 11:49 AM

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
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
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,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)