• Facebook Page: 187529034607186
  • Twitter: webconch

Who is online?

We have 19 guests online

On what should Webconstruction.ch focus on?











Results

Content Restriction

accesscontent_small

Content Restriction

ext_plugincompat_16_nativecompat_15_native

With Content Restriction you can show or hide parts of your content depending on user groups of Joomla. This can be important to show only valuable content to certain user groups. And, or, not statements and/or regular expressions makes the  assignment to the affected user groups very flexible.

If you use "Content Restriction", please post a rating and a review at the joomlaicon_smallJoomla! Extensions Directory.

Features / Changelog


Features

  • Define Usergroups which have access
  • Use Regular Expressions
  • Use and / or statements 
  • Use not statements
  • Debug mode
  • Case insensitiv
  • p-tags get stripped before the {access...} tags.

Changelog

v1.04 (Joomla 1.6 version, 27th Feb 2011)

  • Fixed bug processing tags after readmore or page breaks.

v1.0.3 (Joomla 1.5 version, 26st Feb 2011)

  • Changed name from Access Content to Content Restriction, cause of name conventions of the JED.

v1.0.3 (Joomla 1.6 version, 26st Feb 2011)

  • Changed name from Access Content to Content Restriction, cause of name conventions of the JED.

v1.0.2 (Joomla 1.5 version, 15th Feb 2011)

  • First version

v1.0.2 (Joomla 1.6 version, 15th Feb 2011)

  • Fixed bug with or parameter

v1.0.1 (Joomla 1.6 version, 15th Feb 2011)

  • Fixed bug with ! parameter

v1.0.0 (Joomla 1.6 version, 8th Feb 2011)

  • first version

Documentation

Installation

  • Download the zip file
  • Install the zip file in the Joomla Extension Manager
  • Activate the plug-in "Content - Access Content"

Tags in Joomla Articles

The groups can be set in case insensitiv. For example public = Public

Use for example {access Public}This will only be displayed for public users.{/access}.

The Canedit group are users, who have edit writes on the article.

Example 1: {access canedit}This content will be displayed by all users, who have edit rights on this document.{/access}

Example 2: {access debug=canedit}This allowes users who can edit this article to view the debug mode{/access}

An or stamement is used as following:

{access Public,Super Users}This content will be displayed for public users and Super Users.{/access}

An and statement is used as following:

{access +User Group1,+User Group2,+User Group3}This content will be displayed for: Users of User Group 1 and users of User Group2 and users of User Group3.{/access}

The not statement is used as following:

{access !public}This content is displayed for all user groups, which are not public.{/access}

Use Regular Expressions

Whith the #-Character after the statement Regular Expressions can be used:

{access +!#NoAccess,#[.*?]Group,#^Group}This content will be displayed for all User Groups which don't contain NoAccess or all user groups which start with somthing and afterwoods caintain Group or all user groups starting with Group.{/access}

Mixed statements

You can mix statements:

{access +!public,+!#Group,#GroupSpecials,Super Users}This content will not be displayed for public users, not for user groups containing Group, user groups containing GroupSpecials and for Super Users{/access}

debug= Parameter to debug, displayed by users of the defined user group.

{access +!public,+!#Group,#GroupSpecials,Super Users,debug=Super Users}Debugging mode will be displayed by Super Users. User groups and users of the users groups will be displayed.{/access}

Plugin Parameters

There are two plug-in parameters for Access Content:

1. Default/Added Parameters

Set the default parameters of the Access Content when not defined. If defined this string will be added to the Content Access Tag. For example: Super Users,debug=Super Users to add the Super Users Group to all Content Access Objects.

2. Debug Users

Defines if users should be displayed in the debugger. This might be bad for the performance, by lots of users when debugging.

You need support for Access Content?

Look in the support forum. There you get support and tipps for Access Content.

Download

© 2010 by webconstruction.ch, GNU/GPL licensed

This software is GNU/GPL licensed, by downloading it, you are agreeing to these terms.

accesscontent_small

compat_16_native

Content Restriction for Joomla 1.6 Download Page

Thanks to all the people, who paid money for the development of this software.

It go'es back the community of joomla. Now you can download all old software for free on www.webconstruction.ch.

Download on our download page www.webconstruction.ch/download

accesscontent_small

compat_15_native

Content Restriction for Joomla 1.5 Download Page

Thanks to all the people, who paid money for the development of this software.

It go'es back the community of joomla. Now you can download all old software for free on www.webconstruction.ch.

Download on our download page www.webconstruction.ch/download