JHide!

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

Comments
Add New
Kamal  - Any plan to create joomla 1.5 Native version?   |November 9, 2008, 6:15 am
Hi there,
The extension you create here is just something I've been looking
for. Are you planning to write a Joomla 1.5 Native version?

Excellent idea
and good work.

Cheers,
Kamal
Brendon  - Reply to Kamal     |November 9, 2008, 12:58 pm
Yep should not be too far away
Allan  - How can I make this work for custom modules?   |November 12, 2008, 2:16 pm
I need this functionality to work on the Custom Output section of a custom
module. It doesn't seem to. Am I doing something wrong?

Thanks,
Allan
Brendon  - Reply to Allan     |December 17, 2008, 9:01 am
This module only works on the body of a rendered article, not in the custom
components. You will need to modify the component code to have mambots run
through it
Alex Zhiltsova  - Thanks!   |November 14, 2008, 6:14 am
Thank you, it's absolutely great mambot - just that I was looking for!
GammX1  - To allow additional users access rights created wi   |December 16, 2008, 11:39 pm
Hi,
First of all, congratulations for this excellent mambot and thanks a lot to
offer it freely!
I am using JACL to have created additional user access rights
to moduls, full articles, menus... and should be nice to have JHIDE to allow to
show or hide some part of a content article subject to the user rights
logged-in.

An example of the user rights level is detailed here in after:

Non
Registered:
- Guest
Registered:
- Registered member
- Premium Member
- Gold
Member
- Agents
Managers
Administrator

Should you consider to improve this
excelent mambot/plugin with those possibilities for Joomla! 1.0.15 and / or
Joomla! 1.5.8?
Rgrds,
GammX1
Brendon  - Reply to Gammx1     |December 17, 2008, 8:59 am
Hi,
Check out the replacer component I built. Its basically a large extension of
jhide! that allows you to build in your own functionality to suit your own
rules.
This works in joomla 1.x.x
Powered by !JoomlaComment 3.26

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Help my beer fund

RocketTheme Joomla Templates