Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to remove Terms and Conditions  (Read 13278 times)

0 Members and 1 Guest are viewing this topic.

iblazed

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
How to remove Terms and Conditions
« 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)
« Last Edit: April 20, 2006, 07:12:58 am by GauGau »
Logged

Nibbler

  • Guest
Re: How to remove Terms and Conditions
« Reply #1 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to remove Terms and Conditions
« Reply #2 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).
Logged

cgc0202

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 199
Re: How to remove Terms and Conditions
« Reply #3 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to remove Terms and Conditions
« Reply #4 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to remove Terms and Conditions
« Reply #5 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 20 queries.