Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Sorted - User Privilege detection not...
Sorted - User Privilege detection not showing
Sorted - User Privilege detection not showing
Sorry, I made a really daft mistake I hadn't checked the user profiles thoroughly enough when I was doing the testing *blush*
__________________________________________________
Hi,
I've cut and pasted the syntax of this page into a metamod to display a ninjacontent module.
It doesn't seem to validate the test based on user account type - i.e. registered and author levels, it doesn't display anything.
I added a non-conditional module and that shows up ok when I invoke the metamod module, so it's just the conditional tests that are the problem.
I also found out that it displays for logged in users, so my setup will do this user test, but not the others..
Not sure what to do next Here's my code.
if ( MM_LOGGED_IN ) return 88;
if ( MM_USER_AUTHOR ) return 89;
if ( MM_USER_REGISTERED ) return 90;
10-Apr-10 16:53:36
- Index
- » MetaMod
- » MetaMod General Support
- » Sorted - User Privilege detection not...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7638
- Newest User:
- moner86658
- Members Online:
- 0
- Guests Online:
- 141
- 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