Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'comment notification'

Viewing 25 results - 151 through 175 (of 328 total)
  • Author
    Search Results
  • #179078
    Henry Wright
    Moderator

    Regarding notifications for activity comments, see this open ticket:

    https://buddypress.trac.wordpress.org/ticket/5395

    #179067
    deepbevel
    Participant

    thanks for that,

    okay, so mentions are their own component, and it looks like activity comments only have email notifications but no profile notification, unless I use a plugin.

    is there a difference between activity comments and activity replies?

    Also, what exactly constitutes an “update”?

    #179057
    deepbevel
    Participant

    I tried the plugin, it shows a link to the comment under the notifications tab, but it doesn’t display a count, still says “0”.
    Also, it won’t load the notification in line,
    gets this error

    There was a problem marking that notification.

    Zane
    Participant

    There is a plugin for this but you have to download it directly from the site (it is not in the wordpress plugin directory. At least it wasn’t via my searches).

    BuddyPress Activity Comment Notifier

    I can’t believe that activity notifications on comments is not a core functionality. I have submitted a feature request for this.

    https://buddypress.trac.wordpress.org/ticket/5430#ticket

    #177668
    Justin
    Participant

    @andrewgtibbetts where di you end up with this? Would love blog comments to show up as notifications.

    #177544
    Melle328
    Participant

    Wordpress 3.8
    Buddypress 1.8.1
    Theme: BP default / child theme

    Plugins:
    Autochimp 2.15
    bbpress 2.5.2
    bbpress mark as read
    bbPress Email Notifications
    BP Group Management
    BP Group Email
    BP Profile Search
    BuddyPress Activity Comment Notifier
    BuddyPress Activity Plus
    BuddyPress Auto Group Join
    BuddyPress Better Pagination
    BuddyPress Block Activity Stream Types
    BuddyPress Extended Friendship Request
    BuddyPress Group Calendar
    BuddyPress Like
    BuddyPress Message privacy
    BuddyPress Real Names
    Change WP Mail From Details
    DigiMember
    Duplicate Post
    External Links
    Image Rotation Fixer
    Mapology
    OptimizePress
    Redirection
    Register Plus Redux
    Remove Dashboard Access
    Suchen & Ersetzen
    Simple Comment Editing
    The Events Calendar
    W3 Total Cache
    Widget Builder
    Widget Logic
    WordPress HTTPS
    WordPress Importer
    WP Crontrol
    WP Show IDs

    I already have a clone of my site, but without members producing content and writing (lots of) private messages I cannot reproduce the error. @djpaul if you are interestet to have a deeper look under the hood, I would be happy to send you login data for community & db.

    Thank you!

    airsid
    Participant

    Thanks @mercime for your quick answer.
    But i’m a french novice and i’m not understanding very well what to do in the https://buddypress.trac.wordpress.org/ticket/5299 topic.

    Should I install thos patches:
    5299.01.patch​ and 5299.02.patch​

    or should I follow indications in lastest johnjamesjacoby’s comment:
    In 7689:
    Notifications:
    Add templates and parts for bp-default theme. Also modify home.php to include notifications.php.

    or should I do the both ?

    Sorry for asking but no access to notfications is important for my users 😉
    Alos do you have an idea when the next update will be released ?
    Thanks.

    #175251
    Matt McFarland
    Participant

    Can you confirm that you are able to receive any email from your server at all? We need to know if your server is the problem or if there is something wrong with your website. The only way to tell is to see if you can send yourself an email from the server like a comment notification or a form being filled out type test.

    If you’re 100% sure it’s something to do with the website, then you need to take a look at your server logs (if using apache check access_log and error_log) and see if anything pops up during a new user sign up.

    What is your server configuration? What type of system? Have you checked if there is a bottleneck anywhere? Have you tried rebooting your server?

    Just some thoughts. Check the error log if you can!

    #173858
    @mercime
    Participant

    @henrywright-1 Nope, did not get notifications for @ mentions in blog post and blog comment. Trac ticket and patches welcome 🙂

    #173371
    danbp
    Participant

    hi @jaxdestroyer,

    play with these example snippets (goes into theme’s functions.php) and see what you can do with it.

    Good luck!

    
    /* remove the comment menu */
    
    function bpfr_admin_bar_render() {
    	global $wp_admin_bar;
    	$wp_admin_bar->remove_menu('comments'); // change to your need
    	}
    add_action( 'wp_before_admin_bar_render', 'bpfr_admin_bar_render' ); */
    
    /* add links/menus to the admin bar */
    
    function bpfr_admin_bar_render() {
    	global $wp_admin_bar;
    	$wp_admin_bar->add_menu( array(
    	'parent' => 'new-content', // use 'false' for a root menu, or pass the ID of the parent menu
    	'id' => 'new_media', // link ID, defaults to a sanitized title value
    	'title' => __('Media'), // link title
    	'href' => admin_url( 'media-new.php') // name of file
    	'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' );
    	));
    	}
    add_action( 'wp_before_admin_bar_render', 'bpfr_admin_bar_render' ); 
    
    /* another example */
    function bpfr_custom_myaccount_nav( $wp_admin_bar ) {
    global $bp;
    
    	// remove the Settings item and the attached sub menu
    	$wp_admin_bar->remove_node('my-account-settings');
    	
        // add My notifications settings as separate item
       $args = array(
    		'id' => 'my-account-settings-notifications',
    		'title' => 'Notifications Settings',
    	//	'parent' => 'my-account',
    		'parent' => 'my-account-messages',
    	//	'meta' => array('class' => 'menupop')	
    		'meta' => array('class' => 'ab_sub_wrapper')		
    		); 
        $wp_admin_bar->add_node($args); 	
    
    }
    add_action('admin_bar_menu', 'bpfr_custom_myaccount_nav',100 );
    
    

    Some other examples here

    #171420
    Carco
    Participant

    function bp_like_check_installed() {
    global $wpdb;

    if ( !is_site_admin() )
    return false;

    if ( !get_site_option( ‘bp_like_settings’ ) || get_site_option( ‘bp-like-db-version’ ) )
    bp_like_install();

    if ( get_site_option( ‘bp_like_db_version’ ) < BP_LIKE_DB_VERSION )
    bp_like_install();
    }
    add_action( ‘admin_menu’, ‘bp_like_check_installed’ );
    add_action( ‘network_admin_menu’, ‘bp_like_check_installed’ );

    /**
    * for notifications
    */

    function bp_like_setup_globals() {
    global $bp, $current_blog;
    $bp->bp_like=new stdClass();
    $bp->bp_like->id = ‘bp-like’;
    $bp->bp_like->slug = ‘bp_like’;
    $bp->bp_like->notification_callback = ‘bp_like_format_notifications’;
    $bp->active_components[$bp->bp_like->slug] = $bp->bp_like->id;
    do_action( ‘bp_like_setup_globals’ );
    }
    add_action( ‘bp_setup_globals’, ‘bp_like_setup_globals’ );

    function bp_like_format_notifications( $action, $item_id, $secondary_item_id, $total_items,$format=’string’) {
    global $bp;
    $glue=”;
    $user_names=array();
    $activity = new BP_Activity_Activity( $item_id );
    $link=like_notifier_activity_get_permalink( $item_id );

    if($activity->user_id==$bp->loggedin_user->id){
    $text=__(“your”);
    $also=””;
    }
    else{
    $text=sprintf(__(“%s’s”), bp_core_get_user_displayname ($activity->user_id));//somone’s
    $also=” also”;
    }

    $users = array_keys( bp_activity_get_meta( $item_id, ‘liked_count’ ) );
    $total_user= $count=count($users);

    if ($count==0){
    bp_core_delete_notifications_by_item_id( $bp->loggedin_user->id, $activity->id, $bp->bp_like->slug, ‘new_bp_like_’.$activity->id);
    }

    if($count>2){
    $users=array_slice($users, $count-2);
    $count=$count-2;
    $glue=”, “;
    }

    else if($total_user==2)
    $glue=” and “;

    foreach((array)$users as $id)
    $user_names[]=bp_core_get_user_displayname ($id);

    if(!empty($user_names))
    $commenting_users=join ($glue, $user_names);
    else
    $commenting_users=”Somebody remove it after”;

    if($total_user>2)
    $text=$commenting_users.” and “.$count.” others”.$also.” liked on “.$text. ” post”;
    else
    $text=$commenting_users.$also .” liked on “.$text. ” post”;

    return array(‘link’=>$link,
    ‘text’=>$text);

    }

    function like_notifier_activity_get_permalink( $activity_id, $activity_obj = false ) {
    global $bp;

    if ( !$activity_obj )
    $activity_obj = new BP_Activity_Activity( $activity_id );

    $link = bp_get_activity_directory_permalink() . ‘p/’ . $activity_obj->id . ‘/’;

    return apply_filters( ‘like_notifier_activity_get_permalink’, $link );
    }

    function like_notifier_remove_notification($activity,$has_access){
    global $bp;
    if($has_access)
    bp_core_delete_notifications_by_item_id( $bp->loggedin_user->id, $activity->id, $bp->bp_like->slug, ‘new_bp_like_’.$activity->id);

    }
    add_action(“bp_activity_screen_single_activity_permalink”,”like_notifier_remove_notification”,10,2);

    ….

    bp_core_add_notification( $item_id, $activity[‘activities’][0]->user_id, $bp->bp_like->slug, ‘new_bp_like_’.$item_id );

    #168668
    ggsalas
    Participant

    BUMP
    I have same problem

    #168537
    minto
    Participant

    Now I’ve put this in, but it still doesn’t work out:

    ‘//get the thread permalink for activity
    function ac_notifier_activity_get_permalink2( $activity_id, $activity_obj = false ) {
    global $bp;

    if ( !$activity_obj )
    $activity_obj = new BP_Activity_Activity( $activity_id );

    if ( ‘activity_comment’ == $activity_obj->type )
    $link = bp_get_activity_directory_permalink(). ‘p/’ . $activity_obj->item_id . ‘/’;
    else
    $link = bp_get_activity_directory_permalink() . ‘p/’ . $activity_obj->id . ‘/’;

    return apply_filters( ‘ac_notifier_activity_get_permalink2′, $link );
    }’

    #168534
    minto
    Participant

    Here’s what I did meanwhile:

    1. removed all those junkcode, I had originally in 😉

    2. found that display-issue in the above + corrected it in the code, which seemed responsible for no text/ no links being given (I inserted the missing a-href):
    return apply_filters( ‘bp_activity_multiple_new_likes_notification’, ‘‘ . $text . ‘‘);
    … but this also did not bring up the link + text …

    3. wonder about that line:
    $link=ac_notifier_activity_get_permalink2( $activity_id );
    …removed the “2”, because with that in, my toolbar disappears…
    Should that be noticed in the ac_notifier too, with the need to keep the “2”?

    4. any notifications (even the live-notification-popup) still only appear on the likers-side, still not yet on the liked-user-profile!

    So this is, what it looks like atm:

    
    function bp_like_setup_globals() {
    global $bp, $current_blog;
    $bp->bp_like=new stdClass();
    $bp->bp_like->id = 'bp-like';
    $bp->bp_like->slug = 'bp_like';
    $bp->bp_like->notification_callback = 'bp_like_format_notifications';
    $bp->active_components[$bp->bp_like->slug] = $bp->bp_like->id;
    do_action( 'bp_like_setup_globals' );
    }
    add_action( 'bp_setup_globals', 'bp_like_setup_globals' );
    
    function bp_like_format_notifications( $action, $item_id, $secondary_item_id, $total_items,$format='string') {
    global $bp;
    $glue='';
    $user_names=array();
    $activity = new BP_Activity_Activity( $activity_id );
    $link=ac_notifier_activity_get_permalink( $activity_id );
    
    //si c’est le posteur d’origine, dites que vous êtes, d’autre dire de% s après
    if($activity->user_id==$bp->loggedin_user->id){
    $text=__("your");
    $also="";
    }
    else{
    $text=sprintf(__("%s’s"), bp_core_get_user_displayname ($activity->user_id));//quelqu’un
    $also=" also";
    }
    $ac_action='new_bp_like_'.$item_id;
    
    if($action==$ac_action){
    // if ( (int)$total_items > 1 ) {
    // $users=ac_notifier_find_involved_persons($activity_id);
    $total_user=$count=count($users);//montrent de nombreux utilisateurs uniques ont commenté
    if($count>2){
    $users=array_slice($users, $count-2);//simplement indiquer le nom de deux affiches, le repos doit être aussi et ‘n’ autre a également commenté
    $count=$count-2;
    $glue=", ";
    }
    else if($total_user==2)
    $glue=" xxxx1xxxx ";//si il ya 2 utilisateurs uniques, disons x et y commenté
    
    foreach((array)$users as $user_id)
    $user_names[]=bp_core_get_user_displayname($user_id);
    
    if(!empty($user_names))
    $commenting_users=join($glue, $user_names);
    
    if($total_user>2)
    $text=$commenting_users." xxxxxxxx2xxxxxxx ".$count." xxxx3xxxx".$also." xxxxxxxx4xxxxxxx on ".$text." post";//peut-on changer la poste à quelque chose de significatif en fonction de l’élément d’activité?
    else
    $text=$commenting_users.$also." xxxxxx5xxxxx on ".$text." post";
    
    if($format=='string')
    return apply_filters( 'bp_activity_multiple_new_likes_notification', '<a href="'.$link.'">'.$text.'</a>');
    else{
    return array('link'=>$link,
    'text'=>$text);
    }
    return false;
    }
    
    }
    

    any suggestions?

    thx in advance!

    #168145
    cameronwilby
    Participant

    I am helping Kathryn with this issue, here are the details for the installation.

    The original programmer for the site vanished, so the configuration is the way it is. Not asking anybody to solve the problem on our behalf, just opening the issue to more eyes. All help and all input is greatly appreciated.

    Wordpress: 3.5.2
    Buddypress: 1.7.3
    PHP: 5.3 (I suspect this might be the culprit.)

    Installed Plugins

    Legend – (A)Active, (-)Deactivated

    BUDDYPRESS PLUGINS

    (A)BP Auto Login on Activation 1.0.1
    (A)BP Export Users 1.1
    (A)BP Group Announcements 1.0.2
    (A)BP Group Hierarchy 1.3.9
    (A)BG Group Management 0.6
    (A)BP Group Organizer 1.0.7
    (-)BP Labs 1.3

    (A)BuddyPress 1.7.3
    (A)BuddyPress Activity Plus 1.5
    (A)BuddyPress Auto Group Join 2.2.1
    (A)BuddyPress Docs 1.4.3
    (A)BuddyPress Docs Wiki add-on 1.0.3
    (-)BuddyPress Edit Group Slug 1.2
    (A)BuddyPress Group Email Subscription 3.3.3
    (A)BuddyPress Groups Extras 3.5.7
    (A)BuddyPress Like 0.0.8
    (-)BuddyPress Live Notification 1.0.3
    (-)BuddyPress Usernames Only 0.6
    (A)bbPress 2.3.2
    (A)bbPress reCaptcha 1.1
    (A)bbPress Search Widget 2.0.0
    (A)bbPress Threaded Replies 0.4.3
    (A)GD bbPress Attachments 1.9.2

    OTHER

    (A)Akismet 2.5.7
    (A)Automessage 2.3.1
    (A)BackWPup 3.0.12
    (-)Blog Categories for Groups 1.0.4
    (-)Confirm User Registration 2.0.4
    (-)Disable Comments 0.9
    (-)downML – Download Media Library 0.3.1
    (A)Email Users 4.4.4
    (-)Fundraising 2.3.6
    (-)Invite Anyone 1.0.21
    (-)Live Stream Widget 1.0.4.2
    (A)New RoyalSlider 3.0.93
    (-)P3 (Plugin Performance Profiler) 1.4.1
    (A)Plugins Garbage Collector 0.9.12
    (A)Revolution Slider 2.3.8
    (-)Scheduled Content 1.1.1
    (-)Select Language At Signup 1.0.4
    (A)SI CAPTCHA Anti-Spam 2.7.6.4
    (A)Sidebar Login 2.5.3
    (A)Simple Badges 0.1-alpha20120703
    (-)Snapshot 2.3.3
    (-)Tweet Blender 3.3.15
    (A)Ultimate Maintenance Mode 1.5.0
    (-)W3 Total Cache 0.9.2.11
    (A)WordPress Importer 0.6.1
    (A)WP-DBManager 2.63
    (-)WP-reCAPTCHA 3.1.6
    (-)WP Htaccess Editor 1.2.0
    (-)WP UI – Tabs accordions and more. 0.8.7
    (A)Yoast Breadcrumbs 0.8.5

    #168120

    In reply to: Comment Email

    dubbinz
    Participant

    @mercine he is saying the link in the email is wrong. it’s not linking to the activity comments on activity but the actual forums reply. Somebody saw his forums reply on the activity page added a comment to it there but the email notification is pointing to the forums not the activity.

    is there a way to change that?

    #167015
    sushmitha
    Participant

    Hello,

    I have a requirement that, once user reply to activity comment. It should notify other users who are replied to that comment.
    I found this http://en.support.wordpress.com/comment-notification-email/ plugin. But the problem is, it will notify only parent comment user. I want to notify all users .

    #166125

    In reply to: Pending Notifications

    b a
    Participant

    Please try to supply answers to the following questions.

    1. Which version of WordPress are you running?
    Lastest (stable)
    2. Did you install WordPress as a directory or subdomain install?
    Directory
    3. If a directory install, is it in root or in a subdirectory?
    Root
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    No
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes
    6. Which version of BP are you running?
    Lastest (stable)
    7. Did you upgraded from a previous version of BP? If so, from which version?
    No
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Yes, many plugins and all of them BP related, since I don’t have any error/problem with my current installation, I won’t insert here this big list. Need to mantion BP Like/Dislike though
    9. Are you using the standard BuddyPress themes or customized themes?
    Standart
    10. Have you modified the core files in any way?
    Yes, In many way 😀
    11. Do you have any custom functions in bp-custom.php?
    No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    Lastest, I downloaded it from WP Plugins
    13. Please provide a list of any errors in your server’s log files.
    Strange but no errors (with Debug turned off)
    14. Which company provides your hosting?
    Local installation
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux Ubuntu, apache 2.2 php5

    #165973

    In reply to: Notifications

    dswright
    Participant

    Hi,

    Thank you for the reply.

    I am still a bit confused

    Each event listed below will trigger notification alerts in the site (bubble in WP Toolbar) and by email by default.

    A member replies to an update or comment you’ve posted

    I made a comment on somebodies update.
    I then logged in as them and checked.
    I received an e-mail, but NO bubble notification.

    Thoughts?

    #164586
    P
    Participant

    @Chouf1, that’s my blog you’re linking to. I am not sure if they added Throttling to the new Buddypress version. I opened a ticket months ago, the milestone has been set to: version 1.7 to Future Release https://buddypress.trac.wordpress.org/ticket/3732. This is a bit frustrating since Throttling makes for great spam control.


    @tifire
    Go to /bp-friends/bp-friends-functions.php in your Buddypress installation and change the friends_add_friend function to the following:

    function friends_add_friend( $initiator_userid, $friend_userid, $force_accept = false ) {
    	global $bp;
    
    	$friendship = new BP_Friends_Friendship;
    
    	if ( (int) $friendship->is_confirmed )
    		return true;
    
    	$friendship->initiator_user_id = $initiator_userid;
    	$friendship->friend_user_id    = $friend_userid;
    	$friendship->is_confirmed      = 0;
    	$friendship->is_limited        = 0;
    	$friendship->date_created      = bp_core_current_time();
    	
    	/**
    	 * BuddyPress Friend Request Throttling
    	 *
    	 * Set a throttle period for user friendship requests
    	 *
    	 * @author Patrick Saad
    	*/
    	
    	global $wpdb;
    	$qry = "SELECT date_created FROM wp_bp_friends where initiator_user_id = '".$initiator_userid."' order by date_created desc limit 1";
        $user_friend_requests = $wpdb->get_results( $qry );
    	
    	if ($user_friend_requests)
    	{
    		$latest_user_request = strtotime($user_friend_requests[0]->date_created, time());
    		$time_since_latest_request = time() - $latest_user_request;
    		
    		// that's 2 minutes
    		$throttle_period = 60 * 2;
    		
    		// if the last request was over 5 minutes ago, allow it
    		
    		if ($time_since_latest_request < $throttle_period)
    			return false;
    	}
    	// End of BuddyPress Friend Request Throttling //
    
    	if ( $force_accept )
    		$friendship->is_confirmed = 1;
    
    	if ( $friendship->save() ) {
    
    		if ( !$force_accept ) {
    			// Add the on screen notification
    			bp_core_add_notification( $friendship->initiator_user_id, $friendship->friend_user_id, $bp->friends->id, 'friendship_request' );
    
    			// Send the email notification
    			friends_notification_new_request( $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    
    			do_action( 'friends_friendship_requested', $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    		} else {
    			// Update friend totals
    			friends_update_friend_totals( $friendship->initiator_user_id, $friendship->friend_user_id, 'add' );
    
    			do_action( 'friends_friendship_accepted', $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    		}
    
    		return true;
    	}
    
    	return false;
    }

    This will prevent a user from sending a friendship request to someone if their recent friendship request date was less than, say 2 minutes (change the $throttle_period variable to modify this time)

    Just gave this a fresh test, works in Buddypress 1.7.2. This same concept can be applied to comments, groups, etc, you just have to find the functions and play around.

    David Cavins
    Keymaster

    Hi Modemlooper-

    My theme is a child theme of Twenty Twelve, so my style.css declares Template: twentytwelve.

    I followed your suggestion then took it a step farther and included slightly modified version of the js setup functions from the template pack in my `functions.php` file. I’ll post them here in case somebody else has the same problem I’m having:

    `function bp_support_theme_setup() {
    global $bp;

    // Load the default BuddyPress AJAX functions if it isn’t explicitly disabled or if it isn’t already included in a custom theme
    if ( ! function_exists( ‘bp_dtheme_ajax_querystring’ ) )
    require_once( BP_PLUGIN_DIR . ‘/bp-themes/bp-default/_inc/ajax.php’ );

    // Let’s tell BP that we support it!
    add_theme_support( ‘buddypress’ );

    if ( ! is_admin() ) {
    // Register buttons for the relevant component templates
    // Friends button
    if ( bp_is_active( ‘friends’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );

    // Activity button
    if ( bp_is_active( ‘activity’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );

    // Messages button
    if ( bp_is_active( ‘messages’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );

    // Group buttons
    if ( bp_is_active( ‘groups’ ) ) {
    add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’ );
    add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
    add_action( ‘bp_directory_groups_actions’, ‘bp_group_join_button’ );
    }

    // Blog button
    if ( bp_is_active( ‘blogs’ ) )
    add_action( ‘bp_directory_blogs_actions’, ‘bp_blogs_visit_blog_button’ );
    }
    }
    add_action( ‘after_setup_theme’, ‘bp_support_theme_setup’, 11 );

    /**
    * Enqueues BuddyPress JS and related AJAX functions
    *
    * @since 1.2
    */
    function bp_support_enqueue_scripts() {

    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
    $params = array(
    ‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
    ‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
    ‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
    ‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
    ‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
    ‘comments’ => __( ‘comments’, ‘buddypress’ ),
    ‘close’ => __( ‘Close’, ‘buddypress’ )
    );

    // BP 1.5+
    if ( version_compare( BP_VERSION, ‘1.3’, ‘>’ ) ) {
    // Bump this when changes are made to bust cache
    $version = ‘20120412’;

    $params[‘view’] = __( ‘View’, ‘buddypress’ );
    $params[‘mark_as_fav’] = __( ‘Favorite’, ‘buddypress’ );
    $params[‘remove_fav’] = __( ‘Remove Favorite’, ‘buddypress’ );
    }
    // BP 1.2.x
    else {
    $version = ‘20110729’;

    if ( bp_displayed_user_id() )
    $params[‘mention_explain’] = sprintf( __( “%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.”, ‘buddypress’ ), ‘@’ . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) );
    }

    // Enqueue the global JS – Ajax will not work without it
    wp_enqueue_script( ‘dtheme-ajax-js’, BP_PLUGIN_URL . ‘/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );

    // Localize the JS strings
    wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bp_support_enqueue_scripts’ );
    `

    Which is identical to installing the template pack only for the JS, I think. Everything’s working as expected, so I think we can consider this problem resolved. Thanks for your attention, Hugo and Modemlooper.

    -David

    Hugo Ashmore
    Participant

    @bphelp

    You tell me! Has your activity stream kicked into life? Has this post/comment been sent as notification?

    #157207
    yzqiang
    Participant

    I also need it very much. I have found all threads on internet. There’s still no existing one plugin.

    #156622
    Hugo Ashmore
    Participant

    Has @Chouf1 not answered that question on the lst comment on this thread he linked to?:

    https://buddypress.org/support/topic/how-to-split-out-buddypress-notifications-drop-down-items-to-their-own-top-level/

    Those various references should point you to the functions you need to work with.

    #153506
    josepaitamala
    Participant

    I installed this plugin and now I am not having this problem anymore , just to let you know

    BuddyPress Activity Comment Notifier

Viewing 25 results - 151 through 175 (of 328 total)
Skip to toolbar