Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,851 through 7,875 (of 69,044 total)
  • Author
    Search Results
  • #267337
    r-a-y
    Keymaster

    I’ve added a potential fix for this here:
    https://buddypress.trac.wordpress.org/attachment/ticket/7577/7577.01.patch

    Let me know when you’ve had a chance to test.

    #267336
    r-a-y
    Keymaster

    Thanks for the report. I’ve created a ticket here to track its progress:
    https://buddypress.trac.wordpress.org/ticket/7577

    #267333
    tnrfx
    Participant

    Hi there,

    We are currently working on a brand new website for our eSports community.

    This requires some customizations to BuddyPress. We are currently renaming rverything related to BuddyPress ‘Groups’ to ‘Teams and ‘Members’ to ‘Players’.

    Now this worked for almost everything, besides of the group creation URLs.
    e.g. …/step/group-details/ -> …/step/team-details/

    Does anybody know how we can manage to fix the URL-Renaming issue?

    Thank you very much for your help!

    Best regards,
    Timothy ‘TNRFX’ Ross

    #267331
    Joost abrahams
    Participant

    1. Which version of WordPress are you running?

    4.8

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

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

    2.8.2

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    Ban Hammer: 2.6
    bbPress: 2.6-rc-3
    BP Blog Author Profile Link: 2.8.1
    BP Idea Stream: 1.0.1
    BP XProfile WordPress User Sync: 0.6.4
    BuddyDrive: 2.1.1
    BuddyPress: 2.9.0
    BuddyPress Docs: 1.9.4
    BuddyPress Edit Activity: 1.0.8
    BuddyPress Groups Extras: 3.6.9.1
    Co-Authors Plus: 3.2.2
    Jetpack by WordPress.com: 5.1
    JetPack Non-Admin Removal: 3.0
    Login Site Icon: 1.0
    Mantablog bp register text: 0.1
    Mantablog bp remove rss: 0.1
    Mantablog Custom Profile: 0.1
    Mantablog meta desc homepage: 0.1
    MediaPress: 1.1.6
    Registration Honeypot: 1.1.0-alpha-1
    SEO – Remove H1: 1.0.2
    TablePress: 1.8
    TinyMCE Advanced: 4.6.3
    WP Idea Stream: 2.4.0
    WP Revisions Control: 1.2.1
    WP Sitemap Page: 1.6

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

    standard WordPress theme

    10. Which theme do you use ?

    Generatepress

    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?

    2.6rc3

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

    15. Which company provides your hosting?

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

    Linux; Apache

    #267321
    vecturn
    Participant

    If I don’t get a response I’m just giving up on Buddypress and moving over to the alternative Peepso

    #267299
    scorpnetwork
    Participant

    I now found this thread which seems to be the source of my problem.
    https://buddypress.org/support/topic/only-administrator-can-change-avatar/

    Trying it out now. Sadly its closed and even sadder, there is no “solution”.

    If this thread is correct, then the problem occurs because of a redirect that forbids “regular users” to enter WP Admin.

    Does anybody have a solution for this?

    #267286
    margarit0
    Participant

    Thank you very much.

    I have installed the plugin from this link:
    http://donmik.com/en/how-to-disable-richtext-editor-for-textarea-buddypress-field-type/

    then I can disabled the rich-text from the backend, but if I am conected like a user I can not see the change I am seeing a rich-text not a plain-text like when I am log in as the admin.

    I have remove the cookies, but the problem persists.

    I need to install also the plugin of this othe rlink?:
    https://github.com/donmik/bp-xprofile-custom-textarea/releases/tag/0.1.1

    I only want plain text for buddypress user profiles.

    Best regards

    Margarita

    #267285
    Shmoo
    Participant

    No I’m busy focussing on the bbPress items for starters, topics and replies as of now.

    I have disabled all activity_items to the stream by default except topics and replies. I want to add more items but one at a time and controlled. A BuddyPress site can become overkill feature wise very fast because everything is so connected and relative with each other.

    Topics and replies in the stream.

    View post on imgur.com

    r-a-y
    Keymaster

    This has been filed as a bug, but was too late to make v2.9:
    https://buddypress.trac.wordpress.org/ticket/7569

    There is a patch attached with a fix if you want to fix this temporarily.

    #267244
    Andrea Grillo
    Participant

    Hi again,
    this is the last answer from my customer:

    Hi Andrea,

    i deactivate all my plugins except BuddyPress, WooCommerce, YITH Frontend Manager for WooCommerce Premium and YITH WooCommerce Multi Vendor Premium, and i remove my theme’s functions.php and bp-custom.php ( the buddypress file customisation ) but i have the same issue, the probleme disappears only when i deactivate YITH Frontend Manager for WooCommerce Premium.

    Watch the video to understund.

    http://recordit.co/EDtXjDOCI9

    i think it’s an ajax issue ,the problem occurs when i’m in buddypress page and I click on a button that requires ajax, only when i’m connected with vendro account.

    http://recordit.co/ncfABt1ErP
    in the 2nd video yith frontend manager is deactivated

    http://recordit.co/97vyc8reeI
    in the 3rd video it’s in my local environment with an other theme

    I hope this has helped you

    have a good night
    Ahmed

    Do you have another idea ? I have tried to replicate the issue but without success, if you want I can send a copy of our plugins…probably you understand how replicate this issue.

    Let me know.
    Thanks

    Have a nice day
    AG

    Eric Thomas Weber
    Participant

    Hi! I did follow the documentation. You’re right that those two pages work. Both of those pages use a certain template within the theme. That template uses a full-width page, without the sidebar and search bar that are on other pages. I’ve a few things to see what can remedy the matter:

    1) Yes, I switched to a different template to test, and yes, on the 2016 template, BP works, so I don’t need to reinstall BP or get it working on its own. That part is working. I didn’t realize I’d have to reset all of my widgets and stuff. Fortunately, they weren’t deleted… Got those set up again.

    2) I tried making all other relevant pages, creating pages for the stuff that BP uses, and setting each of those to use the template that works for Activity, Members, and Chapters. That didn’t work, though.

    3) I tried creating a Custom CSS entry that uses the .buddypress class, telling it to use full-width for #primary. That made the page use full-width, but it didn’t make the functionality of BP work… Like on this page:
    https://www.philosophersinamerica.com/chapters/create/step/group-details/

    Please help! I’ve reached out to my theme’s creator – and there’s no changing to a different theme. We’re super committed and it works really well for everything else, and he’s had no experience using BuddyPress. I need help! This is just the plugin I’ve been looking for to help my people create groups that they need to manage.

    It seems to me that if we’re able to get some of the pages to work there’s GOT to be a way to get other relevant pages to use whatever that same setting is to work also. Any help would be hugely appreciated.
    Best,

    Eric

    #267239
    Henry Wright
    Moderator

    I just don’t know what impact this will have on overal performance when I go wish in other tables for content.

    It depends. WordPress and BuddyPress do a great job when it comes to optimising queries but there are things that will cause a big site to simply fall over (the meta_value column isn’t indexed for example so meta querying could be problematic).

    shanebp
    Moderator

    Some BP pages load as expected:

    http://www.philosophersinamerica.com/activity/
    http://www.philosophersinamerica.com/members/

    Did you follow the documentation?

    Configure BuddyPress

    To determine if the issue is related to your theme, try switching momentarily to a WP theme like 2016 and see if the issues persist.

    #267230
    Henry Wright
    Moderator

    get_post() will get a WordPress post from the wp_posts table. This is different to a BuddyPress activity item which is stored in the wp_bp_activity table.

    #267221
    livingflame
    Participant

    Try with this:

    function tubs_sanitize_user($username, $raw_username, $strict) {
        $new_username = strip_tags($raw_username);
        // Kill octets
        $new_username = preg_replace('|%([a-fA-F0-9][a-fA-F0-9])|', '', $new_username);
        $new_username = preg_replace('/&.?;/', '', $new_username); // Kill entities
    
       // If strict, reduce to ASCII for max portability.
       if ( $strict )
            $new_username = preg_replace('|[^a-z0-9 _.\-@+]|i', '', $new_username);
    
        return $new_username;
    }
    add_filter( 'sanitize_user', 'tubs_sanitize_user', 10, 3);

    Source

    Or try with this:

    // Force Strong Username
    function strong_username() {
     global $bp;
    
     if ( !empty( $_POST['signup_username'] ) )
       if ( !valid_username( $_POST['signup_username'] ) ){
        $bp->signup->errors['signup_username'] = __( 'Your username is not strong enough. Use uppercase, lowercase, numbers and special chars like - _', 'bp-strong-username-password', 'buddypress' );
       }
     }
     add_action( 'bp_signup_validate', 'strong_username');
    
     function valid_username($candidate) {
       $r1='/[A-Z]/';  //Uppercase 
       $r2='/[a-z]/';  //lowercase
       $r3='/[0-9]/';  //numbers
       $r4='/[-_]/'; //Special chars, underscore...
    
       if(preg_match_all($r1,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r2,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r3,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r4,$candidate, $o)<1) return FALSE;
       if(strlen($candidate)<6) return FALSE;
    
       return TRUE;
    }
    #267211

    In reply to: Help with this code

    Henry Wright
    Moderator

    is_user_logged_in() is a WordPress function. It’ll return true if the user is authenticated and false if not.

    bp_loggedin_user_id() will return the ID of the BuddyPress member currently logged in.

    The two functions are different.

    #267209
    livingflame
    Participant
    #267208
    r-a-y
    Keymaster
    #267165
    Henry Wright
    Moderator

    What code do you have at line 102 in themes/buddyapp/lib/plugins/buddypress/navigation-icons.php?

    #267157
    wzshop
    Participant

    Ok found that you can just create a child template for /buddypress/members/members-loop.php

    #267145
    porcusheep
    Participant

    I got it working! Thank you so much for you help Henry.
    I ended up modifying the code I found in this post: https://buddypress.org/support/topic/hiding-groups-activity-members-list-to-non-members/

    Ran into some issues as bp_is_page( BP_MEMBERS_SLUG ) is no longer working, replaced it with your bp_is_members_directory()

    Then had to figure out why bp_is_page() doesn’t work, found it is replaced with is_page()

    After, some figuring out how to use is_page(), I got everything working with the code below:

    function nonreg_visitor_redirect() {
    	global $bp;
    
    	if (is_page('alchemist-top-250-companies') ) {
    	
    		if(!is_user_logged_in()) {
    			wp_redirect('/stillneedtosetupage' );
    		}
    		
    	}
    	
    	if (bp_is_members_directory() ) {
    	
    		if(!is_user_logged_in()) {
    			wp_redirect('/register' );
    		}
    	}
    }
    add_filter('get_header','nonreg_visitor_redirect',1);
    #267141
    Henry Wright
    Moderator

    The code should go in your bp-custom.php file.

    Ref https://codex.buddypress.org/themes/bp-custom-php/

    That looks like it would work for my members directory but what about doing this for a conditional redirect for a specific post page?

    Which post page are you referring to?

    #267132
    Henry Wright
    Moderator

    Or you can try to access to some page in WordPress admin area (e.g.: with an ajax call) ?

    BuddyPress doesn’t do this by default. Considering you can’t reproduce, I expect the client is using custom code that’s causing the problem (either in their functions.php file, bp-custom.php file or in an activated plugin). Check those 3 locations on your client’s site for anything strange.

    #267130
    bambidotexe
    Participant

    I found a workaround, I’am quite not completely satisfied but…

    First of all, disable members list on group:

    function change_access_group_nav_tabs() {
      if(bp_is_group()) {
        buddypress()->groups->nav->edit_nav( array( 'user_has_access' => false ), 'members', bp_current_item() );
      }
    }
    add_action( 'bp_actions', 'change_access_group_nav_tabs' );

    (btw, setting the value to true actually make the the nav items always here, but we still can’t access the group list on click)

    And then I simply add a custom BP Group Extension to make my own members list:

    class Group_Extension_List_Members extends BP_Group_Extension {
        /**
         * Here you can see more customization of the config options
         */
        function __construct() {
          $args = array(
              'slug' => 'members-list',
              'name' => 'Membres',
              'access' => array( 'anyone'),
              'show_tab' => array( 'anyone'),
              'nav_item_position' => 12,
              'screens' => array(
                  'create' => array(
                      'enabled' => false
                  ),
                  'edit' => array(
                        'enabled' => false
                  ),
              )
          );
          parent::init( $args );
        }
        function display( $group_id = NULL ) {
          //Remove user who do not belong to the group on members loop
          function filter_for_groups( $members_template_has_members, $members_template, $r ) {
            for ($i=sizeof($members_template->members)-1; $i >= 0 ; $i--) {
              $user_id = $members_template->members[$i]->id;
              if(!groups_is_user_member( $user_id, bp_get_group_id() )){
                $members_template->member_count = $members_template->member_count-1;
                array_splice($members_template->members, $i, 1);
              }
            }
            if ($members_template->member_count <= 0) {
              return '';
            } else {
              return $members_template_has_members;
            }
          };
          add_filter( 'bp_has_members', 'filter_for_groups', 10, 3 );
    
          require('/Your/theme/custom/members/loop/members-loop.php');
        }
    }
    bp_register_group_extension( 'Group_Extension_List_Members' );

    Hope it will help other in the future, And I’m still open to know the good way to proceed.

    #267124
    emmanuel123
    Participant

    Hi.
    After I installed. When I log into the admin page. I get the message: “Fatal error: Call to undefined function dbDelta () in wp-content / plugins / BuddyPress / bp-core / admin / bp-core-admin-schema.php on line 159″

    How do I do to fix this?.
    We wish everyone help

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