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 20902 time(s), 10 post(s) 26.07.2013 16:38:33by super
mzilic

mzilic

29.07.2013 15:32:46
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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
super

super

26.07.2013 16:38:33
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 ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
khorvat

khorvat

29.07.2013 08:10:02
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
super

super

29.07.2013 10:46:19
From where I can get GroupView.ascx.cs code behind page ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
kpeulic

kpeulic

29.07.2013 12:39:40
This is the part of the source code paid package (Purchase MonoX). Regarding to the above answer you don't need the source code.
Dieser Inhalt wurde noch nicht bewertet. 
1849 Reputation 181 Total posts
super

super

29.07.2013 13:36:34
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 ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
mzilic

mzilic

29.07.2013 14:19:39
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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
super

super

29.07.2013 15:19:01
Could you please help me with the code ? I am not sure how to go about it ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
super

super

29.07.2013 17:40:57
This did the job:  

<MonoX:Discussion runat="server" ID="snDiscussion" RelatedContentVisible="true" IsPublic="true"  />
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
khorvat

khorvat

30.07.2013 06:27:47
Great to hear this, yes that is one option that you can use.

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts