Buy now Customer Login

Online Manual / Administration

Admin control panel URL

      http://www.yourdomain.com/admin/login.php

After running "install.php" and configuring the application, administrator can start to upload membership files to secured directories.

Folder "members" contains all protected directories created by administrator, you will find three files in "members" folder:

      index.php -- the main index page after member login.
      welcome.php -- if member account is set to show welcome page, this is the page that member will see after login of first time.
      .htaccess -- protect all member files, you can add more file types by editing ".htaccess" and "redir.php" files.

After administrator creates new secured directory, you will find there are 6 files in it:

      index.php -- the main page of this protected area.
      redir.php -- redirect to member files if user has been authorized to access this area.
      index.html, page2.html, ollance.gif and pdflile.pdf -- these are sample files only and can be removed.

How to get files be protected?
Administrator uploads files into secured directory, the hyperlink in each html file needs to be modified.
For example, admin creates secured folder "product1", and uploads three files: page1.htm, page2.htm, and image.jpg

Assume that page1.htm contains hyperlinks to page2.htm and image.jpg
The existing links in page1.htm are:

      <a href="page2.htm">goto page2</a>
      <a href="image.jpg">goto image</a>

With the new protecting method, change links to:

      <a href="redir.php?filename=page2.htm">goto page2</a>
      <a href="redir.php?filename=image.jpg">goto image</a>

Ollance Member Login Script v1.0 creates one level protected area under "members" folder, for example "product1", if you need to create sub-directories under "product1"(like "members/product1/subfolder"), do three things:

    1. Copy index.php and redir.php from "product1" into this sub-directory. Note: DO NOT copy these files from admin/templates folder.
    2. Edit these two files, find:

      include_once ("../../auth_member.php");
      include_once ("../../admin/config.php");
      include_once ("../../check_member.php");

    and change the path into:

      include_once ("../../../auth_member.php");
      include_once ("../../../admin/config.php");
      include_once ("../../../check_member.php");


    3. Save the files.

Sections