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: General / Classic ASP versions(v3.4.XX)
 problems signing up
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

InternetMill
Starting Member

USA
4 Posts

Posted - 30 June 2003 :  11:09:23  Show Profile  Visit InternetMill's Homepage  Send InternetMill an AOL message  Send InternetMill an ICQ Message
Hi,
I have a forum and my cousin would like to register for it but when he clicks on Agree on the policy.asp page, it just keeps reloading that page. It doesn't go to the registration page. Do any of you know what might be going on? Any help would be appreciated. Thanks
Matt<

Matt Millican
InternetMill.com
http://www.internetmill.com
(Win XP / UD 4 / PSP 7 / Access 2000 / ASP / VBscript)

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 30 June 2003 :  11:25:32  Show Profile
tell him to turn off his firewall during the registration process<

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

InternetMill
Starting Member

USA
4 Posts

Posted - 30 June 2003 :  11:45:29  Show Profile  Visit InternetMill's Homepage  Send InternetMill an AOL message  Send InternetMill an ICQ Message
Thank you Nikkol,
Now it works for me so we'll see if it will work for him. He says he's not behind a firewall though.
Matt<

Matt Millican
InternetMill.com
http://www.internetmill.com
(Win XP / UD 4 / PSP 7 / Access 2000 / ASP / VBscript)
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 30 June 2003 :  11:48:12  Show Profile
Try this topic: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=39795&SearchTerms=register,agree
Or this topic: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=45236&SearchTerms=register,agree

Searching often helps....<
Go to Top of Page

whats.asp
Starting Member

20 Posts

Posted - 30 June 2003 :  18:54:18  Show Profile
I have read through the stuff posted for 2 hrs now and i am more confused now than when i started. Would someone please tell me what the verdict is on what should be done to correct the problem?<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 30 June 2003 :  19:12:29  Show Profile  Send ruirib a Yahoo! Message
The links posted by FrutZle describe, very clearly, the cause for the problem is. What are your doubts?<


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

whats.asp
Starting Member

20 Posts

Posted - 30 June 2003 :  20:01:00  Show Profile
I think i have found it. where in inc_func_common.asp does it go?

[1]I can not find the reference to the folder "forum". My forum folder is not called "forum".
The forum might not have been installed into "/forum/" so you should try not to reference it explicitly in the code.
[2]How do I unexplicit it?


[3]What is calculated from mean, what am i suposed to do here?
The path can be calculated from the Request.ServerVariables("SCRIPT_NAME") variable.


[4]Where in inc_func_common.asp does it go?

inc_func_common.asp

Added the following function and procedure

function GetReferer()
Dim strReferer
strReferer = lcase(Request.ServerVariables("HTTP_REFERER"))
if strReferer = "" then
strReferer = "default.asp"
elseif (Left(strReferer, len(strForumURL)) <> lcase(strForumURL)) then
strReferer = "default.asp"
end if
GetReferer = strReferer
end function

sub CheckReferer(strMatchReferer, strRedirectTo)
dim strReferer
strReferer = lcase(Request.ServerVariables("HTTP_REFERER"))
if InStr(strReferer, lcase(strMatchReferer)) = 0 then
if Instr(lcase(Request.Form("REFERER_PATH")), lcase(strMatchReferer)) = 0 then
Response.Redirect(strRedirectTo)
Response.End
end if
end if
end sub



policy.asp

Modified Line 103 as shown below (in red) and added a new hidden field just below Line 103 highlighted in blue (strScriptname is defined and populated in inc_header.asp)

