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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 ran into a problem with the Referer MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 June 2004 :  19:12:44  Show Profile
here are the steps to reproduce it:

Click on your name to view your profile.

Click on the link to send yourself an e-mail.

Now, click on the "Profile" link at the top of the page to edit your profile.

After you submit your changes, you will be redirected to pop_mail.asp

I guess to fix this you have to change this (in inc_header.asp:

if (InStr(strReferer,"register.asp")<>0) then
	strReferer = "default.asp"
end if
to this:
if (InStr(strReferer,"register.asp")<>0) or (InStr(strReferer,"pop_mail.asp")<>0) then
	strReferer = "default.asp"
end if
Other popups might cause the same problem.

proeder
Junior Member

Australia
230 Posts

Posted - 19 June 2004 :  22:42:33  Show Profile  Visit proeder's Homepage
I followed exactly your steps, but I that doesn't happen for me. Did I get that right? While the sendmail window is open I click on the 'editprofile' link and change something? If so, it works fine for me

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

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 June 2004 :  01:36:33  Show Profile
Yeah, I have noticed that problem as well. Basically would need to prevent the referer sessionm from being set when using popups.
(InStr(strReferer,"pop_")<>0)


Another thing that bugs me about the mod is that it doesn't work well if you plan on opening more than one window on the forum. But I guess I'm not a typical user.

Support Snitz Forums
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 23 June 2004 :  21:04:43  Show Profile  Visit Panhandler's Homepage
quote:
Originally posted by Davio

Another thing that bugs me about the mod is that it doesn't work well if you plan on opening more than one window on the forum. But I guess I'm not a typical user.



I've opened the FAQ in a new window to help me along at times.
It might not be that unusual for some users. . .




"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 June 2004 :  03:44:45  Show Profile  Send ruirib a Yahoo! Message
I think the fix would be to remove the mod code from inc_header_short.asp. I initially added it because I had problems when tested in my own local server, but I've found that the problems were due to other reasons.

David, if you have some time to test the mod without the code added to inc_header_short.asp, it would be great.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 24 June 2004 :  04:24:18  Show Profile
Sure, why not.

Support Snitz Forums
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 June 2004 :  05:21:04  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by Davio

Sure, why not.


Thx, lemme know how it goes .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 24 June 2004 :  16:37:11  Show Profile  Visit rasure's Homepage
Thats what I mentioned in this post back in May...
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=50559&whichpage=2

I removed the referrer mod altogether as it caused more problems than that of people using Norton Internet Security as most visitors often open pages in a new window.

Psychic & Spiritual Development Resources

Edited by - rasure on 24 June 2004 16:40:12
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 June 2004 :  06:08:15  Show Profile
I don't see any initial problems with removing it from inc_header_short.asp file. But of course, the real test comes when the users test it out.

There are some popup windows that does use the refer field. These are likely to be admin popups.
Instead of taking it out, why not rename the session variable used in inc_header_short.asp so it uses it's own refer variable, apart from the refer field used in inc_header.asp.

Support Snitz Forums
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 June 2004 :  06:17:04  Show Profile  Send ruirib a Yahoo! Message
Ok, good point. That would mean that a careful study of the situations where the referer is used in popup windows, because even if the referer is used, it may refer to non-popup windows.
This needs to be addressed in a future mod version, if there is ever one .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 June 2004 :  06:33:58  Show Profile
Rui and I suggest that the code be left out of the inc_header_short.asp file. Basically leave the original code in inc_header_short.asp. It's not really needed in that file. This should fix the problem of being redirected to popup windows.

Support Snitz Forums
Go to Top of Page

chumbawumba
Junior Member

United Kingdom
304 Posts

Posted - 01 September 2004 :  08:04:21  Show Profile
What was the code that was originally in inc_header_short ? I deleted it ages ago as per the instructions above. I am having some problems now, and wondered if putting it back will help. I'll post the details according to what happens ...

soz, it can't possibly be related to that. I'll investigate further an d open a new topic if I can't solve it.

Edited by - chumbawumba on 01 September 2004 08:14:53
Go to Top of Page
  Previous Topic Topic Next Topic  
 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