Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 PM ADDON: Pm Popup Notify
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 4

Gargoyle
Junior Member

USA
280 Posts

Posted - 08 December 2003 :  19:02:40  Show Profile  Visit Gargoyle's Homepage
FYI the google toolbar stops this from working.

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 08 December 2003 :  20:25:33  Show Profile  Visit rasure's Homepage
quote:
Originally posted by Gargoyle

FYI the google toolbar stops this from working.


hmmmmmmm does it? I don't use it so wouldn't know, does the toolbar
block popups then? wonder how it interferes with forum code, any
toolbar that interferes with how web pages work is not good IMO

I would have thought it would be more browser related than the toolbar itself,
then again it depends on what hidden goodies! these so called toolbars install
on your PC, mostly spy/adware of some kind from what I've seen of them.

Psychic & Spiritual Development Resources
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 08 December 2003 :  20:40:15  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
google toolbar blocks pop ups so it's the toolbars fault not your coding
WWS

coaster crazy
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 08 December 2003 :  20:45:17  Show Profile  Send xx ENIGMA xx an AOL message
yeah, norton can block popups too as does all
those popup blocker softwares available, still
good coding rasure and it's working great on my site


my little forum playground

Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 09 December 2003 :  15:53:52  Show Profile  Visit Gargoyle's Homepage
The google toolbar is actually a really nice addidtion to your browser. I was just telling you about it in case someone said "It doesn't work" So you would have more ideas as to why that's all..

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 09 December 2003 :  19:45:47  Show Profile  Visit rasure's Homepage
quote:
Originally posted by Gargoyle

The google toolbar is actually a really nice addidtion to your browser. I was just telling you about it in case someone said "It doesn't work" So you would have more ideas as to why that's all..



Thank you

Psychic & Spiritual Development Resources
Go to Top of Page

Matthew1471
Starting Member

United Kingdom
2 Posts

Posted - 30 December 2003 :  15:09:07  Show Profile
quote:
Originally posted by weeweeslap

quote:
Originally posted by AWD_ENVY

It's doable... I just looked at the code. You would just have to reset the status of the cookie when Pm_View.asp is viewed.
Should be easy enough.



can you do this for us, after all it is easy for you, so you implied




'####### PM Notify Popup by Rasure #######
If Request.Cookies("popupPMpopMod") <> "1" Then
Response.Cookies("popupPMpopMod") = "1"
Response.Write "<BODY onLoad=""PMRasureMod_PMpopMod('PM_Notify.asp')"">" & vbCrLf
Response.Write " <Script Language=JavaScript Type=""Text/JavaScript"">" & vbCrLf
Response.Write " <!--" & vbCrLf
Response.Write " function PMRasureMod_PMpopMod(url_pop)" & vbCrLf
Response.Write " {" & vbCrLf
Response.Write " var popwidth=350;" & vbCrLf
Response.Write " var popheight=250;" & vbCrLf
Response.Write " var popleft = (window.screen.width-350)/2;" & vbCrLf
Response.Write " var poptop = (window.screen.height-250)/2;" & vbCrLf
Response.Write "" & vbCrLf
Response.Write " PMNotifyMod_PMpopMod=window.open(url_pop,'PMNotifyMod'," & vbCrLf
Response.Write " 'toolbar=no,status=no,menubar=no,location=no,directories=no,resizable=no,scrollbars=no,width='+ popwidth+',height='+ popheight+',left='+ popleft+',top='+ poptop);" & vbCrLf
Response.Write " }" & vbCrLf
Response.Write "" & vbCrLf
Response.Write " // -->" & vbCrLf
Response.Write " </Script>"
End If
'####### END PM Notify Popup by Rasure #######


and on the PM_view.asp


If Request.Cookies("popupPMpopMod") = "1" Then Response.Cookies("popupPMpopMod") = ""


yes I know it's server side, yes I know it'll use more resources....yes I know it could have been done in Javascript...but I'm not a Java fan..it confuses me..I hate it
Go to Top of Page

Kerosin
Starting Member

Germany
8 Posts

Posted - 10 January 2004 :  04:07:56  Show Profile
@ Metthew
where do i have to place the first part of your addition? Do i have to replace the complete code in PM_Notify.asp? I dont think so, because then there will be no displayed message any more. But where to place then?

This is going to be a great Mod with that addition! :)

Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 10 January 2004 :  20:13:57  Show Profile  Visit rasure's Homepage
Ok this does work but to a point, but when you go to write a new pm (privatesend.asp?method=Topic) the popup comes up and doesnt seem to come up and on any other page.

Psychic & Spiritual Development Resources
Go to Top of Page

Kerosin
Starting Member

Germany
8 Posts

Posted - 11 January 2004 :  15:45:11  Show Profile
hmm... i´ve got a question on the "original" MOD Function.
When i get a PM, i also get a notification.
so, now i click on the link to read the PM, and may answer it.
So if i get another PM, the notification didnt work...
What can I do to fix that "bug"?

THX
Kero
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 12 January 2004 :  01:10:24  Show Profile  Visit rasure's Homepage
quote:
Originally posted by rasure
I know this has been done a few times,
but this one uses a browser session to prevent multiple popups.

Psychic & Spiritual Development Resources
Go to Top of Page

Kerosin
Starting Member

Germany
8 Posts

Posted - 12 January 2004 :  05:05:42  Show Profile
hmm.. ok, sorry. i should read more carefully ;-)
so, and Matthew´s addition fixes the "only one time pop up issue" right?
But where do i have to include the code parts?
'####### PM Notify Popup by Rasure #######
.
.
.
comes to...? do i have to replace the hole content of PM_Notify.asp??
Sorry, for boring you all, but it´s important for me to get that MOD working nearly perfect ;)

THX
Kerosin
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 17 January 2004 :  21:57:45  Show Profile  Visit rasure's Homepage
quote:
Originally posted by Matthew1471
yes I know it's server side, yes I know it'll use more resources....yes I know it could have been done in Javascript...but I'm not a Java fan..it confuses me..I hate it


I've updated the code to include what you have done, but have placed
If Request.Cookies("popupPMpopMod") = "1" Then Response.Cookies("popupPMpopMod") = ""
in privateread.asp so when a user reads their pm it will reset the session, see first post for details

Psychic & Spiritual Development Resources
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 24 February 2004 :  17:26:30  Show Profile  Visit proeder's Homepage
Someone ever got this?

response object error 'ASP 0156 : 80004005' 

Header-Error 

/forum/forum_code/PM_Notify.asp, Zeile 5 

The HTTP-Header is already written to the Client Browser. Changes to the Header must be written before the site content is processed.


(Sorry, it is a translated error, maybe it would be kind of different in english...)

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 25 February 2004 :  12:26:55  Show Profile  Visit rasure's Homepage
Only when testing locally on PWS, don't get the error online.

Psychic & Spiritual Development Resources
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07