MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

Viewed 39867 time(s), 4 post(s) 1/22/2013 7:07:24 PMby super
super

super

1/22/2013 7:07:25 PM
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
This content has not been rated yet. 
6018 Reputation 709 Total posts
Zoomicon

Zoomicon

1/22/2013 9:08:11 PM
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
This content has not been rated yet. 
2793 Reputation 345 Total posts
super

super

1/22/2013 9:27:14 PM
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
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

1/23/2013 9:03:36 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts