Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Message Center Module in DNN 6.2Message Center Module in DNN 6.2
Previous
 
Next
New Post
5/22/2013 1:59 PM
 
btw, Chris Hammond told me this behavior is by design
 
New Post
5/22/2013 3:44 PM
 

why can't I delete this post?

 
New Post
5/22/2013 3:52 PM
 
Roman M wrote:
Here's the fix (somewhat limited):

if you want to restrict non-admin lookups to FRIENDS ONLY, do the following:

1. download DNN 6.2.7 source (i'm sure this will work with DNN 7 as well)
2. open MessagingServiceController.cs on line 113
3. replace line 113 with following code:
editor strips generics from my code, go here to copy/paste http://codepaste.net/evenhh
4. add using DotNetNuke.Web.Services; at the top
5. BUILD
6. go to c:/YOUR_DNN_SOURCE_FOLDER/webiste/bin and grab DotNetNuke.Web.dll; that's your modified dll to use in your project

If you have problems building in RELEASE mode; exclude the website project from the build cofiguration in your solution (right click on solution, PROPERTIES > Configuration ; UNCHECK Build checkbox next to "localhost/dotnetnuke_community"

Worked just fine for me; let me know if you have any questions.

p.s. if you want to include the people you follow as well; get relationshipTypeId for Followers and do another foreach; I think my example should be pretty straightforward to add that functionality.

found a bug in my code, here's the updated snippet

http://codepaste.net/eipn26

also, step 4 has the wrong using. the correct one is: 

using DotNetNuke.Entities.Users.Social;

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Message Center Module in DNN 6.2Message Center Module in DNN 6.2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out