Author |
Topic |
|
Jag24
Junior Member
182 Posts |
Posted - 28 January 2004 : 11:25:11
|
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
|
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 |
|
|
Jag24
Junior Member
182 Posts |
Posted - 28 January 2004 : 12:33:47
|
ty sir ...... |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 28 January 2004 : 19:24:12
|
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 |
|
|
Jag24
Junior Member
182 Posts |
Posted - 28 January 2004 : 21:31:18
|
hmmm maybe I better wait then, I dont want to mess anyone up . Thanks for your efforts tho sir |
|
|
Edwin1
Junior Member
107 Posts |
Posted - 29 January 2004 : 00:21:37
|
Do you have the new version 3.4.04? |
--Edwin |
|
|
Edwin1
Junior Member
107 Posts |
Posted - 29 January 2004 : 00:23:35
|
No wonder your forum looks wierd and strange... |
--Edwin |
|
|
Edwin1
Junior Member
107 Posts |
Posted - 29 January 2004 : 00:25:50
|
Jag, you have 3.4.03...the was a new version 3.4.04 released at January 1, 2004 |
--Edwin |
|
|
Jag24
Junior Member
182 Posts |
Posted - 29 January 2004 : 00:42:41
|
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 |
|
|
Edwin1
Junior Member
107 Posts |
Posted - 29 January 2004 : 01:36:56
|
No wonder... |
--Edwin |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
|
Topic |
|