Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • DRAGUIAN
    Member

    @draguian

    I think that @mercime tried to explain this on another post but I have had no luck finding it.


    DRAGUIAN
    Member

    @draguian

    Ahh bummer, i’m stumped. Try @ one of the experts here, that way they’ll most probably reply to you as soon as possible.


    DRAGUIAN
    Member

    @draguian

    Are you using the original buddypress theme, or a child theme?


    DRAGUIAN
    Member

    @draguian

    Oh, how much searching I’ve done for something like that! Unfortunately I have found absolutely nothing. Right now i’m just hiring someone to make me one.


    DRAGUIAN
    Member

    @draguian

    You will find that inbetween “
    and

    Only down side is that not even you can see the sitewide activity. There is probably some other way to do it. But it works for me


    DRAGUIAN
    Member

    @draguian

    Hmm, I highly suggest you make a backup of the file I want you to alter. I’m not sure if your using wordpress or not but in any case what I did was..enter buddypress–>buddypress themes–>bp default—>activity–>index.php. (so yea make a back up of your index.php file) Then edit the index.php file by deleting the following <li class="selected" id="activity-all"><a href=&quot;" title=""><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_site_member_count() ); ?></a></li>


    DRAGUIAN
    Member

    @draguian

    Same as mrguythornton, I still don’t know how @ktrusak resolved the issue.


    DRAGUIAN
    Member

    @draguian

    Try themeforest.net and see if any themes interest you. Or else post what you want your website design to look like on vworker.com


    DRAGUIAN
    Member

    @draguian

    As for search bar…a website said
    From what I could find you can’t actually remove that search box. You can however, hide it with a bit of CSS.
    Add this to your functions.php or a custom plugin;
    `function hide_admin_bar_search () {
    echo ‘
    #adminbarsearch {
    display: none;
    }
    ‘;
    }
    add_action(‘admin_head’, ‘hide_admin_bar_search’);
    add_action(‘wp_head’, ‘hide_admin_bar_search’);`


    DRAGUIAN
    Member

    @draguian


    DRAGUIAN
    Member

    @draguian

    Yes, it finally works. Thank you so much for that! I do have more questions, but i’ll leave that for another day. Feel guilty constantly asking. But yea good advice, thanks again.


    DRAGUIAN
    Member

    @draguian

    It’s frustrating because that’s almost it. I leave the Header navigation as blank because my buddypress/wordpress pages automatically fill in that menu. So when I am logged in all the pages I want to see are there. I only made my homepage and about page available to the nonmembers, and that works fine too. However, when a user is logged off, they can still see all the pages available to a logged in user aswell as the pages which are available to them. So instead of having one smooth menu for the non member, theres the members menu and below it a non members menu. Note this is only for logged out members everything is fine as far as signed in users are concerned.


    DRAGUIAN
    Member

    @draguian

    OK alternative menu etc is all set up on menus page. I am using the Elbee Elgee child theme at the moment. Do I still have to do the first step of implementing that code in the headers menu (<?php
    // https://codex.wordpress.org/Function_Reference/wp_get_current_user
    $current_user = wp_get_current_user();……


    DRAGUIAN
    Member

    @draguian

    Which should result in a nonmember/non logged not being able to see my activities page.


    DRAGUIAN
    Member

    @draguian

    for example wp_nav_menu( array( ‘container’ => false, ‘100’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
    } else {


    DRAGUIAN
    Member

    @draguian

    Just buddypress original for now. So in the ‘menu_ID’ do I just replace that with a ‘(then my page ID’ then im guessing a comma, then ‘(page Id)’ right?


    DRAGUIAN
    Member

    @draguian

    I am guessing that I need to make a change in the wordpress-includes pluggable.php


    DRAGUIAN
    Member

    @draguian

    I prefer the first option of serving different menus whether the user is logged in or not. Should I put that code into the themes header or funtion.php? Do I need to add to the given code it to specify which pages I want to hide from logged out users. Using latest version of wordpress and buddypress

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