Help
Suggest features for the ArrowChat software

Should clicking on a link mark a notification as read

Yes
3
100%
No
0
No votes
 
Total votes : 3
User avatar
Jack
Customer
 
Posts: 36
Joined: 01 Jun 2010, 21:55

 

by Jack 21 Jan 2011, 10:19

Hey,

I have had a lot of users complain about how they click on a link in the notification popup, but the notification window still says they have a notification until they click on the button. Could you add something so that the message can be marked as read when the user clicks on the link.

A way that this could be done would be to simply append a &notificationRead=1&notificationID={note_id}

Then, you could simply check for the variable and mark it read if the variable is set?

Just kinda speaking out of my head, let me know if this is something you think is good or bad?
Jack
User avatar
Jack
Customer
 
Posts: 36
Joined: 01 Jun 2010, 21:55

 

by Jack 03 Feb 2011, 12:56

@Jason, is there anyway I can implement this into my site? The only thing that is really holding me back is that the notification ID is not being sent to the template section so I can somehow get the variable and set it read in the database.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 03 Feb 2011, 15:00

You can edit the subdomain/receive_core.php file in conjunction with the subdomain/includes/functions_notifications.php file to get the notification ID as well. It's a pretty easy edit and should be fairly obvious.

I'm still a little confused what you're trying to do though as clicking the notification popup in the first place should mark them all as read?
User avatar
Jack
Customer
 
Posts: 36
Joined: 01 Jun 2010, 21:55

 

by Jack 04 Feb 2011, 05:31

Well, many users are clicking on the link of what the notification action was. So if someone sends them a private message, they click on the link to view it. Then the notification pops back up and they get annoyed lol So when they click on the url, it would mark that single notification read instead of clicking on the notifications button to view every notification.

Working on a tutorial for everyone. Maybe you could just implement directly into the next version so I don't have to update this everytime you release an updated file that affects either of these two :p
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.