Register   Login
     
  Latest Posts  
RE: News Articles Tokens
by sistemi on 12/05/2008 11:27 AM
A few Questions
by mfuller on 12/05/2008 11:22 AM
Gallery Module causes System Out of Memory
by jeremias_t on 12/05/2008 10:30 AM
RE: Google Checkout?
by rion on 12/05/2008 4:34 AM
RE: image path in RSS
by robax on 12/05/2008 3:51 AM
RE: Display Name
by SteveJ on 12/05/2008 3:34 AM
RE: image path in RSS
by pmichael on 12/05/2008 2:22 AM
RE: IFiinity DNN ArticleSiteMapProvider
by bennyj on 12/05/2008 1:09 AM
RE: ENH: Secure Files/Directories
by smcculloch on 12/05/2008 12:13 AM
RE: ENH: Secure Files/Directories
by dax on 12/05/2008 12:12 AM
  Forums  
Subject: More integration ideas with Smart-Thinker
Prev Next
You are not authorized to post a reply.

Author Messages
Rodney JoyceUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:307


2/18/2007 2:46 AM  
Hi Scott,

I am now thinking of using Private Messages even more in the ST product suite - for example, I am working on a "My Friends" functionality for the ST UserProfile module, and I want to send a "Friend Request" email to the user you want to add as your friend.

I then thought that instead of reinventing the wheel I could just call the PM CreateMessage (or whatever) and it would handle the sending et.c of the message. The advantages are that the use gets a consistient interface and all their internal mails are stored in one place.

I have the same requirement for inviting people to events, groups and leagues, but I think it could be quite a simple requirement.

Obviously I don't want to create work for you - I just wanted to hear your thoughts on this - do you expose the CreateMessage function in your assembly? I would have to reference the .dll but I would wrap it in a Setting so that they have to have it installed.

What do you think?

Thanks
Rodney
Smart-Thinker & The DotNetNuke Directory
PokerDIY - Free tools and leagues for home poker players
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12598


2/18/2007 3:06 AM  
A few methods, you could reference the assembly or directly call the stored proc.

Let me know if there is anything you need from my side to achieve this.

Scott McCulloch
Site Administrator
Rodney JoyceUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:307


2/18/2007 3:20 AM  
Hmm - so if I called the SP directly would it handle the actually sending by email and doing all the correct business logic (send email, put in Sent items etc) - or would it just tell the user that they have a new message (with the popup, if enabled). I'll start going through your source a bit - if this works it could really be pretty cool, but it may need to handle bulk sending...

Thanks
Rodney
Smart-Thinker & The DotNetNuke Directory
PokerDIY - Free tools and leagues for home poker players
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12598


2/18/2007 3:39 AM  
No you would need the assembly for that, and actually, now that I think of it, it wouldn't work too well because it uses the "settings" for that module instances. But if you referenced it, those settings wouldn't exist.

I think the best method might be to create some kind of API.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Private Messages > More integration ideas with Smart-Thinker



ActiveForums 3.7