Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 476 through 500 (of 915 total)
  • Author
    Search Results
  • Jeff
    Participant

    Greetings,
    I realize there’s an option to disallow anyone (except system admins) from creating new groups – which is useful in my case. However, I would like to extend this to group deletion as well. I would like to assign group administrators to manage just about everything EXCEPT deleting the group.

    Is there a plugin or filter I could apply to completely hide the group deletion features on the front-end from the group administrators?

    I’m using BP 1.7.1, WP 3.5.1 and Dynamix theme.

    Thanks,
    Jeff

    #164980
    WPAgentur
    Participant

    Hi, i put the code in my theme funktions.php but superadmin is still visible in memberslist.

    add_action(‘bp_ajax_querystring’,’bpdev_exclude_users’,20,2);
    function bpdev_exclude_users($qs=false,$object=false){
    //list of users to exclude

    $excluded_user=’1′;//comma separated ids of users whom you want to exclude

    if($object!=’members’)//hide for members only
    return $qs;

    $args=wp_parse_args($qs);

    //check if we are searching for friends list etc?, do not exclude in this case
    if(!empty($args[‘user_id’])||!empty($args[‘search_terms’]))
    return $qs;

    if(!empty($args[‘exclude’]))
    $args[‘exclude’]=$args[‘exclude’].’,’.$excluded_user;
    else
    $args[‘exclude’]=$excluded_user;

    $qs=build_query($args);

    return $qs;

    }

    Iam using WP: 3.5.1 and BP: 1.7.2 with the buddyboss-theme.

    #164526

    In reply to: BuddyPress 1.7.1

    Suraj
    Participant

    you guys are just awesome.
    I have a feature request. I searched for the same using Google and almost across all the buddypress related support forum and tried all the codes but the thing is not working for me, I want to hide the admin activities to appear on my site, but it is not working, if possible, can you add a feature to hide all the activity of any particular user if he wants to including his/her online status.

    Ben Hansen
    Participant

    i’m not using that one i’m using this one:

    <?php
    
    //hide superadmin
    
    add_action("plugins_loaded","bpdev_init_sm_mode");
    function bpdev_init_sm_mode(){
    if(is_site_admin())
    remove_action("wp_head","bp_core_record_activity"); //id SM is on, remove the record activity hook
    }
    
    ?>
    howtomakeWP
    Participant

    Hi, I am using bbpress and don’t want users to post information to the activity stream. I don’t mind using just display:hide to hide the option of non-mods from posting into groups, but I’d like to set some function that will check if a user is a moderator of a group and if they aren’t to not have that activity saved. The reason I need a function is so savvy people who can change the css don’t post group activity updates. Thanks!

    iamsheena
    Participant

    wordpress 3.5.1
    buddypress 1.7.1
    Theme: my own custom theme
    note: *i didnt use bp-default theme/child theme, from what i understand this is not needed for this version of buddypress (am i right?)

    ————–

    Hello guys!
    This might be a very noob question but i’m stuck with this for two days already. T_T Its my first time to install BuddyPress.

    I just want to change the location of the login | register in the admin bar.

    I’m planning to move it to the header and hide the admin bar to logged out users.

    I just want a simple Login | Register (if user is log out, and when clicked go to their own respective pages)
    and be changed to Log Out (if user is logged in)

    i have checked out:
    https://buddypress.trac.wordpress.org/browser/tags/1.7/bp-themes/bp-default/sidebar.php

    and came up with this:`<?php if ( !is_user_logged_in() ) : ?>
    <h4><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></h4>
    <a class=”button logout” href=”<?php echo wp_logout_url( wp_guess_url() ); ?>”><?php _e( 'Log Out' ); ?></a>
    <?php else : ?>
    <a href=”<?php echo get_site_url(); ?>/wp-login.php”>Login</a>
    <a href=”<?php echo get_site_url(); ?>/registration”>Register</a>
    <?php endif; ?>`

    But even when the user is logged out, it still says log out and isnt clickable.

    Thank you very much in advance! 🙂

    #163561
    danzigism
    Participant

    You’re right @shanebp

    After reading that manage_options much gives that role access to the entire Settings feature of WordPress I realized that isn’t good. Needless to say, I have used Adminimize to hide the “Settings” tab from the Manager user role for the time being but certain savvy people could still access it if they knew the URL to those settings pages.

    I submitted the bug to: https://buddypress.trac.wordpress.org/ticket/4991#ticket

    Thanks again for all of your help!

    #163334
    rypo73
    Participant

    @chouf1

    OK – you’re onto something… And it seems your initial hunch of PBCK was spot on – feeling foolish, but enlightened now!

    SO… I had some code in my custom-functions.php file to ‘hide’ the site admin activity (see below). Because we have several users with ‘Administrator’ roles, it seems this particular user was affected. Others MAY have been if they had logged in more often…

    Seems this code was not the best to use:
    // Don’t record activity by the site admins or show them as recently active
    function my_admin_stealth_mode(){
    if ( is_site_admin() ) {
    global $bp;
    remove_action(‘wp_head’,’bp_core_record_activity’);
    delete_user_meta($bp->loggedin_user->id, ‘last_activity’);
    }
    }
    add_action(‘init’,’my_admin_stealth_mode’);

    SO I’ve removed it in favour of THIS version, specifically masking the activity of INDIVIDUAL users with ‘Administrator’ roles, like our site admin user.

    // Don’t record activity for a user or show them as recently active
    function my_user_stealth_mode(){
    $current_user = wp_get_current_user();
    if(is_user_logged_in()) {
    if(‘YourUsername’ == $current_user->user_login) {
    remove_action(‘wp_head’,’bp_core_record_activity’);
    delete_user_meta($current_user->ID, ‘last_activity’);
    }
    }
    }
    add_action(‘init’,’my_user_stealth_mode’);

    Hope it might be of use to others in future. Thanks for responding to my post. I’m now a LOT more familiar with meta data fields as a result.

    p.s. you’re right about # plugins, we do need a lot, but not ALL of those. It’s our dev environment after all. Often a case of playing with different ones to see what fits the bill.

    #161330
    meg@info
    Participant

    In functions.php file of your current theme 😛

    #161327
    tibmix
    Participant

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

    #161185
    TimCarey
    Participant

    I installed buddypress 7.1 Yesterday I’ve been having trouble with the groups admin page were you can see all your groups on your site and bulk delete.

    First of all, when I check any number of groups to delete (Even all on the page ) and then choose delete and apply from the bottom of the page nothing happens (Basically the page reloads) But when I do it from the top delete and apply it goes fine to the screen that gives you the choice to abort the deletion or not.

    Second, under screen options, show on screen, things that I said not to show are not permanently set. For instance, I choose not to show description the discussion will disappear from the table . Now if I do any action the reloads the page like apply or deleting something or reload. The settings seem to be saved on the hide menu, but it isn’t reflected in the display table of groups. (This seems to be That when reload occurs the table isn’t looking at any saved variables . The changes only occur on the table if a checkmark is changed.

    third, I don’t see the able to choose more than 20 Groups at a time. I was able to Display 5 and 10 Groups at a time. This is despite the fact that I can set higher number of groups than 20.

    TimCarey

    boiy
    Participant

    @hnla
    i want to remove admin from the list when users click members… for example

    user ‘boiy’ clicks members and he sees “boiy”, “raul”, “Jenny” ; i don’t want “boiy’ showin up … since its boiy or a specific user that is checking for other members

    also how do i hide the administrator showing up on each group

    would prefer a code hack

    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

    JohnnyJonJon
    Participant

    I get this message every time I save a group on the admin page at e.g.:

    /wp-admin/admin.php?page=bp-groups&gid=4&action=edit

    Even though there are admins in the group, I get this error message. Also, I have “ghost” members on the group pages. It shows there are 38 members for example when there are only 34. I have hide admins set to false on the group pages.

    Any ideas?

    I’m running BP1.7

    Thanks, Jon

    83 Oranges
    Participant

    Here are some useful #Buddypress tricks to hide Admin/specific user member & activity. The codes can be added to bp-custom.php, a file that you can create and upload to your ’Plugins’ folder.

    EDIT – link removed as it does not lead to any tip page anymore.
    mercime

    #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 !

    Feeligo
    Participant

    Hello all,

    Feeligo.com is launching a GiftBar plugin for BuddyPress that enables your social network members to send virtual gifts to each other.  This plugin provides a new way to generate revenues from your community, while increasing user engagement and helping users build strong relationships with one another.  Not only is the plugin completely free for you, but all revenues earned through the plugin on your community are shared 50-50 between you and Feeligo, creating a win-win situation for all.

    We were hoping we could receive some friendly advice from the community on these forums. We are currently looking for users to further test the plugin on their social networks before we officially launch in the BuddyPress plugin store. As a token of our appreciation, we will double the revenues generated on your website for the first 6 months!

    All we ask for is your help reporting bugs. Just install the plugin by visiting http://feeligo.com/dashboard/r/sign_up. It should take you less than 5 minutes to download it and have it active on your site. After you have activated the plugin and tested it with your users, just report any major bugs to our helpdesk at https://feeligo.zendesk.com/anonymous_requests/new?ticket%5Bsubject%5D=BuddyPress+test+feedback
    Even if you have installed the plugin and have not been able to find any major bugs, do write to us with your feedback. We will be able to identify you by the subject of your comment on our helpdesk, which should read “BuddyPress test feedback”

    Thank you for all your support.

    Install the plugin here.

    Warm Regards,
    John Mattews
    Feeligo.com | @Feeligo

    If you would like to know more about the plugin, read the information below.

    Monetize and engage your social network!
    The Virtual Gift Bar enables your community members to buy and send virtual gifts to each other. Yes, your members want virtual gifting options – a $4 Billion market growing at 40% each year confirms it!
    ==============================
    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 – Gift bar 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 gift bar
    • 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 gift bar 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

    ==============================
    Demo:
    To test how the plugin functions, just visit http://feeligodemo.com
    ==============================
    Installation instructions:

    Installation is very simple and is just like installing any other BuddyPress plugin. For detailed instructions, visit our installation help page for BuddyPress.
    ==============================
    Help & Support:
    Contact us for enquiries, to provide feedback, or to say hello at https://feeligo.zendesk.com/home
    For more information, visit our website at http://feeligo.com

    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?

Viewing 25 results - 476 through 500 (of 915 total)
Skip to toolbar