Reply notification on posts

Reply notification on posts

Re: Reply notification on posts Posted by Necromancer on Sun Aug 17th 2008 at 2:39am
Necromancer
392 posts
Posted 2008-08-17 2:39am
392 posts 1499 snarkmarks Registered: May 5th 2008
I mark the "Notify me when a reply is posted" but I don't get notified on replies.

Why does it not work?
Thanks.
Re: Reply notification on posts Posted by larchy on Sun Aug 17th 2008 at 7:11am
larchy
496 posts
Posted 2008-08-17 7:11am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
I'll look into it, thanks :)
Re: Reply notification on posts Posted by larchy2 on Sun Aug 17th 2008 at 7:12am
larchy2
2 posts
Posted 2008-08-17 7:12am
larchy2
member
2 posts 0 snarkmarks Registered: Aug 17th 2008
test
Re: Reply notification on posts Posted by larchy2 on Sun Aug 17th 2008 at 7:15am
larchy2
2 posts
Posted 2008-08-17 7:15am
larchy2
member
2 posts 0 snarkmarks Registered: Aug 17th 2008
Works for me:
User posted image
Anyone else having issues?
Re: Reply notification on posts Posted by G4MER on Sun Aug 17th 2008 at 12:57pm
G4MER
2460 posts
Posted 2008-08-17 12:57pm
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
Have not tried it.. I will have too now though.
Re: Reply notification on posts Posted by Necromancer on Mon Aug 18th 2008 at 10:04pm
Necromancer
392 posts
Posted 2008-08-18 10:04pm
392 posts 1499 snarkmarks Registered: May 5th 2008
I just wanted to let you know that the reply notification now works for me.
Re: Reply notification on posts Posted by larchy on Tue Aug 19th 2008 at 6:36am
larchy
496 posts
Posted 2008-08-19 6:36am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Well I haven't changed anything... but thanks for letting me know. Cheers :)
Re: Reply notification on posts Posted by ReNo on Tue Aug 19th 2008 at 3:19pm
ReNo
5457 posts
Posted 2008-08-19 3:19pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Things have been inconsistent for me on that front too. I've definately had a few emails, but definately not for every post I've made. Oddly, I don't ever recall pressing the "notify me..." button on a post before though. Is there any reason why you'd automatically get such notifications? Or circumstances under which the option would be checked by default? Its possible that in one or two posts I've accidentally (or absent-mindedly!) checked the option somehow, but I really don't remember doing so and yet have had a few emails.

I know, this post probably wasn't of any use whatsoever :D
Re: Reply notification on posts Posted by larchy on Tue Aug 19th 2008 at 3:50pm
larchy
496 posts
Posted 2008-08-19 3:50pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Its worked ok for me so I'm not really sure... someone complained about always getting mailed on the beta site regardless of what they chose, but noone else had the issue, I couldn't find how it was happening and they never replied to any further posts regarding the issue so I don't know whether there really was a problem or not.

There is a fair bit going on, so there could well be issues but tracking them down might be tricky.

Every time you make a post an entry is made in the database, and that post records whether you want to receive an email on reply - its just a simple 1 for yes, 0 for no depending on whether you tick the box or not.

The script then runs through all the posts for this topic and finds the posts for ppl who have made a reply and whose reply option is set to 1. It then sends them an email and sets the option to a value of 2 so more emails are not sent if there are further replies.

When you revisit the topic to read the reply your value gets changed back to 1.

If you tick or untick the box when editing a reply or posting a new reply the recorded preference will be set to 0 or 1 accordingly.

If ppl are having problems then there is one of three things wrong that I can think of:
1)An error in the flow of actions above
2)An error in my code which implements the above

Either of those will be consistently reproducible if I can narrow down the situation where any problem occurs.

3)The emails aren't being sent 100% of the time, which would be down to the server.

I've tested as much as I reasonably can every bit of the above both locally and on the beta site, checking that the database is getting updated properly at each stage, and haven't been able to see anything not working as it should.
All that said I still need to add a default preference to the profile page, and maybe a "never send me an email on pain of death" option would be a good idea for those who just plain don't want to use the feature.