Search Results for 'how to hide pages'
-
AuthorSearch Results
-
April 16, 2009 at 7:28 pm #42777
In reply to: Restrict user blogs (tools, pages, themes)
peterverkooijen
ParticipantNo. Here\’s some code from the plugin:
‘/* Hide the Dashboard link (2.5+) and the Tools menu (2.7) */
function wphd_hide_dashboard() {
global $menu, $current_user;
if (!current_user_can(‘edit_posts’)) {
if (0 <= wphd_hide_dashboard_version(‘2.6’)) {
unset($menu[0]);
} else if (0 >= wphd_hide_dashboard_version(‘2.7’)) {
unset($menu[0]);
unset($menu[4]);
unset($menu[55]);
}
}
}
‘
I\’d remove \’unset($menu[4]);\’ and \’55\’ and see what happens. Someone who better understands programming may be able do add/edit this to get what you want.
The plugin is from Kim Parsell. Perhaps you can convince her to expand it and make it more modular.
April 16, 2009 at 6:34 pm #42793In reply to: Restrict user blogs (tools, pages, themes)
peterverkooijen
ParticipantThe WP Hide Dashboard plugin may help.
April 14, 2009 at 6:55 pm #42656In reply to: Member pages all the same widgets
John James Jacoby
KeymasterBy backend menus for WP, do you mean you want to totally remove access to the wp-admin area?
This has been a common request by others as well, especially if you have blogs turned off and are trying to hide it completely for subscribers.
If you’re saying that each member still has a blog, but you want them to be able to create new blog posts and manage their blogs through the buddypress interface, that still is not a possibility, and would require an additional plugin (in my opinion) that does not yet (and may never) exist with BP…
It is possible to setup default widgets for blogs, it’s a little tricky though. Also, in order to setup a default member blog, I’ve found the best way to do that is to only give them one option and only have one theme turned on the Site-Admin->Themes area. There may be a way to force a default theme, but I’ve never attempted it yet.
January 31, 2009 at 3:25 pm #37025In reply to: Cannot access Account Settings under Users
lorenzocoffee
MemberHy,
same problem here, on wp mu 2.7,
plus after having ‘runned’ that file twice with same alert.wp-admin/admin.php?page=bp-xprofile/admin-mods/bp-xprofile-account-tab.php
(just to see what happen)homepage (on ‘root’+ BuddyPress Home Theme) did appear without most of the previously selected widgets (only the center/middle coloum did ‘survive’).
funnily, so to speak, on the widgets board them appear deactivated,
the “self-deactivated” widgets (after the double run of ‘ bp-xprofile-account-tab.php ‘ or incidentally at the same time but for other unknown reasons)
are:- Welcome
- Members
- Who’s Online
- Site Wide Activity
- Recent Blog Posts
- Groups
so all dinamic related plugs
Unafected widgets,in the Homepage, as this matter did possibily trigger homepage only (apparently)
- pages
- Recent post
- Calendar
- Search
- Archives
I’ve reactivated the ‘rebels’ widgets on their original position, content and setting
were not affected by this incidentI will hide (//) that string, even if I’m quite sure that function was working up to this morning, when I had All in One SEO , Google XML Sitemaps , and Post to SimpleMachines Forum SMF plugin already working
I did a back up before to install:Add to Any: Share/Save/Bookmark Button- AJAX Comment Preview -OpenID – and SEO Smart Links,so I’m going to deactivate theese latests plug
and see what happen backing up of 4-5 hors.please read this post as feedback.
cheers 🙂 -
AuthorSearch Results