by andrea

Return a list of sites on the network

Here’s a simple internal function that will return a list of all sites in the network. The code below just shows them all and unlinked.

by andrea

Get some simple Network stats

I remembered this really neat internal function that is handy to display anywhere you want to show how many sites and users you have in your network. $stats = get_sitestats(); echo ‘There are currently ‘.$stats[ ‘blogs’ ].’ sites running on this network and ‘.$stats[ ‘users’ ].’ users.’; Surround that in php tags. 🙂 For added…

Continue Reading »

by andrea

Change the default theme for sites without a plugin

There’s a new and very little documented feature in 3.0 for changing the default theme. And? This will work on single WordPress installs as well as being handy for a network of sites. The magic line is this in your config file: define(‘WP_DEFAULT_THEME’, ‘theme-folder-name’); In this example, the classic theme is used as the default…

Continue Reading »

by andrea

How to add a new Super Admin

When you created a network of multiple sites in WordPress 3.0, you (the main blog admin) because a Super Admin with all kinds of fun powers. In some situations, you may desire to have additional Super Admins who can do things like install plugins & themes, perform upgrades, and manage global users and sites. If…

Continue Reading »

by andrea

Upgrading from WPMU to WP 3.0

Now that 3.0 is officially released, you may have seen an upgrade notice in the backend of your WPMU install. While the process is generally just clicking the upgrade button, there are a couple of additional steps to fully smooth out any merged changes that occurred. First, backup your database(s) and the entire wp-content folder….

Continue Reading »

by Ron

Testing the automatic upgrade to WordPress 3.0

Are you interested in trying out the automatic upgrade from WordPress MU 2.9.2 to WordPress 3.0 before WordPress 3.0 is released? Currently, WordPress 3.0 is at RC1 and it may be another two weeks or more before it 3.0 is officially released. Upgrading a WordPress MU install to the WordPress 3.0 RC with the built…

Continue Reading »

by andrea

Upgrading to 3.0

Our buddy Pete went and wrote up a very detailed post on how to upgrade from WPMU to WordPress 3.0 if you are brave enough right now to try out the beta2. Pete steps through it manually, so be prepared for that. (and backup your site first). These instructions will still be relevant for the…

Continue Reading »

by andrea

Customize the Suspended blog page

A very little-know and hidden feature in WordPress MU is the ability to add a customize page that is displayed when a blog is suspended or archived. Only Site Admins can archive or suspend a blog, and you can do this in the Site Admin -> Blogs menu. Hover over the blog in question and…

Continue Reading »

by Ron

Twitter Digest

Andrea was looking for a Twitter digest plugin so that she could start making a permanent backup of her tweets because the twitter API only provides access to the last 3200 tweets. The plugin she asked me to look at was Twitter Digest by Tim Beck. The reason she asked me to look at it…

Continue Reading »

by andrea

Enabling wildcard subdomains

When you install WPMU by default the subdomain option is checked. This is for blogs in the format of username.yourdomain.com. There are two steps that need to be done to your server in order for this to work. In Apache, there needs to be a line in the domain’s virtual hosts section as follows: ServerName…

Continue Reading »

1 2 3 4 7