Mono Support How a user can see how many group he/she joined ? 

Viewed 43113 time(s), 4 post(s), 1/22/2013 7:07:24 PM - by super
1/22/2013 7:07:25 PM
6018 Reputation 709 Total posts

Is there any way a user can see how many groups he/she joined ? if no, I think on the user's profile page, there should be another tab that give that particular user's groups that he/she joined

1
1/22/2013 9:08:11 PM
2793 Reputation 345 Total posts

when you've joined some groups the respective page shows them, but when you've joined none shows all

at http://social.clipflair.net we added "all groups" button to groups page

2
1/22/2013 9:27:14 PM
6018 Reputation 709 Total posts

Is that a custom website ? I am talking / asking about monox 4.7 default version ..

Not sure if I got you..or if you got my question. I am asking if is there any way to see any user's groups ?

Like on any user;s profile page, we can see his/her friends just like can any way to have all the group on profile page of specific user ?

For example, I don't know what groups this user joined: http://monox.mono-software.com/profile-about/Erica/

I don't know this user is part of what groups ? http://monox.mono-software.com/profile-about/MarthaB/

plz advise

3
1/23/2013 9:03:36 AM
15993 Reputation 2214 Total posts

Hi,

there are two ways to implement functionality you need:

- One way would be to use the below code and create simple repeater which will show the member groups

public virtual List<SnGroupDTO> GetGroups(Guid? languageId, Guid userId, string category, Guid categoryId, string searchValue, bool useFullTextIndex, int pageNumber, int pageSize, out int recordCount)
 
e.g.
GroupRepository.GetInstance().GetGroups(userId, category, searchValue, false, pager.CurrentPageIndex + 1, pager.PageSize, out bindContainer.RecordCount);
- Other way would be to take advantage and user the ~\MonoX\ModuleGallery\SocialNetworking\Groups\GroupList.ascx WebPart and restyle the template ~\App_Templates\Default\SocialNetworkingTemplates\GroupList.htm. So you will need to place that WebPart on your page and set the UserId property in order to show user's groups. Note: In order to use this functionality you will need to wait for today's nightly build. 

Regards

4
This is a demo site for MonoX. Please visit Mono Software for more info.