Search Results for 'Hide Admin'
-
AuthorSearch Results
-
June 6, 2010 at 11:38 pm #80860
drifter0658
MemberIf you rename it now ( usually rename it/ wp-content/plugins1) that will hide access to the plugins from the admin portion of your site. You would then be able to get to your site’s admin panel. Once you log in and reach your admin panel, rename the plugins directory back to /wp-content/plugins.
The problem is most likely with the last plugin you activated.
June 4, 2010 at 4:20 pm #80665In reply to: Hide Admin
Mark
ParticipantSocialpreneur has a nice snippet here that makes it easy to hide the admin from the members list assuming you know the admin’s login name.
Place this in your bp-custom.php:
function my_bp_member_user_login() {
echo my_bp_get_member_user_login();
}
function my_bp_get_member_user_login() {
global $members_template;
return apply_filters( 'my_bp_get_member_user_login', $members_template->member->user_login );
}
Then in your members-loop.php file, place this just below the while statement (wrapped in php tags!):
if ( my_bp_get_member_user_login() == 'admin' ) continue ;(Supposing your admin’s login is ‘admin’.)
June 2, 2010 at 6:41 am #80370lee_vhoi_ol
MemberThanks for the reply, I just went into my wp-admin panel and on to Buddypress>General Settings but I do not find any Membership box. Here are the choices available:
Disable BuddyPress to WordPress profile syncing?: Yes No
Hide admin bar for logged out users?: Yes No
Disable avatar uploads? (Gravatars will still work): Yes No
Disable user account deletion?: Yes No
Disable global forum directory?: Yes No
Disable activity stream commenting on blog and forum posts?: Yes No
Default User AvatarI also tried the other sections under Buddypress, and they don’t seem to be there. Am I missing anything?
Thanks
May 27, 2010 at 7:02 pm #79920In reply to: Buddypress Classifieds?
justbishop
MemberThanks

