Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 66,251 through 66,275 (of 69,101 total)
  • Author
    Search Results
  • #42626
    Jeff Sayre
    Participant

    Actually, come to think of it, maybe you should keep it in plugins/buddypress/. That will make it easier to add it to the BuddyPress menu in the backend.

    #42625
    Jeff Sayre
    Participant

    @Erwin

    As Nicloa suggests, placing your plugin in plugins/bp-events/ makes sense. Also, perhaps you should consider adding it to the BuddyPress menu in WP admin.

    #42623
    nicolagreco
    Participant

    i really suggest you (for stats and user experience)

    to put it in plugins/bp-events/

    Then you should add some code to stop it working if bp is disabled,

    contact me if needed ( nicola at buddypressdev.org )

    #42621
    Wythagy
    Participant

    Okay I’m officially retarded and have been up way too long…

    all I had to do was replace the link using the $user variable they already provided…I didn’t need an ID# after all…

    For what it’s worth though if anyone would like to know, I now have WP-Forum working very smoothly along with BuddyPress :-) (again…not within group forums, only as a site wide forum).

    #42617
    Wythagy
    Participant

    By the way, just so you know what I am trying to do, there is a function within WP-Forums that calls a profile link using the variable $link:

    $link = "<a hre f='".$this->base_url."profile&amp;id=$user_id'
    title='".__("View profile", "wpforum")."'>$user</a>";

    I need to be able to change the content after the \”href\” in the $link variable so that the $user_id forwards to a the equivalent BuddyPress profile.

    #42618

    In reply to: BP-FBConnect Plugin

    2448027
    Inactive

    got it working it was my stupid php… so what exactly does this do ? when you post a blog on wpmu does it post it on fb as well?? and vice versa ?

    also isnt there anyway to take out users profile info … and put em into there buddypress if they have the same fields..?

    #42611
    Roger Coathup
    Participant

    @burt:

    I’ve written a plugin (essentially your logo replacement code), and put it in the mu-plugins directory, but it doesn’t seem to be getting invoked?

    Am I missing something obvious?

    My file is called 2l2r-plugins.php and sits in the mu-plugins directory:

    <?php

    /*

    Plugin Name: l2r adminbar logo

    Plugin URI: http://www.21inspired.com

    Description: replaces the adminbar logo

    Version: 1.0

    Author: Roger Coathup

    Author URI: http://www.21thoughts.com

    */

    function l2r_adminbar_logo() {

    global $bp;

    echo '<img id="admin-bar-logo" src="' . apply_filters( 'bp_admin_bar_logo_src', site_url( MUPLUGINDIR . '/2l2r/images/l2r_home.gif' ) ) . '" alt="' . apply_filters( 'bp_admin_bar_logo_alt_text', __( 'BuddyPress', 'buddypress' ) ) . '" />';

    }

    remove_action('bp-adminbar-logo','bp_adminbar_logo');

    add_action('bp-adminbar-logo','l2r_adminbar_logo');

    ?>

    #42608
    Wythagy
    Participant

    Okay so I just tried installing the absolute latest Trunk of BBPress with BuddyPress RC1, but when I try to activate the buddypress-enable.php file it says:

    Plugin file does not exist.

    Back to Modelrific Forums.

    #42606
    Wythagy
    Participant

    Question, will BuddyPress RC1 work for this, or do you have to be using the latest BuddyPress install via SVN?

    #42601
    Burt Adsit
    Participant

    This thread has an example of how to build a filter: https://buddypress.org/forums/topic.php?id=2146 for the user full name.

    https://codex.wordpress.org/Plugin_API for docs on wp actions and filters.

    You should really talk to DJPaul here on the forums. He has a plugin called Welcome Pack that assigns new users a default friend and default group. He also says that the next version of that plugin will have the ability to create a custom welcome message to the new user. Not sure if that’s a PM or an email. Suggest what you want to him. He’s working that kinda track.

    https://buddypress.org/developers/DJPaul/

    https://wordpress.org/extend/plugins/welcome-pack/

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

Viewing 25 results - 66,251 through 66,275 (of 69,101 total)
Skip to toolbar