JHide is another small mambot I wrote for joomla 1.0 and have also ported to joomla 1.5.
It allows you to put content in your pages that will only display if the user is logged in. This means you dont need to have two versions of some pages , one for public and one for registered, if the information is very similar.
Once you have installed and published the module you can go through and add the extra content for registered members. In your page content you place the information/html for signed in members between the tags {reg} blah blah {/reg}. This will only show up if the user is logged in.
You can download JHide! for joomla 1.0 here.
You can download JHide! for joomla 1.5 legacy here.
**UPDATE:
Hi All, Check out my new REPLACER component and mambot that provides the jhide functionality and allows for further extension with regular expressions. I will leave jhide here for downloads but I would recommend you all use the replacer component as you can add your own regular expressions.
Have added a version for Joomla! 1.5.
Hi all, I have modified the module to respect the {noreg} tag as well. Any content placed inside these tags will only appear for users who are not logged in.
**Please note: I am working on a component based on this idea which will allow users to enter their own regular expressions and replacement functions to cover many circumstances like only showing content to unregistered people, or on front page… many thanks for all your comments and if you have any other suggestions please add them to the comments below.
Cheers Brendon
|