-
Author
Tagged: notifiations
-
October 29, 2014 at 01:46 #33393chazzzzyParticipant
Perhaps I’m using the Notifications wrong.. when people on my site get a Live Notification, it pops up on the upper menu, then they click it and it takes them to a page that shows them their (NEW) notifications.
The problem is that everyone then clicks the Action Item: READ to read the notification at which point it goes away.
It turns out that the READ link is actually “Mark as Read” and people get confused as intuitively it seems that the Action: Read would allow you to read the item.
Can we change the link to actually READ the item? (Open it and read it?) as that would then mark it as read anyway.
Is this a KLEO thing? Or a Buddypress thing?
Thanks so much!
Charles
(Also, I hope I didn’t already write this issue anywhere else!!)
Attachments:
You must be logged in to view attached files.October 29, 2014 at 01:48 #33395chazzzzyParticipantWhen I say it “Goes Away” I mean that it moves into the READ tab which nobody even realizes that that happens. It just appears to disappear for everyone.
October 29, 2014 at 17:23 #33452sharmstrModeratorIts a buddypress thing, but I like your idea. I’m working on something for abe that will allow you to bulk manage notifications (read, unread and delete) and also filter them by component (friend request, messages, forums, activity) . I’ll add something like that. Hey, do you want to text out my plugin before I hand it over?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 29, 2014 at 17:27 #33453sharmstrModeratorbtw – the bp function is bp_get_the_notification_mark_read_link()
COPY CODE/** * Return the mark read link for the current notification. * * @since BuddyPress (1.9.0) */ function bp_get_the_notification_mark_read_link() { // Start the output buffer ob_start(); ?> <a>" class="mark-read primary"><?php _e( 'Read', 'buddypress' ); ?></a> <?php $retval = ob_get_clean(); return apply_filters( 'bp_get_the_notification_mark_read_link', $retval ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 29, 2014 at 18:35 #33475chazzzzyParticipantOf course I will try out your plugin!
I didn’t know what to do with the function above, so I just commented out the whole Actions areas on buddypress/members/single/notifications/notifications-loop.php
COPY CODE<table class="notifications"> <thead> <tr> <th class="icon"></th> <th class="title"><?php _e( 'Notification', 'buddypress' ); ?></th> <th class="date"><?php _e( 'Date Received', 'buddypress' ); ?></th> <!-- <th class="actions"><?php _e( 'Actions', 'buddypress' ); ?></th> --> </tr> </thead> <tbody> <?php while ( bp_the_notifications() ) : bp_the_notification(); ?> <tr> <td></td> <td class="notify-text"><?php bp_the_notification_description(); ?></td> <td class="notify-date"><?php bp_the_notification_time_since(); ?></td> <!-- <td class="notify-actions"><?php bp_the_notification_action_links(); ?></td> --> </tr> <?php endwhile; ?> </tbody> </table>
Thanks!
CharlesOctober 29, 2014 at 18:58 #33480sharmstrModeratorNot sure how I’m going to handle it yet, but you could write your own function. So instead of bp_the_notification_links(), call custom_bp_the_notification_links() and do your own magic. I think instead of opening the notification when clicking on Read, I’ll just change the text to “Mark Read”.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.