Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,876 through 9,900 (of 94,565 total)
  • Author
    Search Results
  • ToobHed
    Participant

    I have a smippet of code I am running in my theme’s function.

    $group_ids = BP_Groups_Member::get_group_ids( $user_id );

    When I output the array I always get:
    Array
    (
    [groups] => Array
    (
    )

    [total] => 0
    )
    regardless of the groups for given user. I think I am missing something when trying to use this in functions, as the same code used in “theme\buddypress\members\index.php” will give me the desired results. Any ideas?

    #270194
    otty-dev
    Participant

    I’m still trying to find what’s going on. I tried link-style none but that doesn’t work.

    How exactly can I choose the full-width page template for all of the BuddyPress pages?

    averyjleon
    Participant

    1. Which version of WordPress are you running? 4.9.2
    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, definitely checked that, permalinks are set to “pretty urls”
    6. Which version of BP are you running? 2.9.2
    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? No, we disabled all of them, it still isn’t working
    9. Are you using the standard WordPress theme or customized theme? standard
    10. Which theme do you use ? twentyseventeen
    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? No, disabled it, still not working
    14. Please provide a list of any errors in your server’s log files.
    [Mon Jan 15 20:34:25.026815 2018] [authz_core:error] [pid 1160] [client 52.33.40.5:59040] AH01630: client denied by server configuration: /var/www/transfamilies.org/web/.user.ini, referer: https://www.transfamilies.org/.user.ini
    [Thu Jan 18 19:10:09.771753 2018] [fcgid:warn] [pid 29851] (32)Broken pipe: [client 73.221.194.79:54064] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://www.transfamilies.org/wp-admin/plugins.php
    [Thu Jan 18 19:45:39.653380 2018] [authz_core:error] [pid 31518] [client 52.33.40.5:60936] AH01630: client denied by server configuration: /var/www/transfamilies.org/web/.user.ini, referer: http://www.transfamilies.org/.user.ini
    15. Which company provides your hosting? Amazon
    16. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux, Ubuntu LTS, most recent version
    Running most current version of WordPress, not on a subdomain. We have tried disabling all plugins and selecting the default theme (twenty seventeen) and the same issue persists.
    BuddyPress (and bbpress) were previously installed and working. I then installed Theme-My-Login, but it disabled all login access. I removed Theme-My-Login via FTP and was able to log back in, but the Register and Login pages were no longer accessible. I deactivated and deleted BuddyPress and tried reinstalling.
    Then I got this message:
    “The following active BuddyPress Components do not have associated WordPress Pages: Members, Activity Streams, User Groups, Activate, Register. Repair”
    BuddyPress had not created these pages on install. I’ve since tried several times to reinstall it, but same problem. I can create the pages, but they’re just blank.
    That about covers it!

    #270190
    avaiya
    Participant

    Hey Peter, thanks for your help. Another question.

    I notice in using BuddyPress, a page gets created that shows all the Members of our site.

    Members

    Not just our membership members, but our wordpress members as well.

    Is there any problem if I just delete this page so no one can see it?

    Thanks,

    Ande

    #270189

    In reply to: usernames only

    Henry Wright
    Moderator

    The plugin hasn’t been abandoned. It’s still maintained by @r-a-y. See https://github.com/r-a-y/buddypress-usernames-only

    #270188

    This may depend on your theme, and I don’t have rtmedia installed so you’ll have to work it out for yourself, but you should be able to just hide that tab using CSS.

    On my install of BuddyPress a class of logged-in is added to the body element when the user is logged in. Check your page to make sure that this is the same for you too.

    If it is, you can add CSS to target the rtmedia tab for people who aren’t logged in. Like I said, I don’t have rtmedia installed, so you’ll have to find out the class or ID of the media tab you want to get rid of for yourself (sorry!). But, for the sake of this example, let’s pretend it has an ID of “rtmediatab”.

    So, you could add a line something like this to your CSS and the tab would be hidden:

    body:not(.logged-in) #rtmediatab { display: none; }

    Obviously it doesn’t remove it completely as the underlying HTML will still be in the page, but it won’t be visible on the page and that’s better than nothing.

    Hope that helps

    #270181

    In reply to: usernames only

    Venutius
    Moderator

    I’ve looked at BuddyPress Usernames Only and have come up with a fix for it. I’m trying to get in touch with the plugin author to see if we can push out a fix. If you are able to edit the plugin I can let you know what the fix is.

    #270178
    minijuji1
    Participant

    Hello and thank you for your help in advance.

    I’m new to buddypress and need help with making my custom registration page working. I need to have two different registration forms for two different types of members. I’ve tried coping the register.php to a template page but the bp_get_current_signup_step() displays NULL so the page is empty. Basically I need to apply one member type by default with the first registration form and the other one the second type member.

    Thank you!

    #270176
    andrew55
    Participant

    Anyone have a current solution for displaying only usernames across BuddyPress, instead of usernames + display names?

    I’ve gotten too many complaints from members who keep getting confused (because the same person has different names, in different places).

    I’ve been searching the web for hours, with no luck. I did find this:

    BuddyPress Usernames Only

    But it seems to be abandoned and it throws php error in my logs. I’ve seen a couple other functions, but nothing seems updated or seems to work.

    Thanks for any suggestions.

    kartikrana
    Participant

    i recently installed buddypress plugin and noticed that no registration and activation page was generated.
    i have turned on registration for new users in settings.
    i have created and selected activation and registration page in buddypress plugin settings.
    i have checked for register.php and activation.php in plugin directory. its there.
    also my theme is a bp compatible theme.

    i am not able to figure out the problem and i also cant reinstall everything from the start. Help plz.
    website- https://basil-check.000webhostapp.com/

    opalescent
    Participant

    I look at my user list and see so many without a name, which is a required field. Tested to see what was happening, and on a whim tried entering a few spaces in the name (required) field, and what do you know it worked! So it appears that people registering don’t actually have to enter their name if they want to remain anonymous. I would like that name field filled in.

    Is this a bug? I don’t know. It’s irritating, that’s for sure.

    Using WP version 4.9.2, BuddyPress version 2.9.2.
    Site link: https://wisdomseekers.net
    I have tried a new signup using twentyseventeen, and was able to create an account with ” ” as the (required) name.

    #270169
    dwsprb
    Participant

    i ever search any shortcode about my profile page in buddypress, i didnt find it. and after met @djpaul forum i must insert this code

    ”>Profile

    but i dont know exactly where i must to insert this code.. because php theme is not only one, when i open plugin theme, that had too.

    pardone me if my grammar not good, because i wasnt nattive english language. thanks before

    #270163
    stoi2m1
    Participant

    I found the default theme was also showing issues which I missed.

    I had both Groups and Members as a Child Page to My Activity Page, named Community. This was causing both single members profiles and single groups to not work. Until I find a solution I have made them Main Pages (no parent assigned). Is there a way to set the slug? I found these deprecated constants, is there some new way?

    Deprecated Method in bp-custom.php use:

    define ( 'BP_MEMBERS_SLUG', 'community/groups' );
    define ( 'BP_GROUPS_SLUG', 'community/members' );

    From the following link:

    Changing Internal Configuration Settings

    I also found my other issue in bp-custom.php. Forgot all about that one.

    I created an aggregate feed called “My Feed” to display a more personal feed (which is working just fine). I used it on both the Activity in Profiles and the Main Activity Stream (site wide). I am using the following function to change the default sub nav for activities in profiles (Profile >> Activity >> Default Sub Nav) to “My Feed”. This works for profiles but causes the Site Activity to stop working.

    function gzp_set_default_activity_sub_nav() {
     
        bp_core_new_nav_default (
            array(
                'parent_slug'       => buddypress()->activity->id,
                'subnav_slug'       => 'my-feed',
                'screen_function'   => 'gzp_bp_my_feed_screen_activity'
            )
        );
    }
    add_action( 'bp_setup_nav', 'gzp_set_default_activity_sub_nav', 20 );
    #270162
    Funeral
    Participant

    i was curious if anyone knew how they made their buddypress profile page look like this?

    http://tamrielfoundry.com/members/tabatta/

    klubnika74
    Participant

    I have an online learning site and I need to be able to receive a copy of the email a student (user) sends to the instructor (another user). I found this code but have no idea which file to paste it in. Some guidance (file name and place in the file) greatly appreciated! This code is from earlier reply 2 years ago: https://buddypress.org/support/topic/send-a-copy-of-every-message-to-admin/

    My WordPress version is 4.9.2 and BuddyPress version is 2.9.2

    function arc_wp_mail_filter( $args ) {

    $args[‘headers’][] = ‘Bcc: <admin@yoursite.com>’;

    $new_wp_mail = array(
    ‘to’ => $args[‘to’],
    ‘subject’ => $args[‘subject’],
    ‘message’ => $args[‘message’],
    ‘headers’ => $args[‘headers’],
    ‘attachments’ => $args[‘attachments’]
    );

    return $new_wp_mail;
    }
    add_filter( ‘wp_mail’, ‘arc_wp_mail_filter’ );

    #270159
    Varun Dubey
    Participant

    @krzysztofsw BuddyPress use the same user tables, all WordPress users will already be listed in BuddyPress member directory, and they cannot register again with same email id.

    #270158
    Varun Dubey
    Participant

    @keshabee You can change the statement via changing language strings. Try Loco translate plugin to change strings within the dashboard.
    You can check https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/ for further details.

    #270156
    Varun Dubey
    Participant

    Hi @freddurst1805
    You can use this approach to load template files from your plugin
    https://gist.github.com/modemlooper/fb70735dd78de7cd2032

    
    function screen_test(){
            add_action('bp_template_title', 'screen_test_title');
            add_action('bp_template_content','screen_test_content');
            bp_core_load_template(apply_filters('bp_core_template_plugin', 'members/single/plugins'));
        }
    // buddypress-template folder and file name which you have created inside your plugin.
        function screen_test_content() {
            	include 'buddypress-template/some-template.php';
        }
    freddurst1805
    Participant

    WP version 4.9.2
    BP version 2.9.2

    Hello everyone,

    I have a very sad issue that I cannot solve. I spent something like 3 hours and nothing helped me.
    I create a new tab on the profile page with “bp_core_new_nav_item” this way :

    function test_custom_tab() {
    global $bp;
    bp_core_new_nav_item( array(
    ‘name’ => __( ‘My recent Posts’, ‘buddypress’ ),
    ‘slug’ => ‘test’,
    ‘position’ => 100,
    ‘screen_function’ => ‘screen_test’,
    ‘show_for_displayed_user’ => true
    ) );
    }
    add_action(‘bp_setup_nav’, ‘test_custom_tab’, 1000);

    So at this step everything is OK. But now I want to associate a view to this tab. I do this way :

    function screen_test () {
    add_action( ‘bp_template_title’, ‘screen_test_title’ );
    add_action( ‘bp_template_content’, ‘screen_test_content’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/test’ ) );
    }
    function screen_test_title() {
    echo ‘My new Page Title’;
    }
    function screen_test_content() {
    echo ‘My new Page Content’;
    }

    After I create the “test.php” file into my plugin directory :
    /plugins/my-plugin/templates/members/single/test.php

    I registred my “templates” directory as a template directory for BuddyPress this way :

    function bp_tol_register_template_location() {
    return dirname( __FILE__ ) . ‘/templates/’;
    }

    function bp_tol_start() {
    if( function_exists( ‘bp_register_template_stack’ ) )
    bp_register_template_stack( ‘bp_tol_register_template_location’ );
    }
    add_action(‘bp_init’, ‘bp_tol_start’);

    And the issue is that instead of displaying the content of the file “test.php” it’s displaying a list of member from I don’t know where it takes this page …

    Please help me this issue is horrible

    #270153
    jmidkiff
    Participant

    Hello,

    Would it be possible to trigger a BuddyPress notification when a group’s details (name, description, or slug) are updated?

    Currently an email is sent in bp-groups/bp-groups-notifications.php and I used the ‘bp_groups_sent_updated_email’ action to add a custom action that triggers a new BuddyPress notification. Is there a reason that this notification is not created by default?

    Thanks,
    James M

    #270151
    HDcms
    Participant

    HI,

    I’m trying to filter the buddypress members in the list of members and display them in descending order of precedence on a numeric xprofile field (0 to 10).
    Example of filter xprofile field “I search” = xprofile field “I am”

    I found the function that should work, but I can not do the query:

    function my_bp_loop_querystring( $query_string, $object ) {
    if ( ! empty( $query_string ) ) {
    $query_string .= ‘&’;
    }
    // $query_string .= ‘per_page=2’; //works
    $jerecherche = xprofile_get_field_data(‘Je recherche’, $user_id, $multi_format = ‘comma’ );
    $query_string .= ‘search_terms=true&per_page=2’; // does not work
    
    return $query_string;
    }
    add_action( ‘bp_legacy_theme_ajax_querystring’, ‘my_bp_loop_querystring’, 20, 2 );
    HDcms
    Participant

    HI,

    I’m trying to filter the buddypress members in the list of members and display them in descending order of precedence on a numeric xprofile field (0 to 10).
    Example of filter xprofile field “I search” = xprofile field “I am”

    I found the function that should work, but I can not do the query:

    function my_bp_loop_querystring( $query_string, $object ) {
    if ( ! empty( $query_string ) ) {
    $query_string .= ‘&’;
    }
    // $query_string .= ‘per_page=2’; //works
    $jerecherche = xprofile_get_field_data(‘Je recherche’, $user_id, $multi_format = ‘comma’ );
    $query_string .= ‘search_terms=true&per_page=2’; // <del datetime="2018-01-17T10:23:06+00:00">works</del>
    
    return $query_string;
    }
    add_action( ‘bp_legacy_theme_ajax_querystring’, ‘my_bp_loop_querystring’, 20, 2 );
    HDcms
    Participant

    Hello,
    I see a problem while browsing the activity thread in groups.
    There is a lot of error 404 by clicking on the picture of a member to see his profile. Looking at the url, I see different paths. At given times I changed the page tree of the sites
    1 / at the beginning: monsite.xyz/membres/toto/
    b / then monsite.xyz/reseau/membres/toto/
    c / and now monsite.xyz/reseau-social/membres/toto/

    So I have a mix of these 3 types of url. Some work, others do not.
    I do not see any apparent logic!
    I was in the tools / buddypress and I checked and then all the permalinks to try to “renormalize” with the last url but without success 🙁

    #270147
    stoi2m1
    Participant

    Super weird. I disabled all of my plugins except Buddypress, Activated the Parent Theme and still had issues. Copied over the BP Default theme and things work.

    I have not changed anything in the parent theme, very odd that it seems to be the issue. Maybe some of this happened when I upgraded to the most recent WP and BP.

    krzysztofsw
    Participant

    Hi, can Buddypress only allow user registration, which email addresses have been previously added in wordpress?

Viewing 25 results - 9,876 through 9,900 (of 94,565 total)
Skip to toolbar