0 Replies Latest reply on Jul 8, 2008 2:08 PM by Waleed Barakat

    Tutorial Announcement :: Building Membership System ::

    Waleed Barakat Level 1
      Hello everyone...
      today in this tutorial we will learn how to build simple MemberShip system, simple using it, very complicated developing it, but using ADDT`s tools nothing is complicated, just follow some steps and directions then you will find it soooo easy either in development mode.

      Plan the application:
      -----------------------------

      we just need to plan it up, so first thing is to know how many pages required for this application, which page the logged in user redirected to, is there is an access level will used with the app.? and so on.

      ---------------------------------------------------------------------------
      Pages and folders required for this application:
      ----------------------------------------------------------------

      1- login.php
      2- register.php
      3- forgot_passord.php
      4- admin/index.php - the welcome page
      5- users/index.php - the welcome page

      - if you planning to use account activation there will be one more page "active.php".

      ---------------------------------------------------------------------------
      Database structure:
      ---------------------------

      database structure will be only one table storing the login information and will be:
      The user_usr table stores information regarding the user. Its fields are used for:

      id_usr - primary key, provides the unique identifier for each record.

      name_usr - the name and surname for each registered user.

      password_usr - the password chosen at registration, stored encrypted.

      active_usr - stores 1 or 0, to determine if the account was activated by the user. It is used to prevent creating fake accounts, as it uses the e-mail address to send the activation link.

      level_usr - stores the access level for users. For this application, only 2 user levels will be defined:
      0 - corresponds to regular user.
      1 - for site administrators.

      randomkey_usr - stores a randomly generated key, used for account activation, to prevent activating other accounts.

      email_usr - stores the user e-mail address. It is also used as the username.

      address_usr - stores the user's address. This will be used as shipping and billing address.

      :: Go To Tutorials ::

      :: Online Demo ::