Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 101 through 125 (of 152 total)
  • @belogical

    Participant

    don’t say 1.2! i just finished my component with v1.1!

    @belogical

    Participant

    thanks for the input guys. I am currently on r1241, so maybe that is the issue. weird thing is, I did this fine on another button, but this one doesn\’t seem to want to work.

    here is the working button:

    <li<?php if ( bp_is_page( 'chat' ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo chat ?>" title="<?php _e( 'Chat', 'buddypress' ) ?>"><?php _e( 'Chat', 'buddypress' ) ?></a></li>

    @belogical

    Participant

    anyone have an idea?

    @belogical

    Participant

    what is on line 56 & 920?

    @belogical

    Participant

    i’m able to see the login page fine, http://gimtimes.de/blog/wp-admin/

    @belogical

    Participant

    Nicola, that’s above my pay grade!

    @belogical

    Participant

    never mind, that was easier than I thought. had to do a hack in bp-core-widgets.php

    add this under the function: (function bp_core_widget_welcome)

    global $current_user;
    $username = $current_user->user_login;

    add this under the Create Account button: (line #49)

    <?php if ( is_user_logged_in() ) { ?>
    <div class="create-account"><div class="visit generic-button"><a hre f='/members/<?php echo $username; ?>/groups/create' title="<?php _e('Create a New Group', 'buddypress') ?>"><?php _e('Create a New Group', 'buddypress') ?></a></div></div>
    <?php } ?>

    how can i avoid a core hack on this one?

    EDIT: Had to put a space in the href in order to get the code to display somewhat normal in the forum. Make sure to remove that if you use this.

    @belogical

    Participant

    I ended up using this, which I assume is a WP variable in case anyone can use it.

    global $current_user;

    $username = $current_user->user_login;

    @belogical

    Participant

    thanks all for the help, chewing on this now

    @belogical

    Participant

    ok, this one is bizarre. i can\’t seem to get the username to display on either method. what could I be doing wrong?

    here is my test:

    echo \”1)\”;

    echo $bp->loggedin_user->fullname;

    echo \”2)\”;

    echo $bp->loggedin_user->username;

    echo \”3)\”;

    echo $bp->loggedin_user->id;

    echo \”4)\”;

    echo $bp->displayed_user->fullname;

    echo \”5)\”;

    echo $bp->displayed_user->username;

    echo \”6)\”;

    echo $bp->displayed_user->id ;

    here is the result:

    1)Andrea R.

    2)

    3)23

    4)Andrea R.

    5)

    6)23

    @belogical

    Participant

    I was just going to submit this as a bug. I am getting the same thing on the new buddpress.org as well as my site. I’m running trunk 1241 on my site. Using firefox 3.

    @belogical

    Participant

    can’t wait to hear this response :)

    @belogical

    Participant

    sounds like a project for the new group “Code Snippets Solution Library”

    @belogical

    Participant

    ditto

    @belogical

    Participant

    Just didn’t know if there was anything that would need to be removed for performance reasons.

    @belogical

    Participant

    Thanks for this Andy, it really helps. I started integrating my custom pages into this skeleton component yesterday. I noticed there is a good bit of functionality in it for the “high fives”. If I convert this to mine, is there any functionality that I should be concerned with that I need to remove?

    @belogical

    Participant

    anyone know how to position the component?

    @belogical

    Participant

    Good deal, thanks for the update!

    /wp-content/plugins hmmm… not sure how all that will work. i assume these plugins will all be hidden from the other bloggers (non-admins) but still activated site wide?

    @belogical

    Participant

    yes

    @belogical

    Participant

    How can I change the location of my item in the adminbar under My Account? I don’t want it at the bottom, but rather at the top of the list.

    @belogical

    Participant

    Updated!

    @belogical

    Participant

    has anyone else seen the “facebook” small icon disappear if you change your avatar? it no longer shows you are logged in via a facebook account. is this normal behavior or a bug?

    @belogical

    Participant

    this looks amazing! when will it be available to download?

    @belogical

    Participant

    Tomorrow is almost over!

    @belogical

    Participant

    since you are on shared, you won’t have that option. i would try removing any additional plugins you have running, to eliminate those 1st. disable any through the site admin menu and remove anything other than buddypress in mu-plugins.

    EDIT: also check and make 100% sure you have a .htaccess file, not just the htaccess.dist

Viewing 25 replies - 101 through 125 (of 152 total)
Skip to toolbar