Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 326 through 350 (of 628 total)
  • Author
    Search Results
  • #161327
    tibmix
    Participant

    @megainfo Great. Where should I add this line? (don’t, please, think what I think you’re thinking)
    Thanks.

    #160267

    @blackmatarsak,

    Ans 1, you can hide it with simple css in your theme by using :

    #wp-admin-bar-wp-logo>.ab-item .ab-icon {display:none ! important}

    I dont understand the question 2

    Naijaping

    #156787
    Ben Hansen
    Participant

    @mercime thanks!

    #156754
    @mercime
    Participant

    @ubernaut the code provided by sbrajesh is only for Super Admin (multisite) or Site Admin (single WP) not for members who create a subsite. You’d need change is_site_admin to is_super_admin even when you use it in single WP install. is_site_admin had been deprecated some time after I posted sbrajesh’s code

    I don’t recall trac ticket for this enhancement. Up to you to make a request in trac 🙂

    #156418
    Ben Hansen
    Participant

    @mercime Quick question about your code, i had been using BP ninja successfully but i found that the “who’s online” widget is still available on sub sites and the plugin appears to not be effective on the sub sites showing my normally invisible super admin user so now i’m looking for alternative once again.

    So my question is will this code cause all admins to be invisible or just super admins? i don’t think i’d want to hide anyone who creates a site.

    Also has anyone entered this as a core feature request? Seems like it would be a great addition at least to me.

    #155050

    In reply to: Paid virtual gifts?

    Feeligo
    Participant

    @wpnewbie69 Maybe you might be interested in this new GiftBar plugin that we have just launched.

    http://feeligo.com/en/giftbar/buddypress

    It has an option for paid gifts and has a large catalog of well-designed, contextualized gifts. In addition, the plugin is completely free and all revenues earned by gift purchases are shared equally between Feeligo and the social network owner.

    You can demo it here: http://feeligodemo.com/

    Set-up and installation should take just a couple of minutes. If you find any issues with the widget, feel free to contact our support at https://feeligo.zendesk.com

    Thank you.

    More details about the plugin:

    ==============================

    Benefits:

    • Increase your community’s engagement
    • Earn a share of all paid transactions by your members
    • Improve the experience of your social network & drive traffic
    • Always free for you with no obligations
    • Easy set-up
    • Adapts perfectly to your site’s structure and any other bar plugins

    ==============================

    Plugin Features:

    • Send gifts – Send gifts to any member of the community
    • Personalise messages – Can enter a special message while sending a gift
    • View gifts – Giftbar is visible at the bottom of the screen, allowing easy access to send and view gifts (acts like a trophy cabinet, increasing a member’s value in the community)
    • Purchase gifts – Easy & secure purchasing through paypal, credit card, or mobile phone
    • Hide bar – Can easily hide or show the Giftbar
    • Select multiple friends – Can send gifts to multiple friends at a time
    • Ad-free – No clutter

    ==============================

    Admin Features:

    • Manage gift catalogue – Select from over 300 professionally designed gift options
    • Select themed gifts – Choose specific gifts for festivals and occasions
    • Add personalised gifts – Add your own gifts
    • Optimize gifts using Advanced Analytics – Manage Giftbar usage, including gifting history, revenue earned, and details of most popular gifts and most active users
    • Manage gift descriptions – Modify the names and descriptions of gifts
    • Ask for help – Access our FAQs, help guides and support forums

    ==============================

    bp-help
    Participant

    Great job @sbrajesh !

    Brajesh Singh
    Participant

    No problem. You are most welcome 🙂

    rizingsun
    Participant

    Wow @sbrajesh !

    That seems to work! Thank you very much!

    Brajesh Singh
    Participant

    You Can put this code in your bp-custom.php and It will take care of your issue

    `
    add_action(‘bp_friends_setup_nav’,’bpdev_custom_hide_friends_if_not_self’);

    function bpdev_custom_hide_friends_if_not_self(){
    if(bp_is_my_profile()|| is_super_admin())
    return ;

    bp_core_remove_nav_item(‘friends’);

    }

    `

    hope that helps.

    rizingsun
    Participant

    Thanks @bphelp

    But my intent is that the “Friends” tab should not be visible to anyone except the account user (like “Settings” and “Messages” tabs are only visible to an account user).

    Even if you’re friends with a user, you should not be able to see his other friends.

    Complete privacy.

    I would like to make the “Friends” tab a private setting. Is there any way to do that?

    bp-help
    Participant

    I already tested the advice I gave you and if you click on a users friends tab that you are not friends with it displays the message “You must be friends in order to access users friends.”
    I am sure there is someway to build upon that function so it only displays the friends tab if you are friends with that user.

    rizingsun
    Participant

    Thanks @bphelp !

    I’m trying to make it so that a user’s “Friends” tab is only visible to that specific user (like “Settings” and “Messages”).

    I think your advice would still enable a user’s friends to see their other friends.

    Is there any way to make it so that the a user’s “Friends” tab is only visible to said user?

    bp-help
    Participant

    You can use this tutorial http://wpmu.org/how-to-add-profile-privacy-to-buddypress/
    its meant for profiles but it can be adapted for friends. Follow it exactly but instead of putting

    3. Edit your theme file to include the friendship check:
    To restrict profile info, open up /members/single/profile.php and add this at the top of the page:

    add that code in 3. instead to /members/single/friends.php

    You may also want to change the test in 2. step to:
    You must be friends in order to access users friends.

    #154620
    bp-help
    Participant

    http://www.mediafire.com/download.php?u6oos92g344485f
    This plugin does not hide the activity tab in the main nav or in the profile activity tab but it does make activity friend only unless your the admin in which case it shows sitewide activity. To test it you would have to create two accounts that are not admins and not friends and put come activity in on both and you will see that as long as your not friends you can not see the others activity.

    #153622
    haughtam
    Participant

    It’s been a while since my original post, but I think I’ve figured this out and I hope this helps someone else.  The original problem changed a bit too.  Basically, now I want to show a profile group based on the value in an xprofile field (when editing a profile).  So, if my User Category field for a logged in user says Recruiter, then I want to show the profile group called “Recruiter” (show this for admins too).  Otherwise, I want to hide this profile group through php.

    Thanks to the hint above, I was able to come up with a function in my child theme’s function.php file.

    I’m just learning php/wordpress, and I don’t have a clear understanding why this works.  I do know that $group_name[3] is the Recruiter profile group.  Also, I do realize this snippet uses awful coding practices.  If anyone has improvements, please let me know.

    function my_recruit($group_name){

    if ( is_site_admin() || xprofile_get_field_data( “User Category”)===”Recruiter”) {

    echo $group_name[0];

    echo $group_name[1];

    echo $group_name[2];

    echo $group_name[3];

    }

    else {

    echo $group_name[0];

    echo $group_name[1];

    echo $group_name[2];

    }

    }

    add_filter(‘xprofile_filter_profile_group_tabs’,’my_recruit’);

    danbpfr
    Participant

    Go to your admin > Pages and delete the register and empty the trash

    Do the same if you have a Login page.

    Then go to settings > buddypress.

    – Tab Component and check the one you want.

    – Tab Pages and create a page from there for each component.

    Save.

    Now BP is correctly configured.

    Check also settings > permalinks and choose something other as default.

    If you created some custom menus before installing BP, double check them to have the new pages.

    Done !

    #148378
    Paul Wong-Gibbs
    Keymaster

    Easiest way is to go to wp-admin on the site you want to hide, go to the Settings > Reading menu, and tick the “Discourage search engines from indexing this site” option. Of course, this will also ask search engines to not index that site.

    #148177
    voopress
    Participant

    That doesn’t seem to hide the main site’s wp-admin login. Each time a user who owns a blog clicks on the main site item at the top left hand side, they are sent to the admin of the top site.

    >You do not have sufficient permissions to access this page.

    #147819

    If you want to hide stuff but want it to be available to Google, you could use CSS and/or jQuery to hide things. Check out this post about how to add BuddyPress-specific body classes:

    CSS Body Class for BuddyPress Group Moderators and Admins

    Here is a post that might help if you want to hide everything from Google: http://premium.wpmudev.org/forums/topic/buddypress-how-do-i-hide-community-elements-from-non-members

    #147394
    Adam
    Participant

    hi there, i have a similar problem on my wordpress multisite, however, unchecking “Show the admin bar for logged out users” doesn’t work for me.
    what’s really weird is, on some websites on my multisite the admin bar shows up but not on others.
    any ideas?

    thanks,
    Adam

    #147244
    mreeder
    Participant

    I solved this problem.

    The plugin “BuddyPress Friends Only Activity Stream” claimed to only show activity from your friends and the admins only. I guess since you can’t be friends with yourself, it hides your activity as well. :/

    I may look into the plugin’s files later to see if there’s a workaround for this, but as of right now it’s staying deactivated.

    #145683
    Ben Hansen
    Participant

    streams are not related to profile fields. stream is created by site activity. i don’t think theres a decent way to hide that other then for admin users using a plugin or by modifying code stuff.

    #145072

    In reply to: Hide My Account Menu

    hughshields
    Participant

    The name of the menu is ‘my-account-buddypress’. This is a buddypress menu and therefore you cannot find it in the wordpress adminbar.php file. It is added when you installed buddypress. You can remove it by adding the following to your theme’s functions.php file:

    function remove_bp_adminbar() {
    global $wp_admin_bar;
    $wp_admin_bar->remove_menu(‘my-account-buddypress’);
    }
    add_action( ‘wp_before_admin_bar_render’, ‘remove_bp_adminbar’ );

    If someone knows the names of the submenus in this buddypress menu I would like to know them so that I can remove the redundant ones (media, forms, friends etc).

    #144322
    David Cavins
    Keymaster

    I think a better bet is to collect that info on the BP registration page and then not display it on the user profile (that way you’ll still be able to use it in other ways). With BP 1.6. you can change the visibility of each xprofile field to friends only, logged-in users, or public (and force that level or allow the user to override your selection). (Visible to admin only is coming in BP 1.7, btw, which would totally fix you up.) At the moment, you can modify your theme template file (themes/yourtheme/members/single/profile/profile-loop.php) to hide some fields like this:
    `about line 17:

    <?php $no_display_fields = array( // Enter the field name of any field that you don't want to appear on the user profile.
    ‘E-mail’,
    ‘Name of Field Hide’,
    ‘Another’
    );

    if ( bp_field_has_data() && !in_array( bp_get_the_profile_field_name(), $no_display_fields ) ) : ?>`

    It’s a hack, but it works for me (until BP 1.7).

Viewing 25 results - 326 through 350 (of 628 total)
Skip to toolbar