Users adding users in WPMU 2.7

Posted by Andrea under New Features

WordPressMU 2.7 isn’t out yet*, but Ron & I have been running the trunk both locally and on a small site in development. A handy new feature is built right in.

Before, if a user wanted to add another user to their blog, they had to be directed to the signup page, go through the motions there, and then wait for the blog owner to “Add user from Community”. What a process! It confuses a lot of newbies.

In 2.7, by default this is turned off. If you do select “Add New User” under the User menu, it has a * next to it and will redirect the site Admin to the Site Admin Options menu where they can enable this. “Allow blog administrators to add new users to their blog via the Users->Add New page.” is what it says.

So if you’ve been struggling with this, or have been waiting for better versions of any of the “add user to blog” widgets out there, it will definitely be easier come release day.

* Note: I know many people are waiting impatiently for the official WPMU 2.7 version. Want it out faster? Grab a copy out of trac and test it locally or on a development site. File bug tickets if you find any. Keep in mind there’s only ONE developer working on it.

2 Comments

WPMU + Buddypress + BBPress = hat trick of awesome

Posted by Andrea under New Features, News

Whoa, I can’t believe I overlooked this news. (Actually, yes I can - Ron was sick, my “baby” turned eight years old, and now I’m sick).

BuddyPress officially released a public beta. You can hear everyone’s buddy Andy discuss the project on WordPress Weekly.

And then BBPress reached a milestone.

WPMU 2.7 still hasn’t been released, but the trunk is not as buggy as you might expect.

And, reported by a few people you can run them all *together*.

I think I need to go lie down.

Update: The Revered Jim (who I’m sure never sleeps) has edupunked this all into submission and whipped up a *tutorial* for it.

4 Comments

WordPress Video Solution Framework for WPMU

Posted by Andrea under Plugins

Automattic has just released a wpmu plugin for a video framework for your own WPMU install. From the plugin page:

The package contains video solutions framework, including transcoder and administration interface utilities, written in PHP. The code was developed by Automattic Inc, and powers wordpress.com video solutions.
We hereby make it open source project so that you can reuse it, build upon it, and share with the community.

The solution is a WPMU plugin. However it can not be used as “out-of-the-box” type because it also depends on your file serving infrastructure, and your URL schemes. Customize your pieces, then you have a full-fledged video solution. Or you can just reuse the individual components such as video player or transcoder.

This seems really really interesting.

6 Comments

Managing Autosave/Post Revisions

Posted by Ron under how to

WPMU now has a built in autosave feature that automatically saves when the author is editing a post. The main disadvantage to the feature is the frequency at which it kicks in. While some may type up their posts elsewhere, I actually type my posts into the WPMU editor. By default, the autosave kicks in every minute and on my computer/connection averages about 3 seconds to complete. I have also had issues with a manual save giving a WSOD if an autosave was already in progress. At the 3 second average that means there is a 5% chance that a manual save will intersect an autosave.

You can alter the autosave behaviour by adding a couple defines to your wp-config.php:

define('AUTOSAVE_INTERVAL', 300);

The autosave interval is in seconds. An interval of 300 is 5 minutes. Unless there was a compelling reason to do so, I would not have the autosave interval set to less than 5 minutes. 10 minutes is still a fairly reasonable interval.

A second feature that has been added is post revisions. A user can access these via the bottom of the write post area. If post revisions go unmanaged, they are likely to significantly swell the size of your database.

define('WP_POST_REVISIONS', 3);

With this define, I am telling WPMU to only keep 3 revisions. When the 4th revision is saved, the first is purged off. Alternatively, post revisions can be disabled with the following define:

define('WP_POST_REVISIONS', false);

2 Comments

Installing WordPressMu - The E-Book

Posted by Andrea under Basics, Installation

Hey peeps, have I ever got something exciting for you today. I wrote an ebook! I started writing about how to install wordpressmu and realized it was so long and involved it was better to offer it as a downloadable ebook rather than just a blog post. This way, you can print it out a lot easier too. It’s 1.3 megs and is 14 pages, complete with big clear screenshots and step-by-step technical stuff.

And it’s FREE! If you’re looking for a download link, it’s not here on this post. All you have to do is subscribe to the RSS feed and the link will be in the footer of each feed post. Awesome, huh?

Already subscribed to the feed? Well, just take a look a few lines down. (*crosses fingers and hopes it works*)

Feel free to pass this post around, digg it stumble it, delicious it and let everyone know. Please let me know if you have any feedback. You can leave a comment here or I included contact info in the ebook itself.

Edit: for some reason, the link won’t show in Google reader, but does show directly on the feed page.

(sighs again. Apologizes profusely.)

Edit The Last: since that plan totally did not work out, download the free ebook for installing wordpressmu right here!

Installing WPMU ebook (587)

I am totally doing this better next time around, I promise. In my own defense, my connection went out partway through, one kid drank my pepsi, another kid spilled pesto all over the kitchen, and we’re out of food so we have to go get groceries after the snowstorm. That’s just today’s adventures.

Installing WPMU is not so hard after that. :D

12 Comments

Anatomy of a home page: WordPress.com

Posted by Andrea under Themes, Where can I find...?, elsewhere, ideas

Many people have big dreams when planning their WPMU-based site, and want to be the next Wordpress.com. I see a lot of requests for how to make a home page like theirs, but I don’t think you should copy anyone’s site outright. You can, however, be inspired by them. A lot of successful wordpressmu-based sites have common features on their homepage, and today I hope to go over the one we all know best.

Let’s look at a recent screenshot of Wordpress.com’s home page and see the elements included. I’ll follow-up with an explanation of where the find the various plugins and tools to achieve the same functionality (where possible).
Continue reading this entry…

19 Comments

Six WordPressMu Geeks to follow on Twitter

Posted by Andrea under elsewhere

I’m a big twitter user, so when I saw Darren Rowse, of Problogger fame and now the editor of TweeTip, ask for people’s Top Ten lists of people to follow in your niche… well. I had to blog it. :D

First off, if you’re interested in WPMU at all, then you really have to follow Donncha.

Next up, Andy Peatling, who is working on BuddyPress. BuddyPress has its own twitter too.

Trent Adams also does a lot of WPMU-related twittering.

Jim Groom, especially if you are interested in WordPressMU for education.

Frump (Phil) is building a webcomic network.

And finally, you’ll want to follow me. I ramble, but I’m cute & funny and I DO talk MU.

In fact, if you follow this group, you’ll also see the witty banter we toss around while we all figure things out and help one another.

The thing I like about twitter is the near-instant feedback you get. Well, if not instant, usually within the hour, if not 15 minutes from asking a question. Someone will answer. Twitter is a closer, more personal method of communication than a forum, and seem to be a better contact for some people than even email, especially for quick question. It’s like the work-at-home office cooler, not just answers to the “what are you doing?” question.

Anyone else to follow?

5 Comments

News from around the WPMU block

Posted by Andrea under News

First up, you may have heard about the WordPress MU Awards. There’s TONS of awesome wpmu-based sites listed there to vote on. I’m really glad they used ticky boxes because I can’t choose just one.

