![]() |
Event Attendance 2.0
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):
It does not include (from the old thread):
Additional Features:
Installation:
Known Problems:
If you upgrade from 3.0x:
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.
Please click INSTALL if you like this plugin. |
Good job bud
~Curt |
Excellent - I was hoping this would get a conversion. Thanks a lot! :)
Edit: I'm getting an invalid event specified error if I try to edit an event and enable enrolling. |
Quote:
arpy |
Hi there!
Sorry I should have been clearer before! I can sucessfully edit the event, but afterwards when I click on the "I will be attending this event" link on the event page, I get the following error. "Invalid Event specified. If you followed a valid link, please notify the administrator" http://dragonninja.co.uk/world/invalidevent.jpg |
Quote:
You can see this in the "I will attend"-Link: http://example.com/calendar.php?do=g...=attend&e=1069 If there is no "do=getinfo" in the link, then you are using the old template. I had to change the links in order to use a hook. arpy ***Edit: Sorry, it is the calendat_roll Template - not the calendar_rollbit |
Thanks arpy, it solved the problem. I've been working from a new style since the 3.5. upgrade, but I was viewing the site through the old one [for stylesheet purposes - the child of the new style]. All reverted and working.
I'm not able to enroll in an event that occurs on today's date. Is that intentional? |
No idea how tough it would be but I think a great addition to this would to be able to export an event's attending roster to a CSV or Excel file. In a perfect world the users profile info to be exported could be ACP selectable. So you could get an output something like:
Code:
RMS-Chef,whatever@hotmail.com,http://userswebpage.com |
Quote:
@RMS-Chef: Everything is possible but my time is limited. I only will add features if there is a huge request and/or I can use the feature for my board and/or sb else is doing the coding ;) arpy |
Ah cool, glad you have late enroll in there!
|
::request::
events im attending in profile? would you be able to code this ? |
Quote:
arpy |
Doesn't work at all for me.
Installed it without problems on a 3.5 RC2, reverted all templates twice and re-installed the hack thrice. Checked all the options and even the usergroup permissions if there is some hidden "unlock-option"... but still I simply don't get the checkbox to create events (being in the newthread.php). |
Quote:
|
hi there i installed this after id installed the post event to a forum plugin here
https://vborg.vbsupport.ru/showthread.php?t=93308 now that seemed to install fine and worked but afterwards i put on this plugin and it all seemed to go ok etc. but when i add a event and check that box. when you view the event you dont get the option to add yourself as an atendee to it. any ideas guy? thanks in advance :) |
Quote:
If I'm wrong: Please provide me a link to your forum where I can see both plugins. arpy |
Looking back at this thread I realize I never posted to say the install went perfectly and the plugin works great! Thanks!
|
Quote:
add Plugin: Event Attendance - Cache Templates Hook Location: cache_templates Title: Event Attendance - Cache Templates PHP Code: Code:
if (THIS_SCRIPT == 'calendar'){ |
Quote:
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. |
/me installed
|
Sweet !!
*Rowdy clicks install* This will be great for my haunted forest this year... So, when the event passes what happens ? Will it go from saying "members attending" to "members attended" ? |
excellent ! keep up the good job, once it goes LIVE i'll install this
|
Quote:
But I take this as a feature request ;) arpy |
No problems till now and >20 installs - I removed the beta-tag.
arpy |
/me clicks install
|
/me installs
Nice. I would like to see an option in the usergroup Calendar Permissions for "Can enroll in calendar events". |
Er,
What did i do wrong? Warning: main(/home/site/forum/admincp/FCKeditor/fckeditor.php): failed to open stream: No such file or directory in /admincp/vbarticles.php on line 29 Warning: main(): Failed opening '/home/site/forum/admincp/FCKeditor/fckeditor.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /admincp/vbarticles.php on line 29 |
Quote:
|
Quote:
|
Quote:
<if condition="secondary usergroup != zero> allow attendance </if> I add/remove secondary groups all the time so listing every group number can be quite tedious using <if condition="is_member_of($bbuserinfo, X) OR is_member_of($bbuserinfo, Y) OR is_member_of($bbuserinfo, Z)"> allow attendance </if> |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=90266 It is for 3.0x, but it shows the methods... |
That would be a nice feature (an option from the plugin's config) to be able to restrict events to certain secondary usergroups. So when you make it, there's a listing of groups, with checkboxes to select.
|
When I install the plugin, events now say:
Quote:
Ideally I'd like to get these plugins working well together. |
Note that if I disable the Event Forums plugin, I still don't get a link to say I'm attending.
|
Ah, I see the problem. It doesn't appear because the event is an all-day event, which means it starts at midnight that day, and since it's started, you can't say you're attending.
It would be better if the plugin wouldn't let you add yourself after it's ended rather than started. 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. |
Typo:
PHP Code:
|
Quote:
Ok, this causes an event to be closed for enroll at the wrong time...(depending of your timezone) Quote:
Quote:
Quote:
|
awesome hack gonna install it when i get home but one question. Is there a way for it to display more then just the users name. Reason being is i run a ffxi forum and when members say there coming it would be nice if they could enter what job there coming as so we can get an idea as to what jobs are coming and if we can actually do the event with the jobs. But anyways freakin awesome plugin exactly what i need. Now if it can do what i just asked that would be sweet please get back to me thanks.
|
Awesome plugin! Users love it.
|
would it be possible to alter this to use a thread instead of a calendar event? if so, is it just a case of changing the hooks & queries?
|
All times are GMT. The time now is 04:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|