Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • jcampbell120
    Member

    @jcampbell120

    Managed to get it to work. Just creates a simple list, you can edit the css to create a drop down menu etc..

    <ul id="menu-home" class="menu-members">
    <li><a href="#">Members Area</a>
    <ul class="sub-menu-members">
    <?php global $bp;
    if ( is_user_logged_in() == false) {
    
    echo'<li><a>root_domain . '/wp-login.php?redirect_to=' . urlencode( $bp->root_domain ) . '">' . __( 'Log In', 'buddypress' ) . '</a></li>';
    
    if ( bp_get_signup_allowed() == true ) {
    echo'<li><a href="' . bp_get_signup_page(false) . '">' . __( 'Sign Up', 'buddypress' ) . '</a></li>';
    }}
    ?>
    
    <?php
    if ( is_user_logged_in() == true) { ?>
    <li><a href=&quot;profile/">Profile</a></li>
    <li><a href=&quot;messages/">Messages</a></li>
    <li><a href=&quot;Leagues/">Groups</a></li>
    <li><a href=&quot;friends/">Friends</a></li>
    <?php echo'<li><a href="' . wp_logout_url( site_url() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>' ?>
    
    </ul>
    </li>
    </ul>

    jcampbell120
    Member

    @jcampbell120

    Hi, I wasn’t expecting somebody to just write a couple of hundred lines of code for this to work. Just wanted to bat around a few ideas with some like minded people is all. Appreciate the link, very useful and it gives me something to work on. Just thought that more people would want this sort of implementation on their site.

    cheers.


    jcampbell120
    Member

    @jcampbell120

    thanks for that cnatural. Tried to edit the adminbar.php and just had a create group link on every subnav!!


    jcampbell120
    Member

    @jcampbell120

    Nobody wants to do this? Really?!?!

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar