completed Changing what shows in the Groups Tab on profile pages

Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
On my site, I am the person creating almost all the Groups.
Thus, on almost all the member profile pages, when one clicks on their "Groups" TAB, there's nothing there. Rather uninspiring.

Is there a way I can make the Groups TAB on profile pages show what groups that member is a member of, INSTEAD of what groups they created? This would be way more meaningful and interactive, for my site anyway.



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 05/05/15 03:53:30PM
brian
@brian
9 years ago
10,148 posts
Strumelia:
On my site, I am the person creating almost all the Groups.
Thus, on almost all the member profile pages, when one clicks on their "Groups" TAB, there's nothing there. Rather uninspiring.

Is there a way I can make the Groups TAB on profile pages show what groups that member is a member of, INSTEAD of what groups they created? This would be way more meaningful and interactive, for my site anyway.

Make sure your users are in a quota that does not allow groups - then the groups tab won't show.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
That's not really what i'm after. I would like for the Groups tab to show what groups the member belongs to, instead of showing the groups that the member created.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
Strumelia:
That's not really what i'm after. I would like for the Groups tab to show what groups the member belongs to, instead of showing the groups that the member created.

That would require something custom be done to support that at the profile level.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Yes, I know it's not currently present as a click-on option. I know it requires coding, right?

Is there a way I can make (or facilitate) this to happen somehow?

At first we could see our Followers, but one could not see who a member was following. Now we can.

Right now we can go to a group and see a list of the members of that group, but we can't go to a member page and see the list of groups they are members of.

I see the two as somewhat similar. View from the outside in, and from the inside out...both views convey different but valuable information. :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
Strumelia:
Yes, I know it's not currently present as a click-on option. I know it requires coding, right?

Is there a way I can make (or facilitate) this to happen somehow?

Unfortunately adding a new 'section' to a profile page is not as simple as adding something to the site skin, so without being able to run custom profile module templates it would require module modifications or a custom module to do it. Making it so you can run a "profile template" outside of a module like you can a skin template is something I have had on my todo for a long time but have not got to - i.e. right now you can do this:

yoursite.com/custom_template

and "custom_template" lines up with the "custom_template.tpl" file in your skin directory. I want to add support for:

yoursite.com/profile_name/custom_template

and it will line up with the "profile_custom_template.tpl" file in your skin directory, and that is not supported at this time, bit will be in a future release. This way it handles some of the low level profile stuff automatically for you.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok, so this is something I need to wait for. I can deal with that, and I can go live without having this yet. I'll mark this thread closed and put it on a list for me to revisit later on. Thanks!

My videos issues is more critical for my site.




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 03/16/15 03:13:27PM
Asil
Asil
@asil
9 years ago
41 posts
@brian. JamRoom is a profile-centric platform, that makes the member's profile the heart of the site and its where they are directed when they log in.

Most of our active discussions are within groups. Not having an easy way for members to see what is happening in the groups they belong to will make their enjoyment ...and their willingness to transition ...much more likely.

If it's too difficult to create a tab within the user's profile that shows the groups that profile belongs to, is there anyway we can add something to their profile page that aggregates recent content from the groups they belong to?

In the "Help with a profile page setting for Groups TAB" discussion, Paul wrote:

paul:
I think the place for this would be in the profile page sidebar, where the bio, follower and other specific profile info is. Would that be ok? I'll work out how to do it if so.

I would appreciate if Paul could come up with a workaround using the sidebar, if creating a tab isn't able to be on the JamRoom roadmap.

Thanks!
paul
@paul
9 years ago
4,326 posts
Not sure where I said that - I think it might have been about followers!!
Nonetheless - What exactly do you want showing in the profile sidebar?


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Paul, you said it in this discussion:
https://www.jamroom.net/the-jamroom-network/forum/ning-to-jamroom/22274/help-with-a-profile-page-setting-for-groups-tab

We're looking to have a list, or link or tab to a list, on Profile pages...of all the Groups that member belongs to.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,326 posts
Strumelia:
Paul, you said it in this discussion:
https://www.jamroom.net/the-jamroom-network/forum/ning-to-jamroom/22274/help-with-a-profile-page-setting-for-groups-tab

We're looking to have a list, or link or tab to a list, on Profile pages...of all the Groups that member belongs to.

OK - I'll come up with some code to do that and post it here. Its late in Perth now, I'll do it tomorrow :-)


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
You guys! You are the best!




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 03/24/15 07:38:03AM
paul
@paul
9 years ago
4,326 posts
I have had a look at this and its not as straight forward as I thought it might be and might need an update to the jrGroup module to make it work 'cleanly'.
Its a bit difficult for me to do any actual development whilst out of the country but will think about it more and see what I can come up with.


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok Paul that sounds good. It would make profile pages way nicer and more interesting and informative, for my network anyway.
Looking forward to seeing what you come up with!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
This has been added to the latest Groups module - there is now a new "Groups You Follow" option in the user menu (just like profiles you follow) that will show the user the groups they currently belong to.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Brian, this is very handy, thank you! It's great and useful to see a list of the groups we ourselves belong to!

