Search Results for 'Hide Admin'
-
AuthorSearch Results
-
June 6, 2012 at 7:46 am #135512
In reply to: Exclude or Hide admin from Groups Members Directory
oblax
ParticipantThanks. I saw it in members php page exclude admin mods should be set to 1.
June 6, 2012 at 7:10 am #135334In reply to: Exclude or Hide admin from Groups Members Directory
@mercime
ParticipantIf you have a bp-default child theme, copy group-header.php file.into your child theme folder as in wp-content/themes/yourchildtheme/groups/single/group-header.php
then delete lines 11-15 of said file. If you also want to delete Group Mods, then delete lines 7-30May 21, 2012 at 5:42 am #134814In reply to: [Resolved] Group Forums
frostdawn
Member==So if you want Group Forums, click on Install button, then after you’re done, enable Forum for each you in Group > Admin==
I’m not sure I understand the latter half of that sentence, particularly the ‘enable Forum for each you in Group”.
Considering the member usability in the aforementioned codex, I’ve decided I’d rather stick with sitewide forums instead. And seeing as how I was getting an HTTP error trying to activate them, I’m using bbPress directly vs through BP. However, I don’t want users going into the groups and trying to use the forums link within them and finding it doesn’t work. Is there a way to hide/disable that link instead?
Thanks
May 20, 2012 at 7:55 pm #134805@mercime
Participant@ahkar83 just go to wp-admin menu BuddyPress > Settings – Main Settings – Toolbar – uncheck “Show the admin bar for logged out users”
May 3, 2012 at 10:26 am #133920In reply to: Restricting group creation to admins
Joshua Craig
ParticipantHi everyone,
I’m currently working on a project and my client wants only the admins to be able to create groups, so I set that option in the BuddyPress admin area, easy peasy. But, the Create A Group button still appears on the front end. For now I am simply looking for a way to hide that button, and I’ve added the CSS @Mike Pratt suggested but the button remains. Any ideas?
What would be really cool (not that I have a clue how to do this) would be:
1.) BP functionality that automagically removes the Create A Group button when you select that only admins can create groups, that would be ideal.
or
2.) A way to change the URL of the Create A Group button for the members level, so you could create a Request A Group page with a form that a member can fill out requesting a group. That is what I’d like to do, but I’m at a loss for where to start in the code, and I’m not much of a PHP dev.May 2, 2012 at 3:23 am #133833In reply to: hide profile group
Toby Cryns (@themightymo)
ParticipantAre you referring to the tabs within groups (admin, topics, etc.)?
If so, the quick and dirty way to hide them is via CSS.
April 5, 2012 at 10:43 am #132483In reply to: Customize Buddy Press
DRAGUIAN
MemberAs for search bar…a website said
From what I could find you can’t actually remove that search box. You can however, hide it with a bit of CSS.
Add this to your functions.php or a custom plugin;
`function hide_admin_bar_search () {
echo ‘
#adminbarsearch {
display: none;
}
‘;
}
add_action(‘admin_head’, ‘hide_admin_bar_search’);
add_action(‘wp_head’, ‘hide_admin_bar_search’);`March 24, 2012 at 9:58 pm #131937In reply to: ‘hide-loggedout-adminbar’ option not working
Paul Wong-Gibbs
KeymasterBest place for this is https://buddypress.trac.WordPress.org — post it as an enhancement ticket. Thanks.
March 22, 2012 at 12:24 pm #131785In reply to: Hiding the admin user
uwebsite
MemberI’ve found the function bp_core_get_users in the file bp-members-functions.php which seems to make it possible to exclude users from being shown. But how can i use this function and is it the right piece of code to hide the adminuser in the whole buddypress-created area?
Has anyone an idea what i could write in my themes functions.php to override this function in a way, that the adminuser is hidden on my site?
thx
March 19, 2012 at 7:01 pm #131622In reply to: Hiding the admin user
uwebsite
MemberThanks for answering, but that is not what i am looking for. I would like to hide the adminuser from buddypress, not just from some lists. Isn’t it possible to take him out of the system? The admin doesn’t needs a profile etc., just access to the admin-area and the control of the system. He shouldn’t appear in any list and the name should not be public.
Has anyone an idea? Maybe i caould change something in the wp-core, but where?
February 21, 2012 at 9:38 pm #130233Hugo Ashmore
ParticipantNo such thing sadly; you could ensure the fields are in a specific group of their own and then wrap that in a if is_admin check so only admins can read, if you are creating a theme for general use and wouldn’t know the field names then you may need to write a function of some description with dashboard option settings to manage things or check what BP plugins are available in the ‘privacy’ genre and see if they offer any greater control.
February 21, 2012 at 8:32 pm #130228Tux Kapono
ParticipantActually, I did. She was wondering if there were more obvious solutions than what she could think of. Though she mentioned that the listed solution only works if you don’t ever have a different field name.
Attached is a screenshot of what I really was hoping BuddyPress would have, a standard Ning feature, which allows you to select ‘private’, so the answer will only be visible to you and other administrators: http://csplacemaking.com/images/profile-questions.png. This is the ideal solution.
February 21, 2012 at 2:34 pm #130200Hugo Ashmore
ParticipantYou’ll need to do something like wrap the custom xprofile loop section in a check for a specific field name ‘birthdate’ and do something like ‘if not’ ‘birthdate’ go ahead and display field item or display if is_admin if you want to be able to see users data as a site admin.
To remove a field you could do:
`<tr>
`
in the profile loop; equally if you wanted to remove a complete field group you can copy the approach seen in the file for ensuring that the base group is not shown `if ( 1 != bp_get_the_profile_group_id() ) ` adding an OR followed by a check on the group id to hide.February 14, 2012 at 5:41 pm #129792aces
ParticipantOn Buddypress > Settings select No for Hide admin bar for logged out users?
See: https://codex.buddypress.org/getting-started/configure-buddypress-components/#bp-settings
February 2, 2012 at 2:23 am #129048In reply to: hide admin profile from member list?
aces
ParticipantJanuary 29, 2012 at 3:45 pm #128793In reply to: hide admin from members list
Brajesh Singh
ParticipantJanuary 29, 2012 at 7:20 am #128782In reply to: hide admin from members list
oblax
ParticipantExactly. How can I do it? I googled it and I could find any.
January 29, 2012 at 7:14 am #128781In reply to: hide admin from members list
@mercime
ParticipantYou mean you don’t want the Admin to be included in the list of members in members directory?
January 27, 2012 at 9:37 am #128706In reply to: Interactive Profile Fields During Registration
Marcella
ParticipantHey @davidveldt this should do it if you are using the default theme. Otherwise you should integrate as you see fit.
theme/registration/register.php
You can add any groups or fields as you require. The groups and fields here are arbitrary.
` ‘player’, 4 => ‘coach’, 5 =>’parent’, 6 => ‘instructor’); ?>
$role) : ?>
<div id="” class=”role-fields”><label for="”>
<textarea rows="5" cols="40" name="” id=””>
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />
`
Create some profile groups to cater for each role. You can find the group id within the BuddyPress admin… In the url bar or investigate your database.
You should set-up the $roles array above to match your requirements.
Within the loop you can show any fields you have created within that xprofile group. If you have a select box within that group you would add the following code as outlined in the bp-default register.php
`
<label for="”>
<select name="” id=””>
`
Finally add the following jQuery where you house any other code of similar ilk.
`
jQuery(“.role-fields”).hide();
$roles = jQuery(“#roles”);
jQuery(“#field_2”).change(function()
{
$role = jQuery(this).val().toLowerCase();
jQuery(“.role-fields”).hide();
jQuery(“#” + $role).toggle();
});
`Here’s a pastebin for all that above. http://pastebin.com/QFdTdstz
No need for tabs or accordion this time.
Hope that helps you on the Road.
January 5, 2012 at 6:26 pm #127484In reply to: WP adminbar / BP buddybar bug/issue?
aces
ParticipantI put it in bp-custom-php – actually it also worked in functions.php…
I’m not sure if you want the same functionality. Wrapping in `is_admin` was so that the following lines only worked on the admin pages. `remove_action` shouldn’t be necessary.
The `define` line tells buddypress to use the wp adminbar. This adds the personal menu under your name like on this page and gets rid of some blank space under the menu bar. It also stops the buddybar being rendered (behind the WP admin bar – see WP bug mentioned above). I can not find a simple way to use the buddybar instead of the wp adminbar on the admin page – but I think that’s the way WordPress wants it to work…
For the public facing side I have selected Hide admin bar for logged out users? so you only see the buddybar when logged in.
What are you trying to achieve?
January 4, 2012 at 7:53 pm #127421dianeinatlanta
MemberHi, Mercime. I am using Salutation by para.llel. us It has been recently revamped for use with Buddypress and I can see that many members seem to be doing fine. I am sure it is something I have done. I have changed only one setting under buddypress and that is ‘hide admin bar for logged out users’. I messed up initially on my pages set-up, so had to go back and re-install bp to get the permalinks working right. Now everything but this section works – it throws me out to google and says it is a broken link:
Oops! This link appears to be broken.
Suggestions:
Go to http://www.atlantagardeningforum.com
Search http://www.atlantagardeningforum.com for members admin settings generalI will try switching back to bp default and see what happens.
December 16, 2011 at 10:18 pm #126509In reply to: Hide the main blog from users “My Blogs” menu item
mrshow
Memberanyone found a solution to this having same issue of users being considered blog owner in buddypress multisite setup. admin bar says my sites
mainsite.com
actuallsite.com -> user registeredMainsite does not belong to user how i get rid of link on bar and profile as it does this for all users.
November 28, 2011 at 2:59 am #125118Sameera
MemberThanks for your reply. I don’t mind editing home.php because I’m doing it in my theme file. I’ve figured out a way to prevent the friends tab to other users. Just trying to figure out the way it’s done for messages, so that I’m not reinventing anything.
November 27, 2011 at 7:41 pm #125090modemlooper
ModeratorJust read you don’t want to edit home.php. There isn’t a filter for privacy like there is with messages for showing profile sections. Messages and xprofile fields has logic for output and can be filtered but the actual page needs a code edit.
November 27, 2011 at 7:37 pm #125089modemlooper
ModeratorInstall BuddyPress Profile Privacy plugin
-
AuthorSearch Results