Version: 2.00, by arpy
Developer Last Online: Mar 2014
Version: 3.5.0 RC2
Rating:
Released: 08-06-2005
Last Update: Never
Installs: 427
DB Changes Uses Plugins
No support by the author.
This is an update version of the vB 3.0x "Event Attendance" hack found HERE. Thanks to Kentaurus for allowing redistribution.
I have rebuild/rewritten the hack for vB 3.5 - now it is no longer a hack but a plugin. No template modifications and no code modifications required.
This plugin allows users to enroll for events. When a new event is created, the user can decide if this feature is available for this event.
This plugin includes (from the 3.0x Version and Thread):
Links to userprofile (by buro9)
Counter for enrolled users (by Sanni)
and most (all?) fixes from old version
no additional queries! (for reading, if you enroll/cancel there is one additional query)
It does not include (from the old thread):
Fix for reoccuring events (complete redesign needed)
Addon for guest-count (I don't need this, feel free to re-add)
Additional Features:
Event Attendance can be deactivated for reoccuring events (see Options in AdminCP)
Enroll/Cancel can be deactivated for events that are already started (AdminCP)
Sorting of enrolled people can be switched via AdminCP
All text is now in phrases
Installation:
Go to ACP/ Plugin System/ Manage Products.
Click Add/Import Product, select the product XML File you downloaded here and click Import.
Thats all - Have fun!
Known Problems:
calendar_roll and calendar_rollbit templates are not cached. I've not found a way to do this by using a plugin. But this is not really an issue.
Aug. 24th: Bug found by endquote in post#36: Typo in var name, this will cause Event enrollment to be disable at the wrong time (depending on time zome). Will be fixed in next release.
If you upgrade from 3.0x:
This plugin is fully database compatible to the old hack, if you upgrade no data will be lost.
You need to revert your calendar templates: calendar_showeventsbit, calendar_roll and calendar_rollbit.
If you do not want to revert your calendar_weekly_event and calendar_monthly_event please use "Mark enrolled in month/weekly view"=NO in Event Attendance Options to avoid event to be marked twice ("*").
Feature Requests: I list the feature requests here - this does not mean that I will code it. If you are a coder feel free to code it and release it as addon or allow me to include it here.
Change text after event is over. (Post #21) (very likely)
"It would be better if the plugin wouldn't let you add yourself after it's ended rather than started." (Post #35) (very likely)
"Another suggestion would be to have an admin option to just set all events to have the attendance functionality, rather than providing an option when posting." (Post #35) (very likely)
List of attended events in User Profile (Post #11) (maybe later)
CVS-Export of attending users (Post #8) (unlikely)
This is a way but unfortunately one I don't want to go:
With template caching disabled (now), we have 1 additional query when viewing a calendar entry with nobody enrolled or 2 queries, when s.b. is enrolled (2 templates).
With your solution, one every pageview (not only calendar) there is an overhead (1 plugin loaded).
If s.b. really has perfomance issues with his vb, he should consider including the templates in calendar.php (which would be a hack, not a plugin).
But as written in the release text, I don't think that 1 or 2 uncached templated are a problem.
Sorry, currently I'm busy and I have no time to update this hack. I will update the hack when I update my own board which currently is still on 3.0x. I can't give you a schedule yet.