Search Results for 'Hide Admin'
-
Search Results
-
Hi folks, new BuddyPress user here. (Using BP 3.1.0, WP 4.9.8, site in development)
I’m looking to use BP for the following specific functionality:
1) Allow our members to post updates on their own profile (privately) for their own reference (diary style), which they will be able to review themselves later, over time.
2) It would be great if the admin user(s) could post comments on their diary entries too.First hurdle: I would like to know how to “hide” certain elements of BuddyPress. When I go to the Activity page for a test user, besides the activity entry box and feed, I see links to toggle between “All Users” and “Mentions”. Then there’s an RSS link, a “Search Activity” box (might keep that, sure), and a dropdown for ‘Everything’ and some other options.
My first question: How do I go about hiding / disabling the functionality I don’t want our members to see/use? Should I edit plugins/buddypress/bp-activity/bp-activity-template.php ? Is this a good idea? :-O
Second question: Changing references of “Activity” to, say, “Diary” — is this best done with a translate plugin (e.g. LocoTranslate)?
3rd question: How would I enable admins the ability to add comments within a member’s activity stream (e.g. respond to specific entries)? Does anyone have any ideas on that? Is there another plugin somewhere that enables such functionality, perhaps?
Thanks for advice/tips you can give!
David.Hi,
Is it possible to change the text of the Register Button from ‘Register’ to ‘Join us’? I’d also like to have the destination when the button is clicked to be a page with an AgileCRM form form, instead of either the BuddyPress or PMPro form (both of which I’m using). The reason for this is that I initially need new sign-ups to go straight into AgileCRM for manual approval, after which their user account will be manually created on WordPress by an admin, and the new user details emailed.
Ideally I’d like new users to complete sign-up and be manually approved, whilst at the same time their details being sent to AgileCRM and a new contact created. I’ve tried this but even though I’ve set new sign-ups for manual approval, a new account is created (albeit with limited access), and they are immediately logged into the site. I cannot see a way to change this.
I also tried using Zapier to pull new users into AgileCRM from WordPress but that too didn’t seem to work, event though when going through the testing stage it created a record in AgileCRM.
I’m using PMPro because the client is looking to take online payments for sign-ups in the future, and want to retain the functionality and option to use the PMPro register page in the future.
Current set-up:
WordPress – 4.9.7
Theme: Boss Child Theme
Plugins:
Agile CRM – v1.1
All-in-One WP Migration – v6.72
bbPress – v2.5.14
BuddyBoss One Click Installer – v1.0.6
BuddyBoss Products Updater – v1.0.2
BuddyPress – v3.1.0
BuddyPress Docs – v2.1.0
BuddyPress Follow – v1.2.2
BuddyPress Global Search – v1.1.9
Hide Admin Bar From Non-admins – v1.0
Import Users from CSV – v1.0.0
Page Builder by SiteOrigin – v2.7.3
Paid Memberships Pro – v1.9.5.3
Paid Memberships Pro – Add Member Admin – v.4
Paid Memberships Pro – Advanced Levels Page Shortcode Add On – v.2.4
Paid Memberships Pro – Approvals Add On – v1.0.4
Paid Memberships Pro – bbPress Add On – v1.5.5
Paid Memberships Pro – BuddyPress Add On – v1.1.1
Paid Memberships Pro – Email Templates Add On – v0.7.1
Paid Memberships Pro – Membership Manager Role Add On – v.3.1
Regenerate Thumbnails – v3.0.2
SiteOrigin Widgets Bundle – 1.12.1
The Events Calendar – v4.6.20.1Please let me know if you need any further information.
Thanks in advance.
Greetings,
We are using LDAP to populate and maintain our Buddypress members list, and because of this we don’t want people to be able to change their password or email address via the Settings > General tab. We would like to therefore hide the General tab and have Settings redirect to a different tab instead (preferably Settings > Profile)
I have gone through the forums and have viewed other posts by people dealing with the same issue, specifically this one:
Here’s the code:
function bpex_change_profile_settings_default_tab() { if( bp_is_active( 'xprofile' ) ) : $access = bp_core_can_edit_settings(); $slug = bp_get_settings_slug(); $args = array( 'parent_slug' => $slug, 'subnav_slug' => 'notifications', 'screen_function' => 'bp_settings_screen_notification', 'user_has_access' => $access ); bp_core_new_nav_default( $args ); endif; } add_action( 'bp_actions', 'bpex_change_profile_settings_default_tab' ); function bpex_remove_general_item_on_usermenu() { global $wp_admin_bar; if ( bp_use_wp_admin_bar() ) { $wp_admin_bar->remove_node( 'my-account-settings-general' ); } } add_action( 'wp_before_admin_bar_render', 'bpex_remove_general_item_on_usermenu' ); function bpex_remove_profile_settings_general_tab() { if( bp_is_active( 'xprofile' ) ) : bp_core_remove_subnav_item( 'settings', 'general' ); endif; } add_action( 'bp_actions', 'bpex_remove_profile_settings_general_tab' );This seems to be the solution I need, but when I add the code to bp-custom.php it does remove the General tab, but now clicking on Settings generates a 404 error. As this post is over a year old, I’m wondering if there have been changes to Buddypress that stops this from working.
I should mention that I’ve done some (but not a lot) of PHP programming. I did have a co-oworker who is quite proficient at PHP look over this with me, but everything we tried failed to work.
Thanks for any help anyone can give.
Topic: Hide Admin Accounts
Is there a way to hide admin accounts from showing up in searches and in member listings? We have several admins that are only on the site to manage members. We want them to have site access but no show up as members.
Ideally, I want to customize which groups a user can post to on profile and activity pages. The drop down lists all groups they are a member of but want to restrict non-admins from posting activity to certain groups. I have achieved this on the group page but members can still post from Activity using the dropdown.
An alternative would be to just hide “Post to:” dropdown entirely. Any ideas? Thanks in advance.
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.