Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 1 through 25 (of 69,054 total)
  • Author
    Search Results
  • emaralive
    Moderator

    The slug you provided corresponds to the Simple CAPTCHA Alternative with Cloudflare Turnstile plugin.

    The simplest solution is to force BuddyPress to use the standard WordPress login form, this can be accomplished by utilizing the bp_view_no_access_redirect_to_login_screen filter hook with a callback that returns a value of true. A one-liner approach is as follows:

    
    add_filter( 'bp_view_no_access_redirect_to_login_screen', '__return_true' );
    
    emaralive
    Moderator

    You will have to provide more information. BuddyPress doesn’t have an announcement page, are you using a plugin that generates this page and if so, what plugin?, I’m not sure if this is something special or a normal group activity item.

    As to your reference to “BB Forum”, do you mean bbPress or some other plugin and if the latter, what plugin?

    Mirax
    Participant

    Wordpress plugin : simple-cloudflare-turnstile

    I should point out that in the settings for this plugin, the “BuddyPress Register” checkbox is checked. The captcha is also visible on all of my forms (contact, WordPress login, etc.).

    I am looking for a way to add the captcha specifically to the “Members-only area” page.

    #339115
    emaralive
    Moderator

    Thanks for the link and I’m not going to speculate as to why that topic went unanswered. The short of the story is that BuddyPress requires “JavaScript” (JS) to fully function properly, especially when utilizing the BP Nouveau template pack (relies on AJAX – Asynchronous JavaScript and XML). Thus, given the scenario of the short story, it doesn’t make sense to have JS disabled.

    #339114
    lowercase99
    Participant

    Thanks very much for your reply @emaralive. Yes, “subscribe/unsubscribe” functions should work when BuddyPress is activated or deactivated, however in my case they do not. I am using WP (v6.9.1), Highend theme (v1.0.2), bbPress (v2.6.14) and BuddyPress (v14.4.0). The “subscribe/unsubscribe” function does not work with this combination (even with other plugins deactivated). Deactivating BuddyPress allows “Subscribe/Unsubscribe” to work. Changing the theme to Twenty-Twenty Eleven (as you note) allows “Subscribe/Unsubscribe” to work. I’ll attempt to dig into this a little further on other forums. A message that appears similar to my inquiry is https://buddypress.org/support/topic/bbpress-subscribe-button-breaks-when-buddypress-enabled-js-disabled-2/

    #339113
    emaralive
    Moderator

    As far as I can tell, “subscribe/unsubscribe” functions as expected when BuddyPress is activated or deactivated, thus I’m not able to duplicate your claim. Additionally, this was tested in the following environment:

    WordPress: 6.9.1
    BuddyPress: 14.4.0 – activated & deactivated
    bbPress: 2.6.14 – activated
    theme: Twenty Eleven

    No other plugins were activated other than what is indicated above.

    FWIW – engagements.js is responsible for the functioning of the subscription process for bbPress. It could be that this script is not being enqueued due to some other undisclosed factor or, if enqueued, a javascript error caused by a conflict with a theme or other plugin, however, this is just speculation since I am not able, at this time, to duplicate the issue you have described.

    As to:

    I have seen other messages on this topic dating back a number of years but no clear answer

    I’m not aware of such topics within the BuddyPress support forums, could you provide a specific topic with this claim?

    #339112
    lowercase99
    Participant

    I am referring to the “Subscribe” button that appears on ALL my (bbPress) Forums (each with a different URL). Functionality would normally alternate between Subscribe & Unsubscribe depending on User selection. When the BuddyPress plugin is activated, this function no longer works and Users cannot Subscribe or Unsubscribe from a Forum. Deactivating BuddyPress returns the functionality

    An example URL for the Subscribe button from one of the Forums is “/forums/forum/test-forum/?action=bbp_subscribe&object_id=14467&object_type=post&_wpnonce=b8db56e17f’

    Mirax
    Participant

    Hello,

    As my site is French-speaking, I use a custom slug for viewing messages.

    In the slug configuration, for the “Messages” component, I have replaced the slug “view” (in English) with “afficher” (in French).

    This slug is not recognized by the system and does not work, despite the permalinks being recreated, when the message number is specified.

    For example:

    The URL https://expatthailande.com/membres/utilisateurtest4/messages/view/7/ does not display the messages received, whereas https://expatthailande.com/membres/utilisateurtest4/messages/afficher/7/ does.

    I am using BuddyPress version 14.4.0 on WordPress version 6.9.1.

    Thank you for your help. Best regards.

    lowercase99
    Participant

    It seems BuddyPress is disabling the “subscribe/unsubscribe” function in bbPress Forums

    I have seen other messages on this topic dating back a number of years but no clear answer. I presume (hope) there is a relatively simple fix so I am posting this message in the hope a solution will be presented

    #339099
    thinlizzie
    Participant

    As far as I am aware, Buddypress does not have rating stars included as you describe it, so that is likely caused by your theme or another plugin.
    Identify what generates those rating stars and seek assistance there.

    #339097
    thinlizzie
    Participant

    Hi,

    Not sure if this info is useful for you:

    My site …regular WordPress & Buddypress, VPS hosting, normal specs, 20,000 members, can get very busy.
    Groups are not enabled.

    After sitename/activity page loads, there is always an approximately one second delay before the list of activity items loads, 20 at a time.

    Activity items includes new friendships, new user registrations, bbpress new forum topics & replies, user profile updates, profile picture updates.
    Blog posts are not included.

    #339086
    Steve
    Participant

    If however, I use the BuddyPress profile page to change the picture, then the correct image is displayed in the toolbar and wordpress profile page, as well as the buddypress profile.

    #339085
    Steve
    Participant

    I discovered that if I delete the ‘Gravatar’ directory in the WordPress installation, the correct images are picked up by the BuddyPress profile.

    However, the WordPress profile doesn’t show a profile picture, nor does the top bar.
    If I deactivate BuddyPress, then WordPress picks up the Gravatar images correctly.

    Steve

    #339070
    Steve
    Participant

    Hello,

    I’m unable to update the profile picture on a subscriber account.
    When I attempt to upload an image via the BuddyPress profile page, I get the following message:
    ‘An error occurred. Please try again later.’

    No problem with the admin account.

    This is my site:

    Courses


    If you wanted to see this behaviour please create an account by clicking the login link on the menu.

    Once logged in go to:
    https://elearning.netmonics.com/members/admin/profile/
    Then try to add a profile picture.

    WordPress version is 6.9.1.
    Issue still occurs with the twenty twenty five theme installed.

    Any suggestions gratefully received.

    Steve

    #339061
    juliasides
    Participant

    Hi ‘
    I am using BuddyPress ( BP classic) with Media Press . The Galleries component appears in the menu but it not properly linked to a page , so users can not upload or view media correctly and privacy settings dont wprk as expected . Could ypu please advise how correctly link the Galleries component to a page and set up so it functions fully ?
    Thank You

    #339057
    Renato Alves
    Moderator

    Other than the user handbook, already mentioned, trying BuddyPress out is THE BEST way to learn it, IMO. BuddyPress is a complex software with varying features, which allows for multiple use cases.

    #339056
    indigetal
    Participant
    indigetal
    Participant

    I have now created 2 more tickets in addition to this one: #9239, “Add filter hook to bp_email_get_type_schema()” and #9237, “Add privacy column to bp_activity for per-item visibility control.”

    I am a BuddyBoss user who has developed several BuddyBoss-related plugins. However, I have decided to migrate to BuddyPress and bring over several features that come packaged with the BuddyBoss Platform plugin to BuddyPress in order to do so. As I work through the migration, I am identifying very small, but useful, contributions that BuddyBoss has made to the BuddyPress version that they merged into their plugin.

    I will continue adding more enhancement ticket requests as I work through the migration/extraction.

    emaralive
    Moderator

    For reference, see Trac ticket #9327.

    emaralive
    Moderator

    For reference, see Trac ticket #9328.

    emaralive
    Moderator

    You should submit a ticket with the type set to “enhancement”, with the details you have expressed here, such that your proposal can be considered and dispatched accordingly.

    Afterwards, if you decide to submit a PR, the ticket can be referenced which will attach the PR to the ticket.

    emaralive
    Moderator

    You should submit a ticket with the type set to “enhancement”, with the details you have expressed here, such that your proposal can be considered and dispatched accordingly.

    Afterwards, if you decide to submit a PR, the ticket can be referenced which will attach the PR to the ticket.

    indigetal
    Participant

    BuddyPress’s activity component has excellent query-level extensibility:

    From BP_Activity_Activity::get() — lines 666, 682

    $where_conditions = apply_filters( 'bp_activity_get_where_conditions', $where_conditions, $r, $select_sql, $from_sql, $join_sql );
    $join_sql = apply_filters( 'bp_activity_get_join_sql', $join_sql, $r, $select_sql, $from_sql, $where_sql );
    

    These filters allow any addon to inject WHERE clauses and JOINs into the main activity query without modifying core. BuddyBoss’s moderation system, for example, hooks into bp_activity_get_where_conditions to hide suspended content — all from addon-level code.

    The messages component has **no equivalent**. BP_Messages_Thread::get_current_threads_for_user() builds its SQL in a $sql array (lines 790–794) and executes it directly:

    $sql['select'] = 'SELECT m.thread_id, MAX(m.date_sent) AS date_sent';
    $sql['from']   = "FROM {$bp->messages->table_name_recipients} r INNER JOIN {$bp->messages->table_name_messages} m ON m.thread_id = r.thread_id {$meta_query_sql['join']}";
    $sql['where']  = "WHERE {$deleted_sql} {$user_id_sql} {$sender_sql} {$type_sql} {$search_sql} {$meta_query_sql['where']}";
    $sql['misc']   = "GROUP BY m.thread_id ORDER BY date_sent DESC {$pag_sql}";
    
    $thread_ids = $wpdb->get_results( implode( ' ', $sql ) );
    

    The only filter (bp_messages_thread_current_threads) fires AFTER the query on the fully-constructed result set (line 841) — meaning addons must filter in PHP, not SQL. This is:

    1. **A performance problem** — filtering in PHP means fetching rows from the database that will be discarded, and constructing full BP_Messages_Thread objects for threads that are then thrown away. This gets worse as thread count grows.
    2. **An extensibility gap** — addons that need custom thread filtering (archiving, priority inbox, moderation, read/unread management) have no clean way to modify the query
    3. **Inconsistent with the activity API** — activity has comprehensive pre-query filters; messages doesn’t

    #### Proposed Change

    Add filter hooks to get_current_threads_for_user() before query execution, following the pattern established by BP_Activity_Activity::get():

    After building $sql array (around line 794):

    
    /**
     * Filters the WHERE SQL for the current threads query.
     *
     * @since {next_version}
     *
     * @param string $where_sql  Current WHERE clause.
     * @param array  $r          Parsed query arguments.
     * @param string $select_sql Current SELECT clause.
     * @param string $from_sql   Current FROM clause (includes JOINs).
     */
    $sql['where'] = apply_filters( 'bp_messages_thread_get_where_conditions', $sql['where'], $r, $sql['select'], $sql['from'] );
    
    /**
     * Filters the FROM/JOIN SQL for the current threads query.
     *
     * @since {next_version}
     *
     * @param string $from_sql   Current FROM clause (includes JOINs).
     * @param array  $r          Parsed query arguments.
     * @param string $select_sql Current SELECT clause.
     * @param string $where_sql  Current WHERE clause.
     */
    $sql['from'] = apply_filters( 'bp_messages_thread_get_join_sql', $sql['from'], $r, $sql['select'], $sql['where'] );
    

    **Note on parameter style:** In BP_Activity_Activity::get(), the WHERE conditions are passed as an array (joined to a string after the filter), whereas in the messages method they are already a string. This proposal preserves the existing messages code structure and filters the string directly, which is the minimal-change approach. If BP maintainers prefer, the messages SQL could also be refactored to use an array of conditions for parity with activity — but filtering the string is sufficient for all the use cases described below.

    #### Scope

    • ~12 lines added to one file (class-bp-messages-thread.php)
    • Zero behavioral change — the filters pass through existing values by default
    • Follows the pattern established by the activity component’s existing filters
    • The existing bp_messages_thread_current_threads post-query filter continues to work as-is

    #### What This Enables for Addons

    With these hooks, addon plugins can implement:

    • **Message archiving** — Add is_hidden column to bp_messages_recipients, filter WHERE to exclude r.is_hidden = 1
    • **Message soft-delete** — Add is_deleted column to bp_messages_messages, filter FROM/JOIN to exclude deleted messages from thread listing
    • **Content moderation** — Inject suspend/block conditions into thread queries
    • **Priority inbox** — Filter by custom meta or thread properties
    • **Group messaging** — Filter threads by group membership context

    None of these features require core changes — they just need the ability to modify the query, which activity already provides but messages doesn’t.

    #### Prior Art

    BuddyBoss Platform needed exactly these extension points. Because the hooks don’t exist in BuddyPress core, BuddyBoss had to:

    1. **Restructure get_current_threads_for_user()** entirely — they replaced it with a delegating call to a new get_threads_for_user() method containing ~400 lines of rewritten SQL logic
    2. **Add is_hidden and is_deleted columns** directly into the restructured query conditions
    3. **Add their own filter hooks** — bp_messages_recipient_get_where_conditions and bp_messages_recipient_get_join_sql — with signatures functionally identical to what this proposal suggests

    The fact that BuddyBoss independently arrived at the same solution (pre-query filter hooks on the messages SQL) validates the need. If these hooks had existed in BuddyPress core, BuddyBoss could have achieved the same result from addon-level code without forking the class.

    I’m happy to submit a PR for this change.

    indigetal
    Participant

    BuddyPress activities have a single visibility control: hide_sitewide (0 or 1). This provides binary visibility — shown everywhere, or hidden from sitewide feeds. There’s no way to express:

    – **”Only me”** — private activity visible only to the author
    – **”Friends only”** — visible only to the author’s friends
    – **”Logged-in users”** — hidden from anonymous visitors
    – **”Group members only”** — visible only within the group context where it was posted

    Per-item privacy is a foundational social platform feature. Facebook has had it since 2009. LinkedIn, Twitter/X (with protected tweets), Instagram, and every major social network support some form of per-post audience control. It’s as fundamental to a social platform as hide_sitewide is — just multi-valued instead of binary.

    This is not a request for any specific addon’s needs. It’s a request for the same kind of infrastructure that hide_sitewide provides — a first-class column that any addon can use to implement privacy-aware features.

    #### Current State

    BuddyPress 14.4.0’s activity query system is well-designed for extensibility:

    bp_activity_get_where_conditions lets addons inject WHERE clauses
    bp_activity_get_join_sql lets addons add JOINs
    – Data hydration uses SELECT * (in populate() and the cache-miss path of get()), so any column added to the table is automatically returned to calling code
    bp_activity_before_save / bp_activity_after_save provide save-time hooks

    An addon **can** add a privacy column via dbDelta and filter queries via bp_activity_get_where_conditions. However, the save() method has a hardcoded column list in its INSERT/UPDATE SQL (in BP_Activity_Activity::save()), meaning an addon must do a separate $wpdb->update() after every save — a double-write on every activity creation. This works but is suboptimal, and the column’s general-purpose nature (used by media addons, document addons, moderation addons, group addons — not just one feature) argues for core inclusion.

    #### Proposed Change

    **Schema:** Add one column + index to bp_activity in bp_core_install_activity_streams() (in bp-core-admin-schema.php). dbDelta() handles adding the column on upgrade automatically:

    sql

    
    -- Added after the existing <code>is_spam</code> column in the CREATE TABLE definition:
    privacy varchar(75) NOT NULL DEFAULT 'public',
    -- Added to the KEY list:
    KEY privacy (privacy)
    

    **Model class (BP_Activity_Activity):**

    1. Add public $privacy = 'public'; property
    2. In save() — add privacy to the INSERT/UPDATE column list alongside the existing columns (user_id, component, type, action, content, etc.)
    3. In get() — add 'privacy' to the $r defaults (default false, meaning no filtering). When set, add AND a.privacy IN (...) to the WHERE conditions.

    **REST API (BP_REST_Activity_Endpoint):**

    4. In prepare_item_for_response() — expose privacy in the response object (paralleling how hide_sitewide is currently exposed as hidden)
    5. In prepare_item_for_database() — accept privacy as a writable field on create/update

    **Migration:** dbDelta() runs on every upgrade via bp_core_install(), so modifying the CREATE TABLE definition is sufficient for the schema change. A DB version bump in bp-core-update.php tracks the upgrade.

    #### Scope

    – ~40 lines of changes across 4 files (bp-core-admin-schema.php, class-bp-activity-activity.php, class-bp-rest-activity-endpoint.php, bp-core-update.php)
    – Default value 'public' — 100% backward compatible
    – Existing queries that don’t pass privacy return all activities as before
    hide_sitewide continues to work as-is (orthogonal — hide_sitewide controls directory listing, privacy controls per-item access)

    #### What Core Provides vs. What Addons Handle

    To be explicit about scope: this proposal adds **storage and query filtering only**. Core would:

    – Store the privacy value on each activity row
    – Allow get() callers to filter by privacy value(s)
    – Expose/accept the field through the REST API

    Core would **not** need to:

    – Define a fixed set of allowed values (addons register the values they need — e.g., 'onlyme', 'friends', 'loggedin')
    – Enforce access control based on privacy values (addons hook into bp_activity_get_where_conditions to inject viewer-aware WHERE clauses, exactly as they would today for any custom filtering)
    – Provide UI for selecting privacy (addon/theme territory)

    This mirrors how hide_sitewide works today — core stores the flag and filters on it; the decision of *when* to set it is made by callers (groups component, plugins, etc.).

    #### Prior Art

    BuddyBoss Platform (a BuddyPress-derived platform) implemented this exact column. Their bp_activity schema includes privacy varchar(75) NOT NULL DEFAULT 'public', and their media, document, video, and moderation subsystems all depend on it for privacy filtering. The column is referenced in their activity save/query paths, REST API, and template layer — making it one of the most cross-cutting additions they made to the activity table. The fact that an independent platform needed this to build standard social features demonstrates both the demand and the general-purpose nature of the column.

    I’m happy to submit a PR for this change.

    emaralive
    Moderator

    By default, BuddyPress utilizes the “rewrites” URL parser which creates an equivalent of “pages” which are located from the dashboard @ Settings -> Buddypress -> URLs.

    If you require “pages” then you will have to install and activate the BP Classic add-on/plugin of which BuddyPress associated pages will show within WordPress “Pages”.

    As for wpForo, they claim integration with BuddyPress, so you should ask your integration questions within their wpForum Integration forum.

Viewing 25 results - 1 through 25 (of 69,054 total)
Skip to toolbar