Members List
Contentor 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 or even eliminate these displays.
If you are logged in, there will be a link to "Edit your information". If you are logged in at the "List Edit" administrator level (default=3) you will see an
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.
Listings of members can be embedded on other pages using the [members] tag.
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.- - allows veiwing of pages marked "private" in the edit mode
- - allows editing of page content of pages specified in the "memberEdit" setting (_page_edit_level)
- - allows editing of the basic information in the members listing (_list_edit_level) Users can always edit their own listing.
- - allows editing of the admin-level information in the members listing (i.e. change others' edit permission and level settings - _admin_edit_level)
- - access the database manager to directly edit the database
- _page_edit_level - defaults to 2
- _list_edit_level - defaults to 3
- _admin_edit_level - defaults to 4
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 alone 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 name 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 password, 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.