Restricted Area

Developer

Oliver Heine - silenz

3rd Party (Commercial)


EE Version Support

  • ExpressionEngine 1.x

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

Add-On Type(s)

Module

Tags

The Restricted Areas module lets you create areas of restricted content and allow access on group and/or member level.

In ExpressionEngine you normally handle this with member groups. You create a group (ID 5: Hockey) that is allowed to see Hockey and then check against the logged-in member’s group:

bc.

Likewise you create another one for Football (ID 6: Football):

bc.

Now if you want to allow some, but not all, members to see both sections you actually have to create a third member group (ID 7: Hockey+Football) because one member cannot belong to multiple groups at the same time.

bc.

If we added another section we would already need 7 member groups to handle access:

* Hockey
* Football
* Soccer
* Hockey+Football
* Hockey+Soccer
* Football+Soccer
* Hockey+Football+Soccer

bc.

*The Restricted Areas module uses a different approach to this problem.* First you define areas (or sections or whatever) of content and _then you can allow individual members or member groups_ access to these areas.

h3. Sample Usage

bc.. {exp:restricted area=“soccer”}

Welcome {screen_name}!

You have been granted             access.

  {no_access}

Go away!

{/no_access}
{/exp:restricted}

Restricted Area Links

This entry was created October 14, 2009, 12:22 pm.
This entry was last updated October 15, 2009, 7:12 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.