Tuesday, 16 September 2008

WPMU for Dummies: Part Deux

is a mu-plugin to enhance the SiteAdmin-->Admin(wpmu-admin.php) page only.

This version will only work with WPMU2.6.x
  • WPMU Dashboard: adds a widgetized sidebar for SiteAdmins only to the SiteAdmin–>Admin page(I use it for RSS feeds, sitewide widgets)
    • Optional: Go forth and add `if(is_site_admin())` to any widget_init function and it'll only be available to SiteAdmin, otherwise widgets are shared with remaining sidebars in the SiteAdmin primary blog.
    • All WPMU dashboard widget options are stored/called from the SiteAdmin primary blog. If you have multiple SiteAdmins, the WPMU Dashboard will be unique to each of them. Widgets are added to the WPMU Dashboard in the usual way(Design-->Widgets) but only from the SiteAdmin's primary blog.
    • Bookmarks to my favorite "WP and WPMU Help" sites (overwritten by widgets when active)
  • Search buttons to several WP/WPMU sites: Forums, plugins, themes, Trac, Codex PHP, etc.
  • Error Log Editor: searches ABSPATH for error_logs and if found displays them each in their own editable textarea(large error_log files will stall the page, however). Saving an empty error_log will delete it. For fun, there is a corny SiteAdmin WPMU2.6 "Esteem Check"(WP easter-egg) built in if no error_logs are found.
The SiteAdmin page is basically a blank canvas, now it's a bit busier and, as SiteAdmin, my most frequently visited page.

Usage Note: If you let your error_logs swell to the crack of doom, the plugin will stall the loading of the wpmu-admin.php page. Disable the plugin, delete error_logs via ftp(or however you do it). Non-wordpress error_logs may be listed if the directory if within ABSPATH, ie bbress.

This is a "works for me" mu-plugin, like it, fix it, enhance it, share it, . . . or lump it.

Download: http://wpmudev.org/project/WPMU-for-Dummies:-Part-Deux

No comments: