Creating a Custom Login Form
Default Login Form
By default, the program auto-generates a login form at the following location:
http://members.yoursite.com/Remember that you will need to change "http://members.yoursite.com/" to the actual URL at which Zenbership is installed.login.php
Creating a Custom Form
However if you want to create a custom login form that doesn't use the standard ajax features and can be incorporated directly into your website outsides of the Zenbership framework, all you need to do is copy and paste this code into your website:
<form action="https://members.yoursite.com/pp-functions/login.php" method="post"> <label>Username</label> <input type="text" name="username" /> <label>Password</label> <input type="password" name="password" /> <label>Remember?</label> <input type="checkbox" name="remember" value="1" /> Remember me for a week <input type="submit" value="Login" /> <p><a href="http://members.yoursite.com/Remember that you will need to change "http://members.yoursite.com/" to the actual URL at which Zenbership is installed.lost_password.php">Forgot your password?</a> | <a href="http://members.yoursite.com/Remember that you will need to change "http://members.yoursite.com/" to the actual URL at which Zenbership is installed.register.php?action=reset">Register</a></p> </form>
Things to Note
- You will need to update "http://members.yoursite.com/Remember that you will need to change "http://members.yoursite.com/" to the actual URL at which Zenbership is installed." to match the correct location to which Zenbership was installed on your server.
- This form is very basic, so you will mostly likely need to apply styles to the form and form elements.
Article Links
Related Articles
Article Tags
Details
Published on 2013/08/31.
Last updated on 2013/08/31.