Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,451 through 7,475 (of 69,044 total)
  • Author
    Search Results
  • #269571
    David Cavins
    Keymaster

    Hi, the groups directory can handle that using some built-in arguments: https://codex.buddypress.org/developer/group-types/

    mysite.com/groups/type/ninja could be use to show only groups of type “ninja”.

    #269567

    In reply to: Broken links

    David Cavins
    Keymaster

    The links themselves look OK to me (BuddyPress is generating the correct links), but they are redirecting away at the server level. I’d check your htaccess files and other server-level routing code to find where the malicious code’s been added.

    Also, change your hosting setup passwords (like control panel, FTP access, DB access) as soon as you can.

    #269549
    David Cavins
    Keymaster

    Place the template file you want to use in your child them at the location specified here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#registration-page

    When BuddyPress is updated, it won’t affect your child theme.

    #269544
    Arize Nnonyelu
    Participant

    i am having a really bad network sorry for the late response, but i am already using a child theme. What i am confused about is changes inside the BP Plugin, like the registration page. I am want to know if after customizing it and BP Plugin updates will the changes i made go away.
    public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members
    If i can override it with the child theme, then how? Because i don’t know how to. thanks again

    #269543

    In reply to: Group. Custom page

    Boone Gorges
    Keymaster

    I’m afraid I haven’t ever used any of the available group chat plugins for BuddyPress, but a web search shows that a number are available: https://duckduckgo.com/?q=buddypress+group+chat&t=ffab&ia=web

    #269540
    David Cavins
    Keymaster

    Yes, the template hierarchy will use template parts from your theme:

    Template Hierarchy

    If you’re using a theme that is updated, then, yes, you should use a child theme to keep your changes.

    #269539
    David Cavins
    Keymaster

    Hi Marc-

    It sounds like you’re just getting started. Custom fields are part of the extended profile component. Read more about it here:

    User Extended Profiles

    Displaying Extended Profile Fields on Member Profiles

    It is not really possible to show groups with any richness outside of the group page. Your best bet is probably to customize your group templates to show what you want. The template hierarchy will help you:

    Template Hierarchy

    An all-user overview with search and filtering is the members directory available at yoursite.com/members

    #269538
    David Cavins
    Keymaster

    Hello there. BuddyPress doesn’t add jQuery to a site (it relies on WordPress to provide jQuery). It looks to me like you’re using a plugin to fetch jQuery from a CDN rather than use the local version that comes with WordPress. Disable your plugins one at a time until the code changes, then you’ll have found the cuplrit.

    #269527
    Boone Gorges
    Keymaster

    There should be nothing additional required – no registration or enqueuing.

    It looks like I made a typo in my original comment – I doubled the /buddypress/ path. Here’s the proper destintation in your theme:

    
    wp-content/themes/your-theme/buddypress/members/single/profile/profile-loop.php
    

    Sorry about that!

    #269520
    Boone Gorges
    Keymaster

    If you need to do extensive customization to the appearance of the user profile, I’d recommend overriding BP’s templates in your child theme. For example, you can copy the file wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php to wp-content/themes/your-theme/buddypress/buddypress/members/single/profile/profile-loop.php. Then, make the modifications you’d like in the copied file.

    Note that wp-profile.php is only used when the Extended Profiles component is disabled.

    #269519
    Boone Gorges
    Keymaster

    508 usually means that the hosting provider has put a limit on the resources available to your account. See https://stackoverflow.com/questions/20040307/how-to-fix-the-508-resource-limit-is-reached-error-in-wordpress. BuddyPress does generally require more resources (RAM, MySQL I/O) than a standard WP installation. I’d suggest reaching out to your hosting provider to ask about the potential of upgrading your service to support the use of BP.

    #269518
    Boone Gorges
    Keymaster

    Applying https://buddypress.trac.wordpress.org/changeset/11750 should fix the problem. Note that this change is in bp-messages/bp-messages-template.php, *not* notices-loop.php. There should be no need to reapply these changes after BuddyPress 3.0, where the fix will become part of the BP release.

    Boone Gorges
    Keymaster

    Hi @gregthebuzz – You might have better luck moving some of your logic into BP_Group_Extension, which does most of the template-related work for you. See https://codex.buddypress.org/developer/group-extension-api/. The display() method is where the content for your public-facing tab will go, while the edit parameter will help you configure what you’d like group admins to see under Manage.

    I’m unsure how or whether this’ll integrate neatly with https://wordpress.org/plugins/bp-extend-groups-fields/. That’s something you’ll probably want to talk to that plugin author about.

    #269512
    Boone Gorges
    Keymaster

    Hi @billybelly – It’s difficult for us on the buddypress.org forums to provide concrete advice on a non-free product, because we don’t have access to test it. If you paid for the UX Builder project, then they ought to be the ones providing you with support.

    That being said, it’s possible that BP templates are inherently incompatible with this plugin. BP technically uses WP pages like Activity, Register, etc, but it sorta hijacks the page loading process in a way that can make it incompatible with certain kinds of “builder” plugins. If you’re looking to customize the interior portions of a BP page, it’s best to do it either using CSS (which you can access via the Customizer and a plugin like https://wordpress.org/plugins/simple-custom-css/) or by overriding the templates in a child theme. See https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#overloading-template-compatibility-theme-files

    #269509
    Boone Gorges
    Keymaster

    Hi @datenfresser – You can customize the template by overriding the template file in your child theme. Copy the file wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php to wp-content/themes/[your-theme]/buddypress/members/single/messages/messages-loop.php, and make your modifications to the new file.

    To turn avatars into links, find lines that look like:

    
    <?php bp_message_thread_avatar( array( 'width' => 25, 'height' => 25 ) ); ?>
    

    and do this:

    <a href="<?php bp_message_thread_from(); ?><php bp_message_thread_avatar( array( 'width' => 25, 'height' => 25 ) ); ?></a>

    Something like that should get you close to what you want.

    To link the excerpt, find the line that includes bp_message_thread_excerpt(), and wrap it in a link to bp_message_thread_view_link(). See the ‘View Message’ markup just above for a template you can copy.

    #269508
    peter-hamilton
    Participant

    I think you need a child-theme and change the header.php to include your custom navigation, I have created a similar menu but did require a lot of work in the header.

    Full profile functionalities added to the main navigation

    When new messages the number of messages shows in the message-icon, links to profile page, also woocommerce integrated and a dashboard link for admin only.

    The following is in my custom header.php

    First code links to profile.
    <li><a href="<?php echo bp_loggedin_user_domain(); ?>" class="activitylink" title="My Account"><span class="dashicons dashicons-admin-users"></span></a></li>

    This code deals with messages.

    <li><a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/messages/'; ?>"><span class="dashicons dashicons-admin-comments"></span><span class="commentcount"><?php if (bp_get_total_unread_messages_count( bp_loggedin_user_id() ) > 0 ) { ?> <?php bp_total_unread_messages_count( bp_loggedin_user_id() ) ?><?php } ?></span></a>
    </li>

    Since I did not want too much in my nav I only used these buddypress features, more would clog up my website too much.

    But where it comes down to is with a child-theme you can make it exactly as you like.

    Good luck
    P.H.

    #269507
    peter-hamilton
    Participant

    I guess the only way to achieve this is to create a child-theme and override the buddypress templates there, then your theme stays ok unless they make a major change with hooks etc.

    #269503

    In reply to: New user welcome email

    neilsaunders
    Participant

    Thank you @terabyten for sharing your solution. This also worked for me. Good for others to know when they hit this problem with Buddypress.

    astrologeeks
    Participant

    Then in your entry.php file in your custom buddypress theme folder (located in wp-content/themes/your-theme/buddypress/activity/), replace the delete link code from this

    <?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>

    to this

    <?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link_aside(); ?>

    astrologeeks
    Participant

    You will need to add something like this to your bp-custom.php file. If you haven’t already, create this file and place it in the wp-content/plugins/ folder. I added “aside” to the name to tell buddypress this is a custom function and not re-declare an already existing function.

    function bp_get_activity_delete_link_aside() { 
     
        $url = bp_get_activity_delete_url(); 
        $class = 'delete-activity'; 
     
        // Determine if we're on a single activity page, and customize accordingly. 
        if ( bp_is_activity_component() && is_numeric( bp_current_action() ) ) { 
            $class = 'delete-activity-single'; 
        } 
     
        $link = '<a href="' . esc_url( $url ) . '" class="item-button bp-secondary-action ' . $class . ' confirm btn white btn-xs" rel="nofollow" style="padding: .2195rem .5rem;font-size: 0.8rem;">' . __( '<i class="fa fa-fw fa-trash text-muted"></i>', 'buddypress' ) . '</a>'; 
     
        /** 
         * Filters the activity delete link. 
         * 
         * @since 1.1.0 
         * 
         * @param string $link Activity delete HTML link. 
         */ 
        return apply_filters( 'bp_get_activity_delete_link', $link ); 
    } 
    function bp_activity_delete_link_aside() { 
        echo bp_get_activity_delete_link_aside(); 
    } 
    #269480
    Gunu
    Participant

    Try this

    #buddypress ul.item-list li div.item-desc {
        color: #000000;
        font-size: 80%;
    }
    #269476
    Henry Wright
    Moderator

    If you have the user’s ID then you can pass it to the get_userdata() WordPress function like this:

    $user_id = 1;
    $user = get_userdata( $user_id );

    Then you can use the $user object like this:

    echo sanitize_email( $user->user_email );

    Note, how you get the user’s ID will depend on the context. See:

    Playing with the user’s ID in different contexts

    #269475
    Gunu
    Participant

    @erraticramblings

    Try this in: – Customizer – Extra CSS

    #buddypress div#item-header div#item-meta {
        color: #000000;
        font-size: 80%;
    }
    #269471
    vantra117
    Participant

    Thanks a bunch, Gunu. It works. I also added this CSS to hide the repeated activity comment.

    #buddypress #activity-stream .activity_comment {display:none;}

    #269466
    Gunu
    Participant

    Plugin “BuddyPress Activity Stream Bump to Top” Last updated: 6 years ago

    I do not know if that still works. But I have found a working alternative.

    Look here – http://techiescircle.com/move-new-commented-activity-stream-to-top/

Viewing 25 results - 7,451 through 7,475 (of 69,044 total)
Skip to toolbar