Creating a Hidden Members Zone in ocPortal

permissionsIt’s quite common for community sites to have a hidden member’s area of the site where you can post private updates or information relating to things you don’t want guests to see. To do this there are effectively 3 tasks you need to have completed for the zone to work. There will be an extra task if you have set up Short URL’s. These tasks are

Creating a usergroup which you can add members to who will then be able to see the new zone.

Create the new zone taking care to make sure the permissions are set correctly.

Add the zone to the menu with the setting correct so only those who can visit the zone will see the link.

Adding the Usergroup

The first part of the process is making sure you have created your new usergroup. For the purpose of this I will refer to it as Members usergroup and Members zone.  You might have already created the Members group but if not there is a tutorial here which will guide you through the process: Setting up a new Usergroup

Once you have created the usergroup you will need to create a new zone.

Adding the new members zone

Now you have your usergroup set up you will need to create the new members zone. Setting up the zone follows exactly the same process of setting up any other zone until you come to the permissions for the zone.

You will need to set the zone permissions so only the Members usergroup can see the zone and be able to access it. You must set the other usergroups so they can’t view the zone. Administrators by default will have full access to the zone.

Note: If you have set up short URLs for your ocPortal site you must make sure you follow the process detailed in the short URLs tutorial or your new zone will not work. You can read the Setting up short URLs in ocPortal tutorial here before going any further with this process.

Adding a link to the hidden zone for your members

menu permissionNow you need to add a link to the Main menu but make sure it’s not visible to guests or other usergroups. This is actually really easy to do. Navigate to the menu in the menu management section of the adminzone (located on the structure screen).

Choose the menu you want to add the link to and add the link as normal. When you add the link make sure you select the “Only display if has permission” option. I tend to always select this so if I later make an existing zone members only or change the permissions I won’t have to edit the menu. If a user can access the zone they will see the relevant link.

If you want, you can Follow me on Google plus or Follow me on Twitter

Do you need quality Web Hosting for your ocPortal? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , | Posted under ocPortal | RSS 2.0

Author Spotlight

Steve Jarvis

Hi I'm Steve, I've been using computers in one form or another since i was 5 with a Dragon 64 and building websites since the late 90's. I'm currently employed as a digital marketing person for Planet X Bikes. When not writing blog posts or working i'm a family man (Wife and Daughter) and a PC Gamer

Leave a Reply

Your email address will not be published. Required fields are marked *