demo
templates
install
contact
Beta HomeNew FeaturesMembers List

Members List

Contentor now has a Members List that also serves as the editor log in system.

The main list manager script name is "list", which shows a simple listing of members if no other options are specified.
If the visitor is logged in, a more details list can be shown. The format of these lists is contained in the database "setup" table in the "memberList" and "memberDetail" entries. These can be edited to customize these displays.

If you are logged in, there will be a link to "Edit you information". If you are logged in at the "List Edit" administrator level (default=3) you will see an edit ico edit icon next to the name to allow editing of that entry. If logged in at a higher level, additional fields are allowed for administrators.
The edit form is contained in the database "setup" table in the "memberEntryTop" and "memberEntryBottom" entries with the additional administrator fields found in the "memberAdmin" entry.
There are safeguards in the script to prevent changing critical administrator entries without proper authentication.

Other settings

The length of the description field, the number of members listed per page, as well as the list header/footer lines can be customized in the system setup _list_max_description, _list_per_page, _list_head, and _list_head_end entries.


Administrator Levels

The system uses numeric levels (generally 1 through 5) to control access to different functions.

  1. - allows veiwing of pages marked "members only" in the edit mode
  2. - allows editing of page content of pages specified in the "memberEdit" setting (_page_edit_level)
  3. - allows editing of the basic information in the members listing (_list_edit_level)
  4. - allows editing of the admin-level information in the members listing (i.e. change others' edit permission and level settings - _admin_edit_level)
  5. - access the database manager to directly edit the database

All of the settings, except the basic level (1) can be set in the system configuration:

The database manager access is _admin_edit_level + 1


Edit Paths

Each member can be allowed to edit different areas of the site by specifying the allowed page names. Multiple pages can be specified as a list separated by commas. Wild card characters are allowed in each name:

* - matches any number of characters. An asterick alonen allows editing any page.
? - matches one character.

Examples:

  /events* - can edit "/events" and any pages below it, such as "/events/october"

  /events/* - can edit any pages below "/events", such as "/events/october", but not the "/events" page itself.

  /chapter/?? - can edit any pages below "/chapter", but only up to two character names, such as "/chapter/99".

  /toc,/chapter/* - can edit the "/toc" page and any pages below "/chapter".


Tips

TO access the member list directly, place "list" on the main menu.

To allow someone to edit only part of a page, put the information on a page that they can access, such as "/thatpage", and then use the [include]/thatpage[/include] statement to place the information on the otherwise protected page.

If you are setting up multiple sites on one MySQL database, note that the neme of the members table cannot be easily changed in this version. This means that someone who can log into one site can log into the other site(s). They would need to log in separately (with the same username (e-mail) and pasword, as the system keeps the entire URL in the log in cookie name.
If you need to protect separate sites on a server, each site must have a separate database.


Search form

To create a member serch form:

Use the following code:

<form name="search" method="post" action="list">
  <label for="field">Field</label>
  <select name="field" id="field">
    <option value="memberCounty" selected="selected">County</option>
    <option value="memberName">Name</option>
    <option value="memberEmail">E-mail</option>
  </select>
  <label for="value">Find</label>
  <input type="text" name="value" id="value" />
  <input type="submit" name="Submit" value="Submit" />
</form>