Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 66,176 through 66,200 (of 69,016 total)
  • Author
    Search Results
  • #42599
    Burt Adsit
    Participant

    It sounds like your user integration is not right. Go over everything again step by step in the topic https://buddypress.org/forums/topic.php?id=471 again.

    Burt Adsit
    Participant

    Here’s two functions that change the way the admin bar displays user blogs.

    // sort array of blog objs by $blog->role according to the order of $blog_roles
    // roles not included in $blog_roles array will not be displayed
    function filter_blogs_by_role($blogs){
    global $bp, $blog_roles;

    $blog_roles[] = __( 'Admin', 'buddypress' );
    $blog_roles[] = __( 'Editor', 'buddypress' );
    $blog_roles[] = __( 'Author', 'buddypress' );
    $blog_roles[] = __( 'Contributor', 'buddypress' );
    $blog_roles[] = __( 'Subscriber', 'buddypress' );

    // get roles
    foreach ($blogs as $blog){
    $blog->role = get_blog_role_for_user( $bp->loggedin_user->id, $blog->userblog_id );
    }

    // eliminate roles not in $blog_roles
    foreach ($blogs as $key => $value){
    if (!in_array($value->role, $blog_roles))
    unset($blogs[$key]);
    }

    // sort by $blog_roles sequence if there are any left
    if ($blogs){
    usort($blogs, 'compare_roles');
    }

    return $blogs;
    }

    // i love php.net. stolen from php.net usort manual, user mkr at binarywerks dot dk's
    // contribution for priority list comparision function.
    function compare_roles($a, $b){
    global $blog_roles;

    foreach($blog_roles as $key => $value){
    if($a->role==$value){
    return 0;
    break;
    }

    if($b->role==$value){
    return 1;
    break;
    }
    }
    }

    You can put those two fns in your bp-custom.php file. The fn filter_blogs_by_role() does the work and the fn compare_roles() is just a helper fn.

    filter_blogs_by_role() takes the array of blog objects returned by the fn get_blogs_of_user() in the admin bar’s bp_adminbar_blogs_menu() fn. It first gets all the roles for the user’s blogs and then removes all of the roles that are not listed in the $blog_roles array. That way you can eliminate some roles such as ‘Subscriber’ if you want. Next it sorts the blogs by the sequence of roles defined in $blog_roles. However you list them in that array is how they will display in the admin menu.

    1) So, put those two fns in bp-custom.php

    2) Arrange the roles defined by $blog_roles in the fn filter_blogs_by_role() however you want the roles to appear in the menu

    3) Comment out the roles you do *not* want to appear in the menu

    4) Put the call to filter_blogs_by_role() on line 133 in bp-core-adminbar.php like this:

    if ( !$blogs = wp_cache_get( 'bp_blogs_of_user_' . $bp->loggedin_user->id, 'bp' ) ) {
    $blogs = get_blogs_of_user( $bp->loggedin_user->id );
    wp_cache_set( 'bp_blogs_of_user_' . $bp->loggedin_user->id, $blogs, 'bp' );
    }

    $blogs = filter_blogs_by_role($blogs);

    Just in case the forums trash the code I also stuck it here: http://pastie.org/445729

    #42583
    jfcarter
    Participant

    When I go into bbpress admin settings, there is no option to enable xmlrpc and pingbacks. Why and what should I do?

    1. So far, WPMU, BuddyPress and bbpress have installed.

    2. I can create forums in Groups on BP, but I can\’t see them on bbpress

    3. When I try to enter a post in the Group forum in BP, I get the red square and error message: “There was an error posting that topic.”

    4. Also, even if I’m logged in as admin in BP (which is mapped to Keymaster in bbpress), I still have to sign in again when I reach the bbpress forums.

    5. This leads me back to: xmlrpc and pingbacks (why are the checkboxes not visible?)

    Burt Adsit
    Participant

    You can pick and choose which bp components to install. If all you want is Friends and XProfile then only install those. You do not have to use the bp home theme at all. It’s optional. You can use whatever wp themes you like on your blogs.

    The member theme is not optional however. That’s what gives your users access to the profiles and friend functionality.

    #42577
    Wythagy
    Participant

    Go figure, I post this and I think I find it… buddypress-member > profiles > index.php

    #42575
    mStudios
    Participant

    yeah, I installed about 6+ times and made it work in the end, but don\’t know what the difference is to the 5 times before that. I was going to write down the exact steps I used but then it was so late and promptly forgotten the next day and now it\’s a week later and gosh, no way to exactly trace back… the only thing I remember was that I simplified and actually did LESS than some of the posts suggest. also, as with the alpha I was constantly getting \’table not found\’ error regarding the user table during install, so I ended up not going with 2 db\’s but added this one to the wpmu db – no more error during install and smooth sailing between the two (except that I still need to put the cookies in, as it will not remember as whom I\’m logged in or if at all when switching between buddypress and bbpress… as an admin and a regular user this can become tricky).

    not very helpful at this point (sorry about that), I know, and I dread the time that I will have to go through that setup again, but at least I made it work on this one :-)

    dainismichel
    Participant

    LOL!

    Wow, yes, I sure would be mega-thrilled if the theme from that JPG were released. Frankly, I don’t even want to launch my BuddyPress community without some kind of cohesive theme where blog owners don’t have to do any configuration.

    Is there anything similar or functional available now? Also, were my procedural posts just goofy, or could some of my suggestions work with minimal effort?

    –Dainis

    #42573

    It’s neither actually anymore.

    It involves “deep integration” on the bbPress side, including WordPress/BuddyPress inside bbPress, and then making a new theme for bbPress that matches. :)

    Trent and I are working on a comprehensive walk-through on how to do this soon.

    #42570
    Jeff Sayre
    Participant

    First, please read this entire thread (all the posts) at least two times through before starting: https://buddypress.org/forums/topic.php?id=1994

    Then read through these links:

    https://codex.wordpress.org/Upgrading_WPMU

    https://buddypress.org/forums/topic.php?id=1285#post-9999

    http://subversion.tigris.org/faq.html

    https://codex.buddypress.org/developer-docs/installing-through-svn/

    Once you’ve done that, have a SVN client installed, and feel confident, go back to the first link in this post and follow the instructions.

    From where do I get the most recent versions?

    Those links are provided in the detailed instructions contained in the first link above.

    #42567
    Jeff Sayre
    Participant

    Read this thread and see if that helps:

    https://buddypress.org/forums/topic.php?id=1651

    #42566
    nightstalker101
    Participant

    Hi,

    no reason to be confused. :)

    I Want to use it like here:

    https://buddypress.org/developers

    In the left colum, under Latest Activity. The site whre I want to use it, as the starting page of my ite, located in the root.

    Deep
    Participant

    Hi Guys,

    I finally managed to fix the issue with the help of Burt.. I really appreciate the help.. very few people go so far and stay till the end.. I was with him on IRC for almost 2 hours..

    The issue was related to one of the plugins (Sexybookmarks), the plugin was trying to connect to remote site to fetch some data, the remote site had some problems so was throwing back error 500, so in this process, the server was not able to load the whole page. (May be it was retrying)

    We disabled all the plugins and tried enabling all one by one.. and thats how the issue was traced.

    Now back to the 1000s of table issue.. earlier I thought it might be causing the issue but later realized that, it was actually not the issue, this is how BuddyPress RC1 behaves to track activity of each user.. it creates 3 tables for each user..

    I think like Jeff mentioned, it has been taken care in the latest version over the trunk.. the latest trunk version will fix the issue as I think it stores all the activity in single table.. thus it’s a good idea for the sites with the large user base.

    I guess that’s it, all cool now.. issue resolved with the help of Burt (Burtadsit)

    Thanks everyone for their inputs.

    Regards,

    Deep

    thebigk
    Participant

    Damn, I”m bit confused. I’m using RC1. Please answer this simple question:

    Q> When the stable version of Buddypress is released, will it be possible to migrate to the stable version from RC1?

    I’m sure the database tables will be altered. So when I migrate to the stable version, will I be required to do custom database migrations? Or will it be handled by the upgrade script?

    Jeff Sayre
    Participant

    This is what IRC is for people. #buddypress irc.freenode.net

    We are posting around each other.

    Good point, Burt!

    Burt Adsit
    Participant

    This is what IRC is for people. #buddypress irc.freenode.net

    We are posting around each other.

    Jeff Sayre
    Participant

    Will it be safe to have latest SVN version on production site? I am not sure about it so asking..

    Safe? Well, both the latest WPMU branch and BuddyPress trunk versions are still in development. It is always a gamble to use pre-release packages in production.

    By the way, BuddyPress RC1 is not production ready. So, you take risks running it on a production site. Once BuddyPress has its first public release, you can then start deploying it into a production environment.

    However, it sounds like you’re already using BP on a production site. You might want to consider temporarily shutting that aspect of your site until you either fix this issue, or until BuddyPress is officially released and you’ve upgraded to the pubic release version.

    Getting back to the invite friends plugin issue, did you just delete it or did you first deactivate it then delete it? Have you done any updates to WPMU since deletion?

    #42547

    In reply to: Member Themes

    gpo1
    Participant

    Awaiting the member theme to look like new buddypress member theme ie one column.

    #42541
    Jeff Sayre
    Participant

    Thanks for everyone’s comments!

    It seems like this BuddyPress widget is good to go. I’m going to submit it to WP’s Plugin Repository. Once (if) accepted, I will post the new link to it here and remove the file from my server.

    Jeff Sayre
    Participant

    There was a recent change (Changeset 1295) to bp-blogs.php that stopped spam comments from being recorded in activity streams.

    As Burt points out, newer versions of BP no longer have individual user activity tables, but I suppose this bug combined with an older version of BP could expose you to significant spam problems. I cannot verify this without looking at the older code. It is just a hunch.

    I would recommend taking your site offline (if in production) and then upgrading your installation following the instructions found here: https://buddypress.org/forums/topic.php?id=1994

    #42533
    Oliver Wrede
    Participant

    http://campusphere.de/

    A site supporting Department of Gestaltung @ Aachen University of Applied Science.

    We are using blogs since 1999/2000. We ran on Userland Manila, then on individual WP sites. We moved to WPMU a while ago and now “upgraded” that with BuddyPress.

    We need to change the organisation and update the templates a bit to better address the new users to the site (as it is not a general purpose social community), but I am waiting fo the dust to settle with BP 1.0, so that an own templates will be more stable.

    I am currently transferring all the old Manila sites to WPMU.

    #42530
    Oliver Wrede
    Participant

    Update:

    I seem to have an issue related to the WPMU-Version.

    On the page https://buddypress.org/forums/topic.php?id=1994 I overlooked the “Please also make sure you are not using the MU trunk, but the 2.7 branch.” note — I was using the WPMU trunk. So I “downgraded” to the 2.7 branch.

    Now I have “Activate XYZ plugin sitewide”-Options in the Plugin area. I still have a single BP-Plugin though. I activated the BP Plugin sitewide. And it seems to worl fine.

    But I ran into following problem:

    I needed to update “/wp-includes/capabilities.php” to the one of the trunk-Version. The one of the 2.7-branch gave me this error on all pages:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in
    /www/wpmu/wp-includes/capabilities.php on line 537

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in
    /www/wpmu/wp-includes/capabilities.php on line 537

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in
    /www/wpmu/wp-includes/capabilities.php on line 539

    Discussion is not continuing on https://buddypress.org/forums/topic.php?id=1994

    #42529
    Oliver Wrede
    Participant

    Update:

    I overlooked the “Please also make sure you are not using the MU trunk, but the 2.7 branch.” — I was using the WPMU trunk. So I “downgraded” to the 2.7 branch.

    Now I have “Activate XYZ plugin sitewide”-Options in the Plugin area. I still have a single BP-Plugin though. I activated the BP Plugin sitewide. And it seems to worl fine.

    But I ran into following problem:

    I needed to update “/wp-includes/capabilities.php” to the one of the trunk-Version. The one of the 2.7-branch gave me this error on all pages:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in
    /www/wpmu/wp-includes/capabilities.php on line 537

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in
    /www/wpmu/wp-includes/capabilities.php on line 537

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in
    /www/wpmu/wp-includes/capabilities.php on line 539

    #42525
    Oliver Wrede
    Participant

    Update:

    I was wondering about BP behaving like a ordinary plugin – so I re-read the forum post regarding the movement from /mu-plugins/ to the /plugins/ directory (see https://buddypress.org/forums/topic.php?id=1994)

    I stumbled over the part “enable each plugin but CORE first” there. In my context the BP plugins shows up as a single ordinary plugin. I can’t “enable CORE first” I wonder if that is realted to the issue I see here…

    #42523
    Oliver Wrede
    Participant

    I am confused by step #4:

    Log in as a site admin, and head to the \”Plugins\” admin panel. You will need to activate each plugin (activate CORE first).

    In my context the BuddyPress plugin in shows up as a single plugin – I can’t enable “each plugin and activate CORE first”.

    I also seem to have the problem, that all my MU sites are “out of the BP context” now. Their activity/comments do now show up in the global activity stream anymore until I manually enable the (singular) BuddyPress-Plugin on each MU site. (see this thread here https://buddypress.org/forums/topic.php?id=2122).

    Odd….

    #42521
    Paul Wong-Gibbs
    Keymaster

    For BP there is – https://trac.buddypress.org/changeset/1324/trunk?old_path=%2F&format=zip.

    But if you’re going to use cutting-edge development versions, I would strongly recommended using SVN to get the files out directly as then it’s really, really easy to upgrade to latest versions.

Viewing 25 results - 66,176 through 66,200 (of 69,016 total)
Skip to toolbar