vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Terms of Conditions (https://vborg.vbsupport.ru/showthread.php?t=322135)

Aros12 03-16-2016 03:28 PM

Terms of Conditions
 
I recently created a "Code of Conduct" for our members on HobbySquawk.com. It's located here:

http://www.hobbysquawk.com/forum/the...ode-of-conduct

What I would like to do is make this part of the registration process where the Code of Conduct copy is visible on a registration page with the "I accept the Hobby Squawk Code of Conduct" (or something similar) with a check box before they can complete the registration process.

The only way they can register is to check that box. I was wondering how to add this to the registration process? Much thanks for any help!

Replicant 03-16-2016 03:55 PM

You will probably have to add a php hook in the core registration php file to interrupt the registration process. It could be done with some CSS and javascript by hiding the register button until the checkbox is clicked, but that would be easily circumvented using dev-tools.

Aros12 03-16-2016 04:04 PM

So what you're saying is I should have gone to web dev school. :D

In Omnibus 03-16-2016 04:06 PM

Why not just paste your rules into the fr_register_forum_rules template?

Replicant 03-16-2016 05:30 PM

Quote:

Originally Posted by ProSportsForums (Post 2567397)
Why not just paste your rules into the fr_register_forum_rules template?

Where would this template be found? I don't have it on my system.

shimei 03-16-2016 06:17 PM

Search i_have_read_agree_terms

There I added:

Quote:

I have read and agreed to the site's
<a href="https://www.christforums.org/articles/196-forum-terms-and-conditions" target="_blank">Forum Terms of Service</a>
A check mark after one reads the linked page is present. Sorry I can't be more help, I did this nearly a year ago. I actually searched for phrases Forum Terms of Services and found i_have_read_agree_terms

https://vborg.vbsupport.ru/external/2016/03/6.jpg

Replicant 03-16-2016 06:52 PM

Shemei, that will work. You could actually paste the full html text there instead of just a link. That was a lot easier than my idea.


All times are GMT. The time now is 07:22 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.01008 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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