Register   Login
     
  Latest Posts  
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
Using custom profile properties with [AUTHOR:XXX]
by mattbunce on 3/19/2010 9:34 AM
RE: NA Latest - Template question
by Blondie on 3/19/2010 9:23 AM
skin disfigured after click on article link
by jsw on 3/19/2010 9:11 AM
Format of Image popup in Detail view
by spirit on 3/19/2010 7:58 AM
Missing CSS for latest albums
by mattbunce on 3/19/2010 7:23 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
Ventrian Master
Ventrian Master
Posts:478


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
Ventrian Master
Ventrian Master
Posts:17204


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
Ventrian Master
Ventrian Master
Posts:478


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
Ventrian Master
Ventrian Master
Posts:17204


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
CMurrayUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:1

4/08/2009 3:21 PM  

Dear Scott and Rodney,

Is there any way to limit users to just composing message to just their friends?  I have a dev team available if ya'll could point me in the right direction?

Thanks,

Colin

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



ActiveForums 3.7