Features / Usability

Features / Usability

Re: Requiring Board Guidelines Before Registration?

United States

> I have been trying to set up my site so you must view an agreement before registering. I have read the article here but this is not what I want. I want users to have to read a page with my agreement and the options "I Agree" and "I Don't Agree".
> How do I do this?

Should be pretty easy to do with Javascript. You'll need to edit the tiki-register.tpl template. Something like this may work:

function show(id)
 if (document.getElementById(id).style.display == 'none')
  document.getElementById(id).style.display = '';
function hide(id)
 document.getElementById(id).style.display = 'none';

<p>The full text of the agreement goes here.</p>
<p>Agree <input type="radio" name="eula" value="agree"><br />
Disagree <input type="radio" name="eula" value="disagree"></p>

<div id="disagreeTbl" style="display:none;">
You must agree before registering.

<div id="agreeTbl" style="display:none;">
Contents of register.tpl goes here.

Put the full content of register.tpl inside the agreeTbl DIV. This is just a 5 minute hack, so YMMV.



Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.