Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'questions'

Viewing 25 results - 26 through 50 (of 2,232 total)
  • Author
    Search Results
  • #331824
    ericwillson
    Participant

    opps ] Let me provide you with an alternative approach that disables the activity form for users, making it more secure. You can achieve this by disabling the form functionality entirely. Here how you can modify the code to accomplish thi

    php
    Copy code
    function disable_activity_form_for_non_admins() {
    if ( ! current_user_can( ‘administrator’ ) ) {
    remove_action( ‘init’, ‘function_that_creates_activity_form’ );
    }
    }
    add_action( ‘init’, ‘disable_activity_form_for_non_admins’ );

    In this code snippet, replace ‘function_that_creates_activity_form’ with the actual function name or hook that creates the activity form. This modification disables the activity form functionality for non-administrative users by removing the action that creates the form during the init hook.

    This way the form wont be available in the HTML markup, making it more secure compared to just hiding it with CSS. Remember to place this code in your theme’s functions.php file or in a custom plugin file.

    Again make sure to back up your site before making any changes, and test the modified code in a safe environment first to ensure it works as expected. If you encounter any issues or have further questions, feel free to ask!

    #331385
    fawp
    Participant

    Old post, but I think the behavior you see is WP-driven. The reason I say that is that I have disabled the REST API for WordPress and the link above (e.g. /wp-json/buddypress/v1/members/3) or similar do not retrieve any data.

    I used guidance from this SO article.

    https://stackoverflow.com/questions/41191655/safely-disable-wp-rest-api

    #331268
    fsam
    Participant

    WordPress : 6.3.1
    BuddyPress : 11.3.1
    Youzify : 3.3.9

    Dear users,

    Since +/- 1 month the ‘Load More’ option on the activity page doesn’t work. On mobile (iOS and Android) nothing happens, and on Google Chrome first nothing happens and then a browser error occurs “The page doesn’t reply, would you like to wait or close”.

    The “Load More” on other pages (user activity, etc.) works.

    Using a lots of plugin which makes it hard for me with my knowledge to understand where it comes from. A new wordpress + buddypress + standard wp theme works fine.

    My questions are:
    – Is it possible to have pagination on the activity wall stream page but keep the other pages as they are for the timebeing?
    – How can I debug where the error comes from?

    Regards

    #331259
    Mike Witt
    Participant

    @awol, regarding your bbPress tangent — my experience is that neither the BP forum (this one) nor the bbP support forum work the way BP and bbP do “out of the box.” Perhaps it has something to do with the theme, or perhaps they’re customized. But if you want to see how they’re going to work together your you, I’d suggest setting up a test site and installing them with your theme. Also robin-w on the bbpress forum has a plug-in that allows for a lot of customization and is pretty good about answering these kind of questions.

    #331123
    AWOL
    Participant

    Hi again @imath,
    This is a separate query from before, and is really a question about what the new BP will change, if anything, with regard to the methods of adding activities. The reason I ask is that I have been trying to do the following on the latest version of the ‘old’ BP; at present I have certain posts being created automatically when users click/tap or hold certain buttons, via a form plugin; some of these are custom post types, but some are regular posts. I have had no problem with the custom post types in terms of adding them to either the main Activity stream, or individual Group Activity streams (both or just one), but cannot get regular posts to go anywhere other than the main Activity stream (and the Profile Activity of the user), and what I want is to be able to post them to either both main and group, or to just group (Profile Activity is not an issue). If there are no changes coming that impact this, I will need to create another custom post type to deal with this, but obviously I would rather avoid that if I can as it would entail quite a lot of extra coding/changes to existing code, so if there are any further details on existing or planned changes in this area it would be great if there is some link to them, or if you have any information you can share. I haven’t yet got all the relevant code for my existing site set up on my test site for beta BP, which I will do if you can confirm that there are changes in the beta that will allow me to achieve my aims.

    Also, what are the plans for the Legacy theme? Should I plan to move to Nouveau? Or will a new BP theme become available that will work alongside my WP child theme? I am using Nouveau in my test site but I am struggling to achieve certain things that I can do with Legacy on my existing setup. But I am not particularly happy with either of them because of the amount of css edits I need to make, particularly with relation to things like buttons, inputs, tabs etc.

    I appreciate all the work that has been and is being put in, so please don’t take my comments and questions as criticism, I’m just trying to avoid unnecessary work!

    #331041
    rammysons
    Participant

    Hello,

    It seems like you’re working on a multi-author website and you’re looking for a way to control access to user profiles. Specifically, you’ve implemented code to deny access to administrators’ profiles, and you’re interested in extending this functionality to subscribers as well.

    To achieve this, you can modify the code you provided to include conditions for subscribers. Here’s an example of how you might achieve this:

    php
    Copy code
    // deny access to admins and subscribers profiles. Users are redirected to the homepage
    function bpfr_hide_admins_and_subs_profile() {
    global $bp;

    // Get the current user’s role
    $current_user = wp_get_current_user();
    $user_roles = $current_user->roles;

    // Check if the user is an admin or a subscriber
    if (bp_is_profile && $bp->loggedin_user->id != 1 &&
    (in_array(‘administrator’, $user_roles) || in_array(‘subscriber’, $user_roles))) :
    wp_redirect(home_url());
    exit;
    endif;
    }
    add_action(‘wp’, ‘bpfr_hide_admins_and_subs_profile’, 1);
    This code snippet checks if the currently displayed user’s role is either “administrator” or “subscriber,” and if the conditions are met, it redirects the user to the homepage.

    Remember to replace ‘administrator’ and ‘subscriber’ with the actual role names used in your WordPress setup.

    Thank you for reaching out, and a special shoutout to “TWITCHFOLLOWERFORGE“. If you have any further questions or need additional assistance, feel free to ask!

    #330700
    symm
    Participant

    I want to add a functionality that takes users’ answers from all the questions that they fill out using a custom form. Then automatically match them up with other users that came up with the same answers.

    So when a user creates their profile then clicks on the search page it will first generate 5 – 10 users that have the same thing in common based off of the answers they have provided in their profile. If the user wants to see more matches they will have to pay.

    Can this be done?

    #330233
    freedans
    Participant

    Hello,

    I am just getting my toes into BuddyPress’ documentation, and came across the ‘popular’ user type in BP_User_Query.

    I have no idea how ‘popular’ users are defined in BuddyPress. My questions are as follows:

    1. How is the ‘popular’ user type defined and sorted in BuddyPress?
    2. If ‘popular’ users are calculated across a period of time, could one theoretically sort users into ‘most popular by day, week, month, etc.’?
    3. The documentation recommends bp_parse_args() for filtering members. What would a simple function to return popular users using bp_parse_args() look like?

    maciejatmyshca
    Participant

    Hi,

    I hope you could help be to ofind out why my Buddy Press Emails are sent without customisations set. There are no header, no footer and full long links are to the webiste or profile.

    Many thnanks for any advice.
    I am not sure really what other info to put here so feel free to ask any questions.

    terryalbert
    Participant

    What are the benefits of adding FAQs (Frequently Asked Questions) to the home page of a WordPress theme, and how can they improve the user experience?

    #328068
    Moench87
    Participant

    Hello, I have the following questions. Does buddypress use the user roles of wordpress?
    I would like to include a separate forum for individual events on my website, that relates only to the topic of the event. Is this possible?

    #327845
    fawp
    Participant

    No one ever answers questions raised here. It’s so annoying and frustrating.

    Hi @clicksnlikes. I feel your pain. The thing is, this is a volunteer-led community, so everyone tries to help when they have some time available.

    Registered Users and members are unable to use the create topic function on my site as somehow it’s only available for guests or non-registered members and admin.

    Has this behavior you’re describing been like this from the start, or has it started to occur recently?

    #327842
    clicksnlikes
    Participant

    No one ever answers questions raised here. It’s so annoying and frustrating.

    Registered Users and members are unable to use the create topic function on my site as somehow it’s only available for guests or non-registered members and admin.

    I’ve been trying for an entire week and none of the topics here helps at all so i’m not sure you’d get any answer to your questions either.

    Mastafu Design
    Participant

    Hi,

    I got few questions.

    We are talking about front-end. Not wp-admin.
    1. If i promote a member to a moderator in one group, he can invite other members to that group.
    2. Can he also delete them from the group? I don’t see such a option.
    3. If i go to the wp-admin, promoted moderator, can add and delete members from any group !! why ?
    He was assigned moderator only to a specific group.

    #327214
    fawp
    Participant

    Hi @josiejackson

    A few basic questions:

    • Did Editing Basic Profile Group work before, i.e. is this a new error message, or has this been like this from the start?
    • Did you try switching to a different theme, to see if the error still shows up?

    There’s a good template to follow here that helps the community helping you troubleshoot what the problem might be.

    #327186
    ilanits
    Participant

    Hi,
    Two questions:

    1.
    I’ve created two different types of members and assign to them different fields in the registration form, BUT I can only assign it manually after the initial registration is complete, which include only one of the two form versions. Is there a way for the user to choose a role and according to that, to move forward to a specific registration form (same form – different fields)?

    2.
    In the Profile Search, I mostly used Checkbox option, in order to allowed users to checkbox more than one option.
    Is there a way to add Clear All option to the search? (which includes several different fields, each in is a Checkbox field)
    Thanks, Ilanit

    #327053
    fawp
    Participant

    Hi everyone,

    At the moment, when I need to look up a BP code related name (such as a function, a hook, etc.) I just google it.

    I have seen that some documentation is distributed, meaning, it’s not all centralized here on buddypress.org.

    For example, this site https://wbremedy.com/reference/functions/ seems to contain some (all?) of BP’s functions, hooks, etc. (I think this particular site has been put up by user vapvarun but his handle shows him as last active 6 months ago).

    I was recently given me access to the staging site and I started performing minor updates to some of the documents, but I have some questions, for example

    • were some of these external websites created by current BP members/admins, or are they independently run?
    • is there a rationale to what docs are stored here, Vs. docs stored in these external websites?
    • if I wanted to start updating more docs in the staging site, is there a process to follow?

    Thanks

    #327036
    fawp
    Participant

    EDIT: I checked your page again and saw that your registration fields now seem to be back on the page?

    Did you find out what the problem was?
    __________________________________________________________

    @rightanglecreative90
    ok, I would start asking several questions, many of which are included here

    When Asking for Support

    as Mathieu suggested.

    Are you able to provide answers to those questions (e.g. not only WP and BP versions but also, did you upgrade from prior versions and which versions were they, do you have any other plugins, etc.) ?

    #326482
    Mathieu Viet
    Moderator

    You’re welcome @dimensionmedia. No worries I understood your point 😁. I won’t talk more about this subject here and focus on BuddyPress instead. You made a very good point about the WordPress Plugins directory:

    Ok, so if the WordPress repo is our advantage – then how do we use that advantage? how do we stand out (from member sites and other social plugins)? how do we feature BB plugins that are trust worthy and maintainable that avoid people having to dive into thousands of plugins in this “important advantage”? Good questions, looking forward to hearing more from people about them.

    You’re right, I believe we can try to help Users with this kind of shortcuts:

    BP Addons

    But we’d need more contributors to test/review BuddyPress plugins, which is maybe a too big dream I’m doing, I agree 😇

    What I was meaning, was: It’s possible to transform optional components into plugins and preserve the current user experience and only install what they need, thanks to the WordPress.org API.

    Another advantage of being into WordPress.org plugins directory are updates (semi or fully automatic). The Plugin team is also doing a great job to eventually “suspend” plugins in case of security issues or wrong behaviors.

    #326481
    David Bisset
    Participant

    Thanks for the reply @imath. I was simply implying to look and see what they are doing – SOME of what they are doing I think fits into general interest (look at how they deal with media). They are doing research and it would be foolish to ignore some parts, even if it in the end it leads to ways we can mold it more toward BuddyPress thinking.

    Sometimes you can lead my example, other times you can lead by taking something and making it better in some way.

    There’s a balance with addons – too many and a user can get overwhelmed with choices and research but overall I lean toward simple as possible. Perhaps it’s something that is simple for a niche purpuse that uses BuddyPress “under the hood”. It’s not a great example but thinking about “how can I spin up a special kind of to-do app that I can add my friends and share and collab with, while still owning my data, control, etc”. Thought of this today while my kid was showing me what she does in Notion today.

    Ok, so if the WordPress repo is our advantage – then how do we use that advantage? how do we stand out (from member sites and other social plugins)? how do we feature BB plugins that are trust worthy and maintainable that avoid people having to dive into thousands of plugins in this “important advantage”? Good questions, looking forward to hearing more from people about them.

    I don’t believe BuddyPress is missing THAT many features. Part of this is also changing with the times. Which means maybe thinking a little differently – even if it’s me thinking differently from how I look at BuddyPress when I started with it so many years ago. ☮️

    #326448
    user4forum
    Participant

    Just my opinion and just an AI translation:

    Where are the sticking points?

    BP core:
    After 9 months with BP and several free BP plugins, there are still a lot of questions. Group handling and invitation are too complex and partly illogical. (Example: Group Owner is allowed to remove himself and then the administrator has to ‘intervene’). Furthermore, internal e-mail, where you have to select users based on their usernames (@…). Also not visually appealing and sometimes rather confusing in use. Other BP features (sorting/displaying members within groups!) that don’t work even on a WP default theme (Twenty Twenty-Two). Just annoying!

    In principle, the core plugin provides too little (in terms of functionality). Best example: Blogging and media. Something that defines WP at its core. In addition to two larger commercial “BP providers” and some ancient plugins in the WP repo, the selection and comparability is difficult if you want to use them for specific rights and groups. I understand that you want to offer an open and expandable system, but something “more” would be desirable or necessary.

    BP mailing list:
    Hardly any actions, but many (trivial) questions and no answers. On the other hand, technically interesting answers are often 10 years or more in the past (and unfortunately still up-to-date in principle), but where there is no attempt to test them in a current BP version.

    ToDo (Plugins into Core):
    Directory: Very important! Of course you can use “BP Custom Fields” but there’s no option to do a filter search, based on different fields to exclude displaying other profiles – or I just can’t find the options. Tried “BP Profile Search”

    Why not just embed a few components “more tightly” into the core, why not simply take over the source code of others who simply “copy” BP themselves without returning anything to the community? There was an interesting discussion about this recently on another platform site.

    Wishes:
    – Rights management for pages/posts or for individual BP components (either private/public or at user level) – e.g. “User Access Manager”
    – E-mail communication between each other without having to use the real e-mail address and being able to leave the borders of BP – e.g. “BP Reply By Email”

    It’s a pity, but currently STILL not enough for uncomplicated use and sometimes stopped in development. In addition, commercial providers who copy BP as well as other WP Social Media Group solutions that are more complete and appear more self-contained.

    To name a few plugins that could be partially included:

    Theme: BuddyX (free)
    BP 11 (dev) &
    BP Attachments (dev) (what does it do? Substitution of BuddyDrive?)
    – bbPress (smarter integration)
    – BP Profile Search (no filter options found)
    – BP Reply By Email (should be core as option)
    – BuddyDrive (should be Core)
    – Buddpress Docs
    – BuddyPress Xprofile Custom Field Types (should be core)
    – BuddyPress Xprofile Conditional Fields (should be core)
    – Rendez Vous (should be core as option)
    – “BuddyPress XY Blog” (should be core)
    – “BuddyPress XY Search”

    #326371
    restorm
    Participant

    Many thanks for the quick response. I’m not a developer so please excuse two clueless questions:
    1) Do these snippets work on their own, or does your User Roles plugin need to be activated?
    2) Do I insert both of the above snippets in the child theme, like this?
    add_filter( ‘bp_get_group_join_button’, ‘venutius_restrict_group_join’, 10, 2 );

    function venutius_restrict_group_join( $button, $group ) {
    global $bp;
    if ( current_user_can( ‘manage_options’ ) || $group->is_member ) {
    return $button;
    }

    $membership_total = count( BP_Groups_Member::get_membership_ids_for_user( $bp->loggedin_user->id ) );

    if ( $membership_total >= 1 ) {
    return false;
    }

    return $button;
    }
    add_action( ‘groups_join_group’, ‘venutius_group_join_filter’, 10, 2 );

    function venutius_group_join_filter( $group_id, $user_id ) {
    global $bp;

    if ( current_user_can( ‘manage_options’ ) ) {
    return;
    }

    $membership_total = count( BP_Groups_Member::get_membership_ids_for_user( $user_id ) );

    if ( $membership_total >= 4 ) {
    groups_leave_group( $group_id, $user_id )
    }

    }

    kealarafana2020
    Participant

    Hi I am using bbpress for forums protected by memberpress rules.
    Is that sufficient security for the forum contents?
    If I wanted to switch to BP instead of using bbpress for groups,
    would that cause major headaches if I am not yet going to use BP’s full features?
    Is that more integrated with memberpress, and would i need to use a theme oriented towards
    BP.

    I know its a lot of questions in one thread, but it all really relates to security firsy and what challenges may arise if I choose to instal BP

    #326086
    DragoWeb
    Participant
    #326053
    shanebp
    Moderator

    Some names are the same but the underlying code is different.
    You need to ask BuddyBoss – they have a facebook page for questions.

Viewing 25 results - 26 through 50 (of 2,232 total)
Skip to toolbar