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
 Referrer Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jag24
Junior Member

182 Posts

Posted - 28 January 2004 :  11:25:11  Show Profile  Visit Jag24's Homepage  Send Jag24 an ICQ Message
Hi guys, great work on this , I have a problem tho, likley a simple fix for someone with a little knowledge. The first line you need to search for in inc_header is
strReferer = chkString(request.servervariables("HTTP_REFERER"),"refer")
I dont have this line..... I use a modified crash version.
Here is my http://jag24.com/files/inc_header.zip
& my http://jag24.com/files/inc_header_short.zip

If anyone would have the time to take a look & see what I need to change.

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 January 2004 :  12:12:12  Show Profile  Send ruirib a Yahoo! Message
It doesn't look like it will be that easy to change this. I no longer remember the early 3.4.x versions, so I don't remember how they handled this issue, but there is not strReferer string value to change.
Will need to have a look at other Crash code files to be able to help. I'll try it tonight.


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

Jag24
Junior Member

182 Posts

Posted - 28 January 2004 :  12:33:47  Show Profile  Visit Jag24's Homepage  Send Jag24 an ICQ Message
ty sir ......
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 January 2004 :  19:24:12  Show Profile  Send ruirib a Yahoo! Message
Well it does seem indeed that Crash code is based in a early 3.4.x Snitz version and does not include that line of code that sets the value for strReferer. This means it is harder to apply the mod, specially since I can't test with Crash code.
I guess the pages that are more problematic are register.asp and post.asp. The refering page is obtained differently at each page. To apply the mod to avoid the registration problem, you could apply the mod's code in inc_header.asp only and then change line 57, register.asp, from

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

to

if InStr(Session("LastPage"), "policy.asp") = 0 then

and see if it works.

Make sure you keep a backup copy of all the files you will be changing, so that you can revert to them in case it does not work.

I'm afraid I don't know Crash's code well enough to offer a solution to the post_info.asp issue, though it seems registration is much a bigger problem. For that situation, the previous code changes may offer a fix.


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

Jag24
Junior Member

182 Posts

Posted - 28 January 2004 :  21:31:18  Show Profile  Visit Jag24's Homepage  Send Jag24 an ICQ Message
hmmm maybe I better wait then, I dont want to mess anyone up . Thanks for your efforts tho sir
Go to Top of Page

Edwin1
Junior Member

107 Posts

Posted - 29 January 2004 :  00:21:37  Show Profile  Visit Edwin1's Homepage
Do you have the new version 3.4.04?

--Edwin
Go to Top of Page

Edwin1
Junior Member

107 Posts

Posted - 29 January 2004 :  00:23:35  Show Profile  Visit Edwin1's Homepage
No wonder your forum looks wierd and strange...

--Edwin
Go to Top of Page

Edwin1
Junior Member

107 Posts

Posted - 29 January 2004 :  00:25:50  Show Profile  Visit Edwin1's Homepage
Jag, you have 3.4.03...the was a new version 3.4.04 released at January 1, 2004

--Edwin
Go to Top of Page

Jag24
Junior Member

182 Posts

Posted - 29 January 2004 :  00:42:41  Show Profile  Visit Jag24's Homepage  Send Jag24 an ICQ Message
quote:
No wonder your forum looks wierd and strange...


How So Edwin?

Its not a standard Snitz forum

Edited by - Jag24 on 29 January 2004 00:43:39
Go to Top of Page

Edwin1
Junior Member

107 Posts

Posted - 29 January 2004 :  01:36:56  Show Profile  Visit Edwin1's Homepage
No wonder...

--Edwin
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 January 2004 :  05:15:13  Show Profile  Send ruirib a Yahoo! Message
Edwin, if you don't have anything constructive to bring to a discussion, please refrain from participating.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 29 January 2004 10:24:37
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07