This topic has 5 replies, 2 voices, and was last updated 10 years by sharmstr.

  • Author

    Tagged: 

  • #33393
     chazzzzy
    Participant

    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.
    #33395
     chazzzzy
    Participant

    When 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.

    #33452
     sharmstr
    Moderator

    Its 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #33453
     sharmstr
    Moderator

    btw – 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #33475
     chazzzzy
    Participant

    Of 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!
    Charles

    #33480
     sharmstr
    Moderator

    Not 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?