HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


OCF features and (Forum/Members) usage

Use this space to share information relating to OCF features and Forum/Members usage


In addition to the community-editable documentation above, we have the following official tutorials:

Posted
Submitted by Chris Graham
Assigning default avatars to members…

You have 3 options…

1) In any template that uses an avatar, put in code to display a theme image of your choice when there is no avatar to display.

2) There is also an option "Assign random avatars" you can enable.

3) You can add a default. Upload a themes/default/images_custom/ocf_default_avatars/default.png file. This is creating the theme image for the default avatar.
Then go to http://yoursite/adminzone/index.php?page=admin_cleanup&type=misc, check Theme images and click Proceed. This will tell it to rescan for the default avatar next time a user joins.
 
Posted
Submitted by Chris Graham

How to rename the guest user

ocPortal is not hard-coded with the name of the Guest user (aka anonymous user), however it is a little work to change it.

Let's imagine you are changing "Guest" to "Anonymous user".

First, you need to change some language strings. Go to the Admin Zone and do a search for guest. You will see that GUEST and GUESTS come up under "Language". These are both in the global.ini language file, so click through one of them and you'll be able to change both on the same form.
Change GUEST to "Anonymous user" and GUESTS to "Anonymous users".

Next go to Admin Zone > Security > Usergroups and edit the Guests usergroup. Change its title to "Anonymous users".

Next you'll need to change any posts by guests on the forum, as the name Guest is saved in when the post is made. Go to Admin Zone > Tools > OcCLE, and enter this command…

Code

:$GLOBALS['FORUM_DB']->query_update('f_posts',array('p_poster_name_if_guest'=>'Anonymous user'),array('p_poster_name_if_guest'=>'Guest'));
This will batch-update the database.

That should do it!
 
Posted
Submitted by Chris Graham

How invites work

If you enable invites (the "Invites enabled" option), new members may only join if they have received an invite by an existing member.

Invites are made via the recommend module. The recommend module changes from just being a tool for referring people to the site (or a page on it), to being the method by which invites are sent. When a recommendation is made, a checkbox is shown whether to use an invite with that recommendation, so long as the recommender has remaining invites.

It is up to the website staff to ensure the recommend module is linked into a menu, so members can find it.

Members have a limited number of invites to use, determined by the "Invites per-day" option. Other than this, there are no controls or restrictions on invitation – it is fully automated.

There is no direct way to request an invitation. Someone must know someone who is already a member to get one. If admins wish to hand out invitations, they have unlimited to give. Of course, admins may also set up new members manually. Invitation-request could therefore be implemented manually, via a contact form.

An invite will only work if the invited user signs up using the exact same e-mail address that an invitation was sent to.
 
CEDI change-log Post