Author |
Topic  |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 19 June 2004 : 19:12:44
|
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
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 20 June 2004 : 01:36:33
|
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
|
 |
|
Panhandler
Average Member
  
USA
783 Posts |
Posted - 23 June 2004 : 21:04:43
|
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
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 24 June 2004 : 03:44:45
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
rasure
Junior Member
 
289 Posts |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 25 June 2004 : 06:08:15
|
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
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 25 June 2004 : 06:17:04
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 25 June 2004 : 06:33:58
|
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
|
 |
|
chumbawumba
Junior Member
 
United Kingdom
304 Posts |
Posted - 01 September 2004 : 08:04:21
|
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 |
 |
|
|
Topic  |
|