View Full Version : Accept 'Terms of Agreement' checkbox
Neticus
02-07-2006, 04:36 PM
Have just done this myself thought i'd share :)
Adding 'Accept Agreement' checkbox to submit form.
Form will not submit until user checks this box.
In submit.tpl
Near top, Replace:
Content visible to registered users only.
with
Content visible to registered users only.
Scroll down to end of file, Replace:
Content visible to registered users only.
with
Content visible to registered users only.
This code in above is optional:
<input type="button" value="Exit" class="btn" onclick="document.location.href='/index.php';"/>
class="btn" sets button colour.
3. Just before {include file="footer.tpl"} place:
Content visible to registered users only.
_
David
02-07-2006, 05:10 PM
Wow! Thanks for sharing.
Sxperm
02-08-2006, 03:58 AM
Thank you very much for your contribution :lol: and thanks again for your PM :wink:
Cheers,
Sxperm
Kevuk2k
02-08-2006, 04:57 AM
Content visible to registered users only.
An excellent idea, however I've just been testing it and put in verbatim your instructions. I managed to bypass the tick box and still went straight to the paypal processing. The only thing that ever stopped me is the sheer power of the script itself, i.e if you dupe your submission, parent already exists, you get the captcha wrong, the only thing that did not work no matter what was the javascript you made? I followed your guidance to the letter and even had a tech of mine to do it and it wasn't me for a change? Any ideas?
Cracking idea, however it might be a better idea to put a terms of service page online first and to hyperlink this in a pop up box so that the submittor knows the TOS he/she is agreeing to. I'd like to see this working though. Well done on the concept even if it didn't work for me. Not to blow the candle out though all a person has to do is to write a line of text stating... Content visible to registered users only.
Sometimes comlicating the uncomplicated doesn't always work, but does give food for thought as we now know we all should have considered this earlier. Thankyou very much for contributing.
Kevin
Neticus
02-08-2006, 04:00 PM
Sorry it didn’t work for you Iā€˜ve just reinstalled it again on an affected and unaffected submit.tpl and it seems to hold the fort.
You could do like I did, go to a forum, kindly ask how X is achieved, you may have someone give you a different code to attempt.
Then try to incorporate into the relevant areas of submit.tpl.
However if it helps it may be a browser incompatibility problem I’m an IE6 user.
As for linking to the Terms of Agreement you could make the text a link that opens in a new window to - terms.php i.e.
Content visible to registered users only.
To incorporate the terms into a customized pop up window you may have to use a 'window generator' script. Just search for that as a keyword.
Although Plan B works too. Just write it.
Peace.
Kevuk2k
02-08-2006, 04:50 PM
Humble pie Gladly eaten!!! :oops: The script worked absolutely fine in internet explorer all versions, opera, firefox and a few others so far.... Was a syntax error not being picked up as a result of inncorrect installation of your description. Still think this is not really needed but is definately an added bonus to any site that wants to make 110% certain the tos has been accepted. No comebacks then.
10/10 and my humble apologies for claiming it didn't work for me.... :)
Scriptwriting is not my forte, but intillectual property is :wink:
Thanks,
Kevin
Hey, sounds great! Do you have a demo?
Kevuk2k
02-08-2006, 07:59 PM
Content visible to registered users only.
Neticus
02-08-2006, 10:41 PM
Content visible to registered users only.
Cool, glad it finally worked out. :)
Like I said if you're planning to do a separate Terms page you can link to it with the following, it opens it up in a new window.
Content visible to registered users only.
_
Neticus
Steven Myers
05-08-2006, 04:00 PM
This mod worked limk a charm! thank you David!
Optimit
05-08-2006, 04:13 PM
Is this working on 3.04?
Neticus
05-08-2006, 04:20 PM
I haven't tried it with 3.04 yet. However I've just looked at the 3.04 code in submit.tpl, the relevant lines to edit are still there so it should work.
css59
05-08-2006, 04:53 PM
Content visible to registered users only.
If someone tests in 3.0.4 please let us know if it works :)
neurosis4u
05-09-2006, 12:47 PM
Content visible to registered users only.
it works on 3.04 :)
aspidov
06-02-2006, 01:38 PM
works perfect with 3.05 as well ;)
GimmeMyDomains
07-13-2006, 09:57 PM
Nice - works great. Now, does anyone have a "Terms and Conditions of Use" that I can use as a starting point?
kentuckyslone
07-20-2006, 04:42 AM
Thanks for that code! Until I actually write up a separate terms page I am using this to ask the submitter to confirm that they have read and agree to the submission guidelines. I figured that was just about the same as terms.
mmastation
08-26-2006, 04:56 PM
anyone have the mod to add an extra box to the submit page? like next to where they fill everything out? so I can put terms of service and such in that.
jojomart
01-06-2007, 05:10 PM
Hi, I'd like to use this mod, but I'm wondering if it will work with version 3.1.
I can't find the Content visible to registered users only. in my submit.tpl file.
Here's what I have:
Content visible to registered users only.
Thanks in advance,
Joanne
neurosis4u
01-06-2007, 06:29 PM
Hi,
it works well in 3.1, but i think you have modified your submit.tpl with a spamprotection, that redirect to a second submit.php or something?
atrades
01-12-2007, 03:33 PM
Tis mod would be really cool if you could adapt it to step in before somebody goes to search for adult content links if you have this within your directory...
Any thoughts apprecaited
jetbrains
03-09-2007, 11:09 AM
Thanks for sharing.
Electric-Shadpw
03-22-2007, 05:24 PM
Brilliant, just what i was looking for, do you have a website? so i can give you a featured listing?
spyrit
12-09-2007, 03:56 AM
it worked perfectly for me too...thx for this :)
menj1980
01-05-2008, 03:28 PM
Looks like a great mod but would be nice if someone could install it for me.
I can install it for you. Please PM me. Thanks.
regg
FendyBt2
05-02-2008, 06:08 PM
Flawless... work like a charm... thanks... :cool:
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.