Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 151 through 175 (of 768 total)
  • Author
    Search Results
  • #276697
    perteus
    Participant

    Hi, i have problem with this issue

    I have WPForo and BuddyPress (but issue was same with bbpress) And if somebody reply on topic when i have subcribion, i have in notification menu blank title. Only Date and time send and action menu. In my Database in wp_bp_notitications is

    id	13677
    user_id	3
    item_id	394
    secondary_item_id	49
    component_name   community
    component_action wpforo_new_reply
    date_notified	2018-09-24 13:48:17
    is_new		1
    #276549
    jillellarajakumar
    Participant

    Hi,

    Thanks for the reply.
    I have installed poll plugin. Once admin will create a poll, it should be display notification alert for the users.

    Not only about the poll. If i create events, breaking news and upcoming events etc.

    You can register and login here,

    Login Page


    Once login, you can see the right sidebar. Whatever i have update or create from right sidebar.
    The notification alert should be display in top right with “bell” icon.

    #276371
    rockforduk
    Participant

    Hi Everyone,
    I have upgraded to BuddyPress: 3.1.0 and now i can’t seem to access messages and i am using Thrive Nouveau Child theme.

    Browser Developer Browser error

    JQMIGRATE: Migrate is installed, version 1.4.1
    http://www.google-analytics.com/analytics.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
    underscore.min.js?ver=1.8.3:5 Uncaught SyntaxError: Unexpected token ;
    at new Function (<anonymous>)

    System Info

    // Generated by the Send System Info Plugin //

    Multisite: No

    WordPress Version: 4.9.8
    Permalink Structure: /%postname%/
    Active Theme: Thrive Nouveau Child

    PHP Version: 7.2.9
    MySQL Version: 5.6.40
    Web Server Info: Apache

    WordPress Memory Limit: 64MB
    PHP Safe Mode: No
    PHP Memory Limit: 256M
    PHP Upload Max Size: 1000M
    PHP Post Max Size: 1000M
    PHP Upload Max Filesize: 1000M
    PHP Time Limit: 600
    PHP Max Input Vars: 10000
    PHP Arg Separator: &
    PHP Allow URL File Open: No

    WP_DEBUG: Disabled

    WP Remote Post: wp_remote_post() works

    Session: Enabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /var/cpanel/php/sessions/ea-php72
    Use Cookies: On
    Use Only Cookies: On

    DISPLAY ERRORS: N/A
    FSOCKOPEN: Your server supports fsockopen.
    cURL: Your server supports cURL.
    SOAP Client: Your server has the SOAP Client enabled.
    SUHOSIN: Your server does not have SUHOSIN installed.

    ACTIVE PLUGINS:

    404 to 301: 3.0.1
    Absolutely Glamorous Custom Admin: 6.4.1
    bbP private groups: 3.6.7
    bbPress: 2.5.14
    BP Block Users: 1.0.2
    BP Local Avatars: 2.2
    BP Simple Front End Post: 1.3.4
    BuddyBlog: 1.3.2
    BuddyKit: 0.0.3
    BuddyPress: 3.1.0
    BuddyPress Clear Notifications: 1.0.4
    BuddyPress Docs: 2.1.0
    BuddyPress Global Search: 1.1.9
    BuddyPress Security Check: 3.2.2
    BuddyPress User To-Do List: 1.0.4
    GA Google Analytics: 20180828
    GD bbPress Toolbox Pro: 5.2.1
    GDPR: 2.1.0
    Gears: 4.1.9
    Gravity Forms: 2.3.2
    Hide Admin Bar From Front End: 1.0.0
    Image Upload for BBPress: 1.1.15
    Insert Headers and Footers: 1.4.3
    Invite Anyone: 1.3.20
    iThemes Security Pro: 5.4.8
    Kirki Toolkit: 3.0.33
    MediaPress: 1.4.2
    MediaPress – Downloadable Media: 1.0.3
    Menu Icons: 0.11.2
    Nifty Menu Options: 1.0.1
    Really Simple SSL: 3.0.5
    reSmush.it Image Optimizer: 0.1.16
    Restricted Site Access: 7.0.1
    s2Member Framework: 170722
    SeedProd Coming Soon Page Pro: 5.10.8
    Send System Info: 1.3
    Slider Revolution: 5.4.7.3
    SSL Insecure Content Fixer: 2.7.0
    TaskBreaker – Group Project Management: 1.5.1
    The Events Calendar: 4.6.23
    The Events Calendar PRO: 4.4.30.1
    Users Insights: 3.6.5
    WP-Polls: 2.73.8
    WPBakery Page Builder: 5.5.4
    WP Mail SMTP: 1.3.3
    WP Nag Hide: 1.0
    WPS Hide Login: 1.4.3
    Yoast SEO: 8.2
    YouTube Live: 1.7.10

    Thanks

    Rockforduk

    #275960
    raneeshct
    Participant

    Thanks. Unfortunately this is not what I am looking for. This notifies only the author of the blog. I need to notify all the users who commented on the particular blog.

    ow let’s assume I have two users A and B registered in the website and consider a post with Title “Hello All”

    1. User A made a comment on the post “Hello All”
    2. User B made a reply comment to the User A’s comment

    it is expected to show a notification on User A profile under notification tab on site such us User B replied to your comment.

    Please advice

    #275935
    raneeshct
    Participant

    This is not the solution I am looking for. Let me explain what I clearly needs.

    I have an existing WordPress website with a few posts. I have installed BuddyPress plugin. Now let’s assume I have two users A and B registered in the website and consider a post with Title “Hello All”

    1. User A made a comment on the post “Hello All”
    2. User B made a reply comment to the User A’s comment

    it is expected to show a notification on User A profile under notification tab on site such us User B replied to your comment. Unfortunately this is not happening on the website. To cross check whether it is a theme issue, I have changed the theme to default themes of WordPress and notification is not yet showing. Please help. Looking forward to an immediate response.

    Here is the website URL https://beanstalkminds.com/

    #275926
    Prashant Singh
    Participant

    I am not sure if you are creating blog posts or activity. BuddyPress sends notification for these updates https://codex.buddypress.org/administrator-guide/notifications/

    If it is a blog post then you have to go with this code to get notification https://wordpress.stackexchange.com/questions/263950/new-post-notifications-for-users-buddypress

    #275839
    wallacelin
    Participant

    Hello, I’m using Buddypress 3.1.0, bbPress 2.5.14, and the Boss theme 2.4.6 to create an online network/forums website. The website is 7ctest2.site and the wordpress version is 4.9.8.

    Is it possible to merge the Read and Unread notifications into one page on /members/user/notifications/ ?

    How would I go about implementing this?

    I’m new to both Buddypress and bbPress and was handed down this website to complete. Any help or idea would be helpful. Thank you!

    #275834
    asokaaso2
    Participant

    I’m trying to do an ajax function where after certain conditions are met, 2 users will become friends. I am using friends_add_friend function to achieve it but when I execute that function, my ajax function doesn’t return the success data. The friends_add_friend will execute but it will stop there preventing my ajax to display the notification. Any idea how to fix this?

    this is my code


    if($create_subscription!='fail'){
    friends_add_friend(bp_loggedin_user_id(),bp_displayed_user_id(),true); //the code stops here

    echo json_encode(array('sent'=>true, 'message'=>__('The payment was processed successfully!')));

    }

    website001
    Participant

    Hello friends

    Got this code from buddydev website

    for theme functions php

    works, but newer versions of buddypress have
    5 group options. This code covers 4.

    ——————————————————————————————————
    add_action( ‘bp_core_activated_user’,

    ‘bpdev_set_email_notifications_preference’);

    function bpdev_set_email_notifications_preference( $user_id ) {

    //I am putting all the notifications to no by default
    //you can set the value to ‘yes’ if you want that notification to be enabled.
    $settings_keys = array(
    ‘notification_activity_new_mention’ => ‘no’,
    ‘notification_activity_new_reply’ => ‘no’,
    ‘notification_friends_friendship_request’ => ‘no’,
    ‘notification_friends_friendship_accepted’ => ‘no’,
    ‘notification_groups_invite’ => ‘no’,
    ‘notification_groups_group_updated’ => ‘no’,
    ‘notification_groups_admin_promotion’ => ‘no’,
    ‘notification_groups_membership_request’ => ‘no’,
    ‘notification_messages_new_message’ => ‘no’,
    );

    foreach( $settings_keys as $setting => $preference ) {

    bp_update_user_meta( $user_id, $setting, $preference );
    }

    //that’s it. have fun!

    }

    ———————————————————————————————————

    This is the option it doesn’t cover—–

    #5
    “Your request to join a group has been approved or denied”

    Can anyone update this ? That would be awsome.

    Thanks alot

    buddypress 2.8.2
    WordPress 4.7.5

    Jean Bon
    Participant

    Hi,

    I would like that user can follow any other user and get email notification when the that user publish a new post on the website. I am good looking for a plugin or script even paid and buddypress compatible than allow me to do that.

    i have not found a solution for that.

    thanks for your help

    kenmcall
    Participant

    Greetings,

    We are using LDAP to populate and maintain our Buddypress members list, and because of this we don’t want people to be able to change their password or email address via the Settings > General tab. We would like to therefore hide the General tab and have Settings redirect to a different tab instead (preferably Settings > Profile)

    I have gone through the forums and have viewed other posts by people dealing with the same issue, specifically this one:

    How to hide / remove the General tab under Settings

    Here’s the code:

    function bpex_change_profile_settings_default_tab() {
    
    	if( bp_is_active( 'xprofile' ) ) :
    
    	$access        = bp_core_can_edit_settings();
    	$slug          = bp_get_settings_slug();
    
    	$args = array(
    		'parent_slug'     => $slug,
    		'subnav_slug'	  => 'notifications',
    		'screen_function' => 'bp_settings_screen_notification',
    		'user_has_access' => $access
    		);
     
    	bp_core_new_nav_default( $args );
    
    	endif;
    
    }
    add_action( 'bp_actions', 'bpex_change_profile_settings_default_tab' );
    
    function bpex_remove_general_item_on_usermenu() {
    global $wp_admin_bar;
    
    	if ( bp_use_wp_admin_bar() ) {
    		$wp_admin_bar->remove_node( 'my-account-settings-general' );
    	}
    
    }
    add_action( 'wp_before_admin_bar_render', 'bpex_remove_general_item_on_usermenu' );
    
    function bpex_remove_profile_settings_general_tab() {
    
    	if( bp_is_active( 'xprofile' ) ) :	
    
    		bp_core_remove_subnav_item( 'settings', 'general' );
    
    	endif;
    
    }
    add_action( 'bp_actions', 'bpex_remove_profile_settings_general_tab' );

    This seems to be the solution I need, but when I add the code to bp-custom.php it does remove the General tab, but now clicking on Settings generates a 404 error. As this post is over a year old, I’m wondering if there have been changes to Buddypress that stops this from working.

    I should mention that I’ve done some (but not a lot) of PHP programming. I did have a co-oworker who is quite proficient at PHP look over this with me, but everything we tried failed to work.

    Thanks for any help anyone can give.

    Raval
    Participant

    WordPress 4.9.7
    BuddyPress 3.1.0
    weblooker.pl

    Hello. I am a very beginner user of WordPress and BuddyPress and I am asking for help. the topic has been discussed several times, but I still do not know how to do it. I want to change the names in the profile menu ( e.g “notifications” ) to a different name. There are many codes here but I do not know how to use them and where to add them. I also used “Loco Translate” but it did not work. Please help.

    MorgunovVit
    Participant

    WordPress 4.9.7
    BuddyPress 3.1.0
    Theme: OceanWP (but the same problems with Twenty Seventeen v1.6.)

    Hi!

    It seems that I am faced with a problem.
    The new BuddyPress template called Nouveau, fails and stops displaying the navigation menu in the user profile and group profile. The block with the main navigation simply disappears (I mean navigation in which items such as Activity, Friends, Groups, etc. are displayed), only the sub navigation of the section remains.
    I tried to disable all plugins, but navigation did not appear. Also, I changed the theme from the ocean to the WP on Twenty Seventeen – no results. And only after switching from Nouveau to the old BuddyPress template was the navigation displayed.
    Could You help me, please?
    Thanks!

    —————–
    The List of using plugins:
    BadgeOS Version: 1.4.11
    BadgeOS BadgeStack Add-On Version: 1.0.1
    BadgeOS Community Add-On Version: 1.2.4
    BadgeOS LearnDash Add-On Version: 1.0.2
    BadgeOS Suggested Achievements Add-On Version: 1.0.1
    bbPress Version: 2.5.14
    BuddyPress Version: 3.1.0
    BuddyPress for LearnDash Version: 1.2.5
    Elementor Version: 2.1.2
    H5P Version: 1.10.3
    LearnDash & bbPress Integration Version: 2.0.2.1
    LearnDash Course Grid Version: 1.4.1
    LearnDash LMS Version: 2.5.8.2
    LearnDash LMS – Notifications Version: 1.2.0
    LearnDash ProPanel Version: 2.1.3
    Ocean Demo Import Version: 1.0.9
    Ocean Extra Version: 1.4.17
    SVG Support Version: 2.3.15
    Tin Canny LearnDash Reporting Version: 2.9.3
    Uncanny LearnDash Toolkit Version: 2.4.2
    WP Translitera Version: p1.2.5

    #274684
    knowitallninja
    Participant

    Hi @r-a-y

    My apologies for responding so slowly. I didn’t get a response notification to my email for some reason.

    As for Twitter. I’m not sure what they’re doing. I just know that Google Analytics are very clear that under GDPR no personally identifiable information should be passed in the URLs to Analytics and that usernames count as PII.

    I had a look at that ticket. Unfortunately the code in there causes my member areas to not work. It does replace their usernames with their id numbers in the url, but the url isn’t functional.

    So I guess my only option is to try that plugin to change all my users nicenames? That’s unfortunate. I really would hope the Buddypress developers would look into this as it is definitely an issue with Google Analytics conditions which I imagine many BP users do use.

    I’ll give the nicenames plugin a go soon.

    Thanks

    scottliveout
    Participant

    WordPress version 4.9.6
    Latest Version of BuddyPress (recently updated)
    Link to the site: https://highaltitudecrypto.io/

    Here is the error that is showing: https://prnt.sc/jxthxo

    Background info:
    The previous developer coded this theme in his own way. When he finished the site, the client/site owner deleted the developer’s (admin) user profile. When he did, all sorts of issues like this arose. We have fixed most, but I am not sure how to fix this particular issue. The error is displayed in that screenshot, so I was hoping you could help!

    pauapau
    Participant

    hey guys,
    when the user have read/clicked on a notification then the notifitcation should automatically delete. i want to do that with a ajax call.

    so my idea is to add a filter on the function bp_notifications_get_notifications_for_user() to manipulate the output.
    but i need for the ajax call a notification_id. so that he knows which notofiation he has to delete.

    add_filter( 'bp_notifications_get_notifications_for_user', 'bp_follow_notify_format_notifications', 9, 5  );
    function bp_follow_notify_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    		
    	if ( 'follow_new_post' === $action ) {
    		
    		if ( (int) $total_items > 1 ) {
    			$title = sprintf( __( '%d new posts have been published', 'bp-follow-notify' ), (int) $total_items );
    			$link  = bp_get_notifications_permalink();
    		} else {
    			$title = sprintf( __( '%s is kiteboarding.', 'bp-follow-notify' ), bp_core_get_user_displayname( $secondary_item_id ) );
    			$link = get_permalink( $item_id );			
    		}
    		
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters('bp_follow_notify_notification', '<div onClick="clickedOnNotification('.$notificationID.')" title="' . esc_attr( $title ) . '">' . esc_html( $title ) . '"</div>', $title, site_url().$link );
    		
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( 'bp_follow_notify_notification', array(
    				'text' => $title,
    				'link' => $link
    			), $link, (int) $total_items, $title, $title );
    		}
    		
    		return $return;
    	}
    	return $action;
    }
    

    here is the important line.
    $return = apply_filters('bp_follow_notify_notification', '<div onClick=”clickedOnNotification(‘.$notificationID.’)”title="' . esc_attr( $title ) . '">' . esc_html( $title ) . '"</div>', $title, site_url().$link );

    cheers Pau

    #274212
    davewp85
    Participant

    WordPress 4.9.6
    BuddyPress 3.1.0

    Hi everyone,

    I’m building a site that is divided in four sections and I want each of them to have its own unique activity stream. I’ve searched a lot but haven’t been able to find anything helpful on how to achieve this.

    I tried with WP multisite. Created four subdomains and installed BuddyPress separately on the main site and each subdomain. Registration was done only through the main site and users were added automatically to all sites upon registration. By installing the BP Multi Network plugin and BP_ENABLE_MULTIBLOG enabled I had what I wanted. Each site had its own activity stream and posts weren’t shared. But there were problems with profiles. If any user navigated to his profile from the home page, the main site, everything was fine. But from any activity page of a subsite, when clicking the Profile link on the menu it took him to my profile instead, the admin. Also, if I clicked on a user’s icon on in a post, it took me to his profile but it appeared empty, with zero friends, messages and notifications, even though there were some. So I had to abandon it.

    Is there some way that I can create multiple activity streams? And if that isn’t possible, any ideas on how I can fix the profiles problem and use the Multisite solution?

    Thanks,
    Dave

    lz430
    Participant

    Hey everyone,
    I have a membership site. It’s running Woocommerce, WP 4.9.6 and Buddypress 3.0.0. My BuddyPress status is below.

    I’m having a problem when someone is choosing a any kind of membership(I only have free and 1 paid at the moment). When they get to the billing screen they can either use Facebook or Google to login and fill in the details.

    Once they do that, Buddypress redirects them to their wall. I want them to be able to continue the checkout process. I’ve tried so many things, but can’t override it.

    Please help!

    
    ### WordPress Environment ###
    
    Home URL: http://www.specialtactics.global
    Site URL: http://www.specialtactics.global
    WC Version: 3.4.1
    Log Directory Writable: ✔
    WP Version: 4.9.6
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.16 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 3000
    PHP Max Input Vars: 1000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.39-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 11.24MB
    Database Data Size: 10.10MB
    Database Index Size: 1.14MB
    wp_woocommerce_sessions: Data: 0.04MB + Index: 0.00MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    ts_redirects: Data: 0.00MB + Index: 0.00MB
    wp_achievements: Data: 0.02MB + Index: 0.01MB
    wp_bp_activity: Data: 0.01MB + Index: 0.01MB
    wp_bp_activity_meta: Data: 0.00MB + Index: 0.01MB
    wp_bp_friends: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups_groupmeta: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups_members: Data: 0.00MB + Index: 0.00MB
    wp_bp_links: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_categories: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_linkmeta: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_votes: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_drafts: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_labels: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_label_message: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_messages: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_meta: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_notices: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_recipients: Data: 0.00MB + Index: 0.00MB
    wp_bp_notifications: Data: 0.00MB + Index: 0.00MB
    wp_bp_notifications_meta: Data: 0.00MB + Index: 0.00MB
    wp_bp_user_blogs: Data: 0.00MB + Index: 0.00MB
    wp_bp_user_blogs_blogmeta: Data: 0.00MB + Index: 0.01MB
    wp_bp_xprofile_data: Data: 0.00MB + Index: 0.00MB
    wp_bp_xprofile_fields: Data: 0.03MB + Index: 0.05MB
    wp_bp_xprofile_groups: Data: 0.00MB + Index: 0.00MB
    wp_bp_xprofile_meta: Data: 0.01MB + Index: 0.02MB
    wp_buddyboss_media: Data: 0.00MB + Index: 0.00MB
    wp_buddyboss_media_albums: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp_comments: Data: 0.01MB + Index: 0.01MB
    wp_gde_profiles: Data: 0.00MB + Index: 0.00MB
    wp_gde_secure: Data: 0.00MB + Index: 0.00MB
    wp_learndash_user_activity: Data: 0.01MB + Index: 0.03MB
    wp_learndash_user_activity_meta: Data: 0.04MB + Index: 0.03MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 2.97MB + Index: 0.09MB
    wp_pmpro_discount_codes: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_discount_codes_levels: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_discount_codes_uses: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_categories: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_pages: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_users: Data: 0.00MB + Index: 0.01MB
    wp_pmpro_membership_levelmeta: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_membership_levels: Data: 0.00MB + Index: 0.01MB
    wp_pmpro_membership_orders: Data: 0.00MB + Index: 0.02MB
    wp_pmxi_files: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_history: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_imports: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_posts: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_templates: Data: 0.00MB + Index: 0.00MB
    wp_postmeta: Data: 0.83MB + Index: 0.21MB
    wp_posts: Data: 2.47MB + Index: 0.17MB
    wp_pp_login_builder: Data: 0.01MB + Index: 0.00MB
    wp_pp_password_reset_builder: Data: 0.01MB + Index: 0.00MB
    wp_pp_registration_builder: Data: 0.01MB + Index: 0.00MB
    wp_revslider_css: Data: 0.09MB + Index: 0.00MB
    wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB
    wp_revslider_slides: Data: 0.18MB + Index: 0.00MB
    wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB
    wp_signups: Data: 0.00MB + Index: 0.00MB
    wp_social_users: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB
    wp_terms: Data: 0.00MB + Index: 0.01MB
    wp_term_relationships: Data: 0.00MB + Index: 0.01MB
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB
    wp_usermeta: Data: 0.05MB + Index: 0.04MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_waiting: Data: 0.00MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB
    wp_wfConfig: Data: 0.36MB + Index: 0.01MB
    wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB
    wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB
    wp_wfFileMods: Data: 0.48MB + Index: 0.11MB
    wp_wfHits: Data: 0.14MB + Index: 0.03MB
    wp_wfHoover: Data: 0.00MB + Index: 0.00MB
    wp_wfIssues: Data: 0.00MB + Index: 0.00MB
    wp_wfKnownFileList: Data: 0.97MB + Index: 0.12MB
    wp_wfLeechers: Data: 0.00MB + Index: 0.01MB
    wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB
    wp_wfLocs: Data: 0.00MB + Index: 0.00MB
    wp_wfLogins: Data: 0.01MB + Index: 0.00MB
    wp_wfNet404s: Data: 0.00MB + Index: 0.00MB
    wp_wfNotifications: Data: 0.00MB + Index: 0.00MB
    wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB
    wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB
    wp_wfScanners: Data: 0.00MB + Index: 0.00MB
    wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB
    wp_wfStatus: Data: 0.06MB + Index: 0.03MB
    wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_category: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_form: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_lock: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_master: Data: 0.02MB + Index: 0.00MB
    wp_wp_pro_quiz_prerequisite: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_question: Data: 1.24MB + Index: 0.03MB
    wp_wp_pro_quiz_statistic: Data: 0.01MB + Index: 0.00MB
    wp_wp_pro_quiz_statistic_ref: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_template: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_toplist: Data: 0.00MB + Index: 0.00MB
    wp_wsluserscontacts: Data: 0.00MB + Index: 0.00MB
    wp_wslusersprofiles: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 121
    bmt-member-type: 4
    bp-email: 32
    cdfc: 1
    condition_group: 1
    custom_css: 1
    customize_changeset: 9
    forum: 1
    jetpack_migration: 2
    mc4wp-form: 1
    nav_menu_item: 33
    page: 39
    post: 24
    product: 12
    revision: 1003
    scheduled-action: 16
    sfwd-certificates: 1
    sfwd-courses: 7
    sfwd-lessons: 36
    sfwd-quiz: 38
    sfwd-topic: 147
    shop_order: 7
    shop_subscription: 5
    sidebar: 1
    sp_wps_shortcodes: 1
    topic: 4
    wc_membership_plan: 6
    wcps: 1
    woocarousel: 1
    wpachievements: 3
    wpcf7_contact_form: 1
    wpe_product_carousel: 1
    yith_wcps_type: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (50) ###
    
    Addons for WPBakery Page Builder: by Livemesh – 1.9.1
    Akismet Anti-Spam: by Automattic – 4.0.7
    bbPress: by The bbPress Community – 2.5.14
    Better Search Replace: by Delicious Brains – 1.3.2
    Boss for LearnDash: by BuddyBoss – 1.3.0
    BP Redirect To Profile: by Brajesh Singh – 1.2.2
    BuddyBoss Inbox: by BuddyBoss – 1.1.3
    BuddyBoss Media: by BuddyBoss – 3.2.4
    BuddyBoss One Click Installer: by BuddyBoss – 1.0.6
    BuddyBoss Wall: by BuddyBoss – 1.3.3
    BuddyPress for LearnDash: by BuddyBoss – 1.2.4
    BuddyPress Member Types: by BuddyBoss – 1.1.2
    BuddyPress: by The BuddyPress Community – 3.0.0
    Contact Form 7: by Takayuki Miyoshi – 5.0.2
    Force HTTPS: by LittleBizzy – 1.0.6
    Google Doc Embedder: by Kevin Davis
    Dan Lester – 2.6.4
    
    Insert or Embed Articulate Content into WordPress Trial: by Brian Batt – 4.292
    WPBakery Page Builder: by Michael M - WPBakery.com – 5.4.7
    LearnDash Content Cloner: by WisdmLabs – 1.2.2
    LearnDash & bbPress Integration: by LearnDash – 2.0.2.1
    LearnDash Course Grid: by LearnDash – 1.4.1
    LearnDash ProPanel: by LearnDash – 2.1.3
    LearnDash WooCommerce Integration: by LearnDash – 1.4.0 – Not tested with the active version of WooCommerce
    Mega Addons For Visual Composer: by Nasir – 2.2
    Nextend Social Login: by Nextendweb – 3.0.10
    Nextend Social Login Pro Addon: by Nextendweb – 3.0.8
    WooCommerce Product Carousel Slider: by ADL Plugins – 3.0.2 – Not tested with the active version of WooCommerce
    Restrict Content: by Pippin Williamson – 2.2.3
    Slider Revolution: by ThemePunch – 5.4.7.3
    LearnDash LMS: by LearnDash – 2.5.8.2
    Simple Buddypress Profile Privacy: by Justin Hansen – 0.7.7
    String Locator: by Clorith – 2.3.0
    Theme My Login: by Jeff Farthing – 6.4.16
    Uncanny LearnDash Toolkit: by Uncanny Owl – 2.4.2
    Uncanny LearnDash Toolkit Pro: by Uncanny Owl – 2.3.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.14.11
    
    Essential WPBakery Page Builder (formerly Visual Composer) Addons: by themebon – 1.9.1
    Waiting: by Plugin Builders – 0.4.5
    WC4BP -> WooCommerce BuddyPress Integration (Premium): by ThemeKraft – 3.1.4 – Not tested with the active version of WooCommerce
    WC4BP -> Subscriptions: by ThemeKraft – 1.1.0 – Not tested with the active version of WooCommerce
    WC4BP -> BuddyPress xProfile Checkout Manager: by ThemeKraft – 1.3.0 – Not tested with the active version of WooCommerce
    WooCommerce Colors: by WooThemes – 1.0.7 – Not tested with the active version of WooCommerce
    WooCommerce PayPal Express Checkout Gateway: by WooCommerce – 1.5.5
    WooCommerce Stripe Gateway: by WooCommerce – 4.1.6
    WooCommerce Memberships: by SkyVerge – 1.10.4
    WooCommerce Social Login: by SkyVerge – 2.5.2
    WooCommerce Subscriptions: by Prospress Inc. – 2.2.21
    WooCommerce: by Automattic – 3.4.1 – 3.4.2 is available
    WP File Manager: by mndpsingh287 – 2.7
    WP Rollback: by WordImpress – 1.5
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: course (course)
    external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Cart: #562 - /cart/
    Checkout: #9648 - /woocommerce-checkout/
    My account: #9671 - /membership/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Boss. Child Theme
    Version: 2.4.3
    Author URL: http://www.buddyboss.com
    Child Theme: ✔
    Parent Theme Name: Boss.
    Parent Theme Version: 2.4.6
    Parent Theme Author URL: https://www.buddyboss.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### subscriptions ###
    
    WCS_DEBUG: ✔
    						No
    Subscriptions Mode: ✔
    						Live
    Subscriptions Template Theme Overrides: –
    Report Cache Enabled: ✔
    						Yes
    Cache Update Failures: ✔
    						0 failure
    
    ethanstein
    Participant

    It seems like parameters 6-8 are no longer being passed with the new version of buddypress?

    This is my code which has been working:

    function bp_custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string', $component_action, $component_name, $id ) {
    
      if ("wbp_party" === $component_name && is_user_logged_in()) {
    
        ...
    
    if ( 'string' === $format ) {
          $return = apply_filters( 'wbp_notification_filter','<a href="'.$custom_link.'">'.$custom_title.'</a> ', $custom_text, $custom_link );
    
          // Deprecated BuddyBar
        } else {
          $return = apply_filters( 'wbp_notification_filter_array', array(
            'text' => $custom_text,
            'link' => $custom_link
          ), $custom_link, (int) $total_items, $custom_text, $custom_title );
        }
    
        return $return;
      }
    
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'bp_custom_format_buddypress_notifications', 10, 8 );
    #273713
    filipponeri20
    Participant

    Thanks a lot @sharebophar for your solution. I had to do a little of adjustment but it was right on the spot!

    PROBLEM:
    buddypress nouveau not sending activation email but buddypress nouveau sending correctly emails to user for notifications on manually activated users. So in my case the problem was ONLY that the validation email was not sent. I say ‘only’ from a technical perspective but from the user perspective was a VERY BIG issue. Again thanks @sharebophar for your solution
    Also note that I am not running a wordpress multisite.

    SOLVED:
    Here are the steps I have employed:

    STEP 1
    a) browse to “/bp-core/bp-core-functions.php” in buddypress plugin directory
    b) replace the code for ‘core-user-registration’ and ‘core-user-registration-with-blog’ with the following one

    	'core-user-registration' => array(
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_title'   => __( '[{{{site.name}}}] Activate your account', 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_content' => __( "Thanks for registering!\n\nTo complete the activation of your account, go to the following link: <a href=\"{{{activate.url}}}\">{{{activate.url}}}</a>", 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
                            'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account, go to the following link: {{{activate.url}}}", 'buddypress' ),
    		),
    		'core-user-registration-with-blog' => array(
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_title'   => __( '[{{{site.name}}}] Activate {{{user-site.url}}}', 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_content' => __( "Thanks for registering!\n\nTo complete the activation of your account and site, go to the following link: <a href=\"{{{activate-site.url}}}\">{{{activate-site.url}}}</a>.\n\nAfter you activate, you can visit your site at <a href=\"{{{user-site.url}}}\">{{{user-site.url}}}</a>.", 'buddypress' ),
    			/* translators: do not remove {} brackets or translate its contents. */
    			'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account and site, go to the following link: {{{activate-site.url}}}\n\nAfter you activate, you can visit your site at {{{user-site.url}}}.", 'buddypress' ),
    		),

    STEP 2

    a) go to wordpress dashboard, settings, buddypress
    b) select and run the ‘repair email’ option

    STEP 3

    all now works. I have been testing it with dummy users. I hope the whole explanation helps.
    Regards

    #272960
    Michael
    Participant

    WordPress:

    Version: 4.9.5
    Language: en_US
    Permalink Structure: /%postname%/
    Active Theme: Tempera NoLink 0.6
    Page On Front: Si Valetis, Valeo! (#62)
    Page For Posts: Blog (#133)

    — Web Server Configurations —

    PHP Version: 7.0.30
    MySQL Version: 5.6.34
    Web Server Info: Apache

    — PHP Configurations —

    PHP Memory Limit: 256M
    PHP Upload Max Size: 256M
    PHP Post Max Size: 301M
    PHP Upload Max Filesize: 256M
    PHP Time Limit: 1000
    PHP Max Input Vars: 1000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes

    — WordPress Active Plugins —

    Akismet Anti-Spam: 4.0.3
    Caldera Forms: 1.6.1.1
    Category Posts Widget: 4.8.5
    Category Sticky Post: 2.10.1
    Cryout Serious Theme Settings: 0.5.9
    Custom Login Page Templates: 1.0
    Custom Sidebars: 3.1.4
    Disable Emojis: 1.7
    Download Monitor: 4.0.8
    Google Analytics Dashboard for WP (GADWP): 5.3.3
    GTranslate: 2.8.40
    Jetpack by WordPress.com: 6.1
    Plugins Garbage Collector: 0.10.3
    Shortcodes Ultimate: 5.0.3
    Simple:Press: 5.7.5.2
    Simple Link Directory – Pro: 4.8.0
    Team Members PRO: 4.1.1
    The Events Calendar: 4.6.15
    TinyMCE Advanced: 4.6.7
    Ultimate Member: 2.0.13
    Ultimate Member – Followers: 2.0.1
    Ultimate Member – Friends: 2.0.1
    Ultimate Member – Google reCAPTCHA: 2.0
    Ultimate Member – Instagram: 2.0.1
    Ultimate Member – MailChimp: 2.0.1
    Ultimate Member – Notices: 2.0.1
    Ultimate Member – Online Users: 2.0
    Ultimate Member – Private Messages: 2.0.2
    Ultimate Member – Profile Completeness: 2.0.1
    Ultimate Member – Real-time Notifications: 2.0.1
    Ultimate Member – Social Activity: 2.0.1
    Ultimate Member – Social Login: 2.0.1
    Ultimate Member – Terms & Conditions: 2.0
    Ultimate Member – User Reviews: 2.0.3
    Ultimate Member – User Tags: 2.0
    Ultimate Member – Verified Users: 2.0.1
    UM New Members widget: 1.0.7
    UpdraftPlus – Backup/Restore: 2.14.8.1
    VaultPress: 1.9.5
    Wise Chat Pro: 1.9
    WP-Optimize: 2.2.4
    WP Responsive Recent Post Slider: 1.4.2
    Yoast SEO Premium: 7.4.2

    dennis.cabasal
    Participant

    Hi,

    I’m new to buddypress and I was trying to add the xprofile fields to admin email after activation.

    I found this code and I’m desperately trying to figure out how to make it work.

    /*
    Plugin Name: Custom New User Email
    Description: Changes the copy in the email sent out to new users
    */
     
    // Redefine user notification function
    if ( !function_exists('wp_new_user_notification') ) {
        function wp_new_user_notification( $user_id, $plaintext_pass = '' ) {
            $user = get_userdata( $user_id );
          
    	// The blogname option is escaped with esc_html on the way into the database in sanitize_option
    	// we want to reverse this for the plain text arena of emails.
    	$blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
    	
    	// find the profile field for referrer
    	//$field1 = xprofile_get_field_data( 'Referrer', $user_id );
            $field1 = xprofile_get_field_data( 'field_id=1', $user_id );
            $field2 = xprofile_get_field_data( 'field_id=2', $user_id );
            $field3 = xprofile_get_field_data( 'field_id=3', $user_id );
    	$field4 = xprofile_get_field_data( 'field_id=4', $user_id );
    	$field5 = xprofile_get_field_data( 'field_id=5', $user_id );
    	$field6 = xprofile_get_field_data( 'field_id=6', $user_id );
    	$field7 = xprofile_get_field_data( 'field_id=32', $user_id );
    	$field8 = xprofile_get_field_data( 'field_id=8', $user_id );
    	$field9 = xprofile_get_field_data( 'field_id=9', $user_id );
    	$field10 = xprofile_get_field_data( 'field_id=10', $user_id );
    	$field11 = xprofile_get_field_data( 'field_id=13', $user_id );
    	$field12 = xprofile_get_field_data( 'field_id=16', $user_id );
    	$field13 = xprofile_get_field_data( 'field_id=25', $user_id );
    
    	$message  = sprintf(__('New user registration on your site %s:'), $blogname) . "\r\n\r\n";
    	$message .= sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n";
    	$message .= sprintf(__('E-mail: %s'), $user->user_email) . "\r\n\r\n";
    	$message .= sprintf(__('First Name: %s'), $field1) . "\r\n";
    	$message .= sprintf(__('Last Name: %s'), $field2) . "\r\n";
    	$message .= sprintf(__('Job Title: %s'), $field3) . "\r\n";
    	$message .= sprintf(__('Company: %s'), $field4) . "\r\n";
    	$message .= sprintf(__('Address 1 : %s'), $field5) . "\r\n";
    	$message .= sprintf(__('Address 2 : %s'), $field6) . "\r\n";
    	$message .= sprintf(__('Country	: %s'), $field7) . "\r\n";
    	$message .= sprintf(__('City: %s'), $field8) . "\r\n";
    	$message .= sprintf(__('Zip: %s'), $field9) . "\r\n";
    	$message .= sprintf(__('Phone: %s'), $field10) . "\r\n";
    	$message .= sprintf(__('Fax: %s'), $field11) . "\r\n";
    	$message .= sprintf(__('Relationship: %s'), $field12) . "\r\n";
    	$message .= sprintf(__('Interest: %s'), $field13) . "\r\n";
    
    	@wp_mail(get_option('admin_email'), sprintf(__('[%s] New User Registration'), $blogname), $message);
    
    	if ( empty($plaintext_pass) )
    		return;
    
    	$message  = sprintf(__('Username: %s'), $user->user_login) . "\r\n";
    	$message .= sprintf(__('Password: %s'), $plaintext_pass) . "\r\n";
    	$message .= wp_login_url() . "\r\n";
    
    	wp_mail($user->user_email, sprintf(__('[%s] Your username and password'), $blogname), $message);
     
         }
    }
     

    Please help.

    Thank you so much

    Dennis

    #272745
    Venutius
    Moderator

    That’s wierd, I did post a reply, now it’s gone.

    Here it is again:

    function venutius_change_profile_settings_edit_tab() {
    
    	if( bp_is_active( 'xprofile' ) ) :
    
    	$access        = bp_core_can_edit_settings();
    	$slug          = bp_get_settings_slug();
    
    	$args = array(
    		'parent_slug'     => $slug,
    		'subnav_slug'	  => $slug . '/notifications/',
    		'screen_function' => 'bp_settings_screen_notification',
    		'user_has_access' => $access
    		);
     
    	bp_core_new_nav_default( $args );
    
    	bp_core_remove_subnav_item( 'settings', 'general' );
    
    	endif;
    
    }
    add_action( 'bp_actions', 'venutius_change_profile_settings_edit_tab' );
    #272606

    In reply to: Email solution

    Varun Dubey
    Participant

    @mrditt
    You can switch in real time.
    Mailgun will send email sent to WordPress or any other plugins including BuddyPress.
    Mailgun has a free slot and paid stot, based on usages you can increase your plan.
    When someone sends a message to Adam (just random username), Adam will get an email notification as well.

    You can find the doc here https://codex.buddypress.org/emails/
    It will help you disable all bp emails, alter them and disable some emails based on their actions.

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