Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2013, 09:44 PM
maphorn maphorn is offline
 
Join Date: Feb 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 03-01-2013, 02:20 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-01-2013, 09:54 AM
maphorn maphorn is offline
 
Join Date: Feb 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 03-01-2013, 01:32 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 03-01-2013, 03:13 PM
maphorn maphorn is offline
 
Join Date: Feb 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:53 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.04151 seconds
  • Memory Usage 2,200KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete