Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,526 through 8,550 (of 69,104 total)
  • Author
    Search Results
  • danbp
    Participant

    The function used to show @ mention is bp_displayed_user_mentionname in this template context:

    <h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2>

    Above the profile header you have the fullname, which use this function: bp_displayed_user_fullname.

    To replace the mention by the fullname, you can use this snippet (goes to bp-custom.php):

    function bpfr_user_fullname() {
            // uncomment below if you want this only for logged in users.
    	//if ( !is_user_logged_in() )
    		//return false;
    
    	echo bp_displayed_user_fullname();
    	
    }
    add_filter( 'bp_get_displayed_user_mentionname', 'bpfr_user_fullname' );

    To remove the existing fullname, you use something like:

    function bpfr_remove_fullname_from_profile() {	
    global $bp;
    	
    	if ( bp_is_active( 'xprofile' ) )
    
    	if( bp_is_user() && ! bp_get_member_user_id() ) {
            $user_id = 'displayed: '. bp_displayed_user_id();
        } else {
            $user_id = 'get_member_user: '. bp_get_member_user_id();
        }
    
    	remove_filter( 'bp_displayed_user_fullname', isset( $bp->displayed_user->fullname ) ? $bp->displayed_user->fullname : '' );
    	
    }
    add_filter( 'bp_displayed_user_fullname', 'bpfr_remove_fullname_from_profile' );

    And in case of you want to modify the @ sign, it is hardcoded in the template. You have to remove it manually via a child-theme.

    Many other related topics on the forum.

    Function reference.

    #262998

    In reply to: [Resolved] My Profile

    danbp
    Participant
    #262993

    In reply to: Creating a custom page

    argoncobalt
    Participant

    Do you know how I can just create a custom BuddyPress template? I need to create it such that my client can enter the information herself manually (we are using the Advanced Custom Fields plugin for that), and such that it can only be viewed once a user is logged in. It needs to say “Welcome [user]!” at the top.

    #262989

    In reply to: [Resolved] My Profile

    danbp
    Participant

    Fortunately, the BuddyPress support forum has a search feature!

    I used it to find “link to profile” specially for you:

    https://buddypress.org/support/topic/create-dynamic-user-links-to-end-users-wallprofile-etc/

    bp_core_get_userlink()

    danbp
    Participant

    As you know that it is your plugin who generate the redirection, it is on their support that you have to ask for a solution.

    This forum is related to BuddyPress and maintained by volonteers. We can’t offer support for third party or premium plugins and themes.

    vjjam
    Participant

    Noted. The Affiliate Royale website is: https://www.affiliateroyale.com/

    I also just tested by deactivating the Affiliate Royale plugin, the problem of redirect from buddypress pages is resolved.

    But I would like to ask if anyone here will be able to help why the Affiliate Royale plugin is redirecting. I have enabled the plugin so that you guys can see the issue and how to resolve it. I want to have an affiliate plugin for my site, hence looking to solve it.

    Any kind souls able to help?

    danbp
    Participant

    Hi,

    while reading your story, it appears that your issue came up just after you installed an affiliate plugin.
    Why don’t you remove that plugin ? And why do you think that BuddyPress is the only to be concerned ? Have you made some test ? How can we reproduce your issue ?

    Also you provide an url to a register page. If you use restricted access, it’s not very handy to check what’s going on on your site. And mentionning a plugin without giving a link where to get or find it, is useless…

    Without details, nobody can help you here.

    #262974
    danbp
    Participant

    You simply use one of the 6 action hook available on the group member template.
    The file to check is buddypress/bp-templates/bp-legacy/buddypress/groups/single/members.php

    The hook to use, for example bp_group_members_list_item.

    WP hook reference.

    rmessick
    Participant

    Ok doing more testing if we deactivate “Activity Streams” in BuddyPress it stops calling this function on this page. Is there a way to keep this enabled but turn it off through remove actions on this page template?

    rmessick
    Participant

    I do not have anything else but buddypress loaded to be calling this function. Is there a way to override this function to exit out without modify plugin code?

    wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php

    // Bail out if the site has a ton of users.
    if ( is_multisite() && wp_is_large_network( ‘users’ ) ) {
    return;
    }

    Would like it to just be:
    // Bail out if the site has a ton of users.
    if ( wp_is_large_network( ‘users’ ) ) {
    return;
    }

    #262968
    psmorrow
    Participant

    I found this:

    post

    which adds xprofile fields to member directory, but I can’t seem to get this working for the group members directory.

    #262954
    paulbntz
    Participant

    Hi Masoud , i have the same issue that you write or very similar.

    I have found a solution in this URL

    Restrict not logged in users from accessing BuddyPress or bbPress pages

    I hope it can help you as me. 😉

    Have a nice day.

    Regards.

    #262953
    Solomonsun
    Participant

    hello @hurior. i made sure i deleted buddypress from my cpanel and Plugin tab in wp-admin. then i reinstalled buddypress, manually created pages like member, profile, registratoin, activation, etc. then i went to settings > buddypress > pages > and associate the pages there with the pages i created and saved them. thats all

    Check it out https://schoolhome.com.ng

    #262949
    gprovostjr
    Participant

    1. Which version of WordPress are you running? 4.7.1

    2. Did you install WordPress as a directory or subdomain install? Directory

    3. If a directory install, is it in root or in a subdirectory? Root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? no

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes

    6. Which version of BP are you running? 2.7.4

    7. Did you upgraded from a previous version of BP? If so, from which version? no

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? YES
    Analytics Cat 1.0.1
    bbPress 2.5.12
    Photo Gallery 1.3.26
    Ultimate Social Media PLUS 2.5.1
    User Role Editor 4.31.1
    WP Discord 0.2.3

    9. Are you using the standard WordPress theme or customized theme? Standard

    10. Which theme do you use ? 2017

    11. Have you modified the core files in any way? no

    12. Do you have any custom functions in bp-custom.php? no

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? listed earlier

    14. Please provide a list of any errors in your server’s log files.

    15. Which company provides your hosting? ipage

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?

    bcanr2d2
    Participant

    Consider this one resolved, I found the function for the OneAll Social Login that fires off after the accounts are created, and it will now send off welcome emails for those that create accounts via the social media logins!

    Thanks for the tip, whilst they didn’t have an example of what I was after, they had plenty showing what function fired off after their account creation.

    In the end, so little code -will put on here for reference.

    add_action( 'oa_social_login_action_after_user_insert', 'oa_social_login_send_welcome_email', 10, 2);
    function oa_social_login_send_welcome_email ($user_data, $identity) {
    //Fire off BuddyPress Welcome email
    $user_id = $user_data->ID;
    bpdev_welcome_user_notification( $user_id);
    }
    #262852
    danbp
    Participant

    The toolbar is part of WordPress, not BuddyPress.
    BP offers in his Main Settings to show the Toolbar for logged out users (default: enabled).

    Removing WP’s toolbar is a very common task, widely commented and explained over the web and on WP’s codex. Read here.

    #262851
    danbp
    Participant

    Which update ? Do you use a child theme ?
    Do you follow changelogs ? If so, have you noticed the recent template changes made in BuddyPress 2.7 ?

    Also, because BP pages are not exactly ordinary WP pages, how have you implemented your slider ? Those details may help to help you.

    Note also that an issue with Canvas/BP 2.7 was reported 2 mounth back. I ignore if you are concerned, but in case of, the discussion is here.

    #262849
    danbp
    Participant
    #262841
    danbp
    Participant

    Please, search the forum before asking common question!

    https://buddypress.org/support/search/change+buddypress+menu/

    #262832
    wfott
    Participant

    danbp,

    I seem to hit a limit around 250 items, however, the quantity does vary as I try to add more. I need to increase this to 375. I switched to a radio button and I was up to around 300. I also read that tables do not like capitals so converted to lower case with little impact. I have tried explorer, firefox and safari on a PC and MAC with no impact.

    I did look at the class-bp-xprofile-field-type-selectbox.php file and did not see a limiting parameter. The posts you referenced said they had over 1,000 items so I am not sure if it may be something with my host. Anyway, below is my theme and plug-ins, any help would be appreciated.

    Thanks,

    Bill

    Theme

    Boss

    Plug-ins

    BP Auto Group Join

    BuddyBoss Media

    BuddyBoss Wall

    BuddyPress

    BuddyPress Custom Profile Menu Pro

    BuddyPress Default Data

    BuddyPress Global Search

    BuddyPress Member Types

    BuddyPress Reorder Tabs

    Contact Form 7

    Custom Sidebars

    Duplicate Post

    Duplicator

    Invite Anyone

    Meta Tag Manager

    Mobile Smart

    Recent Posts Widget Extended

    The Events Calendar

    User Role Editor

    W3 Total Cache

    Wiki

    WP Editor

    Yoast SEO

    beforeplastic
    Participant

    On a profile page / viewed blog results, the previous entries link at the bottom of the results page takes you to a 404 page. Would this be a buddypress or buddyforms issue?

    #262824
    danbp
    Participant

    Most of BP functions are working within loops. If you want to use them, you simply have to use the parent loop.

    Loops Reference


    https://codex.buddypress.org/?s=loop

    #262810
    grinsemaenner
    Participant

    Did you find any solution? I plan something similar but with canoeing and other water sports.

    Thus, I’d be interested whether you managed to tweak your buddypress so that users can post new trips on maps themselves!?

    #262805
    shanebp
    Moderator

    You can use the theme approach by overloading a group template, home.php, from a plugin.
    https://codex.buddypress.org/plugindev/template-overload-from-a-plugin/

    Then in your overload, add a conditional at the top.

    That should side-step switching themes issues for most themes.

    #262802
    djsteveb
    Participant

    I am guessing an installer from a web host likely includes some plugins and different themes.
    I suggest deactivating or deleting all plugins, and switch to default theme in wordpress before you try to install buddypress. then follow the prompts from there.

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