(I didn’t nominate my own site because it needs a major overhaul first. :( Next year? )

Second - there was a surprising but short update for a new WPMU version, quick on the heels of the single-WP upgrade. As always, Donncha has the scoop.

Third - BuddyPress is on a feature freeze so they can release on Dec 15th.

Fourth - they opened up the forums over at WPMU DEV Premium. Okay, so you can’t post unless you register, but you can read the goodies. How’s that for transparency? Actually, you can now see all the goods, it’s only forum posting and downloads that you need to register for. C’mon - pony up a month’s fee and try them out.

No Comments

A “Sidebar” with Richard Paul

Posted by Andrea under how to

Guest post written by Richard Paul

Hi fellow MUsers!

Okay, you are amazing at design or have picked out the perfect theme. You know how to install a plug-in and add widgets, mash-ups, and other gizmos. Some of these you have hard coded into your theme, others you uploaded and enable from the back-end admin area. Maybe you have plans to add a few more, but where the heck will you put them?

Instead of asking, “Where?” to place that new sidebar content, how about asking “When?” Once you grasp onto the idea that you have a ton
of control over “when” something is displayed, you will gain a ton of new dimension in which to design your content. Maybe you are already familiar with the built-in conditional tag functions that will be discussed here, but take a fresh look anyway. This is particularly useful when designing the “home” theme of your network.

By adding a few simple snippets of code to your sidebar(s), you open new doors on design through which you will be allowed access to what I like to call, “The developers time/space continuum.” By “time”, I am of course speaking in relation to “when”, as in “when” your visitor is on a particular page, at “that time” I want to display “this content.”

Let us use a fictitious widget gizmo, what I call a wizmo. The name of our wizmo is “Klicky.” Now say we have the PHP code to add the Klicky wizmo to our theme and want him to display in the sidebar. In this example, we are ready with the code to paste Klicky into the sidebar.php file of our theme.

You right click and paste Klicky exactly where you want him and upload your sidebar.php file to checkout how he looks and make sure he is working properly. Everything seems to be in order but the question is “How important is Klicky anyway?”

Is this new wizmo worth displaying on your homepage? Do you want it to show up when your visitors are reading your latest post? Maybe you only want it to be available on your blog “post” pages and not on your regular “page” pages.

It is entirely up to you to decide how important Klicky is to you and how useful he will be to your visitors. Once you gauge his level of importance, you can wrap his code inside any of the following tags to display him when you think he will be most useful. If Klicky is very important, you might consider placing him on the homepage.

The “HomePage Only” Condition

Most of your traffic will enter your website through the front door and therefore most visitors will have a chance to be introduced to Klicky. The question remains, if he has been seen by “most” visitors, do most visitors need to see him again on other pages? If the answer is no, then allow Klicky to display on the homepage only.

Here is how we do that.

<!– Show only on homepage and no other pages or posts –>

<?php if ( is_home() ) : ?> <!– Klicky Begins –>

Klicky Wizmo Code Goes Here!

<?php endif; ?> <!– Klicky Ends –>

OR

For versions 2.5+, the is_home() tag used in the code above has been updated.
If your version of WordPress is 2.5 or above, use the is_front_page() tag instead.

Here is the updated code.

<!– 2.5+ Show only on homepage and no other pages or posts –>

<?php if ( is_front_page() ) : ?> <!– Klicky Begins –>

Klicky Wizmo Code Goes Here!

<?php endif; ?> <!– Klicky Ends –>

The “Show On Every Page” Condition

Here we want Klicky to display on every page including the homepage, but not display on post pages. By the way, “Post” pages include those that display archives and searches.

Here is the code

<!– Show on every page including homepage - not on post pages –>

<?php if ( is_home() || is_page()
) :
?> <!–
Klicky Begins –>

Klicky Wizmo Code Goes Here!

<?php endif;
?> <!–
Klicky Ends –>

The “Show On Pages Except Homepage” Condition

You know how valuable the space is on your homepage. Please don’t overload your visitor with too much content or slow loading flash based ads. Consider putting your heaviest and largest sidebar ads on pages other than the homepage and using smaller and lighter ads on post type pages.

Here is the code

<!– Show only on pages except homepage - not
on post pages –>

<?php if ( is_page() ) : ?>
<!– Klicky Begins –>

Klicky Wizmo Code Goes Here!

<?php endif;
?> <!–
Klicky Ends –>

The “Show on Post” Condition (Posts not Pages)

If we explicitly express that we want to eliminate all the page conditions, then all that is left are the post driven pages. In other words, your blog driven pages. Here we will not display Klicky on our homepage or “page” pages, but show him everywhere else on your blog.

Here is the code

<!– Show only on post pages - not on page pages
–>

<?php if ( !is_home() AND !is_page()
) :
?> <!–
Klicky Begins –>

Klicky Wizmo Code Goes Here!

<?php endif;
?> <!–
Klicky Ends –>

For extra credit, try removing the first exclamation mark (!) in the Show on Post condition above, changing it to is_home(). This will make Klicky display on the homepage and post pages but not on “page” pages.

The “Show Always” Condition

Placing content outside of any conditional tag parameters will result in that content being displayed on every page AND every post. Hmmmm, “Is there anything that I want to ALWAYS display in my sidebar?” If so, all we have to do is paste the Klicky code anywhere in the sidebar.php file outside of any condition and upload for Klicky to “show always.”

Here is the code

<!– Klicky Begins –>

Klicky Wizmo Code Goes Here!

<!– Klicky Ends –>

Thanks for joining me for this little sidebar. I hope you will review your sidebar logic and spend some time organizing the when as well as the where to put content there.

What I have shared with you here are what I consider the main conditional tags to give you the general idea of the developers “time/space continuum.” These will get you started, but there are many more options and further reading on the WordPress.org Codex website. As always, any feedback on this tutorial would be appreciated.

(Editor’s Note: The same logic and techniques can be used elsewhere in theme, not just the sidebar. It’s a cool and useful trick when developing or tweaking themes.)

3 Comments

Twitaway: The Art & Science of CSS — FREE Download

Posted by Andrea under elsewhere

This is exactly for WordPressMU, but as an admin you will probably have to dig in to CSS at some point. And what better time to brush up on your skills than now?

Sitepoint is offering a FREE download of their ebook The Art & Science of CSS. All you have to do is follow them on twitter or plunk your email in the box on the giveaway page.

While you’re at it, feel free to follow me on twitter too.

HT: Lynette at BlogEnergizer - she’s awesome.

3 Comments

google.load("language", "1"); var curstate = 0; var hasloaded = 0; function bnc_show_translated() { if (hasloaded == 0) { bnc_lang_callback(); hasloaded = 1; } for (i = 0; i < 0; i++) { var elem = $("bnc_original_" + i); if (elem) { if (curstate) { elem.show(); } else { elem.hide(); } } } for (i = 0; i < 0; i++) { var elem = $("bnc_trans_" + i); if (elem) { if (curstate) { elem.hide(); } else { elem.show(); } } } if (curstate) { $("bnc_trans_state1").show(); $("bnc_trans_state2").hide(); curstate = 0; } else { $("bnc_trans_state1").hide(); $("bnc_trans_state2").show(); curstate = 1; } } function bnc_detect_div(div_id) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; if (text.length > 0) { google.language.detect(text, function(result) { if (!result.error) { if (result.language != "en") { if (result.confidence > 0.25) { $("bnc_translating").show(); bnc_xlate_div(result.language, div_id, "en"); } } } } ); } } } function bnc_xlate_div(src_lang,div_id,o_lang) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; google.language.translate(text, src_lang, o_lang, function(result) { var translated = document.getElementById(div_id); if (result.translation) { translated.innerHTML = result.translation; } }); } } function bnc_lang_callback() { } function bnc_startup() { bnc_xlate_div("en", "bnc_translate_info", "en"); bnc_xlate_div("en", "bnc_translate_info2", "en"); } google.setOnLoadCallback(bnc_startup);
Close
E-mail It
This blog has been fine-tuned with 13 WordPress Tweaks.