Author |
Topic |
Gargoyle
Junior Member
USA
280 Posts |
|
rasure
Junior Member
289 Posts |
Posted - 08 December 2003 : 20:25:33
|
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 |
|
|
weeweeslap
Senior Member
USA
1077 Posts |
Posted - 08 December 2003 : 20:40:15
|
google toolbar blocks pop ups so it's the toolbars fault not your coding WWS |
coaster crazy |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 08 December 2003 : 20:45:17
|
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
|
|
|
Gargoyle
Junior Member
USA
280 Posts |
Posted - 09 December 2003 : 15:53:52
|
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. |
|
|
rasure
Junior Member
289 Posts |
Posted - 09 December 2003 : 19:45:47
|
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 |
|
|
Matthew1471
Starting Member
United Kingdom
2 Posts |
Posted - 30 December 2003 : 15:09:07
|
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 |
|
|
Kerosin
Starting Member
Germany
8 Posts |
Posted - 10 January 2004 : 04:07:56
|
@ 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! :)
|
|
|
rasure
Junior Member
289 Posts |
Posted - 10 January 2004 : 20:13:57
|
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 |
|
|
Kerosin
Starting Member
Germany
8 Posts |
Posted - 11 January 2004 : 15:45:11
|
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 |
|
|
rasure
Junior Member
289 Posts |
Posted - 12 January 2004 : 01:10:24
|
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 |
|
|
Kerosin
Starting Member
Germany
8 Posts |
Posted - 12 January 2004 : 05:05:42
|
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 |
|
|
rasure
Junior Member
289 Posts |
Posted - 17 January 2004 : 21:57:45
|
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 |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 24 February 2004 : 17:26:30
|
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 |
|
|
rasure
Junior Member
289 Posts |
|
Topic |
|