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/O Code)
 Restrict Registration based on Age
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martha2Mary
Junior Member

New Zealand
250 Posts

Posted - 02 April 2004 :  21:59:28  Show Profile  Visit Martha2Mary's Homepage  Send Martha2Mary an AOL message  Send Martha2Mary an ICQ Message  Send Martha2Mary a Yahoo! Message
Hi

I would like to find out if there is anyway to restrict Registration to my Forums based upon age ~ i.e. if Member enters birth year less than x, they will be advised that they are ineligible to register.

Of course I realise that people can enter a false year of birth, but at least then I would know that I had done whatever I could to ensure that my Members were 15 yrs or over.

Any helpful info appreciated!!

*If Knowledge is Power, and Power Corrupts, what hope is there for Mankind *

Webbo
Average Member

United Kingdom
982 Posts

Posted - 04 April 2004 :  10:37:10  Show Profile  Visit Webbo's Homepage
It's already in the Registration Policy:

quote:
By pressing the "Agree" button, you agree that you, the user, are 13 years of age or over. You are fully responsible for any information or file supplied by this user. You also agree that you will not post any copyrighted material that is not owned by yourself or the owners of these forums. In your use of these forums, you agree that you will not post any information which is vulgar, harassing, hateful, threatening, invading of others privacy, sexually oriented, or violates any laws.


Only other option to ensure is that you ask a prospective member to place a saliva swab in their USB socket and run a DNA test using the freely available program: guessmyage.exe
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 04 April 2004 :  11:09:10  Show Profile  Visit Jezmeister's Homepage
you could add the following to your register.asp (quickly tested it on my forums- but you'd have to use the "age" option rather than the "birth date" one)
at lines 210 find the following and add the red bits
	else
		strEncodedPassword = sha256("" & trim(Request.Form("Password")))

		Err_Msg = ""
		if Request.Form("Age") < 13 then
				Err_Msg = Err_Msg & "<li>You must be over 13 to register for these forums</li>"
			end if 
		if strAutoLogon <> 1 then
			if trim(Request.Form("Name")) = "" then
				Err_Msg = Err_Msg & "<li>You must choose a UserName</li>"
			end if
			if Len(trim(Request.Form("Name"))) < 3 then
				Err_Msg = Err_Msg & "<li>Your UserName must be at least <strong>3</strong> characters long</li>"
			end if
		end if

Edited by - Jezmeister on 04 April 2004 11:13:33
Go to Top of Page

Martha2Mary
Junior Member

New Zealand
250 Posts

Posted - 04 April 2004 :  18:04:35  Show Profile  Visit Martha2Mary's Homepage  Send Martha2Mary an AOL message  Send Martha2Mary an ICQ Message  Send Martha2Mary a Yahoo! Message
Many thanks for that, Jezmeister!!!!! I'll give it a go, and maybe see if it can be modified somehow for the DOB, as the Birthday Mod needs this.....

*If Knowledge is Power, and Power Corrupts, what hope is there for Mankind *
Go to Top of Page

Martha2Mary
Junior Member

New Zealand
250 Posts

Posted - 04 April 2004 :  21:05:16  Show Profile  Visit Martha2Mary's Homepage  Send Martha2Mary an AOL message  Send Martha2Mary an ICQ Message  Send Martha2Mary a Yahoo! Message
Well, I managed to get that aspect working, but also needed to make it so that people registering must enter their age. I tried to fiddle with the code to do it myself, but was unsuccessful, so could you (or anyone else) help me with the code for this? Thanks!

*If Knowledge is Power, and Power Corrupts, what hope is there for Mankind *
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 04 April 2004 :  22:56:30  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Well, if you have that error message set up, they should have to enter thier age or else it will not continue on. It will give the error, they will have to go back and input an age if they didn't put one in.




Erick
Snowmobile Fanatics

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.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07