Recently updated to 1.0.2- with url parameter bugs fixed. Update available from downloads area- just install over the top!
This plug-in allows you to show/hide content based on the group of the user. If you have content that you only want certain groups to have access to, then wrap it in {accessText} tags. Users who don't have access to the content will be presented with a link. This link can be used to take the user to the registration form or any other item.
This is useful to control access to special information, links and as more fine-tuned approach to control access to parts of your content items.

It works for com_content and K2 content.
- Link text is customisable
- Access groups selectable: apply to everyone, registered users or even admins
- Link type can be
- User registration form
- Community Builder registration form
- Content item
- K2 item
- Menu item
- No link at all (just text- or no text)
The possible uses for this plug-in are many:
- Hiding parts of your content from non-registered users
- Inserting menu or login links into articles
- Hiding download links from non-registered users

How to use
- Install the plugin through the joomla extension manager in the usual way
- Go to Extensions->Plugin Manager and find 'Contented AccessText
- Set the link text, link type and access group you want and save. Any users who are not in this group will be shown the plug-in content
- In your article or K2 item insert {accessText} and {/accessText} tags around the content you want restricted. If you don't want to hide ant content, but use the plugin to present a link, then these tags can be placed together as so Register now to access without any content. Save.
- You're done. Depending on the user group of the reader, the link will either show the text inside the tags (if they meet the user group requirements) or the link set up in the plugin parameters.

Troubleshooting
If you discover that the plugin isn't working, or that the { accessText } tags are being displayed when the page is rendered (after making sure the plugin is enabled!), toggle the editor in the article and clean up any unwanted formatting. Sometimes the editor adds styling that interferes with the functionality of the plugin.
Feedback
I'd be very interested in hearing whether this plugin is meeting the requirements of downloaders. If you could spare the time to let me know how you're using it and how it could be improved, I'd love to hear from you. It did occur to me that having only one link text and link type options makes things limited. For instance, if you wanted to use this plugin in places to link to the registration form and in other places link to a contact form, that wouldn't currently be possible. Similarly there is only the one link text possible (set in the plugin params). I was wondering if these defaults could be overridden with instance parameters whether this would be something you could use.
eg. { accessText text='Contact us for a download key' type='default' } and {accessText text='Register to download' type='jregister' }