WPMu Development for Education

Making WPMU work in education, one hack at a time

Lafayette College new WP-powered design

Posted by Randy on September 1, 2010

Lafayette College has just launched a redesigned web site.  From a technical perspective you technically-minded folks will find it interesting that it is built on WordPress.  But the careful process that they followed to arrive at the design is what really counts, and shows in the quality of the finished project.  It takes a lot of work to bring about a site redesign – good to see it all come together so nicely.

Behind the Scenes

Lafayette College Redesign | Viget Four Labs Blog

Our process began with a full content audit and content inventory, a site map, and wireframes to really dig into the information architecture and user experience requirements of the redesign.

Related Posts

Posted in Design, WordPress, information architecture | Comments Off

Hi-tech, low-tech, all-tech: Maker Faire

Posted by Randy on September 1, 2010

Maker Faire is coming to New York City’s Flushing Meadows Park and the Museum of Science and Technology, amidst the remains (used to be ruins by they cleaned them up) of the 1964 World’s Fair (or is it faire?)  What is Maker Faire?  I’m not quite sure, but I’ve followed the posts on the west coast events, and it sounds like a lot of fun.  Two days dedicated to having fun with science and technology – how can you beat it?  And by technology this is not just computers – craft and more traditional technology has a place at the table too.  Denizens of the northeast – here’s your chance to find out what its all about.  Bring the kids.

makerfaire.com: Maker Faire

A family fun festival to MAKE, create, learn, invent, CRAFT, recycle, build, think, play & be inspired by celebrating arts, crafts, engineering, food, music, science and technology

Related Posts

Posted in Lifestyle, Technology/Internet, craft | Comments Off

Commons v1.0.1

Posted by Boone Gorges on August 31, 2010

Yesterday marked the release of Commons v1.0.1, containing several important bug fixes. The most obvious change is the new pictures and text on the front page slideshow. There are also changes to the language on certain parts of the Dashboard, some fixes to group blog functionality, group document email notification formatting fixes, and some styling tweaks.

See the 1.0.1 milestone on our bugtracker for more information.

Posted in 1.0.1, Uncategorized | Comments Off

Audio of “Teaching With Blogs” Presentation

Posted by Luke on August 25, 2010

This past Spring I was pleased to moderate a panel at the Baruch Teaching with Technology Conference featuring three of Baruch’s most accomplished blogfessors: Mikhail Gershovich, whose Fear, Anxiety, and Paranoia course site made wide-ranging use of Blogs@Baruch; Paula Berggren, who’s done some of the most focused and interesting work on the system; and Zoe Sheehan Saldana, who’s a two-time reigning Blogfessor of the Year.

The session was well-attended and full of energy, and I think we touched on most if not all of the issues implicated in administering an online publishing platform at the College including pedagogy, resources, administration, and learning outcomes. BCTC was generous enough to record audio of the presentation and to post it to iTunes U, and it’s available below for your listening pleasure. For those of you who wonder what Blogs@Baruch is all about or just what it is I do around here, the audio below should answer some of your questions.

Teaching With Blogs

If you’d like to download this to your portable device for mobile edification, you can get the file here (if I link Cacophony will turn the link into an audio player): http://cac.ophony.org/audio/teachingwblogs.mp3.

Posted in Baruch College, Blogs and Blogging, Conferences, edtech, wpmued | Comments Off

The technical side of Commons v1.0

Posted by Boone Gorges on August 24, 2010

As Matt @admin announced earlier today, we’ve just tagged the CUNY Academic Commons “version 1.0″.

