An easy way to keep plugins and themes updated in multiple WordPress installations
In this article: Introduction, Prerequisites, How my file system is structured, Creating the repositories, Linking to the repositories, Recap, Common problems and fixes, Maintaining your repositories, Using this technique with ZenPhoto and other CMS systems, Additional resources, Comments and feedback
Introduction
WordPress is a wonderful blogging platform and, in certain situations, a good choice for a general content management system (CMS). It is easy to end up with several parallel installations of WordPress—one for each major topic you want to discuss. Everything works great at first, but after a while, the constant barrage of updates to the main application, various plug-ins, and the themes becomes something of a management nightmare. The more blogs you operate, the more time is spent maintaining the blogging environment and the less that is available to actually blog.
If you host your WordPress blog on a Linux-based server (BSD or most any other Unix-like operating system should be able to do this equally well) and you have “shell access”, I might have a way to ease your pain. In a nutshell, you will create a central repository containing every WordPress plug-in that you use in all of your blogs. You create a separate repository containing each of your themes. Next, you create symbolic links (think of them as shortcuts; more about them in just a moment) from each installation of WordPress to your central repositories. From that point on, you only have to update your plug-ins and themes once, and the change will take effect instantly across all your sites. It’s a very slick trick!
This trick works probably works well on many other CMS systems that use plug-ins and themes; I have started using it with my ZenPhoto installations, too. In addition to helping keep things updated, it also saves disk space since you are only maintaining a single copy of the files on your server.
I will provide step-by-step instructions and some quirks for which you need to be aware. One quick word of caution: mistakes, bugs, and goofs can also instantly affect all your sites, so be very careful as you work, take your time, and always backup your files and databases before you start.
(more…)
Windows Shortcuts Disappear
![]()
It doesn’t happen very often, but when it does, it’s really annoying. Your Windows Desktop refreshes (often after a program crashes), and all the icons on your Desktop and in the Start Menu have been reset to generic icons that all look alike. Sometimes it’s a temporary thing, and restarting the computer will fix it. Other times it takes a different tool.There are a number of nifty tools available from Microsoft’s web site called “Power Toys”. These are a bunch of little applets that tweak or enhance the way Windows works. There are things like fancier calculators, image re-sizers, and ones that are a little difficult to explain (but do really neat things). These Power Toys are version-specific (i.e., you can’t use the Windows XP Power Toys under Windows 98 for example). The WinXP version is available here.
Out of all the Power Toys that are available, TweakUI is probably the most useful tool of all. This TweakUI gives you access to system settings that are not exposed in the Windows XP default user interface, including mouse settings, Explorer settings, taskbar settings, and more. It comes in two versions, one for standard 32-bit processor machines (e.g., Celerons, Pentiums, etc.) and also for 64-bit Itanium processor machines. It runs under Windows XP Service Pack 1 or later, as well as Windows Server 2003.
To restore your Desktop and Start Menu icons, download the appropriate version of TweakUI, install it, and then run it. In the left-hand column at the bottom is an option to “Repair”. Click it, and you will see that “Rebuild Icons” is the selected option in the pull-down menu. Click the “Repair Now” button, and all your icons should magically reappear. It will also reset the order of your icons (which could be slightly annoying if you have carefully lined up your icons up in a particular pattern).
This handy tool can also fix problems related to a messed up Fonts folder, your Unread Mail Count, and many other things. Feel free to poke around and see what else you can tweak. Just remember that all Power Toys are unsupported by Microsoft. I’ve never had a problem with them, but if you do, Microsoft cannot bail you out (and neither can we).
So tweak at your own risk.
look good