Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 526 through 550 (of 69,210 total)
  • Author
    Search Results
  • #334096
    TKServer
    Participant

    Been on BuddyPress for years. Just got an email from a user today that was unable to register. I tested it out and on submission I get a screen flash, then nothing. There are no errors in the dev tools console. There are no php errors logged. I’m a little stumped. I switched themes to a default 2024 theme, and the issue happens on that as well. Would appreciate any suggestions.

    #334081
    foxfossati
    Participant

    Hello, Is it possible tu use subgroups, hierarchical subgroups?
    I saw very old topics about this problem and i would like to know if there are any news about.
    I would like to use buddypress (Version: 12.5.0) but it dipends of this problem.
    I know there is a plugin but i don’t know if it’s the best solution.
    https://github.com/dcavins/hierarchical-groups-for-bp
    Thank you for your help.

    stephunique
    Participant

    Hello
    I know this question has been asked before, but I am not a dveloper and the previous solutions are either old or not easily understood.

    The best way to hide certain members from the Buddypress directory seems to be using the codes found here: https://gist.github.com/sbrajesh/2142009

    My problem is, there is a lot of discussion around the code and there has not been a definitive answer that is non-developer friendly, so I hope someone could provide one here that would benefit everyone with the same question.

    The original code had several alterations (eg, when someone said to replace one part of the code with another, or mistakes on a certain line, and finally, an altered code that hides all but one role, which is what I want) but none specify exactly where to put it or what part to replace, or where to put the user roles you want to hide or show.

    So I am hoping someone here can provide a definitive answer about how we can hide all user roles except one (my case), or, what others might find useful, how to hide a single or a few user roles from the directory. The last code is what I need but I don’t know if I am supposed to use that as is, or if it replaces part of the original code (and if so, what part), and where to add the user roles I want to hide or include.

    Thank you.

    marinambm
    Participant

    This is displayed to me as I come from Germany

    I am sorry to inform you that your message was not possible
    be delivered to one or more recipients. It is attached below.

    (2a00:1450:4025:c01::1b) said: 550 5.7.1 This message does not comply with RFC 5322
    compliant. There are several To headers. To reduce the amount of spam sent to
    Gmail, this message has been blocked. For more information, see
    Check https://support.google.com/mail/?p=RfcMessageNonCompliant and RFC 5322
    Specifications 4fb4d7f45d1cf-5733c2d5aa2si13175593a12.240 – GSMTP

    #334067
    hossin0241
    Participant

    Hello
    Good time
    in this version of BuddyPress, I want to limit the default pages such as the user directory with “Restrick Content Pro” plugin.
    In the new version of BuddyPress, there is no user directory and other pages in the “page” section on WordPress Dashboard, so that I can not limit them with the mentioned plugin.

    Now how should I do this?

    #334060
    thinlizzie
    Participant

    Thanks venutius for removing all potential spam from this forum, it’s appreciated.

    The question was regarding: why are forums not showing on my Buddypress site?

    My reply: Buddypress does not include forum functionality by default.
    Usually this can be added via another plugin eg. bbpress.

    Find the bbpress plugin on the WordPress plugins website.

    Install it, that should solve your issue.

    #334054
    thinlizzie
    Participant

    Hi,

    If you are using Buddypress Nouveau then the strong password suggestion can be disabled with this code.

    Add it to your functions.php file, or add it using the plugin Code Snippets.

    Hope it helps.

    
    add_action( 'bp_before_register_page', 'bp_page_signup_disable_random_password');
    function bp_page_signup_disable_random_password(){
      add_filter( 'random_password', '__return_empty_string' );
    }
    
    
    kris10haley
    Participant

    I’m experiencing issues with the password field on the registration form. While it’s not displaying a password that exists (and every time I refresh it, it updates to a different one), it displays something random for any user who finds this page. I think this is why we keep getting so many spam requests…

    Is there any way to hide that field input by default?

    I found another topic here regarding a different theme conflict: https://buddypress.org/support/topic/password-key-input-invisible-by-default-help/
    TIA

    Form: https://soulofdesign.com/register/

    Ability to create posts within groups with tags? Then allow members of groups searchbytagtoo? Making posts in groups for buddyboss or buddypress

    #334028
    SandPieper Design
    Participant

    We are using the M.E. Booking widget with M.E. Calendar for fitness classes. Buddypress with these plugins allows for attendees to be listed for those who has signed up for the classes. So every Tuesday there is a class and you select the date and sign up. It adds your name to the attendee list. Currently it is showing everyone for all dates all the time. They would like to have it so when you select the date it shows who has signed up for that particular date. Looking for any ideas how how to get this working.

    greenzone
    Participant

    Aha. got it. He built a new plugin that does the same thing. You can find it here for $29. BuddyPress Group Tabs Creator Pro.

    It’s a little counter intuitive to configure, but the key is to match the “slug” for an existing tab precisely. (i.e. for Forums, the slug is “forum”) If you don’t put the slug in exactly, it won’t use that tab as the default. Works perfectly.

    greenzone
    Participant

    There is/was a plugin called “BP Default Group Tab” which worked perfectly. It’s a premium plugin from BuddyDev that’s still offered. That said, it seems not to be working anymore, which is such a shame. Now I’m trying to make Forum the default landing page for my groups, and have been struggling for days… I can find old code from 12 years back, but nothing that seems relevant to the newer Buddypress code.

    thinlizzie
    Participant

    Totally agree.
    If you have a technical issue with Buddypress then you are likely to struggle to get any proper assistance on this forum.
    It’s very unfortunate.
    And this is the official, recommended support forum for Buddypress? Really?
    I understand Buddypress is free, costs zero to use.
    That’s great!
    But zero technical support … not great.

    Crissy, you might try contacting the guys at the Buddydev website, they might help you.

    ownersmvha
    Participant

    Hi,

    Ive installed Buddypress and tried to create a post (as a member in Member Activity tab) but when I click on Post Update button, it just shows a red exclamation error icon with no message and the post content is not being submitted/accepted. I’ve set the Activity stream to members only.

    Buddypress version: 12.4.1

    #333997
    mariaat
    Participant

    Hello,

    I use Buddypress for an intranet. I want to create an useraccount with only the possibility to read.

    I tried some rolemamagement-plugins but that did not work.

    After hours of trying I will ask here if anyone knows if it’s possible. Or maybe have another solution to create a read-only memneraccount.

    Thanks in advance,
    sincerely, Marli

    greetings from Amsterdam, the Netherlands

    #333989
    Koka boka
    Participant

    Hi @imath
    Thanks for the help!
    Maybe you can suggest something with this. I want to add a counter of new posts from the activity feed to the custom menu.
    I put it in functions.php but didn’t get any results. With my meager knowledge, I did not succeed. I can’t figure out how to add a counter to my custom menu.
    P.S I’m not sure that the code itself is workable!

    Here on the forum I was offered the following code:

    <?php
    function bp_update_last_visit() {
    if (is_user_logged_in()) {
    update_user_meta(get_current_user_id(), 'last_visit', current_time('mysql'));
    }
    }
    add_action('wp_login', 'bp_update_last_visit'); 
    add_action('wp', 'bp_update_last_visit'); 
    ?>
    <?php
    function bp_get_new_activity_count() {
    $last_visited = get_user_meta(get_current_user_id(), 'last_visit', true);
    $args = array(
    'action' => 'new_post', // Adjust based on the actions you want to count
    'since' => $last_visited, // Filter activities since the last visit
    );
    
    // Query BuddyPress activity with arguments
    $activities = new BP_Activity_Query($args);
    return $activities->get_total();
    }
    ?>
            <?php
            function add_activity_notification_count() {
    $count = bp_get_new_activity_count();
    if ($count > 0) {
    echo '<span class="activity-notification-count">' . $count . '</span>';
    }
    }
    add_action('bp_menu', 'add_activity_notification_count');
      ?> 
    #333983
    soundmatters
    Participant

    Hey guys,

    I’m wondering if you can help.

    I installed BB-Press & BuddyPress a few weeks ago and quickly found the need to add a CAPTCHA to stop the spam sign ups.

    I installed it, and it slowed them down, but I’m still getting sign ups that are clearly fake.

    Attached is a screenshot of the settings and below is a link to the website forum.

    Are you able to see where they might be getting through?

    Sound Matters Forum

    https://www.dropbox.com/scl/fi/n2chgzvwbwigsx61p30sd/Screenshot-2024-05-08-at-14.56.25.png?rlkey=ak3b4eang7t240qekjaplos3t&dl=0

    Thanks,
    Marc

    #333982
    Mathieu Viet
    Moderator

    Hi @koka777

    You can add a buddypress.php template to your active theme directory, if this template is available it will be used instead of the page.php one.

    stephunique
    Participant

    Hi, you can disable the function of adding a cover image for the individual user profile. I don’t use groups so I don’t know if you can disable the cover image for groups.

    To disable the cover image for individuals, go to settings -> BuddyPress -> Options -> Then uncheck “Allow registered members to upload cover images”. Then the cover image will disappear completely in the profile front end.

    #333973
    Mathieu Viet
    Moderator

    Hi Hana (@arjani1)

    I just tested with latest WordPress (Twenty Nineteen theme) & only BuddyPress 12.4.1 as the active plugin and I can’t reproduce your issue, see screenshot below:

    User's account

    – There’s an avatar in the header
    – The menu to change avatar is available & behaves as expected.

    So to me it’s not relative to 12.4.1.

    #333968
    windhillruss
    Participant

    When a user receives an eMail Notification, the full content of the Message is included along with the link to Join the Discussion. More often than not the user replies to the email and therefore doesn’t need to login to the Discussion. Can this be adjusted so that the eMail only says ‘You have a new Message’ and then the link? Thanks. Buddypress 12.4.1 and Better Messages plugin.

    #333966
    stephunique
    Participant

    BuddyX is the free theme that was specifically developed for BuddyPress.

    To install this, log in to your WordPress dashboard, go to Appearance – Themes – Add new – use the search bar to look for “BuddyX”, then install, and activate.

    #333956
    chbing5828
    Blocked

    Implementing favorites for custom post types using BuddyPress and REST API involves a few strategic steps. Here, I’ll outline a method to integrate this functionality effectively:

    ### Step 1: Ensure BuddyPress REST API Is Enabled

    Firstly, ensure that the REST API support is active in BuddyPress. BuddyPress provides REST endpoints for various components, but you may need to confirm that it’s set up to interact with your custom post types.

    ### Step 2: Register Custom Post Type for BuddyPress Activity Tracking

    You mentioned you’ve seen documentation related to registering custom post types for tracking activity. This is crucial as BuddyPress needs to be aware of these custom post types to interact with them effectively. You can do this by adding a function to your theme’s functions.php file or a site-specific plugin:

    `php
    function register_custom_post_type_activity_tracking() {
    bp_set_post_types( array(
    ‘drop’ => array(
    ‘track_activity’ => true
    )
    ) );
    }
    add_action( ‘bp_init’, ‘register_custom_post_type_activity_tracking’ );
    `
    This code snippet informs BuddyPress to track activities (like posts and updates) for the “drop” custom post type.

    ### Step 3: Create a REST Endpoint for Favorite Action

    You will need to create a custom REST API endpoint to handle the favorite action. This endpoint will be responsible for adding and removing favorites.

    `php
    add_action( ‘rest_api_init’, function () {
    register_rest_route( ‘buddypress/v1’, ‘/favorite/’, array(
    ‘methods’ => ‘POST’,
    ‘callback’ => ‘handle_favorite’,
    ‘permission_callback’ => function () {
    return is_user_logged_in(); // Ensure the user is logged in
    }
    ));
    });

    function handle_favorite( WP_REST_Request $request ) {
    $user_id = get_current_user_id();
    $post_id = $request[‘post_id’];
    $action = $request[‘action’]; // ‘add’ or ‘remove’

    if ($action === ‘add’) {
    // Logic to add a favorite
    bp_activity_add_user_favorite( $post_id, $user_id );
    } else if($action === ‘remove’) {
    // Logic to remove a favorite
    bp_activity_remove_user_favorite( $post_id, $user_id );
    }

    return new WP_REST_Response( array(‘success’ => true), 200 );
    }
    `

    ### Step 4: Interact with the REST API

    You can now interact with this API using JavaScript or any other client that can make HTTP requests. Here’s an example of how you might call this API using JavaScript Fetch API:

    `javascript
    function toggleFavorite(postId, action) {
    fetch(‘/wp-json/buddypress/v1/favorite/’, {
    method: ‘POST’,
    headers: {
    ‘Content-Type’: ‘application/json’,
    ‘Authorization’: ‘Bearer YOUR_ACCESS_TOKEN’ // You should implement authorization
    },
    body: JSON.stringify({ post_id: postId, action: action })
    })
    .then(response => response.json())
    .then(data => console.log(data))
    .catch(error => console.error(‘Error:’, error));
    }

    // Usage
    toggleFavorite(123, ‘add’); // Add a favorite
    toggleFavorite(123, ‘remove’); // Remove a favorite
    `

    ### Step 5: Test and Refine

    After implementing, conduct thorough testing to ensure that your favorites system works as expected. Check both the functionality and security aspects, especially focusing on permissions and data validation.

    By following these steps, you should be able to add a favorites feature to your custom post types leveraging BuddyPress and the WordPress REST API effectively. beach buggy racing cheats apk

    #333952
    egency
    Participant

    Hello,
    I try to make Buddypress a multi language page and I am using Polylang and Loco translate to do so.

    All Plugins have been translated but the Buddypress user pages are still in English. I don’t know what to do, to offer users the possibility to change the language or that buddyoress uses the chosen languages from the static pages.

    What do I have to do, that Buddypress uses the translated strings?

    You can check on https://jamxper.com

    Thanks for all help.

    Marc

Viewing 25 results - 526 through 550 (of 69,210 total)
Skip to toolbar