(2013-02-20, 03:23 PM)Xanth Wrote:(2013-02-20, 02:53 PM)Wildcard Wrote: Well I hate to sound mean but I hope it is just you guys . . .
I went home last night and did some tests on localhost and then got a helper to mention me many times in one post and then another to quote that post.
I received one alert total.
Crayo just tested it again to give you some screenshot proof.
He made a thread tagging himself (got no notification like normal):
A user obliged:
Got these two notifications:
How do we approach fixing this if it is just us? Also, if you are mentioned X amounts of times in one post you get X amount of notifications. Presuming that's normal, can that be fixed?
Thanks.
So if X user quotes you in a post and tags you at the same time (let it be by quote or tag inside quote, whatever), you just want one notification?
Makes sense, this also happens when somebody quotes you inside a thread of yours, getting two notifications (one for being the author and another for being the author of the quote).
The solution would be to apply some global variable that is checked once a notification is inserted into the DB, for example:
global $myalerts_already_quoted;
if(empty($myalerts_already_quoted[$uid]))
{
send_tag_alert();
}
And vice-versa.
It is not nice, but it worked for me once and probably will apply it once again when I enable quote/replies notification to my own forum.