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)
Aug. 15th: Beta-Tag removed, no code changes.
Please click if you like this plugin.