Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It already does this. It shows the user all the events they have access to. Not the ones they joined or created.but what I really need is to show something along the lines of "If $user is member of group, then continue" and not "If user joined an event, then continue" It just makes more sense for me to want to display all events for a users group and not just the events he/she already joined in my case.
You don't query, ever, in GJ; it has full data API to handle all the queries and push the results to database objects. See the below to pull a users Group User.What I can't figure out is how to call the information I need from the ##__groupjive_users SQL data file and tag it onto the $user info. There are a lot of variables between the tables that have the same shared name, but looking at gj_users, this doesn't seem to be included in the array so I can't run any foreach loops to cycle out the data. I tested this theory out by looking for 'status' from the gj_users table inside the $users variable and couldn't pull that up either.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Then you'd just do the below for that.I think where the confusion here now is that I ONLY want to show the events for groups a user joined or groups the user created. Basically...
Please Log in or Create an account to join the conversation.