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.

 

Bug - Chameleon does not supress menu if remember me option is checked

Bug - Chameleon does not supress menu if remember me option is checked

Many login modules have "remember me" option enabling the user to automatically login the enxt time they visit the site.

I have a chameleon rule that unpublishes 2 menu items for "logged in" users and shows 2 other different menu items for them. When a user who had checked "remember me" returns to the site, he sees all menu items - the ones that are for guests plus the ones for registered users - This breaks the menu and causes all menu items to display at once.
NOTE: If they refresh the page once the two unwanted menu items disappear. But I dont think thats right - the users should not see all the menu items as they wont even know that they need to refresh and its very unprofessional to leave the site like that. Thanks for your help

Please suggest a resolution to this bug.
I use Joomla latest version 3.1.X, chameleon 2.33. I dont have cache enabled and I dnt think cache applies to logged in users anyways if I am right! I dont have any compression or gzip turned on.

Tijj
Beginner Modder
ranks
useravatar
Offline
18 Posts
Administrator has disabled public posting

Re: Bug - Chameleon does not supress menu if remember me option is checked

Hi Tijj,

there's a simple solution for this - move the "remember me" system plugin to a spot higher than the Chameleon system plugin. This means that the user will get transparently logged in BEFORE Chameleon gets to work. At present, Chameleon is testing for the presence of a user before the "remember me" plugin gets to log the user in, and this causes the results you are seeing.

That should fix the issue - if not please get back to me. I have a newer release version of Chameleon which resolves an issue that sometimes comes up in that situation.

Best regards,
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
3329 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1685
Total Polls:
6
Total Posts:
5940
Posts this week:
1
User Info:
 
Total Users:
5193
Newest User:
david2398
Members Online:
1
Guests Online:
164

Online: 
Technichem

Forum Legend:

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