Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-05 02:24:13

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

Plugin concept: Register for an event

I’m part of a small volunteer community organisation (rural fire brigade) – only about 30-40 active members. We attend a lot of community events – school fetes, markets, community education activities – and I’ve been thinking about a way of posting info about each event and allowing members to register their attendance. This would be better than the current method of writing names down at our fortnightly meetings and ringing around to find participants – and then trying to remember who was on the list.

This is how my idea goes:

  • it will hang off ign_password_protect and the alternate user table created by that plugin.
  • if the user is not logged in, nothing happens. However, my idea is that this new plugin will only appear on pages protected by ig_password_protect, as we have no need to tell the general public about our events.
  • if the user is logged in, then the plugin tag would be replaced by a simple checkbox with some prompt text (eg. “Register for this event”) and submit button. If they had previously registered, then the checkbox will be checked.
  • a new table in the database is used to link the article id to the user for each registration (one-to-one relationship).
  • users with higher level privileges will also see a list of everyone who has registered for the event.
  • by default, users can only change their registration up to the day of the event; from then on, nothing will show. However, I would like to allow for a customisable period eg. users can change their registration up to n days before the event.

So, my questions are:

  1. is there an existing plugin out there that does somethng like this? I’m no PHP coder, and I really want to avoid reinventing the wheel (and ending up with a square one!)
  2. does this sound do-able with Textpattern? I intend to work slowly, learning from what others have done, but if in the end it won’t be possible, then I would prefer to not start and spend my time on something else.

Thanks everyone.

Offline

Board footer

Powered by FluxBB