Search Results for 'Hide Admin'
-
AuthorSearch Results
-
April 11, 2013 at 6:26 pm #161327
In reply to: Hide Admin Bar Buddypress v. 1.6.1
tibmix
Participant@megainfo Great. Where should I add this line? (don’t, please, think what I think you’re thinking)
Thanks.April 8, 2013 at 7:08 am #160267In reply to: PLEASE HELP ME TO SOLVE MY PROBLEM
Prince Abiola Ogundipe
ParticipantAns 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
March 19, 2013 at 3:56 pm #156787In reply to: how to hide admin activity on Buddypress activity?
Ben Hansen
Participant@mercime thanks!
March 19, 2013 at 7:39 am #156754In reply to: how to hide admin activity on Buddypress activity?
@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 🙂
March 14, 2013 at 9:37 pm #156418In reply to: how to hide admin activity on Buddypress activity?
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.
March 4, 2013 at 5:39 pm #155050In 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==============================
March 2, 2013 at 1:07 pm #154874March 1, 2013 at 12:00 am #154764Brajesh Singh
ParticipantNo problem. You are most welcome 🙂
February 28, 2013 at 11:46 pm #154760February 28, 2013 at 11:33 pm #154758Brajesh Singh
ParticipantYou 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.
February 28, 2013 at 11:17 pm #154755rizingsun
ParticipantThanks @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?
February 28, 2013 at 11:04 pm #154754bp-help
ParticipantI 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.February 28, 2013 at 10:45 pm #154748rizingsun
ParticipantThanks @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?
February 28, 2013 at 10:28 pm #154747bp-help
ParticipantYou 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 putting3. 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.February 27, 2013 at 3:02 pm #154620bp-help
Participanthttp://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.February 21, 2013 at 5:22 pm #153622In reply to: Hide Profile Group When Editing
haughtam
ParticipantIt’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’);
January 18, 2013 at 12:00 am #150991danbpfr
ParticipantGo 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 !
December 21, 2012 at 12:42 pm #148378In reply to: Block Blog from Activity
Paul Wong-Gibbs
KeymasterEasiest 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.
December 19, 2012 at 8:34 pm #148177In reply to: WPMS stand alone plus multisite?
voopress
ParticipantThat 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.
December 19, 2012 at 1:38 am #147819Toby Cryns (@themightymo)
ParticipantIf 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:
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
December 14, 2012 at 5:50 pm #147394Adam
Participanthi 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,
AdamDecember 13, 2012 at 1:21 am #147244In reply to: Activity Stream not showing up on user's profile.
mreeder
ParticipantI 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.
November 26, 2012 at 5:21 pm #145683Ben Hansen
Participantstreams 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.
November 15, 2012 at 5:29 pm #145072In reply to: Hide My Account Menu
hughshields
ParticipantThe 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).
October 31, 2012 at 5:03 pm #144322In reply to: Need original WordPress Registration page back
David Cavins
KeymasterI 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).
-
AuthorSearch Results