vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   User Registration terms agreement (https://vborg.vbsupport.ru/showthread.php?t=295615)

maphorn 02-28-2013 09:44 PM

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.

Lynne 03-01-2013 02:20 AM

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.

maphorn 03-01-2013 09:54 AM

Thanks Lynne.

So....

Quote:

Where, how what do I need to add / modify so that users must tick ALL 4 boxes before registration is accepted?
Marc

Simon Lloyd 03-01-2013 01:32 PM

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 :)

maphorn 03-01-2013 03:13 PM

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


All times are GMT. The time now is 06:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01608 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete