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 3:45 AM
 
created a ticked in DNN support to confirm whether this is by design: http://support.dotnetnuke.com/project...

From what I saw in the source; this is by design; just want an official confirmation.
 
New Post
5/22/2013 3:46 AM
 

Hi Cathal,

 could you please point me to someone who can confirm whether this is by design or a bug? I've looked at the source; and seems like sending messages to any user in the portal is by design

Thanks,

 Roman

 
New Post
5/22/2013 3:54 AM
 
I don't like messing with DNN core, but looks like I have to ... I'll post a fix here shortly (get ready to build your custom dll and keep an eye on it every time you upgrade)
 
New Post
5/22/2013 4:52 AM
 
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.

 
New Post
5/22/2013 5:13 AM
 

Thanks roman.

i hope it will be added to the DNN core.

Otherwise we need to keep changing it in the core before updating your dotnetnuke installation

 
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