Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 201 through 225 (of 695 total)
  • Author
    Search Results
  • #263786

    Hi,

    I purchased the intergration of Buddypress into my platform via Geodirectory.

    My website is: http://www.salseros-international.com.

    Registering on my website fail when users try to create an account. When trying, there is a notification that they will get a confirmation email in which they will find a link to activate their account. But they never receive the confirmation email.

    However, when I go to my dashboard and view the ‘all users’ section, I see there are pending subscribers. When I activate their account, I receive the ‘new user registration’ notification per email. But the subscriber does not receive any notification per email.

    I have tested with a mail log and smtp plugin to verify which emails are sent. I also tried to register myself with another email address and indeed I didn’t receive any confirmation email.

    Plus, I have asked my hosting provider and Geodirectory. Both said they could not help further as the issue does not come from the server nor from the script of Geodirectory as they don’t send any confirmation email upon registration. Also, Geodirectory said it is a Buddypress email, so I should ask the Buddypress team.

    Could you please help me?

    Best,
    Beatrice

    #263617
    warezit
    Participant

    Hello!

    I am having an issue with BP, that I caused myself. I intentionally deactivated, then deleted, BP (on a 5 day old site) thinking that I wasn’t going to use it. Then I ran ‘WP Optimize’ which removed all the unused tables from the plugins I had installed, and removed unused transients, etc… This is what caused the problem.

    Some time later, I went to re-install BP – which succeeds with no issues. Here’s where the issues crop up… Next, I went to create a new Group on the BP front-end, and it reports an error:
    There was an error saving group details. Please try again.

    Enabling WP debug mode in “wp-config.php” reports this:

    WordPress database error: [Table 'wordpress.wp_bp_groups' doesn't exist]
    SELECT id FROM wp_bp_groups WHERE slug = 'create'
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SHOW FULL COLUMNS FROM <code>wp_bp_activity</code>
    WordPress database error: [Table 'wordpress.wp_bp_notifications' doesn't exist]
    SELECT * FROM wp_bp_notifications n WHERE user_id IN (1) AND component_name IN ('friends','messages','activity','groups','blogs') AND is_new = 1
    WordPress database error: [Table 'wordpress.wp_bp_messages_recipients' doesn't exist]
    SELECT SUM(unread_count) FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0
    WordPress database error: [Table 'wordpress.wp_bp_friends' doesn't exist]
    SELECT id FROM wp_bp_friends WHERE (initiator_user_id = 1 OR friend_user_id = 1) ORDER BY date_created DESC
    WordPress database error: [Table 'wordpress.wp_bp_groups_members' doesn't exist]
    SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.is_confirmed = 0 AND m.inviter_id != 0 AND m.invite_sent = 1 AND m.user_id = 1
    WordPress database error: [Table 'wordpress.wp_bp_messages_notices' doesn't exist]
    SELECT id FROM wp_bp_messages_notices WHERE is_active = 1

    I have been trying to find a solution for this online, for the last 4+ hours… and I have gotten nowhere… So, I am humbly asking for help here, on how to recreate these tables – WITHOUT DELETING AND RECREATING MY ENTIRE SITE. I have nearly 100 hours into this site so far, and I am NOT starting over. Starting over is NOT an option, so please save everyone’s time and skip suggesting this.

    I have reviewed all of these links, and followed all of their respective directions, when applicable:

    Deleting BuddyPress


    https://buddypress.org/support/topic/reinstall-should-i-delete-old-tables-from-db/

    repair buddypress database


    and, many many many many more links, that I am not going to go back and try to find…

    Any help with this would be great – I’d really like to use BP again… I have seen a number of other people online with this issue, so I know I am not the only one. There has to be some elegant solution to re-create the required SQL tables for the plugin, right?

    I have tried running this, after I reinstalled BP the 4th time (with my TDL inserted, ofc):
    https://xxxxxx.com/wp-content/plugins/buddypress/bp-core/bp-core-update.php?f=bp_update_to_2_7_4
    But, it didn’t seem to do anything…

    Ubuntu 16.04.1
    Apache 2.4.18
    PHP 7.0.13
    WP 4.7.2
    BP 2.7.4
    no other BP extension/plugins have been installed since the 1st time removing BP

    I am more than happy to provide any requested log files!

    Thank you a TON in advance!! I look forward to getting this working again.

    #263461
    Florian Bansac
    Participant

    If there are still people looking for help, I have been trying different things today to:
    -add the notifications counter in menu
    -style differently if 0 notifications or 1+
    -target only the main

    It works for me, maybe you can check from here:

    // filter to target only main menu
    add_filter('wp_nav_menu_items','my_nav_menu_notif_counter', 10, 2);
    
    function my_nav_menu_notif_counter($menu, $args) {
    
    $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/';
    
    // counter to target unread notifications = 0 or 1+
    $bpnotifcount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
    
           // condition: user must be loggedin
           if (!is_user_logged_in())
                    return $menu;
           else
    
                    // condition: only main nav
    		if( $args->theme_location == 'primary' ) {
    
                            // condition: 0 unread notifications
    			if($bpnotifcount == 0) { 
                    	$notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>';
    			} else {
                   		$notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount countnot0">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>';
    			}
    
            		$menu = $menu . $notif;
            		return $menu;
    		}
    
            	else
    			return $menu;
    
    }

    And CSS

    /*Notifications counter in menu*/
    .notifmenucount {
    border-radius: 25%;
    border: 1px solid #ccc;
    color: #888;
    display: inline;
    margin-left: 1px;
    padding: 2px 6px;
    text-align: center;
    vertical-align: center;
    font-size: small;
    }
    .countnot0 {
    color: #ffff00;
    background: #ff0000;
    border: 1px solid transparent;
    }

    😉

    #263459
    Florian Bansac
    Participant

    I tried all sorts of things on this topic today, I ended up with something that looks like it’s working. Maybe you can try it:

    // filter to target only main menu
    add_filter('wp_nav_menu_items','my_nav_menu_notif_counter', 10, 2);
    
    function my_nav_menu_notif_counter($menu, $args) {
    
    $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/';
    
    // counter to target unread notifications = 0 or 1+
    $bpnotifcount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
    
           // condition: user must be loggedin
           if (!is_user_logged_in())
                    return $menu;
           else
    
                    // condition: only main nav
    		if( $args->theme_location == 'primary' ) {
    
                            // condition: 0 unread notifications
    			if($bpnotifcount == 0) { 
                    	$notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>';
    			} else {
                   		$notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount countnot0">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>';
    			}
    
            		$menu = $menu . $notif;
            		return $menu;
    		}
    
            	else
    			return $menu;
    
    }

    And CSS:

    /*Notifications counter in menu*/
    .notifmenucount {
    border-radius: 25%;
    border: 1px solid #ccc;
    color: #888;
    display: inline;
    margin-left: 1px;
    padding: 2px 6px;
    text-align: center;
    vertical-align: center;
    font-size: small;
    }
    .countnot0 {
    color: #ffff00;
    background: #ff0000;
    border: 1px solid transparent;
    }

    I hope it helps!

    seppad2016
    Participant

    Hi,

    We’ve been experiencing problematic issues with BP Email notifications.

    As stated on the subject of the post, our BuddyPress installation went ok and each time a new user register. He’s been sent an activation mail (as the situation stated it).

    We are managing group members from the wordpress back-office. Actually, no action (except the registration/login) is performed client-side.

    We (the admin) invite as a member or promote any registered and activated user to any group. This action is performed in the back-office. As stated on the various Email Situations, the recipient should receive an email if the action is performed but this never happens.

    We eventually tried to disable plugins and resetting things but we’re out of luck. We also tried the following plugin BP Default Email Notification Settings Control Version 1.0.1
    to force email notification with no success.

    Thanks for any efficient help,


    Below our configuration:
    WP 4.7.2
    plugins :
    Advanced Custom Fields Pro Version 5.3.3.2
    Beautiful taxonomy filter Version 2.1.0
    BP Default Email Notification Settings Control Version 1.0.1
    BuddyPress Version 2.7.4
    Contact Form 7 Version 4.5.1
    Contact Form DB Version 2.10.26
    Intuitive Custom Post Order Version 3.0.7
    JS & CSS Script Optimizer Version 0.3.2
    mobble Version 1.6
    PDF Image Generator Version 1.5.0
    Theme My Login Version 6.4.6
    WP E-Mail Debug Version 1.1.0
    WP Maintenance Version 2.8.2
    WP Super Cache
    WPBakery Visual Composer
    Yoast SEO

    danbp
    Participant

    Hi,

    BuddyPress doesn’t handle users. It use WP’s user_table and user_meta and his own meta tables (bp_activity_meta or bp_notifications_meta).

    In BP settings, you have an option to sync BP to WP profile’s. And that’s all.

    If you have another plugin who’s is synced with WordPress profiles, guess it will do the same with BP. But, adding a custom member table only for BP usage within WP registration process isn’t a good idea as you probably will have to rewrite a lot of code.

    Members are the heart of BP, but in the sense of “how to show members and let them work together”, not in the way to include/register them to the site.
    BP doesn’t never affect the first step when accessing the WP user registering. This step belongs clearly to WP ONLY. Adding member and meta tables doesn’nt modify that.

    #263172
    finzend
    Participant

    @pixelpushermama @julia_B did you fix this, or is it still a problem?

    I just upgraded from BuddyPress 2.3.4 to 2.7.4 (WP 4.7.1) but now we seem to have a problem with the mentions. Users used to get an notification-email when they were mentioned in the comments on one of our sites. That doesnt happen anymore. But the emails from private messages or replies on activity-updates do work…

    #263171
    finzend
    Participant

    Hi there,

    We recently updated BuddyPress 2.3.4 to 2.7.4 but we seem to have a problem with the mentions. Users used to get an notification-email when they were mentioned in the comments on one of our sites. That doesnt happen anymore. But the emails from private messages or replies on activity-updates do work, so it seems not a problem with the webserver or something like that.

    I have searched a lot of files/source and it looks like the function bp_activity_sent_mention_email is responsible for these mails, but I cant find this function anywhere.. Does somebody know where I should look to find the problem? Where can i hook into the mention-emails to see whats wrong?

    PS: I also added this code, but that didnt help

    add_action( 'bp_email', function( $email_type, $email_obj ) {
    $email_obj->set_from( "custom@example.com", "Custom Website Name" );
    }, 10, 2 );
    bcanr2d2
    Participant

    Consider this one resolved, I found the function for the OneAll Social Login that fires off after the accounts are created, and it will now send off welcome emails for those that create accounts via the social media logins!

    Thanks for the tip, whilst they didn’t have an example of what I was after, they had plenty showing what function fired off after their account creation.

    In the end, so little code -will put on here for reference.

    add_action( 'oa_social_login_action_after_user_insert', 'oa_social_login_send_welcome_email', 10, 2);
    function oa_social_login_send_welcome_email ($user_data, $identity) {
    //Fire off BuddyPress Welcome email
    $user_id = $user_data->ID;
    bpdev_welcome_user_notification( $user_id);
    }
    #262657
    Jon Fergus
    Participant

    I’ve seen a dozen support questions on this topic and the answer has always been “another plugin must be redeclaring wp_mail(), so on my test site I disabled every plugin except bbpress and buddypress (and akismet) and still emails are sent in plain text.

    On my live site, the only way I can get the html emails sent is when I have the Buddypress Group Email Subscriptions plugin activated, and then, no matter what other email-related plugins I have active all buddypress emails are sent in html format.

    But, the group subscription plugin has it’s own problem: slows down page-reload when replying if too many members are subscribed to a Topic (can take up to 30 seconds for the reply to process and page to reload on our site), and we haven’t found other solutions to that. So…. we want to disable that subscription plugin, but when we do we lose the html formatted emails.

    Can someone please provide some kind of solution for this plain-text vs. html issue. Like I said, even with no other plugins active we’re still not getting html emails.

    Thanks for the help.

    Our info from our test site (when still getting plain text emails):
    WP version 4.7
    Theme Goodnews 5 Child Theme 1.0
    PHP version 5.6.29
    bbPress version 2.6-alpha-6091
    site url http://staging-nexus.universaltheosophy.com
    Active Plugins Name and Version
    – p1 Akismet 3.2
    – p3 bbPress 2.6-alpha
    – p4 BuddyPress 2.7.4

    Our info from our live site:
    WP version 4.7
    Theme Goodnews 5 Child Theme 1.0
    PHP version 5.6.29
    bbPress version 2.6-alpha-6091
    site url http://nexus.universaltheosophy.com
    Active Plugins Name and Version
    – p1 Adminimize 1.11.2
    – p2 Akismet 3.2
    – p3 All In One SEO Pack 2.3.11.1
    – p4 bbP Toolkit 1.0.6
    – p5 bbPress 2.6-alpha
    – p6 Better Notifications for WordPress 1.6
    – p7 BP Registration Options 4.3.1
    – p8 BuddyPress Group Email Subscription 3.7.0
    – p9 BuddyPress Sitewide Activity Widget 1.3.2
    – p10 BuddyPress 2.7.4
    – p11 Contact Form 7 4.6
    – p12 Google XML Sitemaps 4.0.8
    – p13 Header and Footer 2.0.3
    – p14 Random Content 1.3.1
    – p15 TinyMCE Advanced 4.4.3
    – p16 User Role Editor 4.31.1
    – p17 WP-Mail-SMTP 0.10.1

    #262441

    In reply to: delete notifications

    danbp
    Participant

    Hi @mohamedalikortli,

    thank you for the sharing, but I am afraid that your proposal is not acceptable in regard of coding best practice. I let your snippet in place, but i also warn all readers to use it, unless they know what they do.

    This forum is public and most users coming here for help are querying at first for BuddyPress related issues solution, not third party plugin tricks like the one you share here. The majority is also not very comfortable with php or even site development.
    This aspect is one of the main reason to provide usefull and safe code.
    IT IS NOT THE CASE HERE – and i wouldn’t recommand it.

    Not because it doesn’t or wouldn’t work ( and i haven’t tested it), but because it is not correctly written. Allowing such a snippet is like encouraging (and by the way perpetuating) bad practices. Hopefully you understand and agree that we don’t want this on the BuddyPress support forum.


    @sbrajesh
    ‘s BuddyPress Clear Notification plugin was last updated in march 2016, which is pretty recent. I doubt that the bug is in his plugin and i expect more a menu related issue… but this is only an expectation of mine.

    If you estimate that your workaround is helpfull for that plugin, get in touch with Brajesh or publish it on the plugin support.

    By the way, next time you publish code on this form, use the code button available on the editor toolbar to insert it properly.

    FYI about what you did wrong or not properly:
    – hacking a core file. Notification template should be used, but from inside a child-theme, not directly from bp-legacy).
    – comments should be in english (some in your example are in french)
    – your recommendation is against all WP usage:

    copy this script into ur document root where u have installed ur wordpress

    – you can add custom code via bp-custom.php. There is also no need to go to wp root, when you can do the same thing from within your child-theme.
    – why do you recall jquery ? It is already loaded when you run BP…
    – i’m not a developer, but i’m pretty sure there are other things to mention about coding.

    In regard of the script itself, BP provide much simplier way to delete notification or show a delete button: reference.
    You’re also using french in that script.

    Calling a file “test” is ok, but in that case you should provide some explanation on how to finally use your snippet. As already said, not everybody here is able to understand – and use raw code – when you provide a workaround. Providing code is fine, providing code+tutorial is always better.

    Désolé d’être sévère et rien de personnel, mais juste une mise au point nécessaire.

    [modlook] @jjj, @DJPaul, @boonebgorges, @mercime, @hnla, @shanebp, @henrywright

    #262435
    mohamedalikortli
    Participant

    if buddypress clear notifications plugin does not working for u , this is a solution how to do it ,we will add a button”clear all notifications” in the notifications nav menu , first we will edit a php script called test.php wich contain this code

    <?php
    
    	 function clear_all_notifications() {
    		 require_once( 'wp-load.php' ); //put correct absolute path for this file
    
    $id = get_current_user_id();
    		 
    		 
    		// on se connecte à MySQL 
    $db = mysql_connect('localhost', 'user', 'password'); //replace user and password
    mysql_select_db('name of database',$db); 
    $requete = 'SELECT * FROM prefix_bp_notifications WHERE user_id='. $id ; // verify the name of table here prefix_bp_notifications can be wp_bp_notifications
    $sql = 'DELETE FROM prefix_bp_notifications WHERE user_id ='. $id ; // verify the name of table here prefix_bp_notifications can be wp_bp_notifications
    $reponse = mysql_query($requete);
    $resultat = mysql_num_rows($reponse);
    if($resultat > 0){ 
    $req = mysql_query($sql) or die('Erreur SQL !<br>'.$sql.'<br>'.mysql_error()); 		
    		
         
    	 
    mysql_close(); 	 
    		
    		echo "Notifications supprimees";
    }
    else {
    	echo $resultat ;
    
    		echo "pas de notifications";
    mysql_close();
    }  
        }
    	
    	clear_all_notifications();
    	?>
    
    copy this script into ur document root where u have installed ur wordpress
    
    then add this code to wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications.php  under <?php bp_get_options_nav(); ?> line 13
    
    <li id="notifications-my-notifications-personal-li" class="current selected"> 
    		<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
        <script type = "text/javascript">
    function myAjax () {
    $.ajax( { type : 'POST',
              data : { },
              url  : 'ur website adresse/test.php',              // <=== CALL THE PHP FUNCTION HERE.
              success: function ( data ) {
                return 1;               // <=== VALUE RETURNED FROM FUNCTION.
              },
              error: function (  ) {
                return 1;
              }
            });
    }
    
    //function execute_del(){
    	//myAjax();
    	//window.location.reload();
    	
    //}
        </script>
    	<button onclick="myAjax();window.location.reload();">delete all notifications</button> <!-- BUTTON CALL PHP FUNCTION -->
    	
    	</li>

    that’s all 🙂

    dekoningalex
    Participant

    Hi i really want to do this too, but i am new to Php.

    This is all the code in my header.php

    <!doctype html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    	<link rel="profile" href="http://gmpg.org/xfn/11">
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	<?php wp_site_icon(); ?>
    	<?php 
    		$id = get_queried_object_id();
    		$page_scroll = (get_post_meta($id, 'page_scroll', true) == 'on' ? 'page_scroll' : '');
    		$snap_scroll = (get_post_meta($id, 'snap_scroll', true) == 'on' ? 'snap_scroll' : '');
    		$rev_slider_alias = get_post_meta($id, 'rev_slider_alias', true);
    		$smooth_scroll = (ot_get_option('smooth_scroll') != 'off' ? 'smooth_scroll' : '');
    		$header_style = (get_post_meta($id, 'header_style', true) ? get_post_meta($id, 'header_style', true) : ot_get_option('header_style', 'style1'));
    	?>
    	<?php
    		$class = array();
    	 	array_push($class, $page_scroll);
    	 	if(!empty($snap_scroll)) { 
    	 		array_push($class, 'snap');
    	 	}
    		array_push($class, $smooth_scroll);
    	?>
    	<?php 
    		/* Always have wp_head() just before the closing </head>
    		 * tag of your theme, or you will break many plugins, which
    		 * generally use this hook to add elements to <head> such
    		 * as styles, scripts, and meta tags.
    		 */
    		wp_head(); 
    	?>
    </head>
    <body <?php body_class($class); ?> data-themeurl="<?php echo THB_THEME_ROOT; ?>">
    <div id="wrapper" class="open">
    	
    	<!-- Start Mobile Menu -->
    	<?php do_action( 'thb_mobile_menu' ); ?>
    	<!-- End Mobile Menu -->
    	
    	<!-- Start Quick Cart -->
    	<?php do_action( 'thb_side_cart' ); ?>
    	<!-- End Quick Cart -->
    	
    	<!-- Start Content Container -->
    	<section id="content-container">
    		<!-- Start Content Click Capture -->
    		<div class="click-capture"></div>
    		<!-- End Content Click Capture -->
    		<?php 
    			if (thb_accountpage_notloggedin()) {
    				get_template_part( 'inc/header/subheader' );
    				get_template_part( 'inc/header/'.$header_style );
    			}
    		?>
    		<?php if (is_page() && $rev_slider_alias) {?>
    			<?php $rev_slider_white = get_post_meta($id, 'rev_slider_white', true); ?>
    			<div id="home-slider" class="<?php echo esc_attr($rev_slider_white); ?>">
    				<?php if (function_exists('putRevSlider')) { putRevSlider($rev_slider_alias); } else { _e('Please Install & Activate Revolution Slider', 'bronx'); }?>
    			</div>
    		<?php  } ?>
    		
    		<div role="main" class="<?php echo esc_attr($snap_scroll); ?>">
    			<?php if(!empty($snap_scroll)) { ?><div class="ai-dotted ai-indicator"><span class="ai-inner1"></span><span class="ai-inner2"></span><span class="ai-inner3"></span></div><?php } ?>

    Where do i add the from your example in the code?

    <div id="testid"><?php echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); ?></div>
    

    I already added the css to the childs theme style.css and added the three php snippers for correctly placing the bubbles as well, this is the only part i don’t understand so far.

    Thanks

    Jon Fergus
    Participant

    So we’re using the “BuddyPress Group Email Subscription” plugin, and are experiencing a bottleneck when members submit a reply to a topic within a BP group. It can take 15-30 seconds for the reply to finish, from the moment of clicking “reply” to page reload.

    Looks like this is because the reply doesn’t finish posting until all notification emails are composed and sent. There’s a plugin to solve this for bbpress (AsynCRONous bbPress Subscriptions), but nothing I can find to solve the problem when it’s the BP email sending routine that’s being used.

    Does anyone have a solution to eliminate the slow reply issue here? We want to continue using the subscriptions plugin for several other reasons, so eliminating it isn’t the solution we’re looking for.

    Thanks for the help.

    Plugin we’re using: https://wordpress.org/plugins/buddypress-group-email-subscription/

    Other info:

    WP version 4.7
    PHP version 5.6.28

    Active Plugins
    – p1 Adminimize 1.11.2
    – p2 Akismet 3.2
    – p3 All In One SEO Pack 2.3.11.1
    – p4 bbP Toolkit 1.0.6
    – p5 bbPress 2.6-alpha
    – p6 Better Notifications for WordPress 1.6
    – p7 BP Registration Options 4.3.0
    – p8 BuddyPress Group Email Subscription 3.7.0
    – p9 BuddyPress Sitewide Activity Widget 1.3.2
    – p10 BuddyPress 2.7.3
    – p11 Contact Form 7 4.6
    – p12 Goodnews Shortcodes editor 1.0
    – p13 Google XML Sitemaps 4.0.8
    – p14 Header and Footer 2.0.3
    – p15 TinyMCE Advanced 4.4.1
    – p16 User Role Editor 4.31
    – p17 WP-Mail-SMTP 0.10.1
    – p18 WP Super Cache 1.4.8

    danbp
    Participant

    @cofindrs,

    BuddyPress doesn’t handle likes. That’s 3rd party plugin territory.
    If Super Socializer has a notification option for BP users who doesn’t work, the solution is on the plugin author side.

    If you think you can get a BP notification because somebody liked a post with help of Super Socializer, and there is no BP specific option in the plugin, i guess it is not possible.

    Would be great to see more details about your statement: (Heateor) say that it is an issue in BP. Can you share a link to the discussion ?

    Did you asked yourself for this issue on their support ? Your name doesn’t appear.

    #261344

    In reply to: BP Issues

    dunnjust
    Participant

    Thank you for your help.

    4. I’d like to keep the right part of the Admin bar because it provides notifications and other important user functionalities. The Left part is what I’d like to remove. The WordPress Logo and Site Title give users access to the dashboard. I don’t think that plugin allows for this.

    #261279
    dev grl
    Participant

    Any idea how I can get an email notification to the user who signs up after they’ve been manually approved in the backend? As of now it doesn’t automatically tell them when the admin activates them

    #261057

    In reply to: Bp custom Menu

    livingflame
    Participant

    Hi @danbp
    Me again.

    First look at this:

    // Add Count Near Nav Menu
    function my_counter_nav_menu($menu) {
    
    	if ( ! is_user_logged_in() ) {
    		return $menu;
    	}
    
    	$user_id = bp_loggedin_user_id();
    	$user_url = bp_loggedin_user_domain();
    
    	$notify_url = $user_url . bp_get_notifications_slug() . '/';
    
    	ob_start();
    	?>
    	
    	<li><a href="<?php echo $notify_url ?>">Notificaciones <span class="my_bubble"> <?php echo bp_notifications_get_unread_notification_count( $user_id );?></span> </a></li>
    <?php
    	$menu_items = ob_get_clean();
    
    	$menu = $menu . $menu_items;
    	return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'my_counter_nav_menu' );
    
    

    This is a modification of your code for show notifications bubbles in Main Menu.

    Okey, it works but, I dont want this line: <?php echo $notify_url ?>”>Notificaciones

    I want to get bubbles for Buddypress-Nav-Menu. You know, Dashboard / Menus / Buddypress. Here you have buddypress links: profile, messages, etc. but, if you add “messages”, appear without counter. So, I want counter for these…

    mattrea
    Participant

    Hi, I have previously been asked to set my site up so that buddyprerss members’ profiles can not be found by search engines. They want theme to only be accessible by visiting the site. I have put a robots file on my site (see below) but am still getting profiles appearing in searches – please can you tell me if there is anything I need to add to the file. Thanks, Matt.

    User-agent: *
    Disallow: */activity/p/*
    Disallow: /docs/
    Disallow: *send-invites*
    Disallow: */groups/*members*
    Disallow: */groups/*media*
    Disallow: *widget-title*
    Disallow: *members/*activity*
    Disallow: *members/*notifications*
    Disallow: *members/*friends*
    Disallow: *members/*groups*
    Disallow: *members/*docs*
    Disallow: *members/*media*
    Disallow: *acpage*
    Disallow: *messages*
    Disallow: *friends*
    Disallow: *settings*
    Disallow: /*/comment-page*
    Disallow: *register*
    Disallow: *login*
    Disallow: *profile*
    Disallow: *admin*
    Disallow: *includes*
    Disallow: *content*

    #260749
    kalico
    Participant

    Every time I manually create a new user on my multisite (via the admin interface) the new user instantly gets THREE “friend requests” from existing users. The minute the new user logs in after registration, they already have these three notifications waiting.

    I found one thread (3 years old) that describes something similar — but it’s related to the Invite Anyone plugin, the friend request comes from the Group Admin when a user responds to an invitation. I do use the Invite Anyone plugins, so I added this filter:

    add_filter( ‘invite_anyone_send_friend_requests_on_acceptance’, ‘__return_false’ );

    But it’s not changing anything as far as I can tell. I’m not even sure that the IA plugin is responsible. I’ve logged in as the users who are “sending” these automated friend requests, and I can’t find anything that they can do to force sending a friend request to new users.

    Any ideas at all where I should look for the cause?

    #260512

    In reply to: how to add new members

    danbp
    Participant

    Hi,

    did you activate the user ?
    or have you omit to uncheck Send User Notification ?

    If you’re doing this just to test BP with some content, use better BP Default Data

    maccast
    Participant

    Did a ticket get opened for this because I’m seeing a similar, possibly related bug. Basically I’m seeing bp_get_loggedin_user_nav() return the correct menu item, but the messages, notification, and friends counts that are displayed are for the “displayed” user.

    GaryLeGrill
    Participant

    Hi
    I just installed wordpress yaost seo on my website and I got this error message.
    The error disapear whit I install buddypress.

    Could you please help pe to fix it?

    Thanks

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bp_admin’ not found or invalid function name in /homepages/4/s654646546/htdocs/mywebsite/wp-includes/plugin.php on line 524

    Notice: bp_setup_current_user was called incorrectly. L’utilisateur actuel est en cours d’initialisation sans utiliser $wp->init() === Trace: #6 /homepages/4/s654646546/htdocs/mywebsite/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(31): Yoast_Notification_Center->retrieve_notifications_from_storage() #7 /homepages/4/s654646546/htdocs/mywebsite/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(49): Yoast_Notification_Center->__construct() #8 /homepages/4/s654646546/htdocs/mywebsite/wp-content/plugins/wordpress-seo/wp-seo-main.php(399): Yoast_Notification_Center::get() #9 /homepages/4/s654646546/htdocs/mywebsite/wp-includes/plugin.php(524): load_yoast_notifications(”) #10 /homepages/4/s654646546/htdocs/mywebsite/wp-settings.php(295): do_action(‘plugins_loaded’) #11 /homepages/4/s654646546/htdocs/mywebsite/wp-config.php(100): require_once(‘/homepages/4/d1…’) #12 /homepages/4/s654646546/htdocs/mywebsite/wp-load.php(39): require_once(‘/homepages/4/d in /homepages/4/s654646546/htdocs/mywebsite/wp-includes/functions.php on line 3996s654646546

    #260083

    In reply to: Bp custom Menu

    livingflame
    Participant

    RESOLVED! Thanks @sbrajesh

    CODE :::::::: Put this Code Inside your function.php ChildTheme

    //Add Count Near Nav Menu With Bubble
    function my_counter_nav_menu($menu) {
    
    	if ( ! is_user_logged_in() ) {
    		return $menu;
    	}
    
    	$user_id = bp_loggedin_user_id();
    	$user_url = bp_loggedin_user_domain();
    
    	$msg_url = $user_url . bp_get_messages_slug() . '/';
    	$notify_url = $user_url . bp_get_notifications_slug() . '/';
    
    	ob_start();
    	?>
    	<li><a>">Messages <span class="my_bubble_notify"><?php echo bp_get_total_unread_messages_count( $user_id );?></span> </a></li>
    	
    	<li><a>">Notifications <span class="my_bubble_notify"> <?php echo bp_notifications_get_unread_notification_count( $user_id );?></span> </a></li>
    <?php
    	$menu_items = ob_get_clean();
    
    	$menu = $menu . $menu_items;
    	return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'my_counter_nav_menu' );

    ––––––––––––
    CSS::::: Put this Code Inside your style.css ChildTheme

    .my_bubble_notify {
    border-radius: 25%;
    border: 1px solid #ccc;
    background: #eee;
    color: #6c6c6c;
    display: inline;
    margin-left: 1px;
    padding: 2px 6px;
    text-align: center;
    vertical-align: center;
    font-size: small;
    }

Viewing 25 results - 201 through 225 (of 695 total)
Skip to toolbar