Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 176 through 200 (of 1,091 total)
  • Author
    Search Results
  • #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.

    phucitol
    Participant

    I’ve been using bp_notifications_add_notification to add a notification with “component_action”=”activity_liked” for component_name activity. I can see that it is being saved in the database, but when I try to display an entry for it in the notifications view it seems that my callback function never runs. Every example I’ve found online has mirrored my function but it never seems to be called. Do I need to register the component_action or something?

    I’ve looked in the buddypress core files and they all seem to pass 8 parameters instead of 5 during apply_filters_ref_array, which I also tried but still my callback wouldn’t run. I’ve tried it every way with no other plugins but buddypress activated and still it fails.

    I’m truly lost on how to get this working.

    function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    	// New custom notifications
    	if ( $action == 'activity_liked') {
    
    		$custom_title = 'activity liked';
    		$custom_link  = '/activity/' . $item_id . '/';
    		$custom_text = bp_core_get_user_displayname( $secondary_item_id ) . ' liked your activity';
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( 'custom_filter', array(
    				'text' => $custom_text,
    				'link' => $custom_link
    			), $custom_link, (int) $total_items, $custom_text, $custom_title );
    		}
    	} else {
    		$return = $action;
    	}
    
    	return $return;
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 );
    #272567

    Topic: Email solution

    in group forum Installing BuddyPress
    mrditt
    Participant

    The buddypress default notifications are causing us to exceed our hosts email limit, and our host is throttling emails which is causing new users not to receive their confirmation email to signup. Someone recommended MailGun but not sure if it will work well integrating into an existing site? Considered using buddypress notification plugin to change defaults on notifications to “no” but don’t want to limit new users email notifications. SendGrid said they don’t have a solutions and recommended MailGun but MailGun seemed to have some issues playing nice with BuddyPress. Your thoughts and ideas would be appreciated, trying not to spend too much $ but also trying not to cause issues with a successful site either. How do you deal with issue of exceeding email allotment on your hosts?

    Searched here and couldn’t find an answer, but if I missed it please direct me to it. Thank you again

    #272517
    Varun Dubey
    Participant

    @demiano You can try following codes inside your child theme functions.php or use code snippet plugin

    
    add_action( 'bp_core_activated_user', 'wb_set_email_notifications_preference');
     
    function wp_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 );
        }
    
    }
    
    kwavewd
    Participant

    So here’s what I have done.

    if I set it like this

    $User_phone = get_userdata($r->user);
    $Worker_phone = get_userdata($r->worker);
    		 
    		$args = array(
    			'user'     => $r->name,
    			'customer_username'=>$customerUser->user_login,
    			'artist_username'=>$artistUser->user_login,
    			'service'  => $appointments->get_service_name( $r->service ),
    			'worker'   => appointments_get_worker_name( $r->worker ),
    			'datetime' => $r->start,
    			'price'    => $r->price,
    			'deposit'  => $appointments->get_deposit( $r->price ),
    			'phone'    => $r->phone,
    			'user_phone'  => $User_phone->user_login,
    			'worker_phone' => $Worker_phone->user_login,
    			'note'     => $r->note,
    			'address'  => $address,
    			'email'    => $email,
    			'city'     => $r->city,
    			'number_of_guest'=>$r->number_of_guest,
    			'travel_type'=>$travel_type,
    			'ID'=>$r->ID
    		);

    and I set USER_PHONE and WORKER_PHONE in my email templates is shows the correct usernames or worker name of each user or worker in the emails so the shortcode setup works it’s just the data on the right .

    so It would seem what need to be changed is this

    'user_phone'  => $User_phone->user_login,
    'worker_phone' => $Worker_phone->user_login,

    but if I change to

    $User_phone->user_login, to $wpdb->get_col(“SELECT value FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 7 AND user_id = $r->ID”),

    you were missing the closing ” and I can’t put ; it has to be , at the end

    it shows no errors just shows blank on the email.

    here is the entire confirmation email template

    <?php
    
    class Appointments_Notifications_Confirmation extends Appointments_Notification {
    
    	/**
    	 * Send confirmation email to customer, admin and worker
    	 *
    	 * @param integer $app_id Appointment ID
    	 *
    	 * @return bool True if emails were sent
    	 */
    	public function send( $app_id ) {
    		$appointments = appointments();
    
    		$app = appointments_get_appointment( $app_id );
    		if ( ! $app ) {
    			return false;
    		}
    
    		$options = appointments_get_options();
    
    		$send_confirmation = 'yes' === $options["send_confirmation"];
    		$send_confirmation = apply_filters( 'appointments_send_confirmation', $send_confirmation, $app_id );
    		if ( ! $send_confirmation ) {
    			return false;
    		}
    
    		$sent_to = array();
    		$customer_email = $app->get_customer_email();
    		$result = $this->customer( $app_id, $customer_email );
    
    		if ( $result ) {
    			$sent_to[] = $customer_email;
    			$admin_email = $appointments->get_admin_email();
    			if ( ! in_array( $admin_email, $sent_to ) && $this->admin( $app_id, $admin_email ) ) {
    				$sent_to[] = $admin_email;
    			}
    
    			$worker_email = $appointments->get_worker_email( $app->worker );
    			if ( ! in_array( $worker_email, $sent_to ) ) {
    				$this->admin( $app_id, $worker_email );
    			}
    
    			return true;
    
    		}
    
    		return $result;
    	}
    
    	/**
    	 * Sends a confirmation email to the customer
    	 *
    	 * @param int $app_id Appointment ID
    	 * @param string $email Email to send to
    	 *
    	 * @return bool True if the email has been sent
    	 */
    	public function customer( $app_id, $email ) {
    		$appointments = appointments();
    
    		$r = appointments_get_appointment( $app_id );
    		if ( ! $r ) {
    			return false;
    		}
    
    		if ( ! is_email( $email ) ) {
    			$this->manager->log( sprintf( __( 'Unable to notify the client about the appointment ID:%s confirmation, stopping.', 'appointments' ), $app_id ) );
    			return false;
    		}
    
    		$template = $this->get_customer_template( $app_id, $email );
    		if ( ! $template ) {
    			return false;
    		}
    
    		$attachments = apply_filters( 'app_confirmation_email_attachments', '', $app_id );
    		$mail_result = wp_mail(
    			$email,
    			$template['subject'],
    			$template['body'],
    			$appointments->message_headers(),
    			$attachments
    		);
    
    		if ( ! $mail_result ) {
    			return false;
    		}
    
    		$this->manager->log( sprintf( __('Confirmation message sent to %s for appointment ID:%s','appointments'), $r->email, $app_id ) );
    
    		do_action( 'app_confirmation_sent', $template['body'], $r, $app_id, $email );
    
    		return true;
    	}
    
    	/**
    	 * Send a confirmation email to admin
    	 *
    	 * @param $app_id
    	 * @param $admin_email
    	 *
    	 * @return bool
    	 */
    	public function admin( $app_id, $admin_email ) {
    		$appointments = appointments();
    
    		$r = appointments_get_appointment( $app_id );
    		if ( ! $r ) {
    			return false;
    		}
    
    		$disable = apply_filters( 'app_confirmation_disable_admin', false, $r, $app_id, $admin_email );
    		if ( $disable ) {
    			return true;
    		}
    
    		if ( ! is_email( $admin_email ) ) {
    			return false;
    		}
    
    		$template = $this->get_admin_template( $app_id );
    
    		if ( ! $template ) {
    			return false;
    		}
    
    		$result =  wp_mail(
    			$admin_email,
    			$template['subject'],
    			$template['body'],
    			$appointments->message_headers()
    		);
    
    		if ( $result ) {
    			do_action( 'appointments_confirmation_admin_sent', $admin_email, $app_id, $template['body'], $template['subject'] );
    		}
    
    		return $result;
    	}
    
    	public function get_admin_template( $app_id ) {
    		global $wpdb;
    		$appointments = appointments();
    
    		$r = appointments_get_appointment( $app_id );
    		if ( ! $r ) {
    			return false;
    		}
    
    		$customer_email = $r->get_customer_email();
    		if ( ! $customer_email ) {
    			return false;
    		}
    		
    		
    
    		/*$provider_add_text  = sprintf( __('A new appointment has been made on %s. Below please find a copy of what has been sent to your client:', 'appointments'), get_option( 'blogname' ) );
    		$provider_add_text .= "\n\n\n";
            
    		$subject = __('New Appointment','appointments');*/
            /*Added by */
            $options = appointments_get_options();
            $subject = $options["confirmation_subject_artist"];
            $provider_add_text = $options['confirmation_message_artist'];
            
             
    
             if($r->travel_type==2){
             	$address=$r->address;
             	$travel_type="Photographer Travel to Me";
             } else {
             	$sql = "SELECT * FROM <code>wppl_friends_locator</code> where member_id=".$r->worker;
    			 
    			$squad=$wpdb->get_results( $sql );
    			
    			if($squad){				
    				$address=$squad[0]->formatted_address;
    			}
    			else{
    				$address="";
    			}
             	$travel_type="Travel to Photographer";
             }
                 $customerUser = get_userdata($r->user);
             $artistUser = get_userdata($r->worker);
    	
    	
    	 
    $User_phone = get_userdata($r->user);
    $Worker_phone = get_userdata($r->worker);
    		 
    		$args = array(
    			'user'     => $r->name,
    			'customer_username'=>$customerUser->user_login,
    			'artist_username'=>$artistUser->user_login,
    			'service'  => $appointments->get_service_name( $r->service ),
    			'worker'   => appointments_get_worker_name( $r->worker ),
    			'datetime' => $r->start,
    			'price'    => $r->price,
    			'deposit'  => $appointments->get_deposit( $r->price ),
    			'phone'    => $r->phone,
    			'user_phone'  => $User_phone->user_login,
    			'worker_phone' => $Worker_phone->user_login,
    			'note'     => $r->note,
    			'address'  => $address,
    			'email'    => $email,
    			'city'     => $r->city,
    			'number_of_guest'=>$r->number_of_guest,
    			'travel_type'=>$travel_type,
    			'ID'=>$r->ID
    		);
    
    		$provider_add_text = $this->replace_placeholders( $provider_add_text, $args, 'confirmation-body', $r );
              /*end Added by */
            
    		$body = $this->get_customer_template( $app_id, $customer_email );
    
    		return array(
    			'subject' => $subject,
    			'body' => $provider_add_text 
    		);
    	}
    
    	public function get_customer_template( $app_id, $email ) {
    		global $wpdb;
    		$appointments = appointments();
    
    		$r = appointments_get_appointment( $app_id );
    		if ( ! $r ) {
    			return false;
    		}
    
    		$options = appointments_get_options();
    		$body = $options['confirmation_message_customer'];
           
             
    
             if($r->travel_type==2){
             	$address=$r->address;
             	$travel_type="Photographer Travel to Me";
             } else {
    			$sql = "SELECT * FROM <code>wppl_friends_locator</code> where member_id=".$r->worker;
    			 
    			$squad=$wpdb->get_results( $sql );
    			
    			if($squad){
    				$address=$squad[0]->formatted_address;
    			}
    			else{
    				$address="";
    			}
             	
             	$travel_type="Travel to Photographer";
             }
              $customerUser = get_userdata($r->user);
             $artistUser = get_userdata($r->worker);
    		 
    		$Worker_phone = get_userdata($r->worker);
    		
    		$args = array(
    			'user'     => $r->name,
    			'customer_username'=>$customerUser->user_login,
    			'artist_username'=>$artistUser->user_login,
    			'service'  => $appointments->get_service_name( $r->service ),
    			'worker'   => appointments_get_worker_name( $r->worker ),
    			'datetime' => $r->start,
    			'price'    => $r->price,
    			'deposit'  => $appointments->get_deposit( $r->price ),
    			'phone'    => $r->phone,
    			'worker_phone'  => $Worker_phone->user_login,
    			'note'     => $r->note,
    			'address'  => $address,
    			'email'    => $email,
    			'city'     => $r->city,
    			'number_of_guest'=>$r->number_of_guest,
    			'travel_type'=>$travel_type,
    			'ID'=>$r->ID
    		);
    
    		$body = $this->replace_placeholders( $body, $args, 'confirmation-body', $r );
    
    		$body = $appointments->add_cancel_link( $body, $app_id );
    		$body = apply_filters( 'app_confirmation_message', $body, $r, $app_id );
    
    		$subject = $options["confirmation_subject_customer"];
    		$subject = $this->replace_placeholders( $subject, $args, 'confirmation-subject', $r );
    
    		return array(
    			'subject' => $subject,
    			'body' => $body
    		);
    	}
    
    }

    thank you again

    kwavewd
    Participant

    I believe the user is is already pulled because we show username, links to profile pages in email template already.

    There is a notification file but I already called USER_PHONE AND WORKER_PHONE. Correctly into this file.

    		$replacement = array(
    			'/\bSITE_NAME\b/U'        => wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ),
    			'/\bCLIENT\b/U'           => $args['user'],
    			'/\bCUSTOMER_USERNAME\b/U'=> $args['customer_username'],
    			'/\bARTIST_USERNAME\b/U'  => $args['artist_username'],
    			'/\bSERVICE_PROVIDER\b/U' => $args['worker'],
    			'/\bSERVICE\b/U'          => preg_replace( '/\$(\d)/', '\\\$$1', $args['service'] ),
    			'/\bDATE_TIME\b/U'        => mysql2date( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), $args['datetime'] ),
    			'/\bORDER_ID\b/U'         => $args['ID'],
    			'/\bTRAVEL_TYPE\b/U'      => $args['travel_type'],
    			'/\bUSER_PHONE\b/U'       => $args['user_phone'],
    			'/\bWORKER_PHONE\b/U'     => $args['worker_phone'],		

    This basically sets the SHORTCODE for use in admin notification email template section.

    I think I also need to add some code to the functions.php file of my theme. I see some other coding in functions.php from my past developer but it may not be related to the notification parts.

    
    $profile_name=xprofile_get_field_data( 'Profile Name' , $user_id );
        if($profile_name!=""){
    		global $wpdb;
    		$query="select * from {$wpdb->prefix}bp_xprofile_data";
    		$phone=$wpdb->get_results($query);
    		if(count($phone)>0){
    			$arr=array();
    			foreach($phone as $service){
    			$arr[]=	$service->ID;
    			$arr2=array(
    				'service_id' => $service->ID,
    				'provider_id' => $user_id,
    				'additional_price' => 0						
    				);
    				
    			$wpdb->insert( "{$wpdb->prefix}app_service_additional_price", $arr2);
    			}

    I don’t understand how we can change this to bp_xprofile_data all I need to call at this point is the phone data id 206 and 7 the field title is Phone.

    This is what I have in my confirmation template but not working error line user phone and worker phone

    $User_phone = get_userdata($r->phoneuser);
    $Worker_phone = get_userdata($r->phoneworker);
    		 
    		$args = array(
    			'user'     => $r->name,
    			'customer_username'=>$customerUser->user_login,
    			'artist_username'=>$artistUser->user_login,
    			'service'  => $appointments->get_service_name( $r->service ),
    			'worker'   => appointments_get_worker_name( $r->worker ),
    			'datetime' => $r->start,
    			'price'    => $r->price,
    			'deposit'  => $appointments->get_deposit( $r->price ),
    			'phone'    => $r->phone,
    			'user_phone'  => $User_phone->user_login,
    			'worker_phone' => $Worker_phone->user_login,
    			'phoneuser' => $wpdb->get_col("SELECT value FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 206 AND user_id = $user_id");
    			'phoneworker' => $wpdb->get_col("SELECT value FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 7 AND user_id = $user_id");	
    			'note'     => $r->note,
    			'address'  => $address,
    			'email'    => $email,
    			'city'     => $r->city,
    			'number_of_guest'=>$r->number_of_guest,
    			'travel_type'=>$travel_type,
    			'ID'=>$r->ID
    		);

    I also tried this which did not show errors but just didn’t work

    $User_phone = $wpdb->get_col("SELECT value FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 206 AND user_id = $user_id");
    $Worker_phone = $wpdb->get_col("SELECT value FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 7 AND user_id = $user_id");		 
    		 
    		$args = array(
    			'user'     => $r->name,
    			'customer_username'=>$customerUser->user_login,
    			'artist_username'=>$artistUser->user_login,
    			'service'  => $appointments->get_service_name( $r->service ),
    			'worker'   => appointments_get_worker_name( $r->worker ),
    			'datetime' => $r->start,
    			'price'    => $r->price,
    			'deposit'  => $appointments->get_deposit( $r->price ),
    			'phone'    => $r->phone,
    			'user_phone'  => $User_phone->user_login,
    			'worker_phone' => $Worker_phone->user_login,
    			'note'     => $r->note,
    			'address'  => $address,
    			'email'    => $email,
    			'city'     => $r->city,
    			'number_of_guest'=>$r->number_of_guest,
    			'travel_type'=>$travel_type,
    			'ID'=>$r->ID
    		);
    #272451
    Venutius
    Moderator

    Hi Glenn,

    I’ve never tried Peepso or Social Engine, so I@m not speaking from a point of balance. I have tried other dedicated hosted platforms such as Ning though so I do have some wider experience.

    I think your issues can be boiled down into two areas: Maintenance, and features.

    Any WordPress site, any site for that matter is going to require maintenance the main question is who does that maintenance, how well is it done and how quickly new issues can be resolved.

    With a WordPress/BuddyPress installation I’d say that the level of maintenance that you yourself have to do (or pay for) is going to be higher than with peepso. Much depends on what features your add to the basic installation, in my experience in general WP and BP updates are solid and cause few issues, it’s usually the other plugins that can cause issues (prime eample recently was a SiteOrigin Page Builder update that wrecked my front page and they did not fix it for several months).

    My expectation with Peepso is that what you sacrifice in the way of variety of options available to you I’d hope that in return the options you do get will be reasonably well integrated with each other and less likely to cause conflicts resulting in feature or site loss that you would need to take a hand in resolving. The downside is if you find there are specific feature you need, or issues that are not getting resolved, you have few alternatives to go to, you may find yourself stuck.

    I once had a paid hosted site costing $50 per month which pretty much ground to halt and the provider refused to see the problem. It made me feel pretty helpless and it was the reason I moved to BuddyPress – I figured the money I saved on hosting I could use to fund feature additions to the basic BP setup.

    Anyway getting back to the point, so I reckon peepso will be less maintenance but with less features, and this brings me on to the second point – features.

    I think it would probably be a good idea to map out exactly which features you want in quite some detail and see how that drives your thoughts. For example you say you want video, would this be you hosting the video files or libraries of YouTube style embeds? Would you need group galleries, user galleries, sitewide gallery etc?

    Here’s what I tend to use:

    Chat – IfyChat – free version limited to 10 concurrent users but an excellent chat engine
    Video/photos/audio – Either MediaPress or rtMedia, rtMedia is more stylish but add-ons are quite expensive.
    Groups/xprofiles, activity, friends – BuddyPress.
    News areas – probably more general workpress based solutions for this, are you thinking RSS feeds from other sites or internal news (could be done with a simple News category?).
    Polls – never really looked at polls, I note there is this – https://themekraft.com/new-plugin-buddypress-polls/ for starters, looks interesting but I’ve not tried it.

    Regarding supporting mobile, BP is coming out with a new theme – BP Nouveau, this has options for vertical menus which I think will be a lot more mobile friendly.

    The bulk of being mobile friendly comes down to the theme you are using and whilst most are responsive these days I personally find that having a mobile responsive theme is not good enough for phones, what I do is run a second mobile specific theme and use a theme switcher to detect and switch themes.

    Another point to bear in mind with BP is that there are a great many plugins that help you choose how your site is going to work, there’s a range of plugins that change the may notifications and email subscriptions work. This is a benefit of BP, but it does also increase the plugin count.

    kwavewd
    Participant

    Hello I’m trying to Call Xprofile Field Data into the Appointments+ notification email

    I have create an xprofile field with id 206 and I am also using WPMU appointments+ Within that there is a email notification template section where you can insert PlaceHolder code to pull the users info into the emails. They have some built in but I need to add a new one

    I have made a new field and want to add USERS_PHONE to the placeholder system.

    this is the code snippet im working in

    $customerUser = get_userdata($r->user);
    $artistUser = get_userdata($r->worker);

    $args = array(
    ‘user’ => $r->name,
    ‘customer_username’=>$customerUser->user_login,
    ‘artist_username’=>$artistUser->user_login,
    ‘service’ => $appointments->get_service_name( $r->service ),
    ‘worker’ => appointments_get_worker_name( $r->worker ),
    ‘datetime’ => $r->start,
    ‘price’ => $r->price,
    ‘deposit’ => $appointments->get_deposit( $r->price ),
    ‘phone’ => $r->phone,
    ‘note’ => $r->note,
    ‘address’ => $address,
    ’email’ => $email,
    ‘city’ => $r->city,
    ‘number_of_guest’=>$r->number_of_guest,
    ‘travel_type’=>$travel_type,
    ‘ID’=>$r->ID
    );

    Now I’ve used <?php echo xprofile_get_field_data(‘206’); ?> and can show the info within a page template but do not know how to make the above code work. My disconnect is how to pull the xprofile data into this snippet and then call the data to show in the email. I will use USERS_PHONE in the email template to call the data

    #272236

    In reply to: Assign Members Page

    baccoeur
    Participant

    Hi

    I have figure it out where the issue is i have checked this 3 components
    PLease see screenshot
    https://prnt.sc/j7k2k1

    So i can now assign my member page
    http://prntscr.com/j7k7uf

    So can you please give easy way instrutions or tutorial?
    On How can i make this Please!

    1.Create Buddypress Community
    *Users can create and update profiles, including the use of profile photos. Site administrators can easily set up the parameters of the user profiles.

    *Users can befriend one another. The site owner can decide what special abilities friends have with regard to one another.

    *Users can send private messages. BuddyBoss comes with a robust private messaging system, similar to that found on Facebook. Users can choose whether or not to receive an email notification when someone sends them a message.

    *Users can form and join groups. Groups can be used for a wide range of functions within the website. Administrators can choose to let their users create and join groups of common interest.

    *Users can follow activity streams. BuddyPress activity streams provide a quick digest of the recent activity going on within a site or with regard to a particular user.

    *Users can create blogs. Capitalizing on the full functionality of WordPress, the most popular blogging platform in the world, BuddyPress gives administrators and users a full-featured online publishing platform.

    *Users can participate in forum discussions. BuddyPress is fully integrated with bbPress, a slick forum system.

    2. Active Login portal with Facebook or Google login credentials.
    3. Active User generated material through BuddyForms or other methods.

    Please advice thank you!

    #272202
    Ermejo
    Participant

    Tnx Vapvarun

    It’s definitely Buddypress as the LMS wasn’t installed a few years ago when I started noticing them

    With the LMS installed now, users cannot see the lessons their profile has these notifications

    Any idea how to fix the issue?

    Regards

    Antonio

    #272157
    Ermejo
    Participant

    Hi
    I have some Fake BuddyPress Notifications that are creating issues on a few functions on my site including the LMS.
    When a user logs in he has hundreds of fake notifications on the top right WP profile
    Until the notifications are there a few links/pages/lessons don’t work as expected.
    As soon as you click on some pages like EDIT MY PROFILE the notifications disappear & everything is fine again.

    Here is a 30 sec video https://youtu.be/8ZFJQ2nJ72g
    Everything is up to date on the site and it happened with a few themes
    Does anybody have the fix?

    Regards
    Antonio

    Oaz
    Participant

    Hello,

    I have a wp + BP installation where users do not get email notifications when a private message is being sent (all other emails notifications are ok).

    What is strange is that I have a clone of this installation where only users and posts are different (same theme and child theme, same plugins…) where the problem does not exist.

    I tried everything I could think about to find out what the problem is : changing theme, desactivating extensions…but to no avail.So I presume there is something wrong in my database ?

    Really don’t know what to try next. Any idea ?

    Thanks for your help

    d d
    Participant

    I’m seeing the pattern now. Even in forums more than a decade old (and before @ mentions became a feature on many sites), people used @username even if it did nothing. This was simply shorthand for getting a specific person’s attention in a thread with many participants.

    Looks as though BuddyPress is trying to be smart and pull these @ mentions from old content and add them to the activity stream. Since it’s a new addition to the activity stream, BuddyPress also thinks it’s new and therefore sends out an email notification. This is why it only affects old members.

    Now… How do stop it?

    Stopping notifications across the board is not a good idea. Even if I do it now and turn it back on later, we’ll never know when an old member might join us again. So really the only solution is to have BuddyPress stop importing old forum posting with the ‘@’ character into a new activity.

    Still open to suggestions. Thanks.

    d d
    Participant

    I had an old WP site that came back to life. It was running phpBB, and I successfully imported everything to bbPress. In the new site, we are also using BuddyPress. Old users are reporting that they are now getting email notifications on replies from forum posts that are many years old.

    After first posting this to the bbPress support forums, I kept digging. The email notifications came from BuddyPress. I initially thought it was bbPress, since it was linked to a forum reply. But apparently, after the old users logged into the new site as themselves again, BuddyPress grabbed the forum replies (even though really old) and added them to the user’s activity stream. The activity stream sees it as a new mention to another member, and that triggered the email notification.

    Ideas and guidance are appreciated.

    studioleland
    Participant

    Hey all,

    I have a custom form that provides member to member emailing for various purposes but I also need to log those messages into the PM system so users can track communications from their Messages inbox component. I see I can trigger this via messages_new_message( $args ) somehow but I don’t want any email notifications to be sent. I do want other BP notifications sent just not PMs from this particular message creation. I’ve seen suggestions of removing the messages_message_send action but won’t that also block the message from being saved. I’ve looked through many threads but haven’t found a clear path. Any assistance here would be amazing.

    #271512
    bumblebeegames
    Participant

    Hiya guys.
    Unfortunately, I am having serious problems with a topic seen here every once in a while. I did go through all the posts I could find and tried half a dozen approaches, but none seems to be working.
    I am adding notifications to a user when someone is requesting access to a post of that user and so far, everything is fine. The notification shows up in the DB with ID, user id, item_id and secondary_id as well as component_name and component_action.
    Now, whenever I receive such a notification, it shows up completely blank.
    This is my code:

    function request_filter_notifications_get_registered_components( $component_names = array() ) {
     
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        }
    
        // Add 'custom' component to registered components array
        array_push( $component_names, 'project-pitches' );
     
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'request_filter_notifications_get_registered_components' );
    
    // Formatting custom with respect to action
    function bp_request_format_buddypress_notifications( $component_action_name, $item_id, $secondary_item_id, $item_count, $format = 'string' ) {
     		
    		if ($component_action_name  !== 'request') {
    			return $component_action_name ;
    		}
    		
    		$link = get_site_url();
    		$returnlink = $link . "/my-projects/";
        	$request_title = "Test"; /*get_the_title($item_id);*/
        	$request_link  = $returnlink;
        	$request_text  = "abc";
    
        // New custom notifications
        if ( 'request' === $component_action_name ) {
            
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'request_filter','Your custom notification for <a href="'.$request_link.'">'.$request_title.'</a> ', $request_text, $request_link );
                $return = "Test";
     
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'request_filter', array(
                    'text' => $request_text,
                    'link' => $request_link
                ), $request_link, (int) $total_items, $request_text, $request_title );
            }
            
            return $return;
            
        }
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'bp_request_format_buddypress_notifications', 10, 5 );

    Any idea what I might be doing wrong here? Thanks a ton, this is driving me nuts!

    #271458
    Michael Ritsch
    Participant

    Hi, i didn’t found any fittings solution for my problem, i hope you can help me out.

    I want to send a private message to one single User from my functions.php. This is just a kind of notification. Inside this message, i want to show two links and style it with some html tags like BR and Strong.. simple things…i thought.

    But then i realized that buddypress filters out everything :/

    $message = ‘This is the test<br>more like that.’;
    $args = array( ‘recipients’ => [$user_teacher], ‘sender_id’ => $user_user, ‘subject’ => ‘Anfrage ‘ . mre_get_full_name($user_user), ‘content’ => $message );

    $sending = messages_new_message( $args );

    I tryed to remove the ‘messages_message_content_before_save’ Filter from inside a bp-custom.php file and also inside of my functions.php… but nothing happens.

    Does someone know a solution for this?

    Wp version: 4.9.4
    Bp version: 2.9.3

Viewing 25 results - 176 through 200 (of 1,091 total)
Skip to toolbar