PDA

View Full Version : Comment Discussions


berto
03-29-2008, 01:51 PM
The ability to have the comments notify a comment poster a new comment has been posted on his/her last comment.

E-Mail notification of new comments basicly. Just like youtube where you can have small discussions.

phrozen755
04-17-2008, 04:13 AM
This would be pretty sweet, looking at the SQL db, the user's email is obviously stored, and when entering a comment it adds the user's email via {LNG_ADD_COMMENTS_MAIL} if I'm correct...this should theoretically be pretty easy to do...

If person posts comment, Then email Subject "A user has posted a reply to your comment!", Body "User (user name) has posted a comment in the (article name) (a href = article URL). Click (article URL) here to see it!".

Can't this be done with some simple sql calls?


would adding something like below be added in the updateComments() function?

$email = '{comment.get_email}';
$subject = "Yourwebsite : Comment Response!";
$message = "{comment.get_author} has replied to your comment on the article {article.get_url} "

mail($email, $subject, $message, "From: $email");