Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,976 through 12,000 (of 69,128 total)
  • Author
    Search Results
  • #245008
    Henry Wright
    Moderator

    It looks as though BuddyPress has got PHP 7 in the bag ๐Ÿ™‚

    #245007
    billreed
    Participant

    Hi there Justin,

    I’ve run into a similar issue but in reverse.

    We’re in the process of migrating an individual WordPress site with BuddyPress to a multi-site WordPress with BuddyPress.

    In my case, the normal practice would be to rename the WordPress tables from wp_ to something like wp_99_* , where 99 represents one of the site IDs.

    The tool I used called “Export2 Multisite”, does a great job at fixing the table names.
    However, it’s not smart enough to handle the data merge of the wp_bp_* and wp_rt_* table names.

    Regardless, I’m seeing the same symptoms on the site I migrated from a single WordPress install to a multi-site WordPress.

    So, any help whatsoever from this community on migrating sites with Buddypress either coming FROM or TO a multi-site would be GREATLY appreciated!

    #245006
    Paul Wong-Gibbs
    Keymaster

    Hi

    We’ve been testing against PHP7 nightly releases for a long time. It helps that our PHP is newer than most of WordPress’, so we have less really old stuff to migrate.

    You can view our test coverage on https://travis-ci.org/buddypress/BuddyPress/ (“PHP: nightly” is PHP7), as you can see, there’s currently a failure with one test that we need to fix. It looks fairly straightforward to fix, and we’ll do that soon.

    This one test aside, to the best of knowledge, yes, BuddyPress works with PHP 7.

    #245004
    Henry Wright
    Moderator

    Good question! This is likely to being looked at by the core team.

    See this post which describes what is being done by the WordPress core team: https://make.wordpress.org/core/2015/09/10/wordpress-and-php7/

    My guess is the BuddyPress core team are doing something like that. Maybe @djpaul can add something here?

    #245003
    danbp
    Participant

    Hi,

    of course, in so far that php 7 will be used by WordPress. BuddyPress’s dev follow the same route.

    WordPress and PHP7

    #244995
    sambssc
    Participant

    Also I just discovered the Buddypress member profile pages aren’t loading for logged in users.

    #244987

    In reply to: Profile Tabs

    shanebp
    Moderator
    #244983
    @mercime
    Participant

    @wecreatehype Have you done any basic troubleshooting like deactivating other plugins except BuddyPress and changing to the WP default theme? Also, do provide more information about your installation so we won’t be chasing ghosts. https://buddypress.org/support/topic/when-asking-for-support-2/

    #244982
    @mercime
    Participant

    I have read many stories about converting BuddyPress to BBPress format


    @netentry
    Just to clarify that the only converting we ever did was to import content from the very old stand-alone bbPress 1.x.x versions included in very old BuddyPress installations into the bbPress 2.x.x plugin a long while back. That’s it. BuddyPress itself cannot be converted into bbPress forums.

    Are there any good tools for performing a BBPress-to-BuddyPress conversion?

    Another clarification here. BuddyPress is not a forum. It is a social network plugin with many components which could have Sitewide and/or Group forums if bbPress 2.x.x is installed and activated.

    So in your case, if you only have the bbPress plugin activated, you could install and activate BuddyPress and set it up in the bbPress Settings screen to allow Group forums in addition to the Sitewide Forums. Take note however, that if you activate bbPress and BuddyPress at the same time, the BuddyPress member profile pages will trump (or will show up instead of) the bbPress member profile pages.

    #244981
    ckchaudhary
    Participant

    This sounds doable theoretically. But i am sure there will be implications ๐Ÿ™‚

    abc.com – table prefix wpabc_
    xyz.com – table prefix wpxyz_

    Now in xyz.com, if you want to use buddypress tables of abc.com, go to active theme of xyz.com > functions.php and add the following code: ( untested )

    add_filter( 'bp_core_get_table_prefix', 'bporg_244943_change_table_prefix', 99 );
    function bporg_244943_change_table_prefix( $prefix ) {
        return 'wpabc_';
    }
    #244975
    ckchaudhary
    Participant

    I’d vote for boss theme too. It looks awesome and is specifically built for buddypress network sites.
    http://www.buddyboss.com/product/boss-theme/. You might want to check its live demo.

    #244967
    Henry Wright
    Moderator

    Hey @wecreatehype

    Feel free to show off your community in the Your BuddyPress forum. It’ll be great to see a live version of Boss “in the wild”.

    #244934
    danbp
    Participant
    #244930
    Henry Wright
    Moderator

    You could try the BuddyPress Ideas forum:

    Ideas

    #244917
    pandreas
    Participant

    Thank you for your answers and recommendations!

    The custom function that I have written before, I suppose it does what I want very well. Am I right?

    Here it is again.

    function filter_bp_get_total_group_count()
    {
    global $wpdb;
    $hidden_sql = "WHERE slug not in ('health', 'social', 'cultury')";
    $bp = buddypress();
    return $wpdb->get_var( "SELECT COUNT(id) FROM {$bp->groups->table_name} {$hidden_sql}" );
    };
    #244914
    @mcuk
    Participant

    Hi,

    Maybe using this would help stop users who aren’t logged in seeing things you don’t want them to in the first place (and therefore they won’t be able to try and access it). Not really the redirect solution you are after but it may be of use. Works with BuddyPress (I don’t use bbPress).

    //Prevents non logged in users seeing pages other than those permitted
    function bpcustom_restrict_bp_pages() {
    	global $bp;
    	
    	//These pages are permitted to logged out users
    	if( bp_is_blog_page() || bp_is_register_page() || bp_is_activation_page() ) {
    		return;
    	}
    	
    	if( !is_user_logged_in() ) {
    		bp_core_redirect( $bp->root_domain );
    	}	
    }
    add_action( 'get_header', 'bpcustom_restrict_bp_pages' );
    #244913
    @mcuk
    Participant

    Hi @danbp thanks for reply.

    Tried the code you wrote in the link above and it works fine. But as with the one referenced in my first post it reduces the string length upon display rather than preventing the user typing in a large number of characters in the first place (and the data being stored in database).

    So moved onto looking at the code snippet by @henrywright for the sign up page. Would be suitable if i could convert it to work with profile fields. Got to this stage with a few q’s:

    function my_textarea_validation() {
        $custom_field_id = bp_get_member_profile_data( 'field=Mini Bio' );	
    	//is the use of $_POST['field_' . $custom_field_id] correct to access desired profile field?
    	if ( strlen( $_POST['field_' .$custom_field_id] ) > 5 ) { 
            global $bp;
            //which $bp->... error message to use?
    	$bp->signup->errors['field_'] = __( 'CUSTOM ERROR MESSAGE', 'buddypress' ); 
        }
    }
    //which hook to use? (to affect the textarea on Profile > Edit navigation tab)
    add_action( '???', 'my_textarea_validation' );
    #244910
    ggsalas
    Participant

    Hi @danbp

    I think I have done the same configuration as you, but don’t work for me. Could be possible thar your code not work with the new version of Buddypress?

    This are my posts:
    all the posts

    This is that I see with 'posts_per_page' => 2, :
    only 2 posts, without navigation

    Before, I have tested with Twenty Thirteen, Now I’m testing with Twenty Fifteen theme.

    I have created a bp-custom.php file on plugins/ folder and deleted my previous plugin.

    The only plugin I have active is Buddypress:
    plugins actived


    I would like to display only one tab with the posts of the displayed user, without subtabs. My goal is remove “My posts” and “My Comments”. I would like to display the posts inside the “Contributions” tab

    #244909
    caesarhills
    Participant

    Thanks for your reply, after reading it I’ve seen is the most adviced plugin for that aim.
    Is there any live demo working or a live showcase of it?
    I didn’t get if as the admin of the website I could create a page for mediapress grid album in which I’m the only one allowed to upload pics and letting all the registered members commenting on the pics, but at the same time as I said, not allowing anyone to upload their pics in that grid.
    It should work like instagram but just with the buddypress accounts

    #244902
    ggsalas
    Participant

    Hi @danbp

    I have added your code as plugin on my new test site. On this site have activated only 2 plugins: buddypress and your code.

    This is what I see on the “My posts” tab (there is no navigation): no navigation

    I would like to display only one tab with the posts of the displayed user, without subtabs.

    #244896
    nautinz
    Participant

    Sorry missed these

    1. Which version of WordPress are you running?
    4.3.1

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

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

    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?
    Can I submit this to you privately?

    9. Are you using the standard WordPress theme or customized theme?
    http://themeforest.net/item/porto-responsive-html5-template/4106987

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

    11. Do you have any custom functions in bp-custom.php?
    not yet

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    WP 4.3.1

    13. Please provide a list of any errors in your serverโ€™s log files.
    actually none!

    14. Which company provides your hosting?
    digitalcoean/cloudflare

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

    #244894
    danbp
    Participant
    #244882
    jbakuk
    Participant

    Hi @modemlooper, thanks for getting in touch.

    Yes I have site tracking active and I’m not using custom post types, thanks for the code though it will come in handy if and when I do.

    There was no problems before moving url, I’ve double checked and there is no entries of the old url in the database.

    Is there a buddypress php file that might not have updated the url? That’s all I can think of but I can’t find anything.

    Right now it’s looking like I might just have to delete everything and start over ๐Ÿ™

    #244873
    modemlooper
    Moderator

    do you have site tracking option on in the BuddyPress settings? Also custom post types do not show by default and you have to add them.

    add_post_type_support( 'custom-post-type-name', 'buddypress-activity' );

    Post Types Activities

    #244872
    modemlooper
    Moderator

    Doubt there is a plugin this specific. I’m not sure the specifics but are you saying anyone can review a woo product if they are not logged in?

    BuddyPress doesn’t have a specific method for logging in its the same login as WP.

    You might try this http://stackoverflow.com/questions/24747095/woocommerce-require-registration-to-buy

Viewing 25 results - 11,976 through 12,000 (of 69,128 total)
Skip to toolbar