Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

MM_LOGGED_IN not working

MM_LOGGED_IN not working

Hi, thanks in advance for your time and work, I'm having problems with the "if Logged in" function, the Not Logged IN is working fine, but the logged in does not work, , this is my metamod module code, if ( MM_NOT_LOGGED_IN ) return 54;
if ( MM_LOGGED_IN ) return 10;
That will show a "please register" image to non logged in users, but will not show anything to logged in users, even with the "hello user" module created. Any ideas ? hmm , i have the latest 1.5 version, running on joomla 1.5.14 with sh404sef 1.0.15_Beta - build_218 with legacy enabled.

OpEn YoUr MiNd

kuato
Beginner Modder
ranks
useravatar
Offline
5 Posts
Administrator has disabled public posting

Re: MM_LOGGED_IN not working

Hi Kuato,

I wonder if you are using the GUI control as well as the PHP box for the logged in user thing? If you're using the PHP controls (as above; the recipe you wrote looks fine) then don't set the "Show Quick Module(s) to" control. Just leave it as "All users".

If that wasn't the problem, then double check the module that you were trying to include for logged-in users. Is it enabled?

You should also turn on DEBUG mode in MetaMod and see what messages it produces. It should give some indication of what modules it thinks it should be including.

Please write back if you still can't get it working,
Hope that helps,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3314 Posts
User info in posts
Administrator has disabled public posting

Re: MM_LOGGED_IN not working

Shame on me, the quick modules options was setted to non logged in ones tongue , sorry tongue , thanks again for your time.

OpEn YoUr MiNd

kuato
Beginner Modder
ranks
useravatar
Offline
5 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1685
Total Polls:
6
Total Posts:
5912
Total Posts Today:
4
User Info:
 
Total Users:
11509
Newest User:
michael2154
Members Online:
0
Guests Online:
151

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked