Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 67,426 through 67,450 (of 69,133 total)
  • Author
    Search Results
  • #39025
    Idiom
    Participant

    Wow.. the Site Wide Plugin looks fantastic.. This makes for loads of possibilities.. like a standard wpmu album plugin. of course only after integrating the code to display it in the members directory. ..

    I would really like to see the blogging functionality get added to the buddypres administration pages rather than the standard wp admin back-end. Any hopes of this being done?

    Brian

    #39023

    In reply to: BP Avatars in bbPress

    Well, while the GF is in the shower, I’ll quick do this… Burt this is aimed directly at you, since I gather most others won’t want to do this kind of thing…

    oci_bb_group_forums.php:


    This prevents wrong inclusion order when using deep forum integration.

    if (defined(BACKPRESS_PATH))
    require_once( BACKPRESS_PATH . '/class.ixr.php' );

    This will return ALL user info, in the event that bbGroups does not exist yet for that user.

    function oci_get_userdata($u){
    $u = (int) $u;
    $user = bb_get_user($u);
    if ($user->bbGroups) {
    return stripslashes_deep((array)$user->bbGroups);
    } else {
    return stripslashes_deep((array)$user);
    }
    }

    oci_bp_group_forums.php:


    This prevents wrong inclusion order when using deep forum integration.

    if (!defined(BBDB_NAME))
    require_once(ABSPATH . WPINC . '/class-IXR.php');

    This is how I passed the user info over from xprofile to bbGroups:

    /**
    * oci_get_user_filter()
    *
    * Live example of how to use the filter mechanism to add info to the data going across to bbpress
    * This filter adds the user's forums and forums where the user is staff into the $user array
    * @return
    * @param associative array $user from oci_get_user()
    */
    function oci_get_user_filter($user){
    $users_group_info = oci_get_users_group_info($user['id']);

    $user['users_forums'] = $users_group_info['forum_ids'];
    $user['user_is_staff'] = $users_group_info['staff_ids'];

    $user['custom_title'] = bp_get_field_data('Custom Title', $user['id']);
    $user['signature'] = bp_get_field_data('Signature', $user['id']);
    $user['aim'] = bp_get_field_data('AIM', $user['id']);
    $user['yahoo'] = bp_get_field_data('Yahoo!', $user['id']);
    $user['gtalk'] = bp_get_field_data('GTalk', $user['id']);
    $user['msn'] = bp_get_field_data('MSN', $user['id']);
    $user['jabber'] = bp_get_field_data('Jabber', $user['id']);
    $user['icq'] = bp_get_field_data('ICQ', $user['id']);

    return $user;
    }
    add_filter('oci_get_user','oci_get_user_filter',10,1);

    oci_bb_custom.php


    How I transfer the username (just in case fullname hasn’t been edited from wordpress.org transfer – see above oci_get_userdata changes):

    function oci_user_name($u){
    $bp_user = oci_get_userdata($u);
    if ($bp_user['fullname']) {
    return $bp_user['fullname'];
    } else {
    return $bp_user['display_name'];
    }
    }

    bbpress/active-theme/functions.php


    What I added to make the custom functions go:

    add_filter('get_user_profile_link', 'bppro_user_profile_link', 10, 2);
    function bppro_user_profile_link($link, $uid) {
    $user = bb_get_user($uid);
    return(bb_get_option('wp_siteurl').'/members/' . $user->user_login);
    }

    function bppro_user_url() {
    global $bp;
    return($bp->loggedin_user->domain);
    }

    function bp_check_title($user) {
    $user_id = get_post_author_id();
    $user = bb_get_user($user_id);
    $user_title = $user->bbGroups['custom_title'];

    if ($user_title) {
    return $user->bbGroups['custom_title'];
    } else {
    return;
    }
    }
    add_filter('post_author_title', 'bp_check_title');
    add_filter('post_author_title_link', 'bp_check_title');

    function post_author_signature() {
    $user_id = get_post_author_id();
    $user = bb_get_user($user_id);
    $user_signature = $user->bbGroups['signature'];

    if ($user_signature) {
    echo '<p class="post-signature">__________<br />' . $user->bbGroups['signature'] . '</p>';
    }
    }

    bbpress/active-theme/post.php


    Displays avatar from BuddyPress if it exists, else bbPress/Gravatar. Also displays hooked data from above functions.php:

    <div class="threadauthor">
    <dl>
    <dt><a class="oci-link" href="<?php echo oci_user_link($bb_post->poster_id); ?>"><?php echo oci_user_name($bb_post->poster_id); ?></a></dt>
    <dd><span class="oci-title"><?php $patl = post_author_title_link(); ?></span></dd>
    <dd><?php if (oci_user_avatar($bb_post->poster_id)) { echo oci_user_avatar($bb_post->poster_id); } else { post_author_avatar_link(); }?></dd>
    </dl>
    </div>
    <div class="threadpost">
    <div class="poststuff">
    <?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php bb_post_admin(); ?><?php bb_quote_link(); ?>
    </div>
    <div class="post">
    <?php post_text(); ?>
    </div>
    <?php post_author_signature(); ?>
    </div>

    #39012
    grendel28
    Member

    My site is at http://housenysian.com but as it was built mostly to host our main project, which is the blog at http://housenysian.com/ummo/

    still soooo much customizing to do, but it is fairly well modified just to be a development placeholder (which it is). please feel free to muck around, create blogs, whatever.

    #39009

    Can’t believe I didn’t catch those. Good finds!

    #39008
    joalbright
    Member

    Will do. Didn’t know the appropriate way to add this. Thanks.

    #39007

    In reply to: When?

    Mythailife
    Participant

    Burtadsit, I’m confused. Are you saying that WP plugins work in BuddyPress? If that is true then I just don’t see it. The Plugins link in the admin doesn’t show plugins. Where are these plugins viewable at or am I missing something?

    FYI, I’ve tried these plugins in the plugins folder and the mu plugins folder and don’t see any admin for them.

    I’m using Contact Form 7, WP-Ecommerce plugins.

    #39004

    Well that’s interesting, and pretty much perfect for both platforms actually.

    Makes me wish I was more involved in WordPress from the get go, sometimes I get a little lost in the code still to be able to put something that cool together.

    Good job Andy. :thumbup:

    #38994
    Trent Adams
    Participant

    @joalbright could you login to https://trac.buddypress.org/ and add this as a ticket using the login from this forum?

    Trent

    #38993

    In reply to: homepages

    Trent Adams
    Participant

    In terms of the navigation? You would have to edit the header.php of both the buddypress-home theme and the buddypress member theme to change the order as I don’t think the filter works for position for a plugin.

    Trent

    #38992
    Trent Adams
    Participant

    Best bet if you find a bug or an enhancement would be to post it on http://trac.buddypress.org with your login from these forums. It might not be known yet and the reporting might help get it fixed.

    Trent

    #38988
    wildchild
    Participant

    ArtistBlog.ME, ready to promote and aid the (upcoming) artist on the block, running Buddypress as social network component at http://www.artistblog.me ; which will be complemented with the ArtistPlug.ME component, soon.

    Enjoy! There are only limited spots available on this blog; only for and by artists wanting to defend their Creativity with their Common Rights…

    #38986
    Trent Adams
    Participant

    @conceptfusion if the following gets implemented, it won’t slow down development for either WP or WPMU.

    https://trac.mu.wordpress.org/ticket/909

    Trent

    #38982

    Don’t see it, I’m adding it in there now. Darn.

    Created:

    https://trac.buddypress.org/ticket/554

    I was so sure I had your issue nailed to. My apologies. I ran into the exact same problem myself a few weeks back so I was pretty sure I had it fixed. It was about that same time I noticed the permalink issue also, so they worked hand-in-hand against me. Ha!

    #38978
    Simon
    Participant

    Not wishing to be a party pooper but my vote DEFINATLY goes for getting the feature-set for BuddyPress MU complete before even looking to release for Single Instance WP… and that includes the yet to be implemented BuddyPress Photo Album component.

    #38972

    Jed, migrating from WP.org to WPMU is not a super simple task unfortunately. It is possible, but you are still diving into phpMyAdmin more than likely.

    My advise for a migration is to do it at a time when your user base is low and the database is small so that you can manipulate the data easier. :)

    If you don’t want the blog functionality but *might* want it later, you can still install WPMU and just disclude the BuddyPress Blogs plugin.

    #38970
    jedbarish
    Participant

    Perfect, I hope it wont be too long because I prefer to have a social network without a blog/site as long we could migrate into WPMU later on.

    #38968
    Trent Adams
    Participant

    > 2 weeks but < 6 months should be about right :)

    #38966

    “in” a few weeks or “for” a few weeks.

    There’s a distinct different in meaning there. :)

    #38963

    In reply to: BP Avatars in bbPress

    I’m doing this via the bbGroups plugin, and some pretty in depth modifications to the bbPress theme.

    I’m working on and off with Burt to try and pass BuddyPress xprofile info to bbPress, as my goal is probably the same as yours and most others; to have all information match across the entire website.

    We’re working towards that goal, hopefully soon. :)

    #38960

    This is an easy one.

    @bmg1227, are you using the included theme, or a custom one?

    Do me a favor and anywhere in your index.php file in your theme, put <?php echo "Hello there!" ?>

    Then access your post. If you see “Hello There” then my theory is correct, and your single.php file isn’t being accessed.

    I think what’s happening is that your functions.php file isn’t divvying out the template file that it should be. Take the functions.php file from the stock BuddyPress Home theme, and copy it into whatever theme you’re using.

    Tada!

    #38958
    Trent Adams
    Participant

    I have a feeling the only version that works now is on Andy’s test computer and will not be released for awhile! :)

    #38957
    Mythailife
    Participant

    So, are you saying that there is a version somewhere that will work now? Because I’d love to test it. I have a dedicated server and the current ver of WordPress. If you got a download then I got some time to test…

    #38954
    bmg1227
    Participant

    Trent & Andy – just emailed you both the domain I’m testing this on. You can click on the comments in the recent comments widget, and you’ll see it takes you to the single page without comments. Just thinking I am missing an enable/disable comments option in the BuddyPress dashboard or something…

    #38948
    Trent Adams
    Participant

    Sorry Brian, I am not sure what you mean exactly. You mean the comment not showing in sitewide feed or what exactly? You mean in the buddypress-home theme?

    #38946
    Andy Peatling
    Keymaster

    It is coming, it won’t be in a few weeks though.

    There are a few things to work out first –

    1. Registration fields on the standard WP register page

    2. Performance on a shared host

    Other than that it already works with a few minor changes I’m yet to commit.

Viewing 25 results - 67,426 through 67,450 (of 69,133 total)
Skip to toolbar