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 to make discussion tab section of group visible to public ?  (Closed) (Mono Support )

Viewed 10035 time(s), 10 post(s) 7/26/2013 4:38:33 PMby super
mzilic

mzilic

7/29/2013 3:32:46 PM
Hello Super,

You can reference this blog post to create a custom webpart: http://www.mono-software.com/Blog/post/Mono/93/Building-a-custom-Web-part/

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts
super

super

7/26/2013 4:38:33 PM
I want everyone to be able to see the discussion tab section but right now it says only members of that group can see the content ? 

But to post the topic in discussion section any user will have to login anyway to I don't find any reason to keep it hidden this discussion section..

any help ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

7/29/2013 8:10:02 AM
Hi,

there is a ~\MonoX\ModuleGallery\SocialNetworking\Groups\GroupView.ascx.cs WebPart and he has CheckUserPrivileges method that you should override and change the visibility of the lnkDiscussion.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

7/29/2013 10:46:19 AM
From where I can get GroupView.ascx.cs code behind page ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
kpeulic

kpeulic

7/29/2013 12:39:40 PM
This is the part of the source code paid package (Purchase MonoX). Regarding to the above answer you don't need the source code.
This content has not been rated yet. 
1849 Reputation 181 Total posts
super

super

7/29/2013 1:36:34 PM
But khorvat mentioned that I can do this in GroupView.ascx.cs but the monox pre-build version that I have doesn't have GroupView.ascx.cs ?

How to accomplish this task then ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
mzilic

mzilic

7/29/2013 2:19:39 PM
Hello Super,

You would need to create your own GroupView control and inherit the MonoX's GroupView control and override the method which Kristijan mentioned.

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts
super

super

7/29/2013 3:19:01 PM
Could you please help me with the code ? I am not sure how to go about it ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

7/29/2013 5:40:57 PM
This did the job:  

<MonoX:Discussion runat="server" ID="snDiscussion" RelatedContentVisible="true" IsPublic="true"  />
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

7/30/2013 6:27:47 AM
Great to hear this, yes that is one option that you can use.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts