yad4u How do I stop Wordpress dashboard widgets from being dragged?

How do I stop Wordpress dashboard widgets from being dragged?

I'm setting up Wordpress 3.0.1 for a novice user. The Dashboard widgets are appropriately placed, and I'd like them to stay that way. As far as I know, there's no add_filter or add_action hook to prevent dragging, so another approach would be to make a plugin that uses jQuery to disable dragging. What handler(s) would I override -- click, mouseUp, mouseMove, etc -- and on which DOM elements?

Plugin Suggestions - Wordpress as a Membership Directory


How to query posts for a custom post type in a custom taxonomy ? in wordpress 3.0
Maybe the easiest thing to do is prevent the new order from being saved.

Why my wordpress plugin settings shows up for users other than administrator?
This will let the user change the order, but it won't save the changes for the next time the page is loaded..
Is there a way to redirect users who are not administrator from WordPress wp-admin?
You want to prevent the meta-box-order ajax event:.
Custom image upload field in WordPress
add_action('check_ajax_referer', 'prevent_meta_box_order'); function prevent_meta_box_order($action) {     if ('meta-box-order' == $action /* && $wp_user == 'santa claus' */) {         die('-1');     } } 
There are probably other actions you want to prevent too.

very odd 404 on wp-admin directory
Open Firebug and check out which requests to admin-ajax.php are made when you do stuff that you would like to prevent.

Data Export
Or hide the Screen Options tab with CSS..
Wordpress cron problems


Use a Roles plugin like WordPress › Role Scoper « WordPress Plugins to restrict what the user can do.

Not a good idea to edit core files, as your changes will get overwritten on upgrade..

77 out of 100 based on 22 user ratings 1147 reviews