Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 201 through 225 (of 32,562 total)
  • Author
    Search Results
  • #334183

    In reply to: Hide own profile

    stephunique
    Participant

    How can we hide ourselves in the BuddyX theme (the suggested answer is for Gwangi theme).

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

    #334167
    GyziieDK
    Participant

    Hello guys!

    I’m going crazy from trying to find the answer to this one, I hope you’re able to help! 🙂

    I noticed that the only person wo can see their activity, groups, friends and content under their profile page is the user itself (at least on the theme I’m using). I can’t even (as admin) go to others user profile and see their content. I’ve noticed on other themes that this content IS available for other users (which makes sense) – the theme I’m currently using gives the user the option to post “public, private or to friends” – so there is no need for it to be “hidden”.

    I would like my users to be able to “browse” other members profiles – hope that makes sense!

    I really appreciate anyone who can help me figure this one out! 🙂

    Thanks!

    sbanner26
    Participant

    I’ve created an Elementor footer in the theme builder and applied it to the entire site. It appears at the bottom of every page as expected on desktop. However, in mobile view it loads just below the header and above the member content on the member profile pages only. It is correct on the groups and members directories, just not on the profile page. Here is the link to one of the member profiles – https://thesiteshark.com/ccc/members/plhuston/

    #334118
    talharehmaan
    Participant

    my favourtie game mod website asphalt nitro mod apk is also developed by use of kadence theme.

    #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

    #334102
    marinambm
    Participant

    Now I have swapped it with another theme and the menu is not what was displayed with the ki theme kadence
    And with the Twenty Twenty-Four theme I can’t assign the menu to the header or footer – the option is missing
    thanks

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

    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/

    #334029
    ixiter
    Participant

    WordPress: 6.5.3
    Theme: BuddyX
    URL: /wp-admin/users.php?page=bp-profile-edit

    I cannot update the extended profile.
    Reason is the missing jQuery( '#'+formid+' .all_errors' ) element on the extended profile edit page.
    The page uses ProfileGrid JS to handle the form submit event

    file: /wp-content/plugins/profilegrid-user-profiles-groups-and-communities/admin/js/profile-magic-admin.js
    line 1689:

    var error = jQuery( '#'+formid+' .all_errors' ).html();
    if (error == '') {
        return true;
    } else {
       return false;
    }

    Since the jQuery( '#'+formid+' .all_errors' ) element is missing, error = undefined, which results in the else part and returns false. The form will never be submitted.

    I fixed it, adding following workaround code at line 1689:

    if (jQuery( '#'+formid+' .all_errors' ).length == 0) {
        jQuery( '#'+formid).prepend('<div class="all_errors" style="display:none;"></div>');
    }

    Better would be, to add the missing div in the pages markup. Your turn. 🙂

    #334023
    hexoliving
    Participant

    Hello

    I’m running a community-site and would like to adjust the replies within the activity stream.
    Right now the comments are nested and all looks great. Within the theme it’s setup to show 5-6 comments before it adds a “load more” button in order for the activity stream not to be too long. This is however not available on the replies to the comments and now when people reply to the same comment – it just keeps going.

    Is there any way to make the replies on the comments nested too?

    I can’t seem to find any code, plugin or answers within forums (only about nesting the comments itself, but not the replies). 🙂

    Thanks

    #334012
    locker17
    Participant

    Hello, I need to add a sidebar with some widges to the members-loop page.
    With Astra, the theme that I am using I can set the sidebar for each page -> static pages. But not the dynamic bp members pages. Either all pages of the website has the same sidebar or none.
    How can I solve this? Tried bp classic plugin to load the members page in editor but the theme option has no effect. Has it be overwritten by Noveau template? Is there any easier handling for this in the bp roadmap?
    Help appreciated!

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

    #333978
    Koka boka
    Participant

    Hello,
    Please help, by default the user profile page is based on the page.php template from my theme.
    Is there any possibility to redirect it to another? (custom-page.php)

    gishw
    Participant

    i am working on buddy press with buddy X theme. i would like to change ‘add to favourites’ to ‘like’ and also i want the see count of people who had like the activity….please help!!

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

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

    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.

    #333933
    planetearthlings
    Participant

    Hi Again @poojasahgal…ends up there was a bug in the theme coding which the theme developer has fixed. Now there is no “Manage Groups” link in the menu for those who aren’t admins. Thanks for trying to help. Really appreciate you taking the time. Best wishes.

    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.

    epgb101
    Participant

    Since updating to 12.4.1 the /members/ and /groups/ pages show profiles and groups layout rather messed up. Not complaining – looking at 12.4.1 updates notes that say the update is related to widget security makes me think it’s something to do with that as these are widget-like sections that broke. I’m using GWANGI theme.
    I wondered if anyone had the same issue and a simple WP/BP fix or suggestions I can do in /wp-admin/ or code. Meanwhile I will contact the theme maker to see if it’s their end.
    Thanks.

    thinlizzie
    Participant

    Stephunique,

    – I would recommend you use a plugin to add PHP code to your site. It’s very easy and safe.
    Search for the free “Code Snippets” plugin by Code Snippets Pro.

    – However, if you prefer to add the code direct to your theme, it should be added near the end of the functions.php file.

Viewing 25 results - 201 through 225 (of 32,562 total)
Skip to toolbar