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.

 

Rules being skipped. Plugin order issue?

Rules being skipped. Plugin order issue?

My rules run in the following order with a "stop" after each success and a "continue" after each fail except the last rule which is a redirect. Please review and let me know (if you can) what I have missed.

• Rule 1 - jfbconnect check

Allows access and changes template if page is jfbconnect component.



• Rule 2 - multiprofile check

Allows access and changes template if page includes "multiprofile" in url.



• Rule 3 - member check

Allows access to all pages if viewer is logged into site.



• Rule 4 - news check

Allows access (regardless of login status) to all content pages.



• Rule 5 - all music check

Allows access (regardless of login status) if page includes "all_music" in url.



• Rule 6 - guest authorized links check

Allows guest access to six pages (not specified in previous rules) but redirects if the rule fails.




All the rules work properly until I enable rule #6. Once that rule is enabled, all other rules still work except rule #1. Members on my site login and create their accounts through jfbconnect. It seems that chameleon is processing it's rules before jfbconnect can process so I have placed all jfbconnect plugins before all chameleon plugins but this doesn't resolve the issue. Any ideas?

thegrindlab
Beginner Modder
ranks
useravatar
Offline
7 Posts
User info in posts
Administrator has disabled public posting

Re: Rules being skipped. Plugin order issue?

Hi,

can I suggest that you turn on Chameleon Debug mode (in the configuration panel). This will show you a list of all the rules that were run, and what the results were. This should help you track down the issue. Note that if a rule causes a redirect, then the debug mode will still display the rules that were run for that page, but on the *next* page load, so you shouldn't miss anything (you'll see the results from the previous page, where the redirect was done, and the current page).

Cheers,
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:
1698
Total Polls:
6
Total Posts:
5944
Dormant:
User Info:
 
Total Users:
5601
Newest User:
deadlin2
Members Online:
0
Guests Online:
121

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