The 1.0 milestone represents a couple of big changes in our development processes.

  1. Versioning

    The most obvious change is the use of version numbers. It might seem at first like a relatively minor and superficial alteration in the way we operate. In truth, it’s a big change.

    Prior to the switch, our development cycles were haphazard at best. Bugs would be fixed and features implemented whenever someone on the development team happened to get around to it. That system (or lack thereof) works pretty well for a small team. But the team behind the Commons has been growing steadily over the past year, both in sheer number and in breadth (of geographical distribution, of areas of technical expertise, of responsibility). Greater distribution requires more thoughtful coordination and communication, and releasing discrete versions is a tool that we hope will help us achieve these goals.

    There are many benefits to discrete versioning. Here are a few prominent ones, off the top of my head:

    • Improved ticket management · Our ticketing system works best when tasks can be clearly assigned to individual developers, and organized according to priority. Version numbers provide a framework for this kind of management, as important tickets get assigned to earlier versions, and developer workload balance for a given release can be easily assessed.
    • Improved roadmapping · Roadmaps – software development language for “schedule of upcoming features” – are easier to understand and to implement when they’re organized by release numbers instead of thrown into a single pile.
    • Improved testing · When features and bugfixes are rolled out one-at-a-time, it can mean near-nonstop testing for the development and community team. Having controlled releases means that testing for a whole set of changes can be managed at the same time, in the days leading up to the release itself. That’s a better use of everyone’s time.
  2. Better distinction between development, staging, and production

    In those halcyon days early in the life of the Commons, nearly all development was done in the live production environment. When fixing a bug or launching a feature, I’d edit the site while it was up and running. Danger, Will Robinson! So many things can go wrong when you’re editing a live site, it’s hardly worth enumerating.

    The dev team eventually did set up a development environment. But it was running on a different server from the production site, and so you could never be guaranteed that a fix on the dev site would translate to the live site. Moreover, all those little fixes that would get sneaked directly onto the production site meant the dev site and the production site got progressively more out of synch as time went on, until the dev site was sufficiently different from the live site to be next to useless as a development site.

    Our new setup is much more sophisticated and, we hope, more conducive to quality development. We have a staging environment running in exactly the same operating environment as the production environment. Development environments are all local, which is to say that each member of the development team has a functional copy of the site on his personal computer. To whatever extent possible, development takes place in those local environments, is tested in our staging environment to look for environment-specific bugs, and only then pushed to the production environmnet. The (lofty) goal is that we’ll never have to make tweaks directly to the production site.

  3. Version control

    By “version control” I mean something a bit different from (though related to) “versioning” as mentioned above. Version control is a way to keep track of every change made to the files. It used to be that, when I tweaked a template or plugin file, unless I made a backup, the previous version would be overwritten and lost. Now that we’re using Git, we can always revert changes if need be (or browse the source out of mere historical curiosity!).

    The need for version control is all the more pressing as our development team grows. It’s important to keep track of who is changing what. And when you have local, independent development environments, it’s imperative that you have a way of making sure that the changes that I make on my version are not overwritten by the changes made by another member of the team when we merge them together in the staging environment. Git is designed for this kind of distributed development, as it keeps careful track of who edited what (‘git blame’, appropriately enough) and allows graceful merging of disparate edits.

    Using Git with WordPress and MediaWiki posed something of a technical challenge. For one thing, we wanted to track the entire codebase, but not files that users had uploaded to the system. Furthermore, MW and WP store crucial configuration information in the database, which is not tracked by Git. Finally, in order for local development environments to work properly, some environment-specific variables (database passwords, for instance) needed to be abstracted out of tracked files like wp-config.php. Zach at Cast Iron Coding forged a path through this jungle, and we’ve come up with a system that allows us all to keep our versions in sync using Git. In the future, I hope to write in a little more techinical detail just how this works.

    We use Git not just in our local development environments, but on the staging and production servers as well. For instance, when a release candidate has been vetted in the staging environment and is ready to go live, it’s extremely easy to launch the version on the production site: I simply shell into the production server and git pull or checkout the tagged version from the repository.

Posted in Uncategorized, WordPress, git, mediawiki, v1.0, versioning | Comments Off

WordPress as book publishing engine

Posted by Randy on August 23, 2010

