This is a complete tutorial for Password Page Back-End and Front-End. After this tutorial, you'll be able to manage your records including add, edit and delete records, retrieve records from database and set your preferences. Also, proceed to Administrator Section tutorial to learn about settings and information, create One Admin user account and installation.
Set Permission To Access Pages
Once you've successfully log in to the administration area, go to the 'Misc Tools' modules and click on 'Password Page' link.
By default, a page where you can assign password to user to access certain pages is shown or you can click on 'Password Pages' button.
First, you have to key in the URL of the page you wish to protect with password, then set the permission either to allow all users or only certain user to access and browse for user name from the list. Click 'Add'.
Create User Account
Click 'User Account' button to manage your user accounts where you can create username and password, delete and edit user records.
Set Your Preferences
Go to the 'Preference' to set the limitation for displaying URL in 'Password Protected Page' and define number of records to be appeared in 'User Account Page'. Save the setting or use the default setting.
Full Protected Page
You can create either a 'Full Protected Page', or 'Partial Protected Page'.
A Full Protected Page is a blank web page with login form. To setup the login form, open the member.php file with your text editor and insert this inclusion code underneath a <body> tag. <? include ("/home/sitename/public_html/oneadmin/misctool/home.passwordpage.php"); ?>
Partial Protected Page
A Partial Protected Page is a web page with header, follow by the login form. All you need to do is to put this inclusion code on top of a <table> tag within a body content.
<? include ("/home/sitename/public_html/oneadmin/misctool/home.passwordpage.php"); ?>