Search Results for 'Hide Admin'
-
Search Results
-
WordPress : 4.9.6 as a directory
Theme : Kleo last update
Plugins :
Activity Reactions For Buddypress Version 1.0.22
Akismet Anti-Spam Version 4.0.3
bbPress Version 2.5.14
bbPress auto subscribe for new topics and replies Version 1.0
BuddyPress Version 3.0.0
Contact Form 7 Version 5.0.2
Essential Grid Version 2.2.3
Events Manager Version 5.8.1.1
Events Manager Pro Version 2.5.1
Heartbeat Control Version 1.2.3
Hide Admin Bar Version 1.7.1.3
iThemes Security Version 6.9.2
K Elements Version 4.3.5
Lightweight Subscribe To Comments Version 1.5.7
MetaSlider Version 3.7.2
reBusted! Version 1.1
Rendez Vous Version 1.4.2
rtMedia for WordPress, BuddyPress and bbPress Version 4.4.8
Simple Buddypress Profile Privacy Version 0.7.7
Slider Revolution Version 5.4.6.3.1
Wordfence Security Version 7.1.4
WP FullCalendar Version 1.2
WP Rocket Version 3.0.4
WP-Optimize Version 2.2.4
Éditeur de page Version 5.4.7Link : https://dispo.fun
Hello, since installing version 3.0.0, we’ve lost the ability to comment on group posts. Is this a bug ???
On the other hand, in the presentation video of the template New, we see an editor like the one to customize the themes but for Buddy Press. How can we reach it?Regards
Julie
I would like to hide admin from the activities of my boss theme, i’m using the LearnDash and would like to hide the admin from the student sidebar list from the right side
Hey there,
I am currently setting up a members directory for our alumni association using buddypress (currently Version 3 RC1 from trac). I really love it and so far the feedback from our testers is really positive. I might consider contributing a showcase/case study if there is anything like that for buddypress. I have already contributed several translations and will add more during the weekend!
I have one issue remaining which is related to the search function. We allow our members to hide certain information from other members. For example one member can set their current location to “adminsonly”. Let’s assume this example. We have user Thomas in city Berlin and user Peter in city Munich. Thomas decides to hide his location from other members and sets the field visibility to adminsonly. Now Peter views Thomas’ profile and is not able to see his location. So far everything works as expected. Now Peter uses the search function and uses the keyword “Berlin”. The result set contains Thomas (without displaying any information about the city) although Peter should not be able to know the city.
I would tend to consider this as a breach of privacy for users. That’s why I currently have removed the search boxes from all pages. Technically, if someone knows the URL search strings he/she could still do the search. Is it possible to configure the search so that it only searches fields which are available to the user conducting the search?
Thanks and regards!
Hi there
Is there any way of preventing users (other than admin) from deleting their own activity eg. I don’t want them to be able to delete entries such as “User x updated their profile”.
I’ve successfully prevented commenting on certain activities using bp_activity_can_comment and I’m thinking maybe I can use bp_activity_user_can_delete in a similar way, but can’t seem to make that work.
Any suggestions would be gratefully received.
With many thanks in advance.
PS. I know I can hide “Delete” with CSS but would really prefer to use a filter instead.
Hi,
I would like to change the ‘show_tab’ arguments based on a setting made upon group creation.
Something like:$is_wanted = groups_get_groupmeta( $group_id, ‘show-to’ );
<?php if ($is_wanted): ?>
‘show_tab’=> ‘member’
<?php else: ?>
‘show_tab’=> ‘admin’
<?php endif; ?>How can this parameter be accessed?
It would also be ok to hide the tab in the group compleatly, like$parent_nav_slug = bp_get_current_group_slug();
$tab = ‘gruppen-stockkarte’;
bp_core_remove_subnav_item( $parent_nav_slug, $tab, ‘groups’ );BUT based on the group_id and groups_get_groupmeta, not for all groups.
Thanks for your help!
( sorry for doubbling the topic, I couldnt figure out how to edit)
WordPress 4.9.5 -> BuddyPress 2.9.4 -> Agama Blue Child Theme
I ended up with the below code from posts in these forums but it doesn’t do quite what I need it to do.
Users should not be able to see other users’ friends so the Friends tab when viewing another user’s profile page must be removed along with the functionality. Here’s my code:function bpfr_hide_tabs() { if ( !is_super_admin() && !bp_is_my_profile() ) { bp_core_remove_subnav_item( 'profile', 'friends' ); // This does nothing //bp_core_remove_nav_item( 'friends' ); //Or this but this also hides the Friends main menu item, not just the Friends tab in the user's profile page } } add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );
I’ve switched between both options in the code.
bp_core_remove_subnav_item( 'profile', 'friends' );
doesn’t really do anything andbp_core_remove_nav_item( 'friends' );
does remove the Friends tab from another user’s profile but it also removes it from the main menu which is a different thing. The main menu Friends link points to my own Friends whereas the Friends tab in another user’s profile points to their friends. Any help would be appreciated.WordPress 4.9.5 -> BuddyPress 2.9.4
Hi all,
This is when viewing a user’s profile page. I removed the Friends tab with the below code but the View tab is still showing (it’s not necessary since the Profile tab is there and points to the same place, the user’s profile page). Is there a list somewhere of the slugs for the tabs or is there a function that can generate that? Or am I completely off about this 🙂
Thanks in advance.
function remove_nav_items() {
if ( !bp_is_my_profile() && !is_super_admin()) {
bp_core_remove_nav_item( 'friends' );
bp_core_remove_nav_item( 'view' );
}
}
add_action( 'bp_setup_nav', 'remove_nav_items',301);
Topic: Hiding the admin user
Hi How do you hide the admin user from Buddypress? Thanks!
Topic: Hiding Admin Accounts
I saw a thread here:
https://buddypress.org/support/topic/how-can-i-disable-the-last-active-time/However, I’d like it to hide for everybody apart from me, the Admin.
Doable?
I tried to implement the following code:
function buddydev_hide_members_directory_from_all_except_admin() { if ( bp_is_members_directory() && ! is_super_admin() ) { //should we add a message too? //bp_core_add_message( 'Private page.', 'error' ); bp_core_redirect( site_url('/') ); } } add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_from_all_except_admin' );
in plugins> bp-custom.php. Just in case, I also tried to implement it by creating a new plugin folder > bp-custom.php in the child theme, but the member directory page is still visible to non-admin/non-logged in users.
Good day,
Am not sure if this is the right place to put this but please do pardon me .
I wanted to ask any one or the buddy-press support team on how where they able to implement the this certain functions to the site.
https://postimg.org/image/urrv2bmbp/1) Have a create new topic button on the admin menu tab
2 ) is there a way to hide the Mysites – from other users except admin ( as I do make use of a multisite)
– if its not possible is there a way to customize it from My site to something like “Site Tool” and a way to change the W – logo to something else.
In all Thank you very much, as I do appreciate your help and assistGood Afternoon, I wanted to ask if there was any-one who has an ides how to hide site > my site which is created by buddypress on the admin dashboard area. as below
https://postimg.org/image/dop3730kl/As i was able to find a way to hide the site from the user profile thanks to @vapvarun
using the functionfunction vap_remove_buddypress_sites_tabs() { global $bp; // to remove main menu for sites. bp_core_remove_nav_item('blogs' ); } add_action( 'bp_setup_nav', 'vap_remove_buddypress_sites_tabs', 999 );
But the question is how do i hide it also in the admin dashboard.
As preferable I would likely wish if i could hide it specifically from other users except admin and site owner.
Thank you in advanceFor privacy issues I want to hide certain links on profile view.
i use the snippet, mentioned here (see script below):
oneThis works fine with BP related links, but I cannot hide links from CPT like rtMedia and the link of this:
`function bp_postsonprofile() {
add_action( ‘bp_template_content’, ‘profile_screen_posts_show’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}function profile_screen_posts_show() {
$myposts = get_posts( array(
‘posts_per_page’ => -1,
‘author’ => bp_displayed_user_id(),
‘post_type’ => ‘post’
));if( ! empty($myposts) ) {
echo ‘<ul>’;
foreach($myposts as $post) {
setup_postdata( $post );
echo ‘<li><a href=”‘ . get_permalink($post->ID) . ‘”>’ . get_the_title($post->ID) . ‘</a></i>’;
}echo ‘</ul>’;
wp_reset_postdata();
} else {
echo ‘<div class=”info” id=”message”><p>’. bp_displayed_user_fullname() .’ hat keine Beiträge veröffentlicht.</p></div>’;
}
}add_action ( ‘profile_screen_posts_show’ );`
function bpfr_hide_tabs() {
global $bp;
/**
* class_exists() & bp_is_active are recommanded to avoid problems during updates
* or when Component is deactivated
*/if( class_exists( ‘bbPress’ ) || bp_is_active ( ‘groups’ ) ) :
/** here we fix the conditions.
* Are we on a profile page ? | is user site admin ? | is user logged in ?
*/
if ( bp_is_user() && !is_super_admin() && !is_user_logged_in() ) {/* and here we remove our stuff ! */
bp_core_remove_nav_item( ‘activity’ );
bp_core_remove_nav_item( ‘friends’ );
bp_core_remove_nav_item( ‘groups’ );
bp_core_remove_nav_item( ‘posts’ );
bp_core_remove_nav_item( ‘forums’ );
bp_core_remove_nav_item( ‘media’ );
}
endif;
}
add_action( ‘bp_setup_nav’, ‘bpfr_hide_tabs’, 15 );