astorm
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Emoticon is broken in 2.0.1?okay, not really. I just forgot that there’s some issue if there is no leading (and trailing) space.
Forum: Fixing WordPress
In reply to: Disable Dashboard for Normal Registered UsersMattyG – forgot to tell you what I did:
in
wp-admin/menu.php
change:
$menu[0] = array(__('Dashboard'), 'read', 'index.php');
to:
$menu[0] = array(__('Dashboard'), 'manage_options', 'index.php');
Only Administrator has ‘manage_options’ capability.
Your user won’t see the Dashboard on the menu, but it is accessable via /wp-admin/index.php, so you’d need to set the redirect login to /wp-admin/profile.php (or other pages).
Forum: Fixing WordPress
In reply to: Disable Dashboard for Normal Registered UsersI have the same need.
The info in the dashboard is not personalized for other users and potentially more confusing if they don’t know about wordpress (i.e. my grandma). Let me elaborate:
The links under “Welcome to WordPress” assume that you have all the capabilities. Lesser roles still see the links but they’d get a “You do not have sufficient permissions to access this page.” If a user don’t have rights, then the link shouldn’t be there in the first place.
The “WordPress Development Blog” and “Other WordPress News” are good for “Administrator”. Other people can go to planet.www.ads-software.com if they want to read up.
What I really want in _my_ dashboard is a personalized information from my point of view:
1. All of my post, comments on my post, link to my post, and short cuts to things that I can do (per my capabilities).
2. All of other post, comments, links, etc. that I have permission to view/edit.
3. Blog stats.Blog stats could be more elaborate from admin:
– user info: last login, last failed attempt to login.
– page/post info: number of hits, etc.Forum: Plugins
In reply to: Date reminder plug-in?that’s the one… thanks! We need to get it listed in wp-plugins.org.
Forum: Plugins
In reply to: Date reminder plug-in?that’s the one… thanks! We need to get it listed in wp-plugins.org.
Forum: Plugins
In reply to: Force user to loginJust a follow-up, Carthik has it as a plugin: https://blog.carthik.net/vault/2005/05/12/registered-only-plugin-reworked/
Forum: Fixing WordPress
In reply to: How to patch a pluginGet it from the gnuwin32 project. https://gnuwin32.sourceforge.net/packages/patch.htm
Forum: Plugins
In reply to: Force user to loginThat’s pretty good; I’ll look into it.
On another note, can anyone confirm, that that’s right usage of
auth_redirect();
?