ocPortal Tutorial: ocPortal member system
Written by Chris Graham, ocProducts
Members are key to most participative or eCommerce websites. If you are using ocPortal's own forum, OCF
, then you will also be using ocPortal's own member system. If you are using a third-party forum, you will be using the member system from that, and you will need to consult its own documentation.This tutorial explains aspects of the OCF member system.
Table of contents
After installation
During installing ocPortal, there will be two user-names provided by default:- admin (or whatever you changed it to during installation)
- test
The test username is intended for testing permissions for non-administrators, which is a very important task, as it is easy to make mistakes during configuration. There is a 'su' feature that allows an administrator to become any user by typing in their username (and not needing to type in their password, or logout): this is a perfect way to use the 'test' username. Access the 'su' feature from the login block (side_personal_stats) or by putting &keep_su=<username> onto the end of the URL.
Joining
There are a number of ways a member might join an OCF website. Note that on non-OCF websites it is the responsibility of the third-party forum to handle the joining (aka registration) process.Regular mechanism
|
Joining an ocPortal powered site |
To join, users will have to agree to your rules, which are actually the same as those defined in your ':rules' Comcode page. In other words, to edit your rules, you need to edit this page. Once the rules are agreed to, they get a form to fill in with various details; for information on how to require additional details at joining, see the 'Advanced ocPortal member system' tutorial.
The form includes, if enabled in the configuration, a security image (CAPTCHA ) that they must enter a numeric code from. There is also an audio equivalent to the image. Users with special needs might have difficulty with CAPTCHA: therefore you may, on occasion, need to add a member manually from the Admin Zone, and give them the details personally. The purpose of CAPTCHA is to prevent 'bots' (computer programs usually designed to wreak some form of havoc) from joining your site and abusing it.
|
The login block (which turns into a 'personal stats' block after logging in) |
|
The detailed logging in page |
Once the form is filled in successfully, an e-mail will be sent to the given e-mail address containing a link to activate the account (assuming this option has not been disabled). The purpose of this is to ensure that they are giving a real working e-mail address, and hence are contactable. If the e-mail never arrives for any joining user, the most likely situation is a fault with e-mail sending on the server: it is essential that ocPortal is connected to a working e-mail server, either by directly residing on it, or by setting up SMTP settings in the main Admin Zone Configuration (see the Understanding and configuring e-mail tutorial). Joining users must be patient for a few minutes, as e-mails can sometimes take a while to arrive.
Once the account is activated, the user may log in from numerous areas, including the login block available on most zones, the forums, and the full login page.
If a member has forgotten their password, there is a link to have it reset available from the full login page (available by clicking 'more' in the login block); this will send an e-mail to the address of the account that provides a link that when clicked, causes ocPortal to send out a new password by e-mail. This reset sequence is designed to reduce the risk of abuse.
Invites
You can enable "Invites" in the configuration (the "Invites enabled" option) if you do not want members to be able to join in the usual way, and instead only allow them to join if they receive an invitation from an existing member.This process works as follows:
- An existing member goes to the 'recommend' module to refer another member to the website (make sure you put a link to this somewhere on your menus so they can find it).
- That member will choose to make the recommendation as an invite.
- That member will put in the e-mail address of the person being invited.
- ocPortal will send out an invitation e-mail.
- The person being invited will be given a link to join and instructed to input the e-mail address they were invited to.
- Assuming the person inputted the invited e-mail address, the invite will be successful.
Pre-joining members
|
Adding members manually in the Admin Zone |
An interface is provided to add a new member to the site, with support for detailing the full set of profile options, including ones not available normally during joining, and ones not available for members to set themselves.
The most common situations where it is convenient to pre-join a member are:
- if you want to add a member to the site before directing them to it, so that you don't have to make them go through the process themselves, or so that you can properly control or quickly set all their details, such as username and usergroup.
- if you want to add a member to the site before directing them to it, so that you can assign things to them before they reach the site (such as points).
- if the member encountered a problem during the joining process, possibly due to a difficulty with the image confirmation code (some Internet service providers do not properly assign IP addresses to users that are stable for any significant length of time, such as AOL: this can cause problems with the storage and later retrieval/processing of the image confirmation code)
Other kinds of membership
ocPortal can also support automatic member joining via LDAP and http-auth. For more information on these mechanisms see the links at the bottom of this page.Profiles
|
The member directory, where profiles may be accessed from |
An alternative way to view a member profile is to select/search using the member directory.
Member profiles contain information on the member, including:
- Statistics: Posts, Points, last submission time, and most active forum
- Their time
- Their on-line status
- Custom profile fields
- Their IP address when they joined (only viewable by those with permission)
- Their date of birth
- Whether they are banned
- Their join date
- Their primary usergroup
- The most recent web browser they have used (only viewable by those with permission)
|
Viewing a member profile |
Links include:
- Member blog and blog archive, if they have a blog
- Personal galleries the member has
- E-mailing them, if they allow it
- Points profile
- Starting a personal topic
- Author profile
- Authored/submitted search
- Warning creation
- Post history
- Investigation
- Personal Zone
- Personal Calendar view
- Edit links for account features
- ocWorld profile, if the ocWorld addon is installed and they have used it
Member observation
|
Viewing the list of on-line members |
- a list of on-line users
- how many guests are on-line
- the newest member
- member birthdays
Member birthdays are also shown on forum-view screens. Note that birthdays for members who have chosen to reveal their age will include the display of their age.
The Personal Zone
The Personal Zone is an ocPortal zone that allows configuring of member accounts, as well as display of personal-related details such as recent forum topic participation. When one enters the Personal Zone directly, one is choosing to configure one's own member profile; however, staff may configure any member profile by clicking the 'Personal Zone' link when viewing the profile of the member they wish to edit.Edit profile
|
Editing your/a member profile |
Staff see much more to edit than ordinary members, including all the hidden custom fields that ocPortal uses to keep track of point and staff details.
When editing the default accounts, you will need to specify e-mail addresses before it will allow you to complete the edit. The reason for this is that e-mail addresses are basically required for all accounts, but could not be provided by the installer.
Interesting editable fields for profiles include:
- changing the account password. If the password fields are left blank, the password is not changed
- changing primary usergroup. Obviously the member can not do this themselves
- (un)validating the account. There is an option for staff to require in the 'Forum options' of the main Admin Zone Configuration to set new members as non-validated upon joining, so as to require staff validation before they may login; this can be used to perform this validation, or reverse it
- banning of the member. Note that ocPortal will not let you ban yourself, for obvious reasons
Edit photo
|
Editing your/a member photo |
There is a permission to specify whether members may view the photos of other members, as there is an obvious 'stalking'/'paedophile' issue that must be considered for forums with young members.
You may wish to deny members access to this page (by removing page access permissions to the 'editphoto' page in the 'personalzone' zone), in order to protect yourself and your members from these issues.
Edit signature
|
Editing your/a member signature |
- their name
- a personal banner
- quotes
- a link to a personal website
- background information on themselves
It is common for websites to impose restrictions and rules with regard to signatures, as long or complex can be an annoying distraction from the flow of reading forum posts, and a 'bandwidth hog'. Members may decide not to view other members' signatures by editing their profile to preclude their display.
Edit avatar
|
Editing your/a member avatar |
ocPortal provides two sets of default avatars for inartistic/uninspired members to choose from (or possibly, if they just love our default avatars!). However, members may also upload their own avatars, or link to an avatar elsewhere.
If there is a theme image with the name ocf_default_avatars/default then this will be used as the default avatar a member gets when the join, otherwise default avatars will be picked randomly.
Avatar size is limited by the maximum size determined by any of their usergroups. 80x80 pixels is the size ocPortal uses by default.
It is beyond the scope of this tutorial how to create avatars. However, avatars are images no different than the theme images in ocPortal (and the default avatars are theme images), so whatever applies to editing theme images also applies to avatars.
Our default avatars may not be appropriate for some sites, but they can be changed. This can be done using the theme image manager. To actual get rid of the existing default avatars, you will need to delete the files from your web-space using an FTP program, and then to clear the theme image cache using the ocPortal Caches module in the Admin Zone.
To add new avatars, you need to add new theme images. You can add whole sets of avatar this way. The easiest way to add theme images in bulk is just to use FTP, uploading them to:
themes/default/images/ocf_default_avatars/<packname>
You can also do it using the Theme management tools, making sure the theme image names have a prefix of ocf_default_avatars/<packname>.
Edit title
|
Editing your/a member title |
Titles are displayed alongside forum posts, in the section that is accessed by 'hovering over' their user-name.
Deleting a member
|
The usergroup directory |
There is also an admin feature that allows you to delete 'lurkers' (the definition of lurker is up to you, as the feature is quite flexible). You can access this feature from the Admin Zone, Tools section, 'Delete Lurkers' icon.
Usergroups
|
Managing a usergroup |
- demonstrating rank
- grouping members for common permission allocation
- demonstrating involvement
'Applying' to usergroup leaders to join usergroups is supported, as well as point-based usergroup progression (rank).
Note that you cannot delete certain default usergroups that are used for system functions or as fail-safes.
Bookmarks
|
The bookmarks popup |
|
Managing bookmarks |
The bookmark feature is particularly useful for:
- members who want to keep bookmarks for different websites separate
- members who move between computers
Concepts
- profile
- Member profiles define details, including options, relating to members
- Personal Zone
- The zone that a member manages and accesses settings and content related to themselves
- avatar
- A pictorial representation of self
- usergroup
- usergroups allow common representation of properties (especially permissions) relating to a group of users in similar situations.
- CAPTCHA
- A security image/sound consisting of numbers that a human must enter into a text box. It is designed to prevent bots from spamming your website.
See also
- Advanced ocPortal member system
- Access control and privileges
- Legal and social issues
- Correspondence between users
- Creating sub-communities (and sub-sites)
- People in their roles
- IP addresses and tracing users
- Policing a community site
- Integrating ocPortal into a corporate network via LDAP
- Integrating ocPortal into a network via HTTP authentication



