Skip to:
Content
Pages
Categories
Search
Top
Bottom

profile links as default

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

    Participant

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

    @djpaul

    Keymaster

    Try

    define('BP_DEFAULT_COMPONENT', 'profile');

    In your wp-config.php

    @piphut

    Participant

    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?

    @piphut

    Participant

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

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

    @piphut

    Participant

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

    @henrybaum

    Participant

    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)
  • The topic ‘profile links as default’ is closed to new replies.
Skip to toolbar