I was actually coming to post that I didn’t really need it any more, but it’d still be useful info I suppose.
In my case, the actual “blog” part of the main blog wasn’t being used for anything, so I’m just using that as the classifieds post system. I have custom fields set up (custom field template plugin) for users to call their remotely hosted photos, and am using a combo of the Members and Adminimize plugins to hide admin panel stuff that they don’t need to see. I also had to do some editing of the core wp-admin/edit-users.php to get rid of unnecessary profile fields in the backend, but nothing too bad that it can’t be redone after an update.
May 23, 2010 at 2:49 am #79263In reply to: Hide some profile fields
mrjarbenne
ParticipantI use a Profile Privacy plugin created by http://www.jfarthing.com/. Sadly, the link to the plugin in my dashboard comes up 404 in the wp repositorty, and I can’t seem to find reference to it on his site. That said, the plugin allows for you to manage who can see certain fields in the profile (everyone, friends, user). When profile fields are set to “user” only the user and the site admin can view the info. Perhaps an attempt to contact jfarthing will met results. Good luck.
May 21, 2010 at 9:56 pm #79120In reply to: Removing ”Blogs” out of Member navigations
r-a-y
KeymasterYou still want to keep blogs, but want to hide it from the navigation correct?
Use CSS!
li#blogs-personal-li, a#bp-admin-blogs {display:none;}May 21, 2010 at 8:21 am #79056In reply to: BuddyPress-Links 0.4.x Releases and Support
Cusimano.Com Corporation
ParticipantTerrific plugin! Using BuddyPress Links 0.4.1 (with BuddyPress 1.2.3, WPMU 2.9.2). Some feedback:
Frontend:
– When viewing a link in the Links tab, the A tag of the external link icon needs a target=”_blank”.
– Would be nice to have “Report Broken Link” and “Flag as Inappropriate” buttons for each link (or may be simply “Report” to save space, and it popups to “Report Broken Link” and “Flag as Inappropriate”). Then have that status show up in the Manage Links page as two additional columns. And also have a way of filtering and showing just broken or inappropriate links in the Manage Links report. And also have a way to clear status. Perhaps record user who reported the status (in case that user is falsely reporting and should be banned).
Backend:
– Instead of 3 entries in the BuddyPress dashboard menu (i.e.: BuddyPress Links / Manage Links / Edit Categories), have only one entry “Links”. Then divide the admin page into tabs: Settings, Links, Categories, Support, About.
– The “Search Links” box and the “Search Categories” box (on the Manage Links and Edit Categories pages, respectively) are not in the same vertical location. “Search Links” box is above the heading, “Search Categories” is below the heading.
– Disable the “Delete” buttons if no Links/Categories selected to delete.
– When doing a search (Search Links / Search Categories), add a “Show all Links” / “Show all Categories” button/link to clear the search criteria.
Manage Links page:
– Make all the A tags (Details / Owner / Edit) have target=”_blank”.
– Link the link avatar to the destination URL (with a target=”_blank”).
– If hover over a link avatar, show full size image in floating popup (like a tooltip).
Settings:
– Have a setting to enable/disable rel=”nofollow”.
– Have 3 checkbox settings to hide a link if it: (1) goes below a specified negative rating (e.g.: -10); (2) is flagged inappropriate a specified number of times; (3) reported broken a specified number of times. The link’s owner would still see the link but with a warning.
– Have a setting to specify what avatar to show if none specified. First radio box would be “default avatar”, following by radio boxes to select screen snapshot thumbnail from the various snapshot website services.
May 20, 2010 at 10:24 pm #79026r-a-y
KeymasterYou probably already tried this tutorial:
http://www.michiknows.com/2007/02/12/who-else-wants-to-hide-their-wordpress-admin-folder/The other technique is hacking WP core files:
http://www.socialblogr.com/2009/09/how-to-change-folder-name-on-wordpress.htmlYou could also try applying a filter to “admin_url”, but when I tried this awhile back, it didn’t work:
http://stackoverflow.com/questions/2584706/wordpress-where-the-admin-url-is-setI should note that I’ve never done this and strongly advise you not to as well.
—
WP should have a defined WP_ADMIN_URL variable similar to WP_PLUGIN_URL and WP_CONTENT_URL, but it doesn’t.
May 19, 2010 at 9:05 pm #78909In reply to: Disable All RSS Feeds
r-a-y
KeymasterEasiest way to remove favorites is to use CSS:
li#activity-favorites, li#activity-favs-personal-li, a#bp-admin-activity-favs, .activity-meta a.fav {display:none;}This will hide all favorite buttons and tabs (I think).
May 16, 2010 at 3:02 pm #78370In reply to: BuddyPress as a school network
Boone Gorges
KeymasterYour second, third and fourth requests can be taken care of by making sure the groups are set as Private. That means that they don’t show up in public listings, and their contents are only visible to members of the group.
In order to make sure that people can only be part of a single group, you’ll want to hide the Send Invite screen for all users, or at least for non-admins. You could either do this through CSS, or by modifying/reproducing the functionality defined at bp-groups.php groups_setup_nav().
As for the first question, there are WP plugins that allow you to restrict membership to invited members. A ten-second Google search turned up this: https://wordpress.org/extend/plugins/wp-invites/, for example. I imagine that this would work fine for BP as well. The most straightforward way to populate groups would then be for the admin to use a plugin like BP Group Management http://teleogistic.net/code/buddypress/bp-group-management/, which allows admins to place people manually in groups, bypassing the invitation process.
May 11, 2010 at 11:39 am #77650In reply to: Cannot post new topic on forum
ritesh
Participanti created wordpress multiuser project.when any user creates its own blog then they have admin dashboard with all options same as a main wordpress blog administrator’s dashboard…. i want to hide some option of new blog’s users dashboard…….plz help me……
April 30, 2010 at 3:37 pm #76149In reply to: Hide Admin
Scotm
ParticipantJust caught wind of this plugin to hide admin activity: https://wordpress.org/extend/plugins/bp-ninja/
April 30, 2010 at 12:11 am #76082In reply to: Hide Admin
Scotm
ParticipantNo luck with that code to hide Admin activity. Can you pastebin to make sure I have it clean?
April 28, 2010 at 7:29 pm #75787In reply to: Hide Admin
Brajesh Singh
ParticipantApril 28, 2010 at 7:13 pm #75780In reply to: Hide Admin
r-a-y
KeymasterYes, you’re right Paul!
April 28, 2010 at 7:12 pm #75779In reply to: Hide Admin
April 28, 2010 at 7:12 pm #75778In reply to: Hide Admin
Paul Wong-Gibbs
KeymasterBP 1.2.3 does provide is_site_admin() in the compat file, FWIW.
April 28, 2010 at 7:11 pm #75776In reply to: Hide Admin
April 28, 2010 at 7:08 pm #75774In reply to: Hide Admin
Brajesh Singh
Participanthi @r-a-y is_site_admin() and is_admin() are very different. is_admin() checks whether you are inside wordpress admin or not.
@scotm
How about making the activity of admin user private
`add_filter(“bp_activity_hide_sitewide_before_save”,”make_admin_activity_private”,10,2);
function make_admin_activity_private($hide_sitewide,$activity){
//get the current activity
if(current_user_can(‘manage_options’))//user is admin
return 1;
else
return $hide_sitewide;}
`
Hopefully the code goes through this forum.April 28, 2010 at 6:27 pm #75753In reply to: Hide Admin
r-a-y
KeymasterThe snippet only works on WPMU.
If you’re using standard WP, replace is_site_admin() with if(current_user_can(‘manage_options’)) (thanks Brajesh).
Also, you could try adding the function in your theme’s functions.php (omit the add_action line).
April 28, 2010 at 6:20 pm #75751In reply to: Hide Admin
Scotm
ParticipantTried it, errors.
April 28, 2010 at 6:19 pm #75750In reply to: Hide Admin
April 28, 2010 at 6:15 pm #75748In reply to: Hide Admin
Scotm
ParticipantSaw that one…premium.
April 28, 2010 at 5:31 pm #75725In reply to: Hide Admin
r-a-y
KeymasterApril 28, 2010 at 4:49 pm #75712In reply to: Hide Admin
-
AuthorSearch Results
