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)
 Referer Mod
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 29 January 2004 :  07:55:35  Show Profile
Yeah, I should have applied the old fix a long time ago...oh well.

I hope this makes it to the base code. Nortons fault or not, the users should be top priority.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 17 February 2004 :  15:11:56  Show Profile
I'm feeling like a real noob at the moment, but I want this MOD installed and can't make it happen. The steps are drop-dead simple, find this line :


strReferer = chkString(request.servervariables("HTTP_REFERER"),"refer")


in inc_header.asp and replace with some different code. The readme even goes as far to give an 'after' shot of what the code will look like.



Aaaahhhh ... ignore me (but I'm posting this if someone needs help : compare the 2 files in the MOD's zip; check for strRefer; and alter your code to match. Basically replacing Request.ServerVariables("HTTP_REFERER") with strReferer.
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 17 February 2004 :  16:15:25  Show Profile
Davio, maybe you should add this to the MOD ?

In register.asp for 3.4.03 version:

if InStr(Request.ServerVariables("HTTP_REFERER"), "policy.asp") = 0 then Response.Redirect("policy.asp")

replace it by

if InStr(strReferer, "policy.asp") = 0 then
Response.Redirect("policy.asp")
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 17 February 2004 :  16:32:49  Show Profile
My problem was more like :

strRefer didn't exist at all in the 2 files
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 17 February 2004 :  16:46:53  Show Profile
laser, it should if it is base code. Perhaps you installed a MOD that took it out.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 February 2004 :  19:55:26  Show Profile  Send ruirib a Yahoo! Message
The mod was done with Snitz 3.4.04 in mind. It's much easier to change 3.4.04 than previous versions, and I guess we didn't even tested it with 3.4.03. I'm not completely sure that the change posted by wii is all that's required for 3.4.03. It is certainly enough for the registration issue, but that's not the only issue with the use of HTTP_REFERER.


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

laser
Advanced Member

Australia
3859 Posts

Posted - 18 February 2004 :  05:09:13  Show Profile
Not likely Nikkol, I doubt that I ever delete lines, just comment them out. I'll look into it more anyway .. dunno how I'm going to fix it though.

ruirib, a bit confusing here ... this thread states 3.4.04 but the MOD readme states "It is based on the Snitz Forums 3.4.04 version, but will also work with previous versions of the Snitz Forums." maybe the but should be removed.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 18 February 2004 :  06:00:09  Show Profile  Send ruirib a Yahoo! Message
Yeah, I guess something should be changed, indeed. We should state that, as it is, only 3.4.04 is directly supported. I probably could investigate the needed changes for 3.4.03... will see.


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

Feen
Starting Member

Canada
9 Posts

Posted - 23 March 2004 :  11:44:51  Show Profile
Hi, has anyone had a chance to look at the changes needed for 3.4.03.

Specifically the 2nd change in the inc_header.asp file at line 65 - strReferer = chkString(request.servervariables("HTTP_REFERER"),"refer")

I can't seem to find that string in my code.

Thanks!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 March 2004 :  12:49:11  Show Profile  Send ruirib a Yahoo! Message
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=51346#280324


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

Feen
Starting Member

Canada
9 Posts

Posted - 24 March 2004 :  11:17:31  Show Profile
nm - moved question to the help section.

Feen.

Edited by - Feen on 24 March 2004 11:23:22
Go to Top of Page

twentythree
Starting Member

USA
22 Posts

Posted - 06 April 2004 :  14:19:17  Show Profile  Visit twentythree's Homepage
Thank you very much for this MOD! I was having the registration problem, plus it wasn't re-directing my posts after a reply.. now it's all fixed!

Amanda
Bodyartforms.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 April 2004 :  15:03:40  Show Profile  Send ruirib a Yahoo! Message
Glad you like it :).


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

nepf
Starting Member

Germany
30 Posts

Posted - 28 April 2004 :  08:13:16  Show Profile
Hi,
i use Snitz 3.4.02 an i can't update - toooooo much mods and selfmade changes.

i need some help to install the referer-mod there.
the installtion-instruction doesn't match there.

thank you!

nepf
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 07 May 2004 :  08:07:11  Show Profile  Visit rasure's Homepage
There is an annoyance with this mod the referrer is sending you back to the last open browser window, for example, when viewing a topic and clicking on the camera icon to view members photos (images 2001 forum) then go to reply to their topic the post_info.asp page is sending you back to pop_photo_gallery.asp

I've noticed this on a few pages, I know its not a bug as such, its just the way the refer is working but this is a problem as most people have numerous browser windows open while browsing the forums and are being redirect to the last browser window that was open, I have removed this mod and all is working ok now, maybe it needs to be modified a little to remove this annoyance.

Psychic & Spiritual Development Resources

Edited by - rasure on 07 May 2004 08:08:47
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next 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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07