The Joomla! Extensions Directory ™


JBUser Plugin

Plugin to hide parts of content for certain user.
Examples
Article 1
This piece of text is readable by everyone
{user in=user1,user2,user3}
This text is only readable by the user called user1 and user2 and user3
You can put links between the tags or images
IN= : In list. Make the list without blancs. And the usernames are seperated by comma (no blancs between the names)
{/user}
This piece of text is once readable by everyone because it is outside the tags
{user !in=user3,user2} The next piece of text is readbable by everyone, except the users called user 3 and user 2
This is caused by the exclamation mark ! This means NOT.
So NOT IN list.
{/user}

Article 2
This part of the text is readable by everyone, because no tags are used.
{user *}
* means : readable by all registerd users. So this part of the article is readable by registerd users only
{/user}
This part of the text is readable by everyone, because no tags are used.

Article 3
This text is readable by everyone because no tags are used.
In ths article the old tags are shown. You can still use them in version 1.8
{user user1} this text is readable by user1 {/user}
{user !user1} this text is NOT readable by user1, because of the exclamation mark ! But readable by any other registerd user{/user}
This piece of text is once readable by everyone because it is outside the tags.
{user ID=45} this text is readable by the user with ID 45 {/user}
{user !ID=45} this text is not readable by the user with ID 45, because of the exclamation mark ! But readable by any other registerd user {/user}

Use the demo system at http://demo.jb-soft.nl to play around with this plugin.

Report