Moving forward, I can't figure out how to call the groupjive_users => 'group'
I just can't seem to figure out how to check to see if the current logged in user ($currentuser =& JFactory::getUser()
belongs to a gj group and then filter out the data so that Currentuser only sees the events for the groups he belongs to and not everyone.
As previously noted, I was able to filter out past events from this module. I just don't know how to retrieve this data so I can start filtering it out.
My thinking is along these lines, but I know it needs work...
Code:
$currentuser =& JFactory::getUser();
$isgroupmember = ??? get=>groupid for $currentuser ???
If $isgroupmember == (true) {...follow these instructions....)
**obviously not the correct code, but is my best guess as to what I want to accomplish without the correct data to work with.
Can anyone help? :blink: