Archive for July 10, 2005

Moodle Cron Workaround

Moodle has a cron.php script that takes care of routine tasks, such as unsubscribing inactive members from classes and sending out email messages. Unfortunately, there is no built-in way for this script to run every few minutes when the Moodle installation is inside a protected directory, such as a school Intranet. However, I figured out a workaround.

If you have directory security enabled on your IIS Moodle installation, don’t use MoodleCron. Instead create a Windows Scheduled Task on your server. This passes credentials and executes the cron.php script from the command line, getting around nasty browser authentication issues.

1. Open Control Panel –> Scheduled Tasks on your server
2. Open Add Scheduled Task. Select Next.
3. When asked to select an application, Browse to your PHP installation and select PHP.exe. Select Next.
4. Create a name for the task (I called mine “Moodle cron”)
5. Perform this task “daily.” Select Next.
6. Perform this task “every day” (leave the other items on defaults). Select Next.
7. Enter the name and password of a user who has directory privileges on your /moodle/admin folder. Select Next.
8. Select “Open advanced properties for this task when I click Finish.” Select Finish.
9. Under the Task tab, append the location of cron.php to the Run field, e.g. c:\php\php.exe d:\webroot\moodle\admin\cron.php
10. Under the Schedule tab, click Advanced and then select Repeat Task in order to make the task run more often than once per day. I set mine to run every ten minutes. Select Apply.
11. Select OK. You’re done! Check the Event log later to ensure that the script is not returning errors.

Forums Diary, Part 2

I am periodically publishing pre-blog journal entries about the UHS Forums

December 10, 2003

Unbelievably, the forums continue to explode. Last night at 9:00, there were 40 students logged in simultaneously. New topics were appearing left and right. Conversations ranged from the important to the trivial. In the Haiku forum, four students engaged in a playful but profane haiku contest, cutting on each other with vigorous swears, sometimes in French or Spanish. I deleted five posts, immediately regretted it, and then felt better when I saw that the offending students had left the forum for the night. The irony is that Sarah had just announced in the faculty meeting that afternoon that moderator interference had not been necessary. Perhaps also as a result of that meeting, Rob and Steve appeared in the forums and encouraged the kids to settle down and study for their finals.

Online Admission Application

I am currently developing an online application for our Admission office today. Last year, I wrote an online inquiry form for them, and it was so successful at reducing the number of phone inquiries that they are interested in going all the way this time. The new system has five pages of input forms, saving the contents of each page to a mySQL database as the user proceeds. The script itself is written in PERL, in which I do all of my custom development. Why PERL? I started scripting for the web before PHP took off, and I never found the advantages of PHP so compelling that it was worth the effort to switch.

Here is an overview of the site structure:

[lost in server crash]

Forums Diary, Part 1

The UHS forums (bulletin boards) have been the most used online tool besides email in the short history of our intranet. Within months of their introduction, nearly all students had contributed to thousands of messages in hundreds of topics, and the forums were the talk of the school. In December 2003, I started keeping notes on the history of their introduction, in the hope of learning lessons about the forums’ successes and shortcomings. Here is part 1 of that story, with more to come later.

December 8, 2003

Let?s try to remember how the UHS Forums got started. I suppose that the service was part of a larger idea hatched a month before I started at UHS. While at Gateway High School, I had created an internal web site that I wished would service the internal needs of the school community in a way that a public web site designed for external consumption could not. Student.gwhs.org did not contain any significant community building tools, although it did boast a course registration tool at one point. When I interviewed for the UHS tech director position, I articulated that one goal I had was to build an internal web site that would help build the school community. At the time, my mind was mostly on the classroom community, although I recognized that such a site could potentially reach beyond the classroom to other school issues.

After I accepted the job but before I officially started, I met with the department heads just before the end of school in order to choose between two community web site models that I had in mind. The first was the commercial model popularized by Yahoo! Groups, Community Zero, and Topica. The second was to build it ourselves, piece by piece. The department heads who had any opinion at all opted for the latter, because they were not fond of advertisements and a preset site architecture. In the end, this proved to be an excellent choice, as we were able to tie our internal web site to our computer login system, making it possible for a wide range of scripts to identify the user from his/her single (Active Directory) login.

Email and course web sites came first, but by the beginning of the second semester of my first year at the school, I was searching for good bulletin-board tools, so that classes could have asynchronous discussions. An asynchronous discussion tool seemed the best way to encourage the maximum amount of student participation and reflection, because it afforded students the opportunity to read everyone else?s responses on their own time and to think as long as they wanted before writing. The CGI Resource index had YaBB as one of the most highly rated bulletin boards in the PERL scripts section. If I had been a master of PHP, I would have gone with TikiWiki instead, as it provided more services than YaBB. However, I successfully modified the YaBB scripts to disable YaBB?s built-in registration and substitute the UHS username, so that students would be automatically identified as themselves on the boards and not have to remember a second username and password.

At first, the Forums were used only by classes, and only a few at that. At the end of the spring semester of ?03, Ernesto made a presentation at a faculty meeting promoting the positive effects of the forum on his classes. I had created a Spanish-language version of the forums, in which the entire interface was in Spanish. Even as late as the beginning of Fall ?03, I was wondering aloud to people why there weren?t more people using the Forums, because I thought they were such a great tool. Clubs didn?t fare much better, as their forums were poorly commented. Partway through the fall, things started to pick up slightly, as Chesley started a Film class forum and Anisha put one together for her Youth Rights class. Rob and Rebecca practiced a highly structured version of group discussion, in which the topics were assigned, and Rebecca?s even worked on their posts during class! Joe made an ASM presentation, in which he put the Forums up on the big screen and showed everyone how to make a post. However, things still didn?t pick up until November or so. At this point, the Film forum had really taken off ? theirs was probably the first forum to go ?freestyle,? with students posting quite a few messages in long, rambling conversations about silly topics such as sticky movie theater floors. Even last year, students had talked about wanting to raise their post totals, in a small competition with each other but also to shed the ?newbie? title that they disliked so much. Christien made an ASM announcement encouraging everyone to go to the forums. I think that a critical mass was beginning to build up, and we began some see some forum junkies come out of the woodwork, students who would post in forums just because they liked them.

Things exploded when I decided to create an Open Forum. This freed students from the topical constraints of the existing Forums, and kids started posting about a whole bunch of topics. The Wall, the mayoral election, gender bias at UHS, free speech, dress code ? this forum gave students the chance to determine the course of the conversation on their own.

Success factors:
? Personalized interface (students choose icons and add instant messenger addresses, choose signatures, etc. Just about everyone is doing it before they even make their first posts.)
? Kids can edit their own posts, so as to improve them before leaving them to be up there permanently.
? Kids are held accountable by their peers. For the most part, the forums are self-moderated.
? Adults are the official moderators, so that the students know they are being watched, if from a distance. I have only had to edit one post so for, today, for a student who called ?some teachers? ?biatches.?
? Kids love to talk! It?s a group thing.
? Open Source software ? modifiable
? Built by a community of people who understand these kinds of interfaces. One of a genre of online community tools.
? Succeeded where the listserv failed ? would be interesting to consider why.
? Versatile tool ? the kids can even determine how the tool is used. Last year, one class conducted test review on it, with kids posting review questions and requests for help.
? The students are spread out around campus and have few discussion venues that can accommodate a lot of people. They are also very short on time, very wired, and don?t mind participating in school activities while outside of school, all making it possible for them to enjoy participating in the forums so much.
? Time/date stamp proves useful for classes.
? Sarah and Christien found it exciting and stumped for it in their own ways.
? Forums are organized around topics, unlike blogs, which are organized around individuals.

Diana has expressed a lot of hesitation about the Forums, but I think she is feeling better about them now. She was nervous of the consequences of kids posting in an unmoderated setting, until Sarah told her that adults were, in fact, reading and moderating when necessary. Up to this point, the adults have steered clear of the conversations, except for Chesley, but that?s his style in the classroom, too. I?m not even convinced that most of the moderators are actually doing their jobs. Diana a.sl thought the Forums would spell the end of UNI Times, but I think I convinced her that the two could not only coexist peacefully together but even enhance each other. If the kids don?t realize this themselves, however, we may need to encourage them to find the differences between the two vehicles and use each appropriately.

Of all of the new web services I have introduced, the Forums have been by far the most successful. Course web pages have not grown nearly as quickly ? Rob even replaced his class web pages and even his class web project with an extensive reliance on structured discussions in his forum. Listservs became limited almost exclusively to administrative uses.

NetNewsWire Aggregator

I finally got myself a RSS/Atom news aggregator. This was my first attempt at reviewing and selecting an aggregator, so I checked the Macintosh software ratings at Download.com and picked NetNewsWire. There are benefits to joining the revolution at version 2. To my surprise, the biggest benefit of having an aggregator was the list of hundreds of links that came bundled with the software. This included about 20 in an Educational Technology category, of which I now subscribe to about five.

One gem really stood out, Blog Juice for Educational Technology, itself an aggregator of a wide variety of ed tech sources compiled by a medical executive named Joe Schwoebel. I still haven’t figured out why he is so interested in educational technology, so help me out if you know.

Other benefits of NetNewsWire are flexible integration with your default web browser, a vertical reading panel option, a New Items category option, integrated (optional) web browser, auto-download of podcasts into iTunes, and a “post to weblog” option. The only downside to this program is that they have borrowed a number of interface features from Apple Mail and Camino, both of which I run concurrently, so I sometimes forget which program I am currently viewing.

if you are reading blogs, I highly recommend trying an aggregator. NetNewsWire cost me $25, but there is a light version (that only reads RSS feeds) and plenty of other free options out there, such as Mozilla Thunderbird. Safari for Mac OS 10.4 (Tiger) even has average news reading capabilities.

Tablet PCs for Everyone

University High School is considering whether to adopt a 1:1 student laptop program in Fall 2006. While I was at the NECC Conference, I was reminded to consider Tablet PCs as an alternative to traditional laptop computers. They do everything a laptop can but add capabilities that are traditionally considered shortcomings of laptop computers. Tablets allow the user to quickly use a stylus to add a diagram, handwritten note, or annotation to a document, which makes notetaking possible for science and math classes, in which plenty of diagrams exist. Some users may actually prefer to take all of their notes in handwritten form, especially those who are poor typists. The devices weigh about the same as conventional laptop computers and many even boast a more impact-resistant case, always an asset in schools!

The main obstacle currently appears to be price. Tablet PCs still run about $300 more per unit than laptops. Multiply that by 400 students and you have a significant difference in the overall cost of a student laptop program. Another issue is that popular companies such as Dell (our current provider) do not make a tablet PC. Should we give up Dell’s terrific warranty and service program for tablets? It will be something to consider this year.

Online Running Log

I figured that there would exist a host of tools for tracking training mileage. Enter Cool Running Log. Not only does it provide a calendar and calculate mileage totals and graphs, but it also stores your favorite running routes, training shoes, and weather (if you think that matters!). There are some other running logs that even allow you to publish your log for others to view. I think I will share this with the cross-country runners for their summer training.

Going Wireless in the Science Labs

We recently received and imaged our new Dell Latitude 110L notebook computers for the M-13 and M-14 science labs. I am very pleased with the budget machines so far. Lightweight, their minimalist design reminds me of a black iBook. We bought 16 of them for about $1050 per unit (volume education pricing).

These machines replace a set of bulky Latitude c840′s that I bought almost immediately after joining UHS three years ago. The great advantage of the c840s was that they had a P4 processor, not common in midpriced laptops at the time. In the lab, however, they caused a great tangle opf ethernet cables, security cables, and power adapters. This time, we are going to keep everything in an Anthro laptop storage cart and pull only the laptops out when needed. Add a couple of wireless access points, and we should have a more reliable, flexible solution computing than in the past.

The catch with laptops is that you don’t really know how good a model is until two years have elapsed. A good model will still run reliably in its third year, whereas a poor model will start falling apart (sometimes literally).

Nucleus CMS Blogging Tool

What powers this blog? Nucleus CMS does. I do not know a lot about different blogging tools, but Nucleus seems like a high quality package with a good range of features and strong extensibility. I am especially unfamiliar with hosted blogging services, which tend to provide a full set of features and either cost money or include advertisements on your blog. If you have your own web host and the access permissions to install software, you may select from a wide range of of free and inexpensive, open-source blogging tools (see Hotscripts and search for “blog” for examples).

The Nucleus architecture provides for web-based administration, multiple blogs, templates, skins, and includes, giving one virtually unlimited power to personalize and modify the site. (For example, the UHS e-Sportsline runs off the same Nucleus installation as this blog.) And if you don’t like a feature, you may delve into the PHP code yourself, completely open and well-organized for your access.

We need more software that is well-written, organized, and easy to use. The only other blogging tool I have installed is Greymatter, and that was a royal pain compared to Nucleus.

Plone as Blog

What sort of blog capability should we provide our students? A school community is different from the public-at-large that has spawned a blogging craze. All of the students share some perspectives by participating in the same educational community every day and living in the same geographic region. If we rolled out a single blogging tool for the whole school community, everyone would be on the same tool, learning how to use it together and sharing advanced linking features. At the same time, technical inclinations vary widely. All of our students are capable of maintaing a blog, but only some would put the time in to learn how to do it and actually post on a regular basis.

Plone is a content management system that may be used in a variety of ways. Originally devised as replacement for a static web site, one may now also think of it as a blog alternative. I came across the article Plone as Blog, which nicley articulates the potential for Plone to assist people with the posting of content in a more powerful, accommodating way than a blog. In a nutshell, Plone automatically provides structure for differentiating types of content, such as documents, news, images, and files, whereas blogs are exclusively organized around hypertext. Plone allows one to organize content by time, category, file type, or a method of your own choosing, whereas blogs are organized first by time and second by category. Plone provides many of the same features as blogs, such as RSS feeds, commenting, and automatic linking, with the additional benefit that one can control access permissions of members and groups to content. One may create an online space that has equal parts web site, blog, wiki, and private space if one likes.

I am thinking of actively pushing Plone this year and holding off on introducing a ubiquitous blogging tool for the moment. I would love to know what people think of this proposed step.