Search Results for 'hide admin in directory'
-
Search Results
-
Hello all,
I have hidden myself as an admin, on my test site running buddypress, for obvious reasons. However, I discovered that when composing a message using Buddypress messages, when the user types in a partial name of the recipient, even a single letter, everyone that matches that name will show up, even if they are hidden from the directory. For example, typing “@a” will show “@admin” (me) as well as “@adam” or “@amanda” and this is no good.
Is there a way to remove certain users (ideally by user roles) from showing up in the “to” field?
I have WordPress 6.6.1 and Buddypress 14.0.0.
Thank you
Hi
I would like to hide the two columns in the members directory: role and activity as this is not interesting on our intranet.
Here’s the link to a screenshot: https://tinyurl.com/22pahgnt so the column ‘Rol’ (=role)(Beheerder = Administrator) and ‘Activiteit’ (=Activity) should be hidden.
How can I hide this? Can’t find it in the theme options of Woffice.
Thank you!
I expect this is likely a configuration issue with either our BuddyPress installation, a conflict from another plugin (though it works on staging version), or perhaps a lingering cacheing issue. But looking to find assistance resolving it and willing to consider hired help on this.
No url to share, as it is a member’s only site (Intranet).
### wp-core ### version: 6.1.1 site_language: en_CA user_language: en_CA timezone: America/Vancouver permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 0 default_comment_status: open environment_type: production user_count: 431 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/susyah/public_html wordpress_size: 58.81 MB (61669230 bytes) uploads_path: /home/susyah/public_html/wp-content/uploads uploads_size: 62.25 MB (65272481 bytes) themes_path: /home/susyah/public_html/wp-content/themes themes_size: 23.15 MB (24279208 bytes) plugins_path: /home/susyah/public_html/wp-content/plugins plugins_size: 400.27 MB (419712905 bytes) database_size: 96.29 MB (100972517 bytes) total_size: 640.78 MB (671906341 bytes) ### wp-dropins (2) ### advanced-cache.php: true maintenance.php: true ### wp-active-theme ### name: Kleo Child (kleo-child) version: undefined author: SeventhQueen author_website: http://seventhqueen.com parent_theme: Kleo (kleo) theme_features: core-block-patterns, widgets-block-editor, editor-style, automatic-feed-links, post-formats, menus, post-thumbnails, html5, featured-content, title-tag, customize-selective-refresh-widgets, responsive-embeds, kleo-facebook-login, kleo-mega-menu, kleo-menu-items, bbpress, woocommerce, buddypress-use-nouveau, widgets theme_path: /home/susyah/public_html/wp-content/themes/kleo-child auto_update: Disabled ### wp-parent-theme ### name: Kleo (kleo) version: 5.1.2 author: SeventhQueen author_website: https://themeforest.net/user/SeventhQueen theme_path: /home/susyah/public_html/wp-content/themes/kleo auto_update: Disabled ### wp-themes-inactive (1) ### Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled ### wp-plugins-active (71) ### Admin Menu Editor Pro: version: 2.18.1, author: Janis Elsts, Auto-updates disabled AS Admin Customizer: version: 1.0, author: Andolasoft, Auto-updates disabled bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled bbp style pack: version: 5.4.1, author: Robin Wilson, Auto-updates disabled Better Notifications for WP: version: 1.9.2, author: Made with Fuel, Auto-updates disabled Big File Uploads: version: 2.1.1, author: Infinite Uploads, Auto-updates disabled BP Profile Search: version: 5.4.8, author: Andrea Tarantini, Auto-updates disabled Brozzme Multiple Admin Emails: version: 1.4, author: Benoti, Auto-updates disabled BuddyPress: version: 11.1.0, author: The BuddyPress Community, Auto-updates disabled BuddyPress Notifications Widget: version: 1.3.2, author: BuddyDev, Auto-updates disabled Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled Display Posts: version: 3.0.2, author: Bill Erickson, Auto-updates disabled Document Library Pro: version: 1.9.4, author: Barn2 Plugins, Auto-updates disabled Duplicate Page: version: 4.5.1, author: mndpsingh287, Auto-updates disabled Envato Market: version: 2.0.8, author: Envato, Auto-updates disabled Essential Grid: version: 3.0.16, author: ThemePunch, Auto-updates disabled FileBird: version: 5.1.4, author: Ninja Team, Auto-updates disabled Force Login: version: 5.6.3, author: Kevin Vess, Auto-updates disabled GeoDirectory: version: 2.2.25, author: AyeCode - WordPress Business Directory Plugins, Auto-updates disabled Image Upload for BBPress: version: 1.1.18, author: Aspen Grove Studios, Auto-updates disabled Jetpack: version: 11.9.1, author: Automattic, Auto-updates disabled Jetpack Boost: version: 1.7.0, author: Automattic - Jetpack Site Speed team, Auto-updates disabled K Elements: version: 5.1.2, author: SeventhQueen, Auto-updates disabled K Fonts: version: 1.1.0, author: SeventhQueen, Auto-updates disabled Like Button Rating ♥ LikeBtn: version: 2.6.47, author: LikeBtn, Auto-updates disabled List Categories: version: 0.4, author: Fernando Briano, Auto-updates disabled MainWP Child: version: 4.4.0.1, author: MainWP, Auto-updates disabled Manage Notification E-mails: version: 1.8.4, author: Virgial Berveling, Auto-updates disabled Media Sync: version: 1.2.9, author: Erol Živina, Auto-updates disabled Meta Box: version: 5.6.17, author: MetaBox.io, Auto-updates disabled MonsterInsights - Dimensions Addon: version: 2.0.6, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Forms Tracking Addon: version: 2.2.6, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Media Addon: version: 1.0.7, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Page Insights Addon: version: 1.5.2, author: MonsterInsights Team, Auto-updates disabled MonsterInsights Pro: version: 8.13.1, author: MonsterInsights, Auto-updates disabled Ninja Forms: version: 3.6.20, author: Saturday Drive, Auto-updates disabled Page-list: version: 5.3, author: webvitaly, Auto-updates disabled Page scroll to id: version: 1.7.7, author: malihu, Auto-updates disabled Pages with category and tag: version: 0.9.0, author: YAHMAN, Auto-updates disabled Popup Maker: version: 1.18.1, author: Popup Maker, Auto-updates disabled Post Slider For Visual Composer: version: 1.1, author: Nasir, Auto-updates disabled PublishPress Permissions: version: 3.8.5, author: PublishPress, Auto-updates disabled Redirection: version: 5.3.9, author: John Godley, Auto-updates disabled rtMedia for WordPress, BuddyPress and bbPress: version: 4.6.13, author: rtCamp, Auto-updates disabled SearchWP: version: 4.2.9, author: SearchWP, Auto-updates disabled SearchWP bbPress Integration: version: 1.3.1, author: SearchWP, Auto-updates disabled SearchWP Custom Results Order: version: 1.3.6, author: SearchWP, Auto-updates disabled SearchWP Live Ajax Search: version: 1.7.4, author: SearchWP, LLC, Auto-updates disabled SearchWP Shortcodes: version: 1.8.3, author: SearchWP, Auto-updates disabled Shortcode in Menus: version: 3.5.1, author: Gagan Deep Singh, Auto-updates disabled Site Plugin for susyah.csfs.org: author: (undefined), version: (undefined), Auto-updates disabled Social Articles: version: 2.9.5, author: Broobe, Auto-updates disabled SQ Sidebar Generator: version: 1.2.2, author: SeventhQueen, Auto-updates disabled TablePress: version: 2.0.4, author: Tobias Bäthge, Auto-updates disabled The Events Calendar: version: 6.0.10, author: The Events Calendar, Auto-updates disabled The Events Calendar: Community Events: version: 4.10.5, author: The Events Calendar, Auto-updates disabled The Events Calendar: Filter Bar: version: 5.4.3, author: The Events Calendar, Auto-updates disabled The Events Calendar PRO: version: 6.0.9.2, author: The Events Calendar, Auto-updates disabled User Role Editor: version: 4.63.3, author: Vladimir Garagulya, Auto-updates disabled User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled UsersWP: version: 1.2.3.11, author: AyeCode Ltd, Auto-updates disabled Wbcom Designs - BuddyPress Member Export Import: version: 1.5.0, author: Wbcom Designs, Auto-updates disabled When Last Login: version: 1.2.2, author: Yoohoo Plugins, Auto-updates disabled WordPress Toolbar Editor: version: 1.4.2, author: Janis Elsts, Auto-updates disabled WP Add Mime Types: version: 3.0.3, author: Kimiya Kitani, Auto-updates disabled WPBakery Page Builder: version: 6.10.0, author: Michael M - WPBakery.com, Auto-updates disabled wpDataTables - Tables & Table Charts: version: 2.1.53, author: TMS-Plugins, Auto-updates disabled WP Easy Updates: version: 1.1.20, author: AyeCode Ltd, Auto-updates disabled WPForms Lite: version: 1.8.0.2, author: WPForms, Auto-updates disabled WP Rocket: version: 3.12.5.3, author: WP Media, Auto-updates disabled WP SMS: version: 6.1.1, author: VeronaLabs, Auto-updates disabled ### wp-plugins-inactive (1) ### Password Protected Categories: version: 2.1.8, author: Barn2 Plugins, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 128M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 gd_version: 2.3.3 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.25 ### wp-server ### server_architecture: Linux 3.10.0-962.3.2.lve1.5.42.el7.x86_64 x86_64 httpd_software: Apache php_version: 7.4.33 64bit php_sapi: litespeed max_input_variables: 10000 time_limit: 360 memory_limit: 2048M max_input_time: 360 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 7.84.0 OpenSSL/1.1.1p suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.7.41 client_version: mysqlnd 7.4.33 max_allowed_packet: 268435456 max_connections: 250 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/susyah/public_html/wp-content WP_PLUGIN_DIR: /home/susyah/public_html/wp-content/plugins WP_MEMORY_LIMIT: 1024M WP_MAX_MEMORY_LIMIT: 2048M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: true SCRIPT_DEBUG: true WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable 0: Writable ### jetpack ### site_id: 212215713 ssl_cert: No time_diff: 2 version_option: 11.9.1:1678828073 old_version: 11.9:1678301680 public: Public master_user: #1 ConceptDesign current_user: #1 ConceptDesign tokens_set: Blog User blog_token: P8&fk$QOWUjx^E0IRR3qiHSD*VPExwHg user_token: bvJ0#WWGEoaVgl@fq*KX$BqCk5YW7Si1 version: 11.9.1 jp_plugin_dir: /home/susyah/public_html/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Tue, 08 Nov 2022 19:26:26 +0000","finished":"Tue, 08 Nov 2022 19:31:21 +0000","progress":{"comments":{"total":"5","sent":5,"finished":true,"last_sent":"3"},"constants":{"finished":true},"functions":{"finished":true},"options":{"finished":true},"posts":{"total":"3647","sent":3647,"finished":true,"last_sent":"2"},"term_relationships":{"total":"3115","sent":3115,"finished":true,"last_sent":{"object_id":"1","term_taxonomy_id":"270"}},"terms":{"total":"398","sent":398,"finished":true,"last_sent":"1"},"themes":{"finished":true},"updates":{"finished":true},"users":{"total":"83","sent":83,"finished":true,"last_sent":"1"}},"config":{"comments":1,"constants":1,"functions":1,"options":1,"posts":1,"term_relationships":1,"terms":1,"themes":1,"updates":1,"users":1}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/susyah.csfs.org","siteurl":"https:\/\/susyah.csfs.org","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass. ### buddypress ### version: 11.1.0 active_components: Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups template_pack: BuddyPress Nouveau 11.1.0 ! hide-loggedout-adminbar: No ! bp-disable-account-deletion: No ! bp-disable-avatar-uploads: Yes ! bp-disable-cover-image-uploads: Yes bp-enable-members-invitations: No bp-enable-membership-requests: No ! bp-disable-profile-sync: Yes ! bp_restrict_group_creation: No ! bp-disable-group-avatar-uploads: Yes ! bp-disable-group-cover-image-uploads: Yes ! bp-disable-blogforum-comments: Yes _bp_enable_heartbeat_refresh: Yes ### redux-framework ### version: 4.3.12 installation: in_plugin data directory: /home/susyah/public_html/wp-content/plugins/k-elements/lib/options/ browser: Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0 Browser: Firefox Version: 112.0 Platform: Apple ### redux-instance-kleo_kleo_child ### opt_name: kleo_kleo_child global_variable: false dev_mode: false ajax_save: false page_slug: kleo_options page_permissions: manage_options menu_type: menu page_parent: themes.php compiler: false output: false output_tag: true templates_path: undefined extensions: Customizer: 4.0.0 Import Export: 4.0.0 Metaboxes: 4.0.0 Options Object: 4.0.0 Repeater: 4.3.7 Search: 3.4.5 Shortcodes: 4.3.5 ### wpforms ### version: 1.8.0.2 lite: Nov 14, 2022 @ 5:41pm upload_dir: Writable total_forms: undefined total_submissions: undefined ### bp-profile-search ### version: 5.4.8 platform: BuddyPress 11.1.0 theme: Kleo Child index: /plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/index.php loop: /plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/members-loop.php template0: /themes/kleo/buddypress-nouveau/members/bps-form-legacy.php template1: /themes/kleo/buddypress-nouveau/members/bps-form-inline.php template2: /themes/kleo/buddypress-nouveau/members/bps-form-with-labels.php
Hey!
Is there a way to hide Admins from the general member’s directory – maybe with a plugin or a shot script? Also, would that not be a great feature to be included in the next update for BuddyPress?
Thanks in advance
Hi, I want to show the loggedin user profile if he/she tries to access other user’s profile.
Here’s a list of what I want and what I’ve accomplished- OK – Redirect to own profile when entering /members/
- X – Redirect to own profile when entering another profile via link
- OK – WMDs can view member listings
- OK – ADMs can view member profile
This is the code i have until now
function buddydev_hide_members_directory_for_all_except_users_with_specific_roles() { if ( ! bp_is_members_directory() ) { return; } if ( !is_user_logged_in() ) { bp_do_404(); load_template( get_404_template() ); exit( 0 ); } $allowed_roles = array( 'administrator', 'editor' ); $hide = true; $user = wp_get_current_user(); foreach ( $allowed_roles as $role ) { if ( in_array( $role, $user->roles, true ) ) { $hide = false; break; } } if ( ! $hide ) { return; } /** * bp_is_my_profile() * bp_is_user_profile() * bp_is_user() * bbp_is_single_user_profile() * bbp_is_user_home() * bbp_is_single_user() */ if(!bbp_is_user_home()){ wp_redirect(bp_loggedin_user_domain()); } //REDIRECT TO USER PROFILE wp_redirect(bp_loggedin_user_domain()); exit( 0 ); } add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_for_all_except_users_with_specific_roles' );
I tried some things like the last IF with the commented functions but none work, so I guess I’m doing something wrong. Can you help me plz?
Thanks in advance
Hello,
I am looking for php code to be inserted into my custom function plugin so that my admin account will be visible hidden from members on members directory and else where.
I did see some colder codes here but it does not seem to be working on the current BuddyPress version.
Does anyone have the workable code?
Thanks
hi there,
i am looking for a way to hide user role in member page, i still don’t have a working solution. anyone have any ideas, thanks.I tried using this guide:
https://wordpress.org/support/topic/hide-admin-users-from-being-displayed-in-members-directory/ is not working.I want to prevent several accounts from displaying in the Members Directory.
Ex. AdministratorsIs t his possible?
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
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!
Topic: Hiding Admin Accounts
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.
Hey guys,
Would anyone know how to hide and disable member pages based on their role type. (e.g. yoursite.com/members/username)
Goal: if a member is set to a WordPress Administrator role, we would like to make his/her page inaccessible from the public
Purpose: while we have been able to hide specific roles from displaying in the member directory, their member/page is still visible if you know the URL.
Similar to how we can make the WordPress Author page inaccessible, we’d like to do the same for BuddyPress’s equivalent Member page.
Thanks in advance