The always innovative George Mason University Center for History and New Media has released a new plug-in:  Anthologize.   Which is a platform/plug-in that allows the use of a WordPress 3.0 site as a book publishing tool.  The plug-in is still in a 0.4, alpha stage release, but I figured “what the heck” it is worth a try.  After installing and activating the plug-in you start by creating a Project – this is the book.  The Project has parts – sort of like chapters.  And in each part the interface makes it easy to filter your listing of posts by tag or category to quickly narrow down your listing of posts (if you’ve been organized in your tagging and categorization!).  You can even import content from external sources via an RSS import.  After you have everything organized the export functions creates a nicely formatted PDF or other format – it even includes a table of contents. 

Regular writing in a WordPress-powered blog can be a useful discipline to start a writing project.  Sure you could do it in some private format, but I find the idea that other people might be reading it provides a little extra incentive to actually keep to a schedule and do the writing.   Been thinking of writing a book, but never quite get around to it – a blog with the Anthologize plug-in might be just the trick to get things moving.

Anthologize

Anthologize is a free, open-source, plugin that transforms WordPress 3.0 into a platform for publishing electronic texts. Grab posts from your WordPress blog, import feeds from external sites, or create new content directly within Anthologize. Then outline, order, and edit your work, crafting it into a single volume for export in several formats, including—in this release—PDF, ePUB, TEI.

Related Posts

Posted in Plug-in, Technology, WordPress, blogging | Comments Off

Mark your calendars

Posted by andrea on August 10, 2010

Late August is going to be a busy time, I’m going to be doing 3 appearances this month, two virtual and one in person.

August 19th I will be giving a webinar on multisite for the guys at webdesign.com. Curious? Then this one is for you. (You need a webdesign.com membership.)

August 21st I will be Skyping in to WordCamp Savannah to talk about some of the best plugins for network installs. This is also awesome, because it opens up HUGE possibilities for other WordCamps that may want a speaker who is unable to be there in person.

August 28th both Ron and I will be speaking at WordCamp Montreal. I’ll be talking about enabling the network and domain mapping, while Ron will be digging deep into code and go over how you can write plugins with the network / multisite in mind. We’ll be driving up, as it’s the closest WordCamp to where we live and a “short” 7 or 8 hour drive. Added bonus is we’ll be bringing our daughter Sarah who is studying to be a graphic designer at the New Brunswick College of Craft & Design. So if you see us there, be sure to say hi and give her plenty of advice. ;)

 

© andrea for WPMU Tutorials, 2010. | Permalink | No comment | Add to del.icio.us
Post tags: , , , ,

Need real genuine helpful support? MU Support.

Feed enhanced by Better Feed from Ozh

Posted in News, Savannah, WordCamp, montreal, road trip, webinar | Comments Off

UMW Blogs Upgraded to WP 3.0 (a play-by-play)

Posted by Reverend on August 7, 2010

I’m glad (and relieved) to finally say UMW Blogs has been upgraded to the WP 3.0 merged core files without a hitch. Whew! This was a burner for me, a bit more fear and trembling going into this one than usual, but alas all is good in the UMW Blogs hood. In no small part thanks to Ron Rennick who recently upgraded his SharDB plugin to 3.0.1, which did the trick in terms of making sure all was smooth with the multiple-database setup upgrade. You rule Ron!

As for the rest, it was pretty standard, and only one pretty minor hiccup in regards to the Atalhuapa theme which I will outline below (and the fix below comes care of the inestimable Luke Waltzer).

Basics before upgrade
You know the drill by now: Always back up all files and the database (or in my case databases), and make sure not to copy over wp-config.php as well as the wp-content directory.

OK, done with disclaimers, now for some preliminary steps before copying over the WP 3.0.1 core files, make sure you
delete the wp-content/blogs.php file for those upgrading from WPMu (which is whom this tutorial is for).

You will also need to change the .htaccess file, particularly the line pointing to wp-content/blogs.php, which now needs to point to: wp-includes/ms-files.php

