

![]() |
| | Thread Tools | Display Modes |
| |||
|
Thanks Yank, good to know, but it would be a terrific feature though. I implemented the code to email the user of the story and it works great also with the mod to correct the unsubscribe issue.
|
| |||
| Quote:
I ask because I am tempted to wrap it into a module myself if its not already on the way..... i dont usually like hacking core code as it can get hairy when upgrading.. . |
| ||||
|
I would be interested in this as a module.
|
| |||
| Quote:
I have the same problem with this code..it unsubscribes after a comment is made. |
| ||||
| Was the "next release" 1.0? I may be behind the curve on the history of this feature but I cannot find it in 1.0 using wistie ... is there a trick to enabling this as a config option? Is it a module I need to download/purchase? This is a valuable feature and I hope I'm just over-looking it. Thank you! |
| |||
| Quote:
Hello everybody! How to send mail to 'author of parent comment' if somebody comment his comment? I've checked story.php and libs/comment.php, but don't understand how to do this. |
| |||
|
Hi i just saw this thread. I have already created a notifications module that will allow an author to set if they want to receive email notifications on new comments to their stories. The preference is set in the individual users profile page so it can be enabled/disabled individually. Users can also choose if they want html or text emails. The email formats are easily customizable as they are simple smarty template files. Check it out. Stop the BS with the Ban Spammers module and stop spam once and for all Enhance your site appeal by showing story thumbnail images with the Auto Thumbnail Module |
| |||
|
I have been trying to get this to work under pligg 1.03 .. all goes fine, the link_subscribe is set to 1, when i submit a story .. but something very strange is happening, after i log on with a different user name and post a comment, the link_subscribe is set to 0 in the database. i looked over the code several times but i cannot pinpoint where the mistake is ... |
| |||
| edit : The solutions mentioned below will NOT work .. read my next post in this thread, or click the link mail: "there is a new comment in your story" I made a workaround to the problem ... my problem : the subscribe_link was set to ZERO after submitting a comment The workaround at this moment is : ================================== FIND the following line in STORY.PHP --------------------- if ($link->subscribe==1) { --------------------- and REPLACE it with: ----------------------------------- $select_temp = $db->get_row("SELECT link_subscribe FROM pligg_links WHERE link_id=$link->id"); if ($select_temp->link_subscribe==1) { ----------------------------------- ================================================== ======= open LINK.PHP Find ; --------------------- if(isset($_POST['subscribeto'])){ $this->subscribe = "1"; } --------------------- And ADD right below : --------------------- $this->subscribe = "1"; --------------------- it should look like this ---------------------- if(isset($_POST['subscribeto'])){ $this->subscribe = "1"; } $this->subscribe = "1"; ----------------------- My work around is very rudimentary .. and doing this will BLOCK the user to being able to STOP receiving notifications I will digg more into the code and hopefully figure it out You will receive an email now when someone post a new comment ... BUT ... once you have selected to receive an email when a new comment is posted ... you are not able to turn it off ... not yet :-) .. Last edited by wannabe; 03-27-2010 at 08:08 AM. |
| ||||
|
wannabe Thank you for sharing your progress with this. If you can troubleshoot it I'd be happy to work on this free module and package it up for distribution with the core.. With your credit of course. I just don't have the time to pick it apart. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mail not working from local system | mrigank | Questions and Comments | 3 | 02-23-2009 03:06 AM |
| Special character problems in RSS and mail subject | ditto | Questions and Comments | 8 | 04-22-2008 05:28 PM |
| Editing a reply to a comment? | bbrian017 | Questions and Comments | 0 | 01-10-2008 05:30 PM |
| A proposal for a more robust way of comment deletion. | sefs | Questions and Comments | 0 | 10-12-2007 05:30 PM |
| Comment Count Update | Simon | Questions and Comments | 4 | 06-01-2007 10:45 PM |