> Forums > Active Social > Community Support > Is there a way to force a PM subject and/or body?
Last Post 09 Sep 2011 08:47 AM by Ben - DotNetNuke. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
NFXBeats
Customers
NFXBeats
Post Count:299

--
06 Sep 2011 01:04 PM
    • Active Social Version: 1.9.3
    • DotNetNuke Version: 5.6.2
    I have two needs that I would like to use the private messaging functions with:

    A) Give the user a way to initiate a PM to another user with a specific default subject line and if possible message. For example, I might have a module that will function as a classified ad section. I would like the user to click a link and be presented with the new PM screen with the target user selected as recipient (I can do this much) and then some initial text such as: Subject=Inquiry for keyboard for sale.  Body=I am interested in your post at .

    The sending user would then be able to add/modify text to the body or subject line.


    B) The ability to send a notification message behind the scenes. This would be much like the Friend notification. Say someone leaves a feedback to a user upload in my file area module... I would like to send a notification along the lines of "User X has posted feedback for your upload at "


    I think A may not be currently available and if so, please consider this a feature request.

    With regards to B, even if you can just tell me a stored proc to call it would be very much appreciated.


    Status: I'm no longer moderated.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    06 Sep 2011 03:58 PM
    A) could be done with javascript. The standard sent message button uses this: onclick="asClient.ShowSend(##,this); return false;" where ## is the userid. Then just modify the value of the #txtSub input element.

    B) I am not sure about this one.
    Ben Thompson
    Customers
    Ben Thompson
    Post Count:230

    --
    08 Sep 2011 07:36 AM
    Ben,
    Id like to try the custom subject and body defaults as you mention above. Do you have some more detailed code example of the #txtSub mod ?

    Thanks
    www.itproject.com.au
    NFXBeats
    Customers
    NFXBeats
    Post Count:299

    --
    08 Sep 2011 04:48 PM
    Thanks. What .js file should I load if I use this on a page that does not contain AS?

    Status: I'm no longer moderated.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    09 Sep 2011 08:47 AM
    Can you just put a blank AS module on the page?
    You are not authorized to post a reply.
    > Forums > Active Social > Community Support > Is there a way to force a PM subject and/or body?
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy