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.

 

If NOT in custom Usergroup

If NOT in custom Usergroup

I want to show a module to members who are NOT in a new user group that I have created which is called 'Subscribers'.
These members are also still in the 'Registered' group as well.
I use Akeeba subscriptions to add and remove people from the 'Subscribers' group automatically but still leave them in the 'Registered' group at the same time.

I am currently doing it by testing for each of the other groups; I would like only one test though. IF NOT IN 'Subscribers' for example

Do you know how I can do this please?

Joomla 2.5.7
MetaMod v3.11, 2012-09-03
MetaMod Pro plugin v3.11, 2012-09-03 is installed and enabled.
JomGenius v14 is provided by MetaMod

My site is Buzz50.com

Edited By: mikefriendly
03-Nov-12 12:28:55
mikefriendly
Guest
useravatar
Offline
Administrator has disabled public posting

Re: If NOT in custom Usergroup

Hi Mike,

try this. I think it should work since Akeeba Subs works sith standard user groups:

if ($core_genius->check("groups not = Subscribers")) return XXX;
// replace XXX with module id of module for people who are NOT subscribers.


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
3312 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1666
Total Polls:
6
Total Posts:
5909
Dormant:
User Info:
 
Total Users:
10093
Newest User:
lamanaudio
Members Online:
0
Guests Online:
258

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