Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 26 through 50 (of 768 total)
  • Author
    Search Results
  • jgasba
    Participant

    The Codex mentions here that there is a page in Settings > Email but I don’t see it.

    So I have 2 questions : by default, does sending a notice as an admin to all users triggers a mail to be sent?

    And if so where do I configure/disable it? With 40000 users I’d like to be able to notify users but not send a load of email spam.

    #330688
    sx1001
    Participant

    Hi all,
    I want to create a code which sends a mass PM to all my plattform members using messages_new_message:

    Something like that, iterating over all my user ids:

    		$msg = array(
    			'recipients' => [$uid], 
    			'subject' => $subject, 
    			'content' => $content
    		);
    
    		messages_new_message ($msg);

    The downside is: It sends a mail notification to everyone and thus, it takes quite some time if you execute this code for 1000 members.

    Is there a way to disable a mail notification solely for this single PM message sent?

    Thanks

    #329829
    eluyawi
    Participant

    I have created a new menu called DATA, then when I visit my profile, my MENU appears (DATA, MESSAGES, NOTIFICATIONS, SETTINGS, ALERT) but I don’t know how to hide my new menu called DATA, for the following options:

    (a) when I visit a new user profile.
    b) when other users visit my profile.

    Do you know what kind of functions I can use and what files I have to change in BuddyPRess?

    ariseld
    Participant

    I want to disable the notification email that is sent to the admin whenever a user changes his password, which is triggered by: wp_password_change_notification( WP_User $user ).
    I have tried the solutions mentions on https://developer.wordpress.org/reference/functions/wp_password_change_notification/ but none of them worked
    Any idea on how to stop these emails?

    My WordPress version is: 6.2
    BuddyBoss ThemeVersion: 2.2.4

    #329493
    juliacarter11
    Participant

    Creating combined notifications depends on the platform or software you’re using. However, generally, you can create combined notifications by grouping multiple related notifications into a single notification that summarizes the content of the individual notifications. This can help reduce notification clutter and make it easier for users to stay informed without being overwhelmed by too many notifications.

    geepers
    Participant

    I expect this is likely a configuration issue with either our BuddyPress installation, a conflict from another plugin (though it works on staging version), or perhaps a lingering cacheing issue. But looking to find assistance resolving it and willing to consider hired help on this.

    No url to share, as it is a member’s only site (Intranet).

    
    ### wp-core ###
    
    version: 6.1.1
    site_language: en_CA
    user_language: en_CA
    timezone: America/Vancouver
    permalink: /%year%/%monthnum%/%day%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 0
    default_comment_status: open
    environment_type: production
    user_count: 431
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/susyah/public_html
    wordpress_size: 58.81 MB (61669230 bytes)
    uploads_path: /home/susyah/public_html/wp-content/uploads
    uploads_size: 62.25 MB (65272481 bytes)
    themes_path: /home/susyah/public_html/wp-content/themes
    themes_size: 23.15 MB (24279208 bytes)
    plugins_path: /home/susyah/public_html/wp-content/plugins
    plugins_size: 400.27 MB (419712905 bytes)
    database_size: 96.29 MB (100972517 bytes)
    total_size: 640.78 MB (671906341 bytes)
    
    ### wp-dropins (2) ###
    
    advanced-cache.php: true
    maintenance.php: true
    
    ### wp-active-theme ###
    
    name: Kleo Child (kleo-child)
    version: undefined
    author: SeventhQueen
    author_website: http://seventhqueen.com
    parent_theme: Kleo (kleo)
    theme_features: core-block-patterns, widgets-block-editor, editor-style, automatic-feed-links, post-formats, menus, post-thumbnails, html5, featured-content, title-tag, customize-selective-refresh-widgets, responsive-embeds, kleo-facebook-login, kleo-mega-menu, kleo-menu-items, bbpress, woocommerce, buddypress-use-nouveau, widgets
    theme_path: /home/susyah/public_html/wp-content/themes/kleo-child
    auto_update: Disabled
    
    ### wp-parent-theme ###
    
    name: Kleo (kleo)
    version: 5.1.2
    author: SeventhQueen
    author_website: https://themeforest.net/user/SeventhQueen
    theme_path: /home/susyah/public_html/wp-content/themes/kleo
    auto_update: Disabled
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled
    
    ### wp-plugins-active (71) ###
    
    Admin Menu Editor Pro: version: 2.18.1, author: Janis Elsts, Auto-updates disabled
    AS Admin Customizer: version: 1.0, author: Andolasoft, Auto-updates disabled
    bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled
    bbp style pack: version: 5.4.1, author: Robin Wilson, Auto-updates disabled
    Better Notifications for WP: version: 1.9.2, author: Made with Fuel, Auto-updates disabled
    Big File Uploads: version: 2.1.1, author: Infinite Uploads, Auto-updates disabled
    BP Profile Search: version: 5.4.8, author: Andrea Tarantini, Auto-updates disabled
    Brozzme Multiple Admin Emails: version: 1.4, author: Benoti, Auto-updates disabled
    BuddyPress: version: 11.1.0, author: The BuddyPress Community, Auto-updates disabled
    BuddyPress Notifications Widget: version: 1.3.2, author: BuddyDev, Auto-updates disabled
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled
    Display Posts: version: 3.0.2, author: Bill Erickson, Auto-updates disabled
    Document Library Pro: version: 1.9.4, author: Barn2 Plugins, Auto-updates disabled
    Duplicate Page: version: 4.5.1, author: mndpsingh287, Auto-updates disabled
    Envato Market: version: 2.0.8, author: Envato, Auto-updates disabled
    Essential Grid: version: 3.0.16, author: ThemePunch, Auto-updates disabled
    FileBird: version: 5.1.4, author: Ninja Team, Auto-updates disabled
    Force Login: version: 5.6.3, author: Kevin Vess, Auto-updates disabled
    GeoDirectory: version: 2.2.25, author: AyeCode - WordPress Business Directory Plugins, Auto-updates disabled
    Image Upload for BBPress: version: 1.1.18, author: Aspen Grove Studios, Auto-updates disabled
    Jetpack: version: 11.9.1, author: Automattic, Auto-updates disabled
    Jetpack Boost: version: 1.7.0, author: Automattic - Jetpack Site Speed team, Auto-updates disabled
    K Elements: version: 5.1.2, author: SeventhQueen, Auto-updates disabled
    K Fonts: version: 1.1.0, author: SeventhQueen, Auto-updates disabled
    Like Button Rating ♥ LikeBtn: version: 2.6.47, author: LikeBtn, Auto-updates disabled
    List Categories: version: 0.4, author: Fernando Briano, Auto-updates disabled
    MainWP Child: version: 4.4.0.1, author: MainWP, Auto-updates disabled
    Manage Notification E-mails: version: 1.8.4, author: Virgial Berveling, Auto-updates disabled
    Media Sync: version: 1.2.9, author: Erol Živina, Auto-updates disabled
    Meta Box: version: 5.6.17, author: MetaBox.io, Auto-updates disabled
    MonsterInsights - Dimensions Addon: version: 2.0.6, author: MonsterInsights Team, Auto-updates disabled
    MonsterInsights - Forms Tracking Addon: version: 2.2.6, author: MonsterInsights Team, Auto-updates disabled
    MonsterInsights - Media Addon: version: 1.0.7, author: MonsterInsights Team, Auto-updates disabled
    MonsterInsights - Page Insights Addon: version: 1.5.2, author: MonsterInsights Team, Auto-updates disabled
    MonsterInsights Pro: version: 8.13.1, author: MonsterInsights, Auto-updates disabled
    Ninja Forms: version: 3.6.20, author: Saturday Drive, Auto-updates disabled
    Page-list: version: 5.3, author: webvitaly, Auto-updates disabled
    Page scroll to id: version: 1.7.7, author: malihu, Auto-updates disabled
    Pages with category and tag: version: 0.9.0, author: YAHMAN, Auto-updates disabled
    Popup Maker: version: 1.18.1, author: Popup Maker, Auto-updates disabled
    Post Slider For Visual Composer: version: 1.1, author: Nasir, Auto-updates disabled
    PublishPress Permissions: version: 3.8.5, author: PublishPress, Auto-updates disabled
    Redirection: version: 5.3.9, author: John Godley, Auto-updates disabled
    rtMedia for WordPress, BuddyPress and bbPress: version: 4.6.13, author: rtCamp, Auto-updates disabled
    SearchWP: version: 4.2.9, author: SearchWP, Auto-updates disabled
    SearchWP bbPress Integration: version: 1.3.1, author: SearchWP, Auto-updates disabled
    SearchWP Custom Results Order: version: 1.3.6, author: SearchWP, Auto-updates disabled
    SearchWP Live Ajax Search: version: 1.7.4, author: SearchWP, LLC, Auto-updates disabled
    SearchWP Shortcodes: version: 1.8.3, author: SearchWP, Auto-updates disabled
    Shortcode in Menus: version: 3.5.1, author: Gagan Deep Singh, Auto-updates disabled
    Site Plugin for susyah.csfs.org: author: (undefined), version: (undefined), Auto-updates disabled
    Social Articles: version: 2.9.5, author: Broobe, Auto-updates disabled
    SQ Sidebar Generator: version: 1.2.2, author: SeventhQueen, Auto-updates disabled
    TablePress: version: 2.0.4, author: Tobias Bäthge, Auto-updates disabled
    The Events Calendar: version: 6.0.10, author: The Events Calendar, Auto-updates disabled
    The Events Calendar: Community Events: version: 4.10.5, author: The Events Calendar, Auto-updates disabled
    The Events Calendar: Filter Bar: version: 5.4.3, author: The Events Calendar, Auto-updates disabled
    The Events Calendar PRO: version: 6.0.9.2, author: The Events Calendar, Auto-updates disabled
    User Role Editor: version: 4.63.3, author: Vladimir Garagulya, Auto-updates disabled
    User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled
    UsersWP: version: 1.2.3.11, author: AyeCode Ltd, Auto-updates disabled
    Wbcom Designs - BuddyPress Member Export Import: version: 1.5.0, author: Wbcom Designs, Auto-updates disabled
    When Last Login: version: 1.2.2, author: Yoohoo Plugins, Auto-updates disabled
    WordPress Toolbar Editor: version: 1.4.2, author: Janis Elsts, Auto-updates disabled
    WP Add Mime Types: version: 3.0.3, author: Kimiya Kitani, Auto-updates disabled
    WPBakery Page Builder: version: 6.10.0, author: Michael M - WPBakery.com, Auto-updates disabled
    wpDataTables - Tables & Table Charts: version: 2.1.53, author: TMS-Plugins, Auto-updates disabled
    WP Easy Updates: version: 1.1.20, author: AyeCode Ltd, Auto-updates disabled
    WPForms Lite: version: 1.8.0.2, author: WPForms, Auto-updates disabled
    WP Rocket: version: 3.12.5.3, author: WP Media, Auto-updates disabled
    WP SMS: version: 6.1.1, author: VeronaLabs, Auto-updates disabled
    
    ### wp-plugins-inactive (1) ###
    
    Password Protected Categories: version: 2.1.8, author: Barn2 Plugins, Auto-updates disabled
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 MB
    max_file_uploads: 20
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 9.25
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-962.3.2.lve1.5.42.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.4.33 64bit
    php_sapi: litespeed
    max_input_variables: 10000
    time_limit: 360
    memory_limit: 2048M
    max_input_time: 360
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.84.0 OpenSSL/1.1.1p
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.7.41
    client_version: mysqlnd 7.4.33
    max_allowed_packet: 268435456
    max_connections: 250
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/susyah/public_html/wp-content
    WP_PLUGIN_DIR: /home/susyah/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 1024M
    WP_MAX_MEMORY_LIMIT: 2048M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: true
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    0: Writable
    
    ### jetpack ###
    
    site_id: 212215713
    ssl_cert: No
    time_diff: 2
    version_option: 11.9.1:1678828073
    old_version: 11.9:1678301680
    public: Public
    master_user: #1 ConceptDesign
    current_user: #1 ConceptDesign
    tokens_set: Blog User
    blog_token: P8&fk$QOWUjx^E0IRR3qiHSD*VPExwHg
    user_token: bvJ0#WWGEoaVgl@fq*KX$BqCk5YW7Si1
    version: 11.9.1
    jp_plugin_dir: /home/susyah/public_html/wp-content/plugins/jetpack/
    plan: free
    protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false}
    full_sync: {"started":"Tue, 08 Nov 2022 19:26:26 +0000","finished":"Tue, 08 Nov 2022 19:31:21 +0000","progress":{"comments":{"total":"5","sent":5,"finished":true,"last_sent":"3"},"constants":{"finished":true},"functions":{"finished":true},"options":{"finished":true},"posts":{"total":"3647","sent":3647,"finished":true,"last_sent":"2"},"term_relationships":{"total":"3115","sent":3115,"finished":true,"last_sent":{"object_id":"1","term_taxonomy_id":"270"}},"terms":{"total":"398","sent":398,"finished":true,"last_sent":"1"},"themes":{"finished":true},"updates":{"finished":true},"users":{"total":"83","sent":83,"finished":true,"last_sent":"1"}},"config":{"comments":1,"constants":1,"functions":1,"options":1,"posts":1,"term_relationships":1,"terms":1,"themes":1,"updates":1,"users":1}}
    sync_size: undefined
    sync_lag: 0 seconds
    full_sync_size: undefined
    full_sync_lag: 0 seconds
    idc_urls: {"home":"https:\/\/susyah.csfs.org","siteurl":"https:\/\/susyah.csfs.org","WP_HOME":"","WP_SITEURL":""}
    idc_error_option: false
    idc_optin: true
    cxn_tests: All Pass.
    
    ### buddypress ###
    
    version: 11.1.0
    active_components: Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups
    template_pack: BuddyPress Nouveau 11.1.0
    ! hide-loggedout-adminbar: No
    ! bp-disable-account-deletion: No
    ! bp-disable-avatar-uploads: Yes
    ! bp-disable-cover-image-uploads: Yes
    bp-enable-members-invitations: No
    bp-enable-membership-requests: No
    ! bp-disable-profile-sync: Yes
    ! bp_restrict_group_creation: No
    ! bp-disable-group-avatar-uploads: Yes
    ! bp-disable-group-cover-image-uploads: Yes
    ! bp-disable-blogforum-comments: Yes
    _bp_enable_heartbeat_refresh: Yes
    
    ### redux-framework ###
    
    version: 4.3.12
    installation: in_plugin
    data directory: /home/susyah/public_html/wp-content/plugins/k-elements/lib/options/
    browser: 
    	Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0
    	Browser: Firefox
    	Version: 112.0
    	Platform: Apple
    
    ### redux-instance-kleo_kleo_child ###
    
    opt_name: kleo_kleo_child
    global_variable: false
    dev_mode: false
    ajax_save: false
    page_slug: kleo_options
    page_permissions: manage_options
    menu_type: menu
    page_parent: themes.php
    compiler: false
    output: false
    output_tag: true
    templates_path: undefined
    extensions: 
    	Customizer: 4.0.0
    	Import Export: 4.0.0
    	Metaboxes: 4.0.0
    	Options Object: 4.0.0
    	Repeater: 4.3.7
    	Search: 3.4.5
    	Shortcodes: 4.3.5
    
    ### wpforms ###
    
    version: 1.8.0.2
    lite: Nov 14, 2022 @ 5:41pm
    upload_dir: Writable
    total_forms: undefined
    total_submissions: undefined
    
    ### bp-profile-search ###
    
    version: 5.4.8
    platform: BuddyPress 11.1.0
    theme: Kleo Child 
    index: /plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/index.php
    loop: /plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/members-loop.php
    template0: /themes/kleo/buddypress-nouveau/members/bps-form-legacy.php
    template1: /themes/kleo/buddypress-nouveau/members/bps-form-inline.php
    template2: /themes/kleo/buddypress-nouveau/members/bps-form-with-labels.php
    
    
    #328155
    wackao
    Participant

    Heads up ! BP is currently not compatible with PHP 8.2

    Deprecated: Creation of dynamic property BP_Members_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_invitations is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_last_activity is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_optouts is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_signups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$nav is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 213
    
    Deprecated: Creation of dynamic property BP_Members_Component::$invitations is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 232
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_data is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_groups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_fields is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Friends_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Friends_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Friends_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_members is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_groupmeta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_notices is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_messages is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_recipients is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Notifications_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Settings_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Course_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$actions is deprecated in wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 350
    
    Deprecated: Creation of dynamic property MemberTypes_Custom_Field::$bp_get_member_type_tax_name is deprecated in wp-content/plugins/vibebp/includes/class.membertypes.from.fields.php on line 29
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$capability is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 109
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$user_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 115
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$current_user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 118
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 121
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$is_self_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 124
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$screen_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 127
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$stats_metabox is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 130
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_args is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 133
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 134
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$edit_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 135
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$users_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 138
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$signups_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 139
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$users_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 140
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$users_screen is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 141
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$members_invites_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 143
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$subsite_activated is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 146
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$tools_parent is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 160
    
    Deprecated: Creation of dynamic property BP_Members_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 78
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php on line 38
    Pynet
    Participant

    Hello,
    I am trying to create my own notification, but it is not working.
    The notification should not be for the author of the post, but for whoever is assigned as client “_sliced_client”, which is stored in the postmeta table in the database and returns the client id.
    Wordpress version: 6.1.1
    BuddyPress version: 10.6.0

    <?php 
    // this is to add a fake component to BuddyPress. A registered component is needed to add notifications
    function custom_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, 'propre' );
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' );
    // this gets the saved item id, compiles some data and then displays the notification
    function custom_format_buddypress_notifications(  $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
        // New custom notifications
        if ( 'propre_action' === $action ) {
    
            $post = get_post( $item_id );
    		//
            $custom_title = $post->post_author . ' add a quote for you' . get_the_title( $item_id );
            $custom_link  = get_permalink( $post );
            $custom_text = $post->post_author . ' add a quote for you ' . get_the_title( $item_id );
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'propre_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( 'propre_filter', 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', 'custom_format_buddypress_notifications', 10, 5 );
    
    // this hooks to post creation and saves the post id
    function bp_custom_add_notification( $post_id, $post ) {
        if ( $post->post_type == 'sliced_quote' ) {
            $post = get_post( $post_id );
    		$client_id= get_post_meta($post_id, '_sliced_client');
            $author_id = $post->post_author;
            bp_notifications_add_notification( array(
                'user_id'           => $client_id,
                'item_id'           => $post_id,
                'component_name'    => 'propre',
                'component_action'  => 'propre_action',
                'date_notified'     => bp_core_current_time(),
                'is_new'            => 1,
            ) );
        }   
    }
    add_action( 'wp_insert_post', 'bp_custom_add_notification', 99, 2 );

    Any ideas?
    Thank you very much!
    Regards and happy new year!

    #327311
    scottmotion
    Participant

    Full hijack the authentication flow (Login/Logout/Register/Forgot/Wrong/All Other): End user should never land on a WP login page. I have a mix of BP, bbp, and WP login pages depending on how the user interacts.

    reCAPTCHA during Registration: Should be core. Had to get the plugin from WBCom Designs

    Extended Profile Fields: Should be core. Had to get the plugin from BuddyDev

    User Menu: Username and Avatar. Conditional menu items. I had to use the “User Menus” plugin by Code Atlantic

    Use the username as display name: Had to code this myself.

    Disable Full Name field: Custom code again.

    Set default notification preferences: More code.

    Remove specific accounts from public member list: Really want to hide the admin! More code.

    Remove tabs from user profile: More code.

    Redirect WP Author to BP Profile: teh codez.

    t.schwarz
    Participant

    Hi,

    I have a custom email notification with a custom action (based on this article – https://codex.buddypress.org/emails/custom-emails/ ), and it’s working, but it doesn’t currently allow the user to subscribe to or unsubscribe from the custom email nortification.

    I would like to add this custom notification as an option in the email notification settings form in the member profile, and I would then want to use those settings in the send-function of the email.

    I’ve been searching the web and forums forever and couldn’t find much helpful information about how to achieve this.

    It seems there is a registration mechanism, as there are plugins that offer to override user preferences, and there are functions that sound like they have something to do with this mechanism, like – bp_nouveau_member_email_notice_settings(). But I couldn’t find any document that actually helped me register the custom email notification or explain how to access that information prior to sending the mail.

    Maybe someone here can help? Thanks a lot for any idea!

    pixieblitz
    Participant

    Hi! I’m trying to set up a network with a twist and I’d really appreciate any pointers 🙂

    I want everything anyone posts/comments/stars/etc on the site to remain invisible at first. I’m still on the fence between:

    1) User interactions all become visible X hours after they were initially posted or
    2) User interactions all become visible at the next 8AM localtime that’s at least X hours after the initial post.

    I’m not sure how to implement this thoroughly. My first though was to add child template modifications that check the timestamp and only display the content after the cutoff for each loop, but would this be massively inefficient? And how would I ensure that all email notifications about posts are delayed, but without delaying ALL emails so that password resets and other admin stuff still goes through instantly?

    I hope this makes some sense, and thank you for any ideas or pointers!!!

    Luca

    #326657
    Gomle
    Participant

    Hello, and thank you for all the great work!

    I have been using WordPress for about 15 years. I started my first online community in 2008.
    I then chose not to use Buddypress, because at the time it was fine with a forum. Facebook hadn’t invented its activity wall yet, and people didn’t expect too much.

    Now in 2022 I am in the process of re-launching this old online community again, after it has been dead for a number of years. (Mostly because Facebook arrived)
    Meanwhile, I’ve been using WordPress & Woocommerce a lot – last couple of years – with Gutenberg and Blocks. An absolutely fantastic solution to a lot of problems!

    If you use WordPress, it’s because you can do something yourself, but you can’t do everything.

    I was therefore really looking forward to getting started with Buddypress in relation to the relaunch I’m about to start, but I was a little disappointed when I saw that it is not at all possible to use gutenberg to style the absolutely required pages. For example Register, Profile, Members, Activity etc.

    I think many who now use WordPress are people who want to own their own information, have 100% control, and to shape something themselves out of their own creativity. They may have some knowledge, but not always enough to do programming, or to go deep into css and theme design etc. They don’t have time for that either.

    Gutenberg blocks are therefore the perfect bridge between those who know a LITTLE, but need the help of software to do the rest, and who want to create something quickly.
    I think there are many of us..

    Wordpress scores highly here with blocks and easy solutions.

    You can now use Kadence Theme + Gutenberg blocks to create almost anything you want.

    I’m not a programmer myself, but I own a couple of companies. Much of the joy is being able to create something, see it being used, make it work – and I can do that by using blocks.

    I’ve gone back and forth between Buddypress and Buddyboss, after I realized that Buddypress doesn’t yet have this functionality and tried to think what I really want.
    With Buddyboss, I get a great theme, and it has all the functionality I need – but I’m completely locked into just that. Also, I’m not very impressed with companies that take credit for a product that was originally created by someone else. That is why I prefer to use Buddypress, and I also see Buddypress as the authority here.

    I think you Buddypress developers will be able to deliver something more in the future, than what I expect from a company working with a product not originally made by themselves.

    But still I see it difficult using Buddypress as it would turn out to be much more expensive, since I have to contact someone at upWork to do it the way I want it.
    To many people it would be more logical to pay a couple of hundred dollars to be able to start tomorrow.

    So my contribution to the discussion is perhaps not a secret: Make buddypress elements ready to use as blocks. And make sure to market it as a “point and click system with Gutenberg”

    Additionally, specifically for my online community, I will need:
    – Forums
    – Private messaging
    – Notification system
    – Nice looking user profiles
    – Speedy site
    – Friends
    – Follow friends
    – Moderation system for both community and forums.

    bonheurenvrac
    Participant

    Hello,

    We’ve set up a forum with moderation on all new users on our website. We would now want to change the email recipient of the notification that is sent to all admins when someone ask to register to the forums. Is it possible to setup only one email address for this?

    Can someone help us on how to do so? We did not find any way to change this in the emails settings.

    Maybe we need to add a code snippet in our child theme’s functions.php file?

    Please advise.

    Thank you,

    Francis

    bonheurenvrac
    Participant

    Hello,

    We’re having an issue with users being automatically allowed in forums if an already approved member invited them.

    Besides removing the invitation link from the notification email, is there another solution to avoid these users from being automatically approved when registering using the custom registration link?

    Our actual configuration is to disallow everyone from registering in WP General settings, and then checking invitations and membership requests in the Buddypress Options Settings.

    Thank you for your help,

    Frank

    #325389

    Good afternoon. I have my own small community based on buddypress and bbpress. I want to add a push notification feature to my community. That is, I want users to be able to receive not only messages by mail from buddypress, but also push notifications, but I can not find a free and updated plugin. All the plugins that I find on the Internet have either not been updated for a long time, or do not have Russian language support, or they are paid and require api keys of external services. Could you please suggest me some good and free push notification plugin? Thanks.

    maustingraphics82
    Participant

    I’m trying to get groups_join_group to work when submitting a gravity form to create a user. All other fields are attached but they are not joining the group. This worked in 9.0

    Issue:

    
    // Create a new user
    		$new_user_id = wp_insert_user( $userdata );
    
    		// GFCommon::log_debug( __METHOD__ . '(): form => ' . print_r( $birthdate, true ) );
    
    		if ( ! is_wp_error( $new_user_id ) ) {
    			groups_join_group( $group_id, $new_user_id );
    

    Full code:

    add_action( 'gform_after_submission', 'add_member_gform_handle', 10, 2 );
    function add_member_gform_handle( $entry, $form ) {
    	if ( $form['title'] === 'Add Member' ) {
    		$fields     = $form['fields'];
    		$first_name = rgar( $entry, '1' );
    		$last_name  = rgar( $entry, '2' );
    		$login      = rgar( $entry, '3' );
    		$password   = rgar( $entry, '4' );
    		$email 	    = rgar( $entry, '5' );
    		$group_id   = rgar( $entry, '6' );
    		$role       = rgar( $entry, '11' );
    		$notification = rgar( $entry, '9.1' );
    		$birthdate = rgar( $entry, '10' );
    
    		$userdata = array(
    			'user_login' => $login,
    			'user_pass' => $password,
    		);
    
    		if ( ! empty( $first_name ) ) {
    			$userdata['first_name'] = $first_name;
    		}
    		if ( ! empty( $last_name ) ) {
    			$userdata['last_name'] = $last_name;
    		}
    		if ( ! empty( $email ) ) {
    			$userdata['user_email'] = $email;
    		}
    		if ( ! empty( $role ) ) {
    			$userdata['role'] = $role;
    		}
    
    		// Create a new user
    		$new_user_id = wp_insert_user( $userdata );
    
    		// GFCommon::log_debug( __METHOD__ . '(): form => ' . print_r( $birthdate, true ) );
    
    		if ( ! is_wp_error( $new_user_id ) ) {
    			groups_join_group( $group_id, $new_user_id );
    
    			// Make the user displayed as a staff on a clubhouse page
    			
    
    			if ( ! empty( $notification ) ) {
    				tml_send_new_user_notifications( $new_user_id, 'both' );
    			}
    
    			if ( ! empty( $birthdate ) ) {
    				$date = DateTime::createFromFormat('Y-m-d', $birthdate);
    				$date = $date->format('Ymd');
    
    				update_field('user_birthdate', $date, 'user_' . $new_user_id);
    			}
    		}
    
    		// Delete form entry
    		// GFAPI::delete_entry( $entry['id'] );
    	}
    }
    
    #324238
    maustingraphics82
    Participant

    I think the issue is within this part of the code but posted everything in the message above.

    // Create a new user
    		$new_user_id = wp_insert_user( $userdata );
    
    		// GFCommon::log_debug( __METHOD__ . '(): form => ' . print_r( $birthdate, true ) );
    
    		if ( ! is_wp_error( $new_user_id ) ) {
    			groups_join_group( $group_id, $new_user_id );
    
    			// Make the user displayed as a staff on a clubhouse page
    			if ( $role === 'staff' ) {
    				$group_ids =  groups_get_user_groups( $new_user_id );
    				$group = groups_get_group( array( 'group_id' => $group_ids['groups'][0]) );
    				$group_id = $group->id;
    				groups_promote_member( $new_user_id, $group_id, 'admin' );
    			} else {
    				groups_demote_member( $new_user_id, $group_id );
    			}
    
    			if ( ! empty( $notification ) ) {
    				tml_send_new_user_notifications( $new_user_id, 'both' );
    			}
    
    			if ( ! empty( $birthdate ) ) {
    				$date = DateTime::createFromFormat('Y-m-d', $birthdate);
    				$date = $date->format('Ymd');
    
    				update_field('user_birthdate', $date, 'user_' . $new_user_id);
    			}
    		}
    maustingraphics82
    Participant

    I use gravity forms to create a new user from a groups tab and assign them to a group, based on the group that the group admin is adding them from. This was working just fine in BuddyPress version 8.0 but since upgrading to 10 it is no longer working. What am I missing?

    /**
     *  Add member form handler. This form is currently located under the Group Information tab
     */
    add_action( 'gform_after_submission', 'add_member_gform_handle', 10, 2 );
    function add_member_gform_handle( $entry, $form ) {
    	if ( $form['title'] === 'Add Member' ) {
    		$fields     = $form['fields'];
    		$first_name = rgar( $entry, '1' );
    		$last_name  = rgar( $entry, '2' );
    		$login      = rgar( $entry, '3' );
    		$password   = rgar( $entry, '4' );
    		$email 	    = rgar( $entry, '5' );
    		$group_id   = rgar( $entry, '6' );
    		$role       = rgar( $entry, '11' );
    		$notification = rgar( $entry, '9.1' );
    		$birthdate = rgar( $entry, '10' );
    
    		$userdata = array(
    			'user_login' => $login,
    			'user_pass' => $password,
    		);
    
    		if ( ! empty( $first_name ) ) {
    			$userdata['first_name'] = $first_name;
    		}
    		if ( ! empty( $last_name ) ) {
    			$userdata['last_name'] = $last_name;
    		}
    		if ( ! empty( $email ) ) {
    			$userdata['user_email'] = $email;
    		}
    		if ( ! empty( $role ) ) {
    			$userdata['role'] = $role;
    		}
    
    		// Create a new user
    		$new_user_id = wp_insert_user( $userdata );
    
    		// GFCommon::log_debug( __METHOD__ . '(): form => ' . print_r( $birthdate, true ) );
    
    		if ( ! is_wp_error( $new_user_id ) ) {
    			groups_join_group( $group_id, $new_user_id );
    
    			// Make the user displayed as a staff on a clubhouse page
    			if ( $role === 'staff' ) {
    				$group_ids =  groups_get_user_groups( $new_user_id );
    				$group = groups_get_group( array( 'group_id' => $group_ids['groups'][0]) );
    				$group_id = $group->id;
    				groups_promote_member( $new_user_id, $group_id, 'admin' );
    			} else {
    				groups_demote_member( $new_user_id, $group_id );
    			}
    
    			if ( ! empty( $notification ) ) {
    				tml_send_new_user_notifications( $new_user_id, 'both' );
    			}
    
    			if ( ! empty( $birthdate ) ) {
    				$date = DateTime::createFromFormat('Y-m-d', $birthdate);
    				$date = $date->format('Ymd');
    
    				update_field('user_birthdate', $date, 'user_' . $new_user_id);
    			}
    		}
    
    		// Delete form entry
    		// GFAPI::delete_entry( $entry['id'] );
    	}
    }
    
    /**
     * Add Member form validation
     */
    add_filter( "gform_validation_$clubnet_add_member_form_id", 'add_member_form_validation' );
    function add_member_form_validation( $validation_result ) {
    	$form = $validation_result['form'];
    	$login = rgpost( 'input_3' );
    	$email = rgpost( 'input_5' );
    	$send_notificaton = rgpost( 'input_9_1' );
     
        if ( ! empty( $login ) && get_user_by( 'login', $login ) ) {
            $validation_result['is_valid'] = false;
     
            //finding Field with ID and marking it as failed validation
            foreach( $form['fields'] as &$field ) {
                if ( $field->id == '3' ) {
                    $field->failed_validation = true;
                    $field->validation_message = 'The user with this login already exists.';
                    break;
                }
            } // foreach
        }
    
    	if ( ! empty( $email ) && get_user_by( 'email', $email ) ) {
            $validation_result['is_valid'] = false;
     
            //finding Field with ID and marking it as failed validation
            foreach( $form['fields'] as &$field ) {
                if ( $field->id == '5' ) {
                    $field->failed_validation = true;
                    $field->validation_message = 'The user with this email already exists.';
                    break;
                }
            } // foreach
        }
    
    	// GFCommon::log_debug( 'VALIDATION' . __METHOD__ . '(): form => ' . print_r( 'Empty', true ) );
    	// Email is required if we requested to send a email about user's account
    	if ( ! empty( $send_notificaton ) && empty( $email ) ) {
    		$validation_result['is_valid'] = false;
            //finding Field with ID and marking it as failed validation
            foreach( $form['fields'] as &$field ) {
    			if ( $field->id == '5' ) {
                    $field->failed_validation = true;
                    $field->validation_message = 'Email is required since you requested to send an email.';
                    break;
                }
            } // foreach
    	}
     
        //Assign modified $form object back to the validation result
        $validation_result['form'] = $form;
        return $validation_result;
    }
    
    /**
     * Role field
     */
    add_action( 'init', 'clubnet_add_role_field' );
    function clubnet_add_role_field( $form ) {
    	global $wp_roles;
    	global $clubnet_add_member_form_id;
    
        $all_roles = $wp_roles->roles;
        // $editable_roles = apply_filters('editable_roles', $all_roles);
    	// $roles_to_skip = array( 'administrator' );
    	$editable_roles = $all_roles;
    	$roles_to_display = array( 'mentor', 'member', 'youth_leader', 'alumni', 'staff' );
    	$choices = array();
    
    	foreach ( $editable_roles as $role => $role_data ) {
    		if ( ! in_array( $role, $roles_to_display ) ) {
    			continue;
    		}
    
    		$choice = array(
    			'text' => $role_data['name'],
    			'value' => $role
    		);
    
    		array_push( $choices, $choice );
    	}
    
    	// Reorder to make member role first
    	usort( $choices, function( $choice ) {
    		if ( $choice['text'] === 'Member' ) {
    			return -1;
    		}
    
    		return 1;
    	} );
    
    	$form = GFAPI::get_form( $clubnet_add_member_form_id );
    	
    	if ( ! $form ) {
    		return;
    	}
    
    	$label = 'User Role';
    	$field_idx = -1;
    	$field_id = -1;
    
    	foreach ($form['fields'] as $idx => $field) {
    		if ( $field->label === $label ) {
    			$field_idx = $idx;
    			$field_id  = $field->id;
    		}
    	}
    
    	if ( $field_idx === -1 ) {
    		$field_id = GFFormsModel::get_next_field_id( $form['fields'] );
    	}
    
    	$props = array( 
    		'id' => $field_id,
    		'label' => $label,
    		'type' => 'select',
    		'choices' => $choices,
    	); 
    
    	if ( $field_idx === -1 ) {
    		$field = GF_Fields::create( $props );
    		$form['fields'][] = $field;
    		GFAPI::update_form( $form );
    	} else if ( $form['fields'][$field_idx]->choices !== $choices ) {
    		$field = GF_Fields::create( $props );
    		$form['fields'][$field_idx] = $field;
    		GFAPI::update_form( $form );
    	}
    }
    
    #324110

    In reply to: Database Errors

    Mike Witt
    Participant

    @shanebp – OK, I finally figured out how to replicate the error.

    Wordpress 5.9.2
    Twenty Twenty-Two Version: 1.1
    BuddyPress 10.2.0 (Nouveau)
    And some other plug-ins, including MemberPress and bbPress

    (1) Send two private messages to someone.
    (2) That person clicks on one of the notification, and the error happens
    Sometimes it happens if the recipient just refreshes their profile (and hence the notifications)

    Note: There need to be multiple private message notifications. If there’s just one notification the error doesn’t appear to happen.

    The error looks a bit different with BP Nouveau:

    [31-Mar-2022 17:41:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND user_id = 2 AND component_name = 'messages' AND component_action = 'new...' at line 1 for query UPDATE wp_bp_notifications SET is_new = 0 WHERE item_id IN () AND user_id = 2 AND component_name = 'messages' AND component_action = 'new_message' made by do_action('wp_ajax_messages_get_thread_messages'), WP_Hook->do_action, WP_Hook->apply_filters, bp_nouveau_ajax_get_thread_messages, bp_thread_the_message, BP_Messages_Thread_Template->the_message, do_action('thread_loop_start'), WP_Hook->do_action, WP_Hook->apply_filters, bp_messages_screen_conversation_mark_notifications, bp_notifications_mark_notifications_by_item_ids, BP_Notifications_Notification::update_id_list

    #324036

    In reply to: Database Errors

    Mike Witt
    Participant

    @shanebp, I have a bit more information, and I wonder if you could possibly take another look?

    (1) I was wrong about the error being related to a bbPress closed topic. That turned out to be just a coincidence. It’s happened several more times now, and actually the times don’t line up with any posts or replies that I can find.

    (2) I’ve checked with bbPress and GeneratePress. Nobody can find any reason to think it’s related to bbP. GP tech support said that generatepress is in the error log only because the SQL request is being run inside the GP template, page.php, and GeneratePress doesn’t have any code that affects SQL requests. GP support believes that something called “bp_replace_the_content” is involved (for whatever that’s worth).

    (3) It’s only happened since I updated to BP 10.1.0, however I never updated to 10.0.0 so 10.1.0 was my first update to BP 10.

    (4) The update that gets the error is always:

    UPDATE wp_bp_notifications SET is_new = 0 WHERE item_id IN () AND user_id = 1492 AND component_name = ‘messages’ AND component_action = ‘new_message’

    (With different user_ids or course) I assume the problem it the empty IN (), right?

    (5) I haven’t been able to think of any way to attempt to reproduce the error.

    Any ideas at all would be much appreciated!

    Mike

    bigtinydesigns
    Participant

    Hi,

    WordPress Version 5.9.2
    Theme: MagicVersion: 1.10.0 By Bdaia
    Website: miComunidad.com

    When I install the BuddyPress.10.2.0 I get these errors:

    WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_notifications' doesn't exist]
    SELECT COUNT(*) FROM wp_wkkr_bp_notifications n WHERE user_id IN (1) AND component_name IN ('xprofile','friends','messages','activity','groups','members') AND is_new = 1
    
    WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_messages_recipients' doesn't exist]
    SELECT SUM(unread_count) FROM wp_wkkr_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0
    
    WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_friends' doesn't exist]
    SELECT id FROM wp_wkkr_bp_friends WHERE (initiator_user_id = 1 OR friend_user_id = 1) ORDER BY date_created DESC
    
    WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_invitations' doesn't exist]
    SELECT DISTINCT i.item_id FROM wp_wkkr_bp_invitations i WHERE user_id IN (1) AND class IN ('bp_groups_invitation_manager') AND type = 'invite' AND invite_sent = 1 AND accepted = 0
    
    WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_groups' doesn't exist]
    SELECT DISTINCT g.id FROM wp_wkkr_bp_groups g WHERE g.id IN (0) ORDER BY g.date_created DESC
    
    WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_groups' doesn't exist]
    SELECT COUNT(DISTINCT g.id) FROM wp_wkkr_bp_groups g WHERE g.id IN (0)
    
    WordPress database error: [Table 'micomuni_wpcristiana.wp_wkkr_bp_notifications' doesn't exist]
    SELECT id, user_id, item_id, secondary_item_id, component_name, component_action, date_notified, is_new, COUNT(id) as total_count FROM wp_wkkr_bp_notifications n WHERE user_id IN (1) AND component_name IN ('xprofile','friends','messages','activity','groups','members') AND is_new = 1 GROUP BY user_id, component_name, component_action ORDER BY date_notified desc

    How do I create these database tables? Please help?

    Thanks,

    Carlos

    #323944
    Mike Witt
    Participant

    Any advice on debugging the error below?
    WordPress 5.9.2, BuddyPress 10.1.0, bbPress 2.6.9
    (I haven’t upgraded to 10.2.0 yet, but I don’t see any fixes that seems to apply to this.)
    It happens “once in a while” since upgrading to 10.1.0. (Four times since March 9th.)
    It *might* be related to email notifications (mentions?) in a bbPress closed topic.

    [09-Mar-2022 17:13:53 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND user_id = 1348 AND component_name = 'messages' AND component_action = 'new' at line 1 for query UPDATE wp_bp_notifications SET is_new = 0 WHERE item_id IN () AND user_id = 1348 AND component_name = 'messages' AND component_action = 'new_message'
    made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/generatepress/page.php'), generate_do_template_part, get_template_part, locate_template, load_template, require('/themes/generatepress/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, bp_replace_the_content, apply_filters('bp_replace_the_content'), WP_Hook->apply_filters, BP_Members_Theme_Compat->single_dummy_content, bp_buffer_template_part, bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php'), bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages.php'), bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/single.php'), bp_thread_the_message, BP_Messages_Thread_Template->the_message, do_action('thread_loop_start'), WP_Hook->do_action, WP_Hook->apply_filters, bp_messages_screen_conversation_mark_notifications, bp_notifications_mark_notifications_by_item_ids, BP_Notifications_Notification::update_id_list
    Mike Witt
    Participant

    Are there any functions to turn a specific user’s notifications off an on. Something like:
    bp_notification_on( $uid, $type)
    bp_notifications_off( $uid)
    Or something along those lines?

    elitechsavvy
    Participant

    Hi folks,

    I’m troubleshooting why users cannot write on other members’ posts.

    My wall shows a green button but on other members are grayed out.

    These have been my actions so far:

    1. I’ve checked on Activity Settings and is selected. Which I did on/off with no results.
    2. I’ve run the tool options to “repair”
    3. Remove the plugin (Disable/remove)
    4. Install/activate the plugin
    5. All components are active
    6. All options are active
    7. WordPress report – Version 9.1.1
    Active components Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
    8. When inspecting POST grayed button got this line results: <input class=”loading” type=”submit” name=”ac_form_submit” value=”post” disabled=””>
    9. Check WordPress integrity/checksum – reinstall 5.8 FYI
    10. Reboot the server

    So far no luck.

    Any tips/hints will be highly appreciated!

    #321375
    littlebearclaw
    Participant

    Hello, I’m looking for suggestions for the easiest and most reliable way to place a notification bell in the main menu of my website.

    My plan is to use GamiPress to gamify the site to get users involved. There is an integration plugin between GamiPress and the BuddyPress Notification Bell Plugin. My main concern is that this plugin (BuddyPress Notification Bell) has not been updated in a couple of years.

    Can anyone tell me if they think this would work? Do you have any better ideas on how to accomplish what I’m looking for?

    Any help is greatly appreciated.

Viewing 25 results - 26 through 50 (of 768 total)
Skip to toolbar