php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#38379 - 10/13/00 03:44 PM Re: PrivateMessage Notification
ASC Offline
Member

Registered: 08/30/00
Posts: 42
Saturn, I tried it on your site and it had a sound. I prefer that idea much more than a pop-up.

Is the supplied to the hack the final version? I also want to know how I can change the pop-up to a sound - like Saturn did.

One last question, any way of making this work for users when they come on to our main page before they enter the forums?

Top
#38380 - 10/13/00 03:47 PM Re: PrivateMessage Notification
B Offline
Junior Member

Registered: 07/09/00
Posts: 14
I add a on/off feature for that popup notification. I make it based on "who's online invisible feature".
It store the info in the "preferences" cookie... works great for me...

Code:
code:


I hope everything is ok...

Top
#38381 - 10/13/00 06:46 PM Re: PrivateMessage Notification
Saturn [K] Offline
Member

Registered: 09/14/00
Posts: 49
ASC - I was wondering who testert was. The sound notification is actually extremely easy to install ASC, -=Spawn=- told me in an e-mail on what to do.
Code:
code:


It is as easy as that Just 1 line.


B - I will try your code for the popup probably tomorrow, thanks.

Top
#38382 - 10/14/00 05:29 AM Re: PrivateMessage Notification
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
I'm going to check your advanced modifications and going to include it into the .txt-File... Great work, guys!

2Saturn, please send me your Ultimate.cgi thru email to chris@technoforum.de and I'm going to have a look at it!

regards,
chris

Top
#38383 - 10/22/00 08:34 PM Re: PrivateMessage Notification
David Bott Offline
Junior Member

Registered: 10/22/00
Posts: 20
Loc: Rochester, NY
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(<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000"
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

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by David Bott on October 22, 2000 at 08:36 PM</font>
_________________________
David Bott
AVS Forum Admin
http://www.avsforum.com

Top
#38384 - 11/22/01 03:36 AM Re: PrivateMessage Notification
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
Anyone still have the code ?
I've lost it frown

Top
#38385 - 11/22/01 03:43 AM Re: PrivateMessage Notification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Have you tried the link in the database?

Top
#38386 - 11/22/01 04:01 AM Re: PrivateMessage Notification
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
yep a couple of times, its not there frown
I hope I'm not going blind...

Top
#38387 - 11/23/01 12:07 AM Re: PrivateMessage Notification
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Well I searched my comp and I deleted it, so I can't help. Sorry. Report the broken link to Allen or Viper and they will get it fixed.

Top
#38388 - 11/23/01 03:49 AM Re: PrivateMessage Notification
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
Thats ok, I justed add a sound instead smile

Top
Page 2 of 2 < 1 2


Who's Online
0 registered (), 26 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks