Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 31,701 through 31,725 (of 32,561 total)
  • Author
    Search Results
  • Burt Adsit
    Participant

    Hi people. The combo download for RC-1 from buddypress.org is fine in both the zip and tar.gz versions. Everything is where it should be. Just checked.

    When does this happen? Clean install, activate the home theme visit the root blog and then you get this error? Or does this only occur when you are in the member theme area such as your profile and then try to visit the home theme? For example you click ‘blog’ or ‘members’ buttons.

    I think that something is trashing a WP constant called TEMPLATEPATH that is created in wp-settings.php >> define(‘TEMPLATEPATH’, get_template_directory());

    It’s either not getting set correctly or it’s getting fubar’ed later, somehow.

    Have you tried activating a different theme for the root blog? Do you get the same error? Try just activating *anything* else other than the bp home theme and then do what you did to reproduce the problem.

    Trying to narrow things down. Lemme know.

    p.s. I flipped the red light switch on this thread so that others may join in the fun too.

    alainhc
    Member

    burtadsit, there´s no confusion on the proper location of themes. You can try to install the last release of buddypress and wp mu 2.7 and you´ll see the error.

    Thanks to jfcarter for giving one solution.

    Alain

    Burt Adsit
    Participant

    I think there must be some confusion as to the proper location of themes. See:

    https://codex.buddypress.org/getting-started/using-the-buddypress-themes/ for an overview.

    You shouldn’t have to rename directories if everything is in the right spots.

    #39047
    danielfelice
    Participant

    check out http://www.freebuddypressthemes.com

    keep an eye on it over the next month or so :D

    alainhc
    Member

    Hi. I had the same problem with buddypress, and i had to to what jfcarter suggested: duplicating the buddypress-member directory and naming it buddypress-home. But I think must be a better solution. Anyone knows which version of buddypress doesn´t have that problem?

    Alain

    #39035
    Webmatter
    Participant

    Thank you … will check it out!

    #39034
    David Bisset
    Participant

    @johnjamesjacoby – I wanted to say thanks, but i didn’t catch your name. Thanks! And since this was released at WordPressDenver, I figured the cat was out of the bag already. Andy counts on big mouths like you and me. :)

    Back on topic, I am tending to agree a bit with conceptfusion – many at the BarCampMiami were asking about photos. At the same time, having BP for WP is going to accelerate awareness and demand for BP and creation (or adapting) plugins/themes. This is one “con” that BP had to overcome in order to accomplish that “BP will do for social networks what WP did for blogs” speech I did last Sunday. :)

    #39033
    ngsonst
    Participant
    #39031
    Webmatter
    Participant

    Hi, do you know if there is a documentation about template tags that can be used for buddypress themes?

    #39030
    ngsonst
    Participant

    hi,

    most likely you have to customize yourself. i dont know a address for premium themes, in my opinion there is non. but you might look here: freebuddypressthemes.com, where daniel felice is trying to build up a place for sharing buddypressthemes.

    nicolai

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

    #39017

    In reply to: When?

    Burt Adsit
    Participant

    Plugins *don’t* work in the member theme if that’s what you are looking for. What are you looking for? :)

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

    #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

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

    #38959

    In reply to: When?

    Burt Adsit
    Participant

    bp is 1.0 release candidate 1 now. Out of beta and almost ready.

    You can use any wp plugin you want now in the home theme. Any wp theme you want for your blogs including the wpmu root blog. The member theme is a little different. I don’t know of a timeline for that. You’d have to get an answer from Andy.

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

    #38945

    In reply to: Can’t upload avatar

    kkkforkkk
    Participant

    Andy, i’m using the last trunk. That includes the last update you made 4 days ago in member theme(as i can se in the trunk description). So my member-theme is updated. Maybe i can ckeck this wp_nonce()calls? you know how can i check it?

    Excuse me for insisting on it, but the error is still there!

    There are 2 online site with the same problems. http://www.culturizarte.com and http://www.buddypress-es.org, and maybe some more … I check this two ones, and there is the same problem.

    Thanks a lot

    #38938
    huh
    Member

    Looks good orbit – Did you have to do much work to get the news theme working?

    #38936
    willtomsett
    Member

    I’m building a facebook theme for Buddypress, and this is one of the things I’m trying to integrate into it. I don’t believe it would need a seperate front-end theme, just the same peice of code that appears in the friend activity feed provided in the original install.

    #38918

    In reply to: Can’t upload avatar

    Andy Peatling
    Keymaster

    kkkforkkk: update your member theme, you are missing wp_nonce() calls.

    #38909
    sblackburn
    Member

    That would be excellent. I plan to make these 2 functions (widgets), BP Recent Blog Posts and Sitewide Activity, the main focus of the home page. Thanks for the quick reply by the way.

Viewing 25 results - 31,701 through 31,725 (of 32,561 total)
Skip to toolbar