Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 251 through 275 (of 22,677 total)
  • Author
    Search Results
  • #334409
    Venutius
    Moderator

    Yes, let”s do that. I think this must be something to do with your theme template, since my theme does not have this issue and I do not think it’s anything to do with Buddypress.

    It may be that your theme creator will not want to support Buddypress, but you should ask them. However, I have a suggestion for a workaround if they do not want to do this.

    I also use a plugin to set a custom header per page, and this works on my BP sites.

    Unique Headers

    thinlizzie
    Participant

    Where’s your approval functionality coming from ? … WordPress, Buddypress, or a plugin?

    tuckeror
    Participant

    I am using Extended Profile for a user registration form. I’d like to use the default WordPress bio field (Biographical info). I am able to add it in the Extended Profile settings (under Type -> WordPress Fields -> Biography), but there is no option to require it. I can make other fields required. How could I go about making that field required?

    WordPress 6.5.4
    BuddyPress 12.5.0

    #334267
    Koka boka
    Participant

    Hi @vocational, thanks for your feedback. I will definitely take your feedback into account and update the plugin in the near future.
    I also want to inform you that after verification it will be available in the repository WordPress.

    #334174

    Hey.

    I am looking into BuddyPress.
    For a Norwegian Permaculture web site using the Site Editor and Twenty Twenty Three theme.

    Should I have a subdomain with another installation of WordPress containing BuddyPress to not cloud up the default site?

    Hjem

    Should I just add it into the default site?
    I am wondering if someone creates a kind of mini video tutorial going through BuddyPress? Kinda like twice a year there is a tips and tricks in beginning with BuddyPress. A kind of 7-10 minute video just going through the standard.

    Should I add bbPress into BuddyPress?
    Basically what would be helpful is to have some better visual documentation.
    Btw I found this: https://github.com/buddypress/buddypress/tree/master/docs/user/getting-started

    Thank you.

    #334168
    GyziieDK
    Participant

    I use Paid Membership Pro and this add on: https://wordpress.com/plugins/pmpro-buddypress

    You would need to setup some (maybe) pretty complex membeships, but it would be possible to solve with PMP. You can add users into memberships – and these memberships can have access to specific groups only by default.

    Not sure if this helps and solves your problem, but only solution I can think of when it comes to restrictions and BuddyPress Features.

    Kind regards! 🙂

    #334153
    Mike Witt
    Participant

    In case anybody else runs into this …

    Brajesh at BuddyDev pointed out to me that the ability to restrict BuddyPress generated stuff to BP pages was added in BP 11:

    BuddyPress will soon only load its JavaScript and Style assets into the community area of your site

    And (apparently) this was made the default in BP 12.

    So, the solution was to add this to functions.php in order to restore BP-generated stuff to all my pages:

    add_filter( 'bp_enqueue_assets_in_bp_pages_only', '__return_false' );

    #334140
    Mike Witt
    Participant

    I’m currently running BuddyPress 12.5.0 and BP Classic 1.4.0
    Also I’m using “Legacy” so site notices should be displayed as a banner at the top of each page.

    I rarely use site notices, so I don’t know exactly when the problem started (I’m guessing with BP 12).

    Site notices now show up normally, at the top of BuddyPress constructed pages. But on other WordPress pages, the notices show up at the bottom, under the page footer.

    I’d appreciate any ideas about how to fix this.

    Thanks!

    Mike

    #334133
    Noh
    Participant


    Some components do not work completely, and if I click on them, I will be directed to the error page with this message : .There has been a fatal error on this site

    Learn more about troubleshooting

    .WordPress

    #334130
    thinlizzie
    Participant

    Have you tried forcing Buddypress to send emails using the WordPress email function?
    It might help.

    #334116
    ferencvaros
    Participant

    Hi!

    I have a WordPress website with the theme Jannah. It is compatible with both BuddyPress and BBPress which I use for forums.

    I have just now installed BuddyPress, and I think it looks great. It gives me all the features that I’m looking for, for my small community.

    However, there is something that annoys me. It is the “name” field. It appears automatically in the registration page, and of course on the edit user page.

    How can I get rid of this field? Basically I would just like to have these as required fields:

    – Username
    – Email
    – Password

    Thanks

    stephunique
    Participant

    I am testing out Buddypress Version 12.5.0 and I made a registration form with Buddypress’ profile fields as well as a third party plugin “User Registration” by WPEverest. I tested both separately and noticed that Buddypress registration form does not collect the surname of the user, only the first name, because there is no field for surnames. I made a separate text box field and named it “surname” but obviously it does not connect to actual surname field in the buddypress and wordpress back end.

    User Registration has an actual surname field and can collect the user’s surname which shows up correctly in the back end, but it displays the user’s username as the name when the person logs in. For example if a person’s name is “Jane Doe” but their username is “gelato”, in the top right corner when they log in it says “gelato” which is not good, so I can’t use this.

    So I am wondering if anyone has a way to force the Buddypress registration form to collect the surname correctly so it shows in the backend?

    Thanks

    #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.

    #334050
    tceg
    Participant

    Hi,

    I just want to know if it’s possible to stop the wordpress author page from being redirected to mydomain.com/bb-members/user?

    Any help would be appreciated, thank you.

    #333984
    Venutius
    Moderator

    I can recommend this plugin. I get no spam signups and I’ve removed captcha. https://en-gb.wordpress.org/plugins/cleantalk-spam-protect/

    I’ve had it installed now for over a year, it’s blocked them all.

    #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.

    #333967

    In reply to: Users cannot register

    stephunique
    Participant

    Did you allow registration in your wordpress dashboard? In the Settings – General, have you checked the option that says “Anyone can register”?

    #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

    shiylo
    Participant

    Salut ! Effectivement, BuddyPress ne supprime pas automatiquement les avatars des utilisateurs lorsque leurs comptes sont supprimĂ©s. Cependant, tu peux gĂ©rer ce problème en ajoutant un peu de code personnalisĂ© Ă  ton thème ou dans un plugin spĂ©cifique. Voici comment tu pourrais procĂ©der pour supprimer les avatars lors de la suppression des comptes d’utilisateurs :

    1- Crée un hook dans ton fichier functions.php ou dans un plugin spécifique :
    Utilise l’action bp_remove_user ou wpmu_delete_user, delete_user selon la configuration de ton rĂ©seau si tu es en multisite ou pas.
    2- Ajoute le code suivant pour supprimer l’avatar lorsqu’un utilisateur est supprimĂ© :

    function remove_user_avatar_on_delete($user_id) {
        // Vérifie si l'utilisateur a un avatar
        $avatar_path = bp_core_fetch_avatar(array(
            'item_id' => $user_id,
            'html'    => false,
            'type'    => 'full',
            'no_grav' => true
        ));
    
        if ($avatar_path) {
            // Supprime le fichier avatar
            @unlink($avatar_path);
        }
    }
    
    // Hook pour la suppression de l'utilisateur
    add_action('delete_user', 'remove_user_avatar_on_delete');
    add_action('wpmu_delete_user', 'remove_user_avatar_on_delete');
    add_action('bp_remove_user', 'remove_user_avatar_on_delete');
    

    Note : Ce code utilise @unlink pour supprimer le fichier, qui supprime silencieusement le fichier sans afficher d’erreur si le fichier n’existe pas ou ne peut ĂŞtre supprimĂ©. Assure-toi que le chemin de l’avatar est correctement rĂ©cupĂ©rĂ©.

    3- Teste le code : Avant de mettre ce code en production, teste-le dans un environnement de dĂ©veloppement pour t’assurer qu’il fonctionne comme attendu sans effets secondaires.
    Cela devrait aider Ă  gĂ©rer le problème des fichiers d’avatar rĂ©siduels. Si tu as besoin de plus d’informations sur la fonction ou sur d’autres façons de gĂ©rer les fichiers avec WordPress et BuddyPress, n’hĂ©site pas Ă  demander !

    #333949
    shiylo
    Participant

    Salut ! Tu peux créer un nouveau plugin pour ajouter des champs personnalisés à BuddyPress sans toucher au plugin original. Voici les étapes :

    1- Crée un dossier pour ton plugin : dans wp-content/plugins.
    2- CrĂ©e un fichier PHP pour ton plugin : par exemple mon-plugin-buddypress.php. Mets-y l’en-tĂŞte standard de WordPress pour les plugins.
    3- Utilise les hooks de BuddyPress : pour ajouter tes champs personnalisés. BuddyPress a des actions et des filtres que tu peux utiliser pour ajouter tes champs sans modifier le cœur du plugin.
    4- Active ton plugin : dans l’admin WordPress.

    Ainsi, ton code est sĂ©parĂ© de BuddyPress et ne sera pas Ă©crasĂ© lors d’une mise Ă  jour. Si tu as besoin de dĂ©tails sur comment coder cela, dis-moi !

    michaeldenmark
    Participant

    I have inserted this code in bp-custom.php:

    <?php
    function my_redirect() {
    wp_redirect( home_url() );
    error_log(‘Hello log’);
    exit;
    }
    add_action( ‘bp_groups_posted_update’, ‘my_redirect’ );
    ?>

    Writing is done to the log file, but there is no redirect after a user has posted an update in “Group Activities”. Why not?

    As a test, if I use “wp_redirect( ‘https://buddypress.org/&#8217; );” instead of “wp_redirect( home_url() );” and use the action hook “init” instead of “bp_groups_posted_update”, and press F5, I am redirected to https://buddypress.org/.

    I use the latest version of WordPress and BuddyPress.

    BuddyPress is the only plugin activated.

    WordPress is installed in a subdomain.

    My issue still happens with themes Twenty Twenty-One, Twenty Twenty-Two, Twenty Twenty-Three and Twenty Twenty-Four.

    thinlizzie
    Participant

    Stephunique,

    You can usually access functions.php via the WordPress admin area.

    WP Admin -> Appearance -> Theme File Editor

    If you can not see it there, then contact your Theme provider for support.

    Again, I recommend you use the Code Snippets plugin. It will add almost no overhead to your sites speed.

    stephunique
    Participant

    –SOLVED–

    Update: I have discovered a work-around and would like to post it here in case it is useful to anyone else.

    I installed both BuddyPress for its membership functions (eg profiles, directory) and also “User Registration” plugin (https://wordpress.org/plugins/user-registration/) for the registration form. User Registration plugin allows you to have more than one user registration forms and you can set what role you want each registration form to automatically assign to the user that signs up with that form. For example, you can create a form for teachers, and a separate form for students, and have the forms assign the respective roles to registrants of the form. Of course you need to create the roles first: t do this, use some sort of plugin that lets you manage user roles. I used “Members” (https://wordpress.org/plugins/members/). You can then create restrictions using this plugin and control the pages that each user role can and cannot have access to.

Viewing 25 results - 251 through 275 (of 22,677 total)
Skip to toolbar