Skip to:
Content
Pages
Categories
Search
Top
Bottom

profile links as default

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of henrybaum
    henrybaum
    Participant

    @henrybaum

    Seconded – sorry, I know this doesn’t help you, but I’m having the same issue.

    Try

    define('BP_DEFAULT_COMPONENT', 'profile');

    In your wp-config.php

    Avatar of piphut
    piphut
    Participant

    @piphut

    Thanks for the quick response Paul. I inserted that in the last line of my wp-config and it didn’t do anything. You can check it out at: snaffuo DOT com. Just click on the top post and then click on my name on any comment. Any other ideas?

    Avatar of piphut
    piphut
    Participant

    @piphut

    Henry, here’s a complete list of some of the internal things we can configure. Hope this helps:

    http://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/

    Avatar of piphut
    piphut
    Participant

    @piphut

    @Paul I moved it up a couple of lines and it worked like a charm, not sure why! Thanks!

    Avatar of henrybaum
    henrybaum
    Participant

    @henrybaum

    Thanks, what I ended up doing is adding

    <div class=”profile”>

    <?php if ( ‘edit’ == bp_current_action() ) : ?>

    <?php locate_template( array( ‘members/single/profile/edit.php’ ), true ) ?>

    <?php elseif ( ‘change-avatar’ == bp_current_action() ) : ?>

    <?php locate_template( array( ‘members/single/profile/change-avatar.php’ ), true ) ?>

    <?php else : ?>

    <?php locate_template( array( ‘members/single/profile/profile-loop.php’ ), true ) ?>

    <?php endif; ?>

    </div><!– .profile –>

    …to my home.php within “members” in my theme (code comes from profile.php). Knowing little about this, I don’t know if you’ll have the same result, but hacking into the code seems to work.

    Update: saw you got it to work. If you’re interested in listing the profile and activity on the same page, try this.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.