Help with recipe on jomsocial group member profiles I want a recipe for displaying a module on a person's jomsocial profile if they are the member of a jomsocial group. In other words, if I go look at the profile of John Smith, and he is a member of the XYZ group, there will be a module on his profile (that will say he is a member of the XYZ group).
|
|
|
|
Administrator has disabled public posting |
Re: Help with recipe on jomsocial group member profiles Hi asdfasdf,
|
|
|
Stephen Brandon |
Administrator has disabled public posting |
Re: Help with recipe on jomsocial group member profilesI made that change - but the issue now is still that it's displaying badges for whatever groups I am a member of, and not the groups the person's profile I'm looking at. In other words, if I'm in group aaa and I look at someone else's profile it shows group aaa badge. But they're not a member of it, I am. I want to be able to display a badge showing what groups a person is a member of in their profile, but I'm stumped. |
|
|
|
Administrator has disabled public posting |
Re: Help with recipe on jomsocial group member profiles Ok, I think this is what you want. You need to be able to retrieve the user id of the page you are viewing, rather than doing the query based on the user id of the logged in user.
Code:if ($option == "com_community" and $view == "profile" ) {
Edited By: metamodguy 10-Oct-10 22:35:13 |
|
|
Stephen Brandon |
Administrator has disabled public posting |
Re: Help with recipe on jomsocial group member profiles Oops, it looks like I seriously confused CB (com_profiler) with JomSocial (com_community). Let me do a new version for JomSocial...
|
|
|
Stephen Brandon |
Administrator has disabled public posting |
- Index
- » MetaMod
- » MetaMod General Support
- » Help with recipe on jomsocial group...
Board Info
- Board Stats: Total Users: 3079 Total Topics: 1195 Total Polls: 7 Total Posts: 4448 Posts this week: 18
- User Info: Newest User : raisaalam Members Online: 0 Guests Online: 84
- Online There are no members online
- Topic
- New
- Locked
- Sticky
- Active
- New/Active
- New/Locked
- New Sticky
- Locked/Active
- Active/Sticky
- Sticky/Locked
- Sticky/Active/Locked
