"<input name=""Refer"" type=""hidden"" value=""" & GetReferer() & """>" & vbNewLine & _
"<input name=""REFERER_PATH"" type=""hidden"" value=""" & strScriptName & """>" & vbNewLine & _


register.asp

Lines 73-75
Removed the following statements

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


And replaced the above statements with the following statement



Rem - Argument1 = Path to Match, Argument2 = Redirect Path
Call CheckReferer("policy.asp", "default.asp")
<

Edited by - whats.asp on 30 June 2003 20:23:47
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 July 2003 :  00:06:28  Show Profile  Send ruirib a Yahoo! Message
If you have comments on Gaurav's mod, the place to post them is the mod implementation forum, NOT THIS ONE!

Man, you do behave oddly, deleting posts, not posting where you should. Is it that hard to understand where to post and how to behave correctly?!<


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

whats.asp
Starting Member

20 Posts

Posted - 01 July 2003 :  01:22:54  Show Profile
X<

Edited by - whats.asp on 01 July 2003 01:23:54
Go to Top of Page

whats.asp
Starting Member

20 Posts

Posted - 01 July 2003 :  01:43:34  Show Profile
Like i knew this is a mod. Where does it say that this is a mod? If you look above you will see that i was asking for help because i was confused.
You will also notice that i did not start this topic.

I can only hope that one day you have to go to someone else for help because you no nohting about it and they treat you this way.

Lets all hope it is not me that you have to come to. Even then i would not feel the need to treat you this way. If this is so hard for you to do, then why do you do it. Do you have to do it, is someone making you do it, maybe its a job and your all government workers. I think you have been doing it to long and you really don't like doing it but have nothing else to do in your miserable lives.

The way you all talk here is like you are the smartest people on earth and you never had to learn anything.

Just tell me how long have you been doing this that you think it is so easy to understand.

Deleting posts? Is that not what your supposed to when you posted wrongly? If not can you tell me what the delete function is for.

Geezz guys i just got done watching a movie Julius Ceaser. You all must belong to the Roman senate the way you act. You think you know it all.

All i am quilty of is not knowing but you are quilty of thinking you know everything.

I came to you wanting to know and learn, you have made it a crime.

Maybe you all act this way because the rest of your lives suck. Just what is it that you guys do in your normal lives that makes you feel the need to be high and mighty here. You definitely have low self esteem to be such bullys.

There, i have had my say and feel better, now do what you must.

And really guys at least take a break.<
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 01 July 2003 :  02:00:00  Show Profile
quote:
Originally posted by whats.asp

Like i knew this is a mod. Where does it say that this is a mod? If you look above you will see that i was asking for help because i was confused.
You will also notice that i did not start this topic.

I can only hope that one day you have to go to someone else for help because you no nohting about it and they treat you this way.

Lets all hope it is not me that you have to come to. Even then i would not feel the need to treat you this way. If this is so hard for you to do, then why do you do it. Do you have to do it, is someone making you do it, maybe its a job and your all government workers. I think you have been doing it to long and you really don't like doing it but have nothing else to do in your miserable lives.

The way you all talk here is like you are the smartest people on earth and you never had to learn anything.

Just tell me how long have you been doing this that you think it is so easy to understand.

Deleting posts? Is that not what your supposed to when you posted wrongly? If not can you tell me what the delete function is for.

Geezz guys i just got done watching a movie Julius Ceaser. You all must belong to the Roman senate the way you act. You think you know it all.

All i am quilty of is not knowing but you are quilty of thinking you know everything.

I came to you wanting to know and learn, you have made it a crime.

Maybe you all act this way because the rest of your lives suck. Just what is it that you guys do in your normal lives that makes you feel the need to be high and mighty here. You definitely have low self esteem to be such bullys.

There, i have had my say and feel better, now do what you must.

And really guys at least take a break.


I'm locking this topic. There is no need for that kind of sarcasm here. I suggest that if you want help here from the unpaid volunteers for this free software that you be a little more considerate and take the advice given to you more than once about posting in the correct forum. There are clear forum descriptions on the main page.

By the way, a MOD is any changes you make to the base code.

<edit>
Reference:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=45697
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=45677
<

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 01 July 2003 02:05:45
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.47 seconds. Powered By: Snitz Forums 2000 Version 3.4.07