This line in our .htaccess file now looks like this:

RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

You should also delete your wpmu-settings.php file located in the root install directory.

If you are like me and you are using SharDB to spread your sites/blogs across several databases, you need to update to Ron’s Rennick’s latest version of SharDB.

And where ever Ron is, Andrea is not far behind (or is that vice versa?). In order to ensure that all the blogs using the default theme (which was Kubrick) are changed to TwentyTen, include the following call in your wp-config.php file (a tip you can find thanks to Andrea here):

Our default theme define in the wp-config.php file looks like this:

define(‘WP_DEFAULT_THEME’, ‘default’);

And to contextualize this a bit more, we changed the twentyten theme folder name to default, and moved the old default theme files for Kubrick into a folder called Kubrick for any of the faithful who still want to pursue it (be sure to make it available in Super Admin). Now, all sites on UMW Blogs that once had the default Kubrick theme now have TwentyTen automatically–which also means Menus will work for all those sites, and there are a good number.

Finally, I was sure to upgrade DSader’s More Privacy Options plugin before upgrading given it was throwing errors in the bavatuesdays WP 3.0 setup, I keep the new version of this plugin in the wp-content/mu-plugins directory.

The Actual Upgrade
Now run the upgrade by simply copying all the core files and directories, except wp-content and wp-config.php, into your WordPress install.

After that, go to http://yourinstall.com/wp-admin/upgrade.php and upgrade the database, cross your fingers!

If that works, go to Super Admin–> Update and updates all the individual blogs, this will take a while if you have a lot.

Finally, in the Dashboard you’ll be asked to add a Nonce Salt to your wp-config.php file. Something like:

define( ‘NONCE_SALT’, ‘yoursuppersecretkey’ ); to your wp-config.php file

The Ongoing Aftermath
The upgrade should then be done, but there may be some cleanup. For example, Luke Waltzer pointed me to this fix If you were using Ataluapa in WPMu, you’ll find none of your customized header images in Ataluapa are there, it returns to the default. This is because the theme is looking for the file wpmu-settings.php (now deprecated) instead of wp-settings.php. A quick find and replace of wpmu-settings with wp-settings on the following three files in the Atalhuapa theme did the trick for me:
functions.php
functions/bfa_header_config
functions/bfa_rotating_headers.php

And, that’s about it thus far, it was all rather smooth in the end. Though I am sure many more issues will emerge over time, I’m sure they will prove resolvable and I am quite relieved—especially given 3 sites within sites (what would now be called multi-networks?) http://greenwoodlibrary.orghttp://facultyacademy.org, and http://hamptondigitalhumanities.org all survived unharmed. Saying that, I was also relieved to see that mapped domains were also left intact.

And what’s more, Ken Newquist at Lafayette College sent out the following email to the wp-edu mailing list, and it provides an excellent list of issues and updates on their road to an upgrade to WP 3.0. I’ll reproduce it in it’s entirety below, and it is very good to know new activations of Next-Gen Gallery may have issues:

Everyone,

Back in June there was some talk about WordPress 3.0 and its compatibility (or lack there of) with popular plugins and themes. We’ve recently upgraded our production instances of WordPress to 3.0, and I thought I’d give a rundown of the the problems we encountered.

==More Privacy Options==
The plugin continues to work, but it generates a PHP fatal error when you edit a site’s properties as an admin, making it impossible to save configuration changes. The latest version of the plugin fixes this problem.

==nextGen Gallery: Ignoring MultiSite directory options==
nextGen Gallery has issues with WordPress 3.0 multisite. While existing installations are working ok, folks who add the plugin after the upgrade get this error message:

“Directory wp-content/gallery/ didn’t exist. Please create first the main gallery folder !”

The problem is that Blog Directory Path, which is a network-wide option set under the super admin menu, is no longer being respected at the per site level by nextGen. If you manually set the site’s directory path using the site’s ID (available from the main site directory list in the super admin view), then things work properly, but the default setting is now incorrect.

The plugin author is aware of the problem, and is working on this and other MultiSite-specific issues for the next release.
 http://wordpress.org/support/topic/41200…

 http://code.google.com/p/nextgen-gallery…

==nextGen Gallery: Slideshow links don’t work on a static home page==
If you insert a nextGen Gallery into a page, and then make that page your home page, the link to the slideshow will not work.

==Anarchy Media Player==
Anarchy’s settings page no longer loads under WordPress 3.0.

==Mandigo (theme)==
The Mandigo setting page doesn’t load if you’re using Mandigo 1.40.1. It works properly with the current version.

==Mandigo + nextGen + WordPress 3.0==
Here’s a very specific bug — Mandigo uses an older version of JQuery in its theme, one that doesn’t include a particular method that nextGen needs. This causes a fatal error in NextGen, which then causes the JavaScript portions of the Mandigo theme to stop working.

That’s about it, and I’ll be sure to blog any and all issues, problems, or fixes we come across, and I am sure there will be more than a few. In fact, I have to do this fix for Userthemes, thank you Boone.

Posted in UMW Blogs, WordPress, devwpmued, umwblogs, upgrade, wordpress multi-user, wp30, wpmu, wpmued | Comments Off

SharDB 3.0.1 Update

Posted by Ron on August 3, 2010

Over the weekend I updated SharDB to allow installs to upgrade from WordPress MU 2.9.2 to WordPress 3.0.1.

I also did an initial pass at support for new WordPress 3.0 -> WP network in SharDB. In this implementation the main site’s tables will be in the global database. You can easily set up a test install (to test your plugins, etc. with SharDB). Set up a fresh install that has the network enabled, create your database shards, then configure & install SharDB.

 

© Ron for WPMU Tutorials, 2010. | Permalink | 5 comments | Add to del.icio.us
Post tags: , , , , ,

Need real genuine helpful support? MU Support.

Feed enhanced by Better Feed from Ozh

Posted in WordPress, database, multiple, network, plugins, shard, wpmu | Comments Off

Sys Admin Appreciation Day

Posted by Matthew K. Gold on July 30, 2010

Yesterday I learned, via a tweet from Bethany Nowviskie, that Friday, July 30th is System Administrator Appreciation Day. While I hadn’t heard about this holiday before, it strikes me as one of the best holidays yet invented — because, really, we can’t thank our Sys Admins enough. And that is particularly true for the CUNY Academic Commons, where we are lucky enough to have the extremely bodacious André Pitanga, Lead Systems Administrator at the CUNY Graduate Center, running our show — or, rather, running the servers that run the software that runs our show.

Photo of André's keyboard by catcubed (http://www.flickr.com/photos/headlouse/1484615917/)

The Sys Admin Appreciation Day website details a number of reasons why all members of the Commons should be grateful to André for his work. And they are all true — André designed and set up our server racks, got the servers running, configured our networks, installed our software packages, performed needed system upgrades, troubleshooted thorny permissions issues, secured the site during malicious attacks, and made himself available for consultation on all sorts of issues. If you’re lucky enough to get a tour of the server room from him –I’ve done it five or six times now; it never gets old — you’ll see his eyes light up as he describes the racks he designed for this project. Sure, those eyes take on a slightly maniacal glimmer as he discusses server cooling systems, but it’s all good! Right?

There are a few things, though, that make André’s work truly special: his contagious enthusiasm for collaborative projects, his passion for open-source platforms and the communities that support them, and (most importantly), his humbleness, sincerity, and openness. The Commons is extremely lucky to have André behind it, not just because of his formidable technical expertise, but also because of the creative enthusiasm that he adds to Development Team.

And, so, on this day, I want to express my gratitude to André, my colleague and my friend, for everything he has done for the Commons. Thank you, André. You rule!

Posted in Announcements | Comments Off