Now it'll seem like I'm ungrateful, but I have to clarify this a bit....

What I was reeeally meaning and hoping for was the ability for members to go to OTHER member profile pages and see what groups that person belongs to. That's a wonderful way that we learn more about EACH OTHER and our interests, and make friends on the network.

I'm trying to get away from seeing that 'deadly' BLANK box when clicking on a member profile's "Groups" TAB...because very few of my members have actually CREATED groups...and in fact I do not give them the ability to do so. (if I did there'd be groups about somebody's goldfish's birthday, etc...)
Is there a way perhaps to have an OPTION/toggle for that Groups Tab to show EITHER groups the member created, OR groups the member has joined?

I really apologize for asking for something beyond what you've done already, but I'm not sure you understood the goal we were shooting for. All this Ning/JR talk is kinda like translating two languages back and forth.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
Strumelia:
Brian, this is very handy, thank you! It's great and useful to see a list of the groups we ourselves belong to!

Now it'll seem like I'm ungrateful, but I have to clarify this a bit....

What I was reeeally meaning and hoping for was the ability for members to go to OTHER member profile pages and see what groups that person belongs to. That's a wonderful way that we learn more about EACH OTHER and our interests, and make friends on the network.

I'm trying to get away from seeing that 'deadly' BLANK box when clicking on a member profile's "Groups" TAB...because very few of my members have actually CREATED groups...and in fact I do not give them the ability to do so. (if I did there'd be groups about somebody's goldfish's birthday, etc...)

One thing I think that is important to know is that YOU see the "blank" groups area on a profile page since you are technically the "profile owner" (as admin). Visitors to the page will NOT see the "groups" option unless there are actual groups to show - so you don't need to worry about a "blank" groups section.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Yes I keep forgetting that, and it does help a little. It's a concept I keep having rewrap my head around...that when i visit a member's profile page as site owner, I kind of temporarily 'own' the profile and thus am able to make changes from within their account...is that correct?
The new update is definitely an improvement and I'm grateful for it. :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
That's correct - as a master or admin user you are an owner of everything on the site - so you will see ALL options available to the profile.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
So... I am a Goddess! l o l


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
So, we have now gotten a drop down link to show what groups we ourselves are members of.
Am I to understand that we likely won't be able to get any further and be able to see the groups that OTHER members are members of?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
Strumelia:
So, we have now gotten a drop down link to show what groups we ourselves are members of.
Am I to understand that we likely won't be able to get any further and be able to see the groups that OTHER members are members of?

The issue with that isn't that it can't be done - anything is doable - the problem is that there's really no where to put it. Right now everything at the profile level is a profile item - i.e. audio, groups, whatever - these are things that a profile owns. The list you are looking for is not owned by a profile, but is owned by a user (since users belong to a group - not profiles).

So the root of the issue is that we don't really have a mechanism or place in the UI where we put "lists of user things that are visible to OTHER users", since right now all user lists go in the user menu.

Let me know if that makes sense.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
Strumelia:
So... I am a Goddess! l o l

Yes, you are. But I don't think that Jamroom administration has been designed quite like that: It's fairly pragmatic.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Brian, I can understand that. Thanks for explaining, and for your help today through my 'emergency' (yikesUgh) I can live with how things are now for a while and maybe something can be figured out for this Group thing detail in the future. It can wait!
thank you...!

Steve... ok so i was Goddess For A Day. In my own mind.
I'll take it! l o l


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,326 posts
You could actually show the groups a profile's user belongs to in the sidebar with code something like this -

    {capture assign="groups"}
    {literal}
        {if isset($_items)}
            {jrCore_module_url module="jrGroup" assign="murl"}
            {foreach $_items as $item}
                <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.group_title_url}">{$item.group_title}</a><br>
            {/foreach}
        {/if}
    {/literal}
    {/capture}
    {jrCore_list module="jrGroup" search="group_members LIKE \"`$_user_id`\":" template=$groups}

Its a bit of a 'dirty' way of doing it as its picking out occurances of the _user_id in the group's members stored JSON string but it should work.
The template just lists group titles but when its working you can refine that.
hth


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 03/27/15 05:47:25AM
Asil
Asil
@asil
9 years ago
41 posts
This was addressed in the current version of the Profile Groups module. Thanks, JamRoom!

From the changelog for Version 1.2.0:

- New: "Groups You Follow" section added to User Account drop down menu
- New: Updated to support new NingJa skin "Show Profile Header" global setting
- Change: Templates modified: item_detail.tpl, item_index.tpl, item_members.tpl