![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I never did get this to work!
|
| The Following User Says Thank You to redwine For This Useful Post: | ||
| |||
| Quote:
I bet it's something I didn't do right! Thanks for all the help on this too redwine! It's very nice of you! |
| ||||
|
I've noticed recently that notifications of replies to comments are empty in the email. Main comments look like this: Quote:
Quote:
|
| ||||
|
I seem to have hacked together a fix for the "empty replies to comments" problem above, but I hope redwine or somebody else could double check this for me. Open story.php and locate: Code: $authormail = $db->get_var("SELECT user_email FROM " .table_users ." WHERE user_id = $link->author;");
Code: if($_POST['comment_content'] != '') {
$comment_content = $_POST['comment_content'];
}
else
{
$this_comment_id = $_POST['comment_parent_id'];
$reply_to_the_comment = 'reply_comment_content-' . $this_comment_id;
$comment_content = $_POST[$reply_to_the_comment];
}
Code: $message = "The following user '". $current_user->user_login . "' commented on your post '" Code: $_POST['comment_content'] Code: $comment_content |
| |||
| Please Fix what i am doing wrong
when a new comment is made by the user i am able to sent email to the user who submitted the story but i am not able to provide him with link on which user commented .any body help me
|
| ||||
| See the last step of redwine's post on page 3 of this thread. He modified it to include a link.
|
| |||
| Thank you very much for the help ......reply was very quick .Thanks once again
|
| |||
| Quote:
please help me
__________________ Helping hands are Welcome |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Special character problems in RSS and mail subject | ditto | Bug Report | 8 | 04-22-2008 04:28 PM |
| Having problems sending mail with Pligg? Running Postfix by chance? | PolPligg | General Help | 13 | 03-14-2008 04:14 PM |
| Editing a reply to a comment? | bbrian017 | General Help | 0 | 01-10-2008 04:30 PM |
| A proposal for a more robust way of comment deletion. | sefs | Bug Report | 0 | 10-12-2007 04:30 PM |
| Comment Count Update | Simon | Bug Report | 4 | 06-01-2007 09:45 PM |





Linear Mode

