Membership plugin. Disable Access checked by default

By Damon - April 25, 2016

Hi Jeff,

Here are the steps:

1. how can I change the default for disable access to checked (in the section editor it is greyed out, presumably because changing it could create problems elsewhere?)

Pass in the disabled value when the user signs up in the signup form. Open your user_signup.php file (or the whatever you have named it) and add this code around line 66:

$colsToValues['disabled']         = 1;

You can also at the same time modify the Thanks message that appears on the screen when the user submits the form.

Save and upload the form back to your site. 


2. I will need to alert the admin everytime a new user has attempted to sign up. How can I set up an email alert to do this.

Log into CMS Builder and go to Admin > Email Templates

Click the modify link fr the USER-SIGNUP email template. This is the email that gets sent when users signup.

Add #settings.adminEmail# into the BCC field and the admin will get sent the same email when users signup.

Let me know if you have any questions about any of the steps.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By JeffC - April 26, 2016

Thank you. Perfect solution.

Jeff