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
  #12  
Old 08-08-2005, 06:57 PM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

::request::

events im attending in profile?

would you be able to code this ?
Reply With Quote
  #13  
Old 08-08-2005, 08:09 PM
arpy arpy is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by benj
::request::

events im attending in profile?

would you be able to code this ?
Able? Yes. However I have no time for this at the moment and I don't want to promise anything. I added it to the "feature requests" in the plugin description.

arpy
Reply With Quote
  #14  
Old 08-09-2005, 09:52 AM
Vindicare's Avatar
Vindicare Vindicare is offline
 
Join Date: Dec 2001
Location: Europe
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #15  
Old 08-09-2005, 12:47 PM
arpy arpy is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vindicare
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).
Maybe you tried to create a reoccuring event? Go to your AdminCP, vbulletin options, event attendance and enable "Enroll reoccuring events".
Reply With Quote
  #16  
Old 08-10-2005, 02:25 AM
butty butty is offline
 
Join Date: Nov 2001
Location: manchester, uk
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 08-10-2005, 08:13 AM
arpy arpy is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by butty
hi there i installed this after id installed the post event to a forum plugin here

https://vborg.vbsupport.ru/showthread.php?t=93308
I don't know exactly how the other plugin works - but taken from the description:
  • "Links to event details are redirected to the thread."
If this means, that you cannot view an event with "calendar.php" because you are redirected to the according thread, then this means that my product has no chance to display anything in the event details. When the event details are copied to the thread, the event attendance information is not copied.

If I'm wrong: Please provide me a link to your forum where I can see both plugins.

arpy
Reply With Quote
  #18  
Old 08-10-2005, 06:38 PM
ricker ricker is offline
 
Join Date: Jun 2003
Location: Apple Valley, CA
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking back at this thread I realize I never posted to say the install went perfectly and the plugin works great! Thanks!
Reply With Quote
  #19  
Old 08-13-2005, 11:57 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by arpy
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.
Fix:

add Plugin: Event Attendance - Cache Templates
Hook Location: cache_templates
Title: Event Attendance - Cache Templates
PHP Code:
Code:
if (THIS_SCRIPT == 'calendar'){
	$globaltemplates  = array_merge($globaltemplates, array('calendar_rollbit','calendar_roll',));
}
Plugin is Active: yes
Reply With Quote
  #20  
Old 08-14-2005, 03:43 PM
arpy arpy is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HarryButt
Fix:

add Plugin: Event Attendance - Cache Templates
[...]
Note: I do not know if this is the perfect way, but it works. Unsure of drawbacks if any.
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.
Reply With Quote
  #21  
Old 08-14-2005, 05:41 PM
poolking poolking is offline
 
Join Date: Aug 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installed
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 06:21 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.06388 seconds
  • Memory Usage 2,314KB
  • Queries Executed 27 (?)
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_code
  • (5)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
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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