The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
User Registration terms agreement
Hi,
I am new to this and so far have not found any of this very helpful! So hopefully that will change!!!! Currently the user registration on has a tick box for accepting Rules. I wish to add tick box acceptance for the following: Agreement to Copy Right and Intellectual Property Rights Agreement to Information Disclaimer Agreement to Customer Duty of Care I have added them to the User registration page but it lets you register without ticking the boxes!!! Where, how what do I need to add / modify so that users must tick ALL 4 boxes before registration is accepted? Please use simple language - I only have a very basic understanding of programming -VERY BASIC Marc Lynn from admin suggested I post my modifications here as well so someone that knows what they are doing may see where I went wrong! <vb:comment> MY ADDITION - Copy Right and IP </vb:comment> <h2 class="blockhead">{vb:rawphrase CopyrightHeader}</h2> <div class="blockbody formcontrols"> <div class="section"> <div class="blockrow"> <p class="label">{vb:rawphrase CopyrightProceed}</p> <div id="forumrules" class="restore"> {vb:rawphrase Copyright, {vb:raw vboptions.forumhome}, {vb:raw session.sessionurl_q}} {vb:rawphrase ******, {vb:raw vboptions.bbtitle}} <vb:comment> Copy Right and IP </vb:comment> </div> </div> <div class="blockrow singlecheck"> <label for="CopyrightProceed" class="full"><input type="checkbox" name="agree" id="CopyrightProceed" tabindex="1" value="1" /> <strong>{vb:rawphrase CopyrightAgree, {vb:raw vboptions.bbtitle}}</strong></label> </div> </div> </div> <vb:comment> MY ADDITION - Disclaimer </vb:comment> <h2 class="blockhead">{vb:rawphrase DisclaimerHeader}</h2> <div class="blockbody formcontrols"> <div class="section"> <div class="blockrow"> <p class="label">{vb:rawphrase DisclaimerProceed}</p> <div id="forumrules" class="restore"> {vb:rawphrase Disclaimer, {vb:raw vboptions.forumhome}, {vb:raw session.sessionurl_q}} {vb:rawphrase ******, {vb:raw vboptions.bbtitle}} <vb:comment> Disclaimer </vb:comment> </div> </div> <div class="blockrow singlecheck"> <label for="DisclaimerProceed" class="full"><input type="checkbox" name="agree" id="DisclaimerProceed" tabindex="1" value="1" /> <strong>{vb:rawphrase DisclaimerAgree, {vb:raw vboptions.bbtitle}}</strong></label> </div> </div> </div> <vb:comment> MY ADDITION - DutyofCare </vb:comment> <h2 class="blockhead">{vb:rawphrase DutyofcareHeader}</h2> <div class="blockbody formcontrols"> <div class="section"> <div class="blockrow"> <p class="label">{vb:rawphrase DutyofcareProceed}</p> <div id="forumrules" class="restore"> {vb:rawphrase Dutyofcare, {vb:raw vboptions.forumhome}, {vb:raw session.sessionurl_q}} {vb:rawphrase ******, {vb:raw vboptions.bbtitle}} <vb:comment> DutyofCare </vb:comment> </div> </div> <div class="blockrow singlecheck"> <label for="DutyofcareProceed" class="full"><input type="checkbox" name="agree" id="DutyofcareProceed" tabindex="1" value="1" /> <strong>{vb:rawphrase DutyofcareAgree, {vb:raw vboptions.bbtitle}}</strong></label> </div> </div> </div> <vb:comment> END OF MY ADDITION - DutyofCare </vb:comment> Last edited by maphorn : Yesterday at 21:37. |
#2
|
||||
|
||||
And what have you added to make those fields required? In html5, there is the "required" option, but you may need to add some actual php code to make those required.
|
#3
|
|||
|
|||
Thanks Lynne.
So.... Quote:
|
#4
|
||||
|
||||
Why not just use the Profile Field manager, and make the field required on registration and at profile edit, this way everyone who registers must check the checkbox and all members who edit their profile who haven't previously been asked the question will have to check the checkbox
|
#5
|
|||
|
|||
SORRY I AM A TOTAL NOVICE!! From what I have seen sound like it will do the trick!
Managed to set them up and they work - the only problem is I want to bring up the statements from the URL (single edit control point!) rather than copy and paste into description. How do I do that? Thanks Marc |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|