Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Event Attendance 2.0 Details »»
Event Attendance 2.0
Version: 2.00, by arpy arpy is offline
Developer Last Online: Mar 2014 Show Printable Version Email this Page

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)
Aug. 15th: Beta-Tag removed, no code changes.

Please click INSTALL if you like this plugin.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 08-19-2005, 07:48 PM
arpy arpy is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blackjack
How would I detect if they are a member of 'any' secondary usergroup?
Never used secondary usergroups here, but I found this hack:
https://vborg.vbsupport.ru/showthread.php?t=90266

It is for 3.0x, but it shows the methods...
Reply With Quote
  #33  
Old 08-22-2005, 04:54 PM
FusionHosting FusionHosting is offline
 
Join Date: Jul 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 08-24-2005, 02:12 AM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I install the plugin, events now say:
Quote:
There are 0 people enrolled for this event:

Nobody yet
There is no link to say I'm attending it. I am using (and wrote) event forums, but disabled calendar_getday_start, which is the plugin that was redirecting the event page to the thread.

Ideally I'd like to get these plugins working well together.
Reply With Quote
  #35  
Old 08-24-2005, 02:42 AM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Note that if I disable the Event Forums plugin, I still don't get a link to say I'm attending.
Reply With Quote
  #36  
Old 08-24-2005, 02:51 AM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #37  
Old 08-24-2005, 04:24 AM
endquote endquote is offline
 
Join Date: Jan 2002
Location: Seattle, WA
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Typo:
PHP Code:
$time_until_event=$eventinfo['dateline_from']-(TIMENOW+$vbulletion->userinfo['timezoneoffset']*3600); 
Note "vbulletion".
Reply With Quote
  #38  
Old 08-24-2005, 05:22 AM
arpy arpy is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by endquote
Typo:Note "vbulletion".
Congratulations: You are the first one who found a bug!
Ok, this causes an event to be closed for enroll at the wrong time...(depending of your timezone)
Quote:
Originally Posted by endquote
It would be better if the plugin wouldn't let you add yourself after it's ended rather than started.
I will add an option for this.
Quote:
Originally Posted by endquote
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.
Ok, also added to the featere requests.
Quote:
Originally Posted by endquote
Ideally I'd like to get these plugins working well together.
What is needed for this:

  • read the event data in the forum thread
  • add the event attendance template output to the posts output
  • ensure that users clicking on "I will be attending" will be redirected to the thread instead of the calendar.
If you need help please PM me!
Reply With Quote
  #39  
Old 08-24-2005, 04:11 PM
kdog316's Avatar
kdog316 kdog316 is offline
 
Join Date: Apr 2003
Location: AZ
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 09-02-2005, 06:49 AM
Bojangles Bojangles is offline
 
Join Date: Aug 2005
Location: Phoenix, AZ
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome plugin! Users love it.
Reply With Quote
  #41  
Old 09-11-2005, 09:54 AM
dtsrules dtsrules is offline
 
Join Date: Nov 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04991 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete