Forum OpenACS Q&A: Response to Community Projects...

Collapse
Posted by Pascal Scheffers on
As an I-Have-Got-Do-Something-On-Easter-Holiday I built a 3.x modulette where you can register your OpenACS site, I call it 'The OpenACS Site Register', and you can find it here: http://pascal.scheffers.net/siteregister/. It doesn't do much yet (as in, it works, but there are a lot of 'nice to have' features.

At the moment it requires you to install a small script on your OpenACS site that will report the number of users, bboard postings and comments in your system (you can find that on the 'add my site' page). The module will poll all active sites every 24 hours, so the stats are kept up-to-date. For the time being, if you do not like to publish your stats, just edit the script I provide and return zero for all stats.

I am thinking of adding a 'more info' page, where the site owner can leave more info about the implementation time, modules that are in use, etc. That page can then also show some sums and averages of the the number of users/postings/comments in the last 24 hours, week, month, year, etc. (I keep a history of stats).

I shall not be insulted if nobody likes this, I wanted to try something small for the weekend. If you like it, please register your site on my box, if Don et.al. like it I'll be happy to transfer, data and all to OpenACS.org.

I learned a lot: I like Postgres but the documentation sux (for example, in pl/pgsql how on earth do I find out 'how many rows affected' after an update? and use that a return value of the procedure). OpenACS is also somewhat lacking, but there are plenty of samples, so that wasn't too bad.

I also found a silly bug in AOLServer+ad12, if you go to the site-register index page, and (with IE 5 atleast) press refresh repeatedly, AOLServer toggles between writing the headers before AND after the page and the normal behaviour. Not very pretty. Does this have something todo with me using .ADPs?