Skip to content

Times-0/Register-cp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Register-cp

Register with CP Template + Activation

Setup

domain

The regsister was tested in localhost under subdomain create.localhost.

To change base domain, go to create > js > register.js : line 8, change the following line to your desired create base

base_url : 'http://create.localhost',

Eg:

base_url : 'http://register.mycpps.pw',

captcha

You have to create and use Google's reCaptcha v3, follow instructions here: Google reCaptcha v3

Edit reCaptcha site key in create > js > register.js : line 5

reCAPTCHA_site_key : "Your site key goes here",

Also edit it in create > index.html in header section

mysql and captcha (server)

Edit your MySQL data and reCaptcha secret key in the php file.

Edit create > ajax > index.php : line 17 to 25, to match your credentials.

activation

To enable account activation, you have to edit email smtp details, and change create.localhost domain in php to your domain, so users can activate their account.

Usage

Visit create.yourdomain.com and enjoy your register!

About

Register with CP Template for Timeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published