forum.coppermine-gallery.net

No Support => Feature requests => Scheduled for cpg1.5.x => Topic started by: iblazed on March 21, 2006, 02:56:37 pm

Title: How to remove Terms and Conditions
Post by: iblazed on March 21, 2006, 02:56:37 pm
How do you remove the terms and conditions page so that when a user clicks on register it skips the Terms and Conditions and just goes right to the register page?
(Reason for this is I'm just going to have a checkbox at the bottom of the register page where they can agree to the terms and it will have a link to the terms)
Title: Re: How to remove Terms and Conditions
Post by: Nibbler on March 22, 2006, 02:03:53 am
Look at the end of register.php for

Code: [Select]
if (isset($_POST['agree'])) {
    input_user_info();
  } elseif (isset($_POST['submit'])) {
    $errors = '';
    if (!check_user_info($errors)) {
      input_user_info($errors);
    }
  } else {
    display_disclaimer();
  }

Changing that to

Code: [Select]
  if (isset($_POST['submit'])) {
    $errors = '';
    if (!check_user_info($errors)) {
      input_user_info($errors);
    }
  } else {
    input_user_info();
  }

should remove the disclaimer.
Title: Re: How to remove Terms and Conditions
Post by: Joachim Müller on March 22, 2006, 09:21:22 am
Should be an admin option in cpg1.5.x, so I'm moving this thread accordingly (to make sure I remember to add it).
Title: Re: How to remove Terms and Conditions
Post by: cgc0202 on April 11, 2006, 01:06:50 am
Should be an admin option in cpg1.5.x, so I'm moving this thread accordingly (to make sure I remember to add it).

You are correct.  This should be an Admin option.  The original proponent has valid reasons for wanting to modify the presentation.

However, in the US where there are so many nuts who will sue for the slightest reason, the presence of the "Terms and Conditions" as a precondition for going further and being able to register is a very good strategy.

The developers of Coppermine should be lauded for having the foresight to include this option.  Many programs that target amateur users do not even have this disclaimer note.  In fact, I was surprised when the creator of a links directory I was quite interested with did not see any reason for registration at all, let alone to have a defined "Terms and Conditions" or disclaimer clause.

By the way, is there any timetable when 1.5x (stable) is likely to be released for public consumption?  How buggy is the alpha (test) version?

CGC
Title: Re: How to remove Terms and Conditions
Post by: Joachim Müller on April 11, 2006, 08:11:58 am
I'm currently working on this feature, so it will be addressed in the devel branch of the cvs pretty soon. There isn't even an alpha version of cpg1.5.x out, the only method you can get it is checking out the devel branch of the cvs. There is no scheduled release date - we never publish schedules, because coppermine is a group effort of volunteers and there is no saying when devs will have the time to work on the project.
Title: Re: How to remove Terms and Conditions
Post by: Joachim Müller on April 20, 2006, 07:12:43 am
committed to devel branch of the svn - feature will be in cpg1.5.x. Marking thread accordingly.