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
  #232  
Old 08-11-2006, 05:42 AM
noel_leon noel_leon is offline
 
Join Date: Jul 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is working with my 3.6.0 Gold.
Reply With Quote
  #233  
Old 08-11-2006, 11:53 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works with 3.6.0 gold but you have to uninstall it and then reinstall the product
Reply With Quote
  #234  
Old 08-11-2006, 08:36 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done the said modifications, and it's added a bunch of lines to my vBevents showthread, but alas it doesn't pop up with anything in the showthread. It's just blank. What am I doing wrong?

While viewing the event in the calendar, it does say 0 people will be attending and what not, but there's no link to click to actually say whether or not you're attending. When viewing the thread for the event that vBevents makes, there's nothing but extra lines.
Reply With Quote
  #235  
Old 08-13-2006, 02:28 AM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, figured it out on my own... something that I hadn't seen mentioned is that if you do the mod you have to (or atleast I did) create the roll phrases as a phrase type Show Thread and then it will work.
Reply With Quote
  #236  
Old 08-16-2006, 07:03 AM
Sidewindr Sidewindr is offline
 
Join Date: Oct 2002
Location: Australia
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by meissenation
Nevermind, figured it out on my own... something that I hadn't seen mentioned is that if you do the mod you have to (or atleast I did) create the roll phrases as a phrase type Show Thread and then it will work.
Can you elaborate a little more on how you fixed this? I am having the same problem.

Adding the phrases to Show thread did not work for me. I also did the edits suggestwed in the previous page to allow multiple attendees and still no joy. No area for the user to specify attendance in the Calendar entry.
Reply With Quote
  #237  
Old 08-16-2006, 10:01 AM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I originally had tried the mod to make it more friendly for people bringing multiple attendees, but I didn't like the way it looked so I removed it.

First I did the event attendance - vbEvent integration according to the post (I want to say by Thom, Thomas, Dr Thom? Something like that, it's 6:55am and i'm too tired to remember names) in any case, after performing that it would work when viewing the calendar but not when viewing the thread in the forum... it was just blank or would only show the list of who was attending, nothing before and nothing after for people to click.

I then went and tried the multiple attendees hack, which I didn't like, so I had to go back and revert everything to remove that.

Once removed, my calandar_roll template looked like this:
PHP Code:
<p><strong><phrase 1="$rollcount">$vbphrase[roll_text]</phrase></strong></p>
<if 
condition="$rollbits">
<
ul>
$rollbits
</ul>
<else />
<
p><i>$vbphrase[roll_nobody]</i></p>
</if>

<if 
condition="$bbuserinfo[userid] > 0 && $show[enroll]">
<if 
condition="$show[userattending]">
    [<
a href="calendar.php?$session[sessionurl]do=getinfo&amp;ea=unattend&amp;e=$eventinfo[eventid]">$vbphrase[roll_cancel]</a>]
<else />
    [<
a href="calendar.php?$session[sessionurl]do=getinfo&amp;ea=attend&amp;e=$eventinfo[eventid]">$vbphrase[roll_enroll]</a>]

</if>
</if> 
After reverting the roll template back, I created the phrases as Type being Show Thread:
Varname -- Text
roll_ allowenroll -- Allow users to specify tha they will be attending this event.
roll_ cancel -- I will no longer be attending this event.
roll_ enroll -- I will be attending this event.
roll_ nobody -- Nobody Yet
roll_ text -- There are {1} people enrolled for this event:

After I did that, it worked for me.


Hope that helps!
Reply With Quote
  #238  
Old 08-19-2006, 05:25 AM
marlita marlita is offline
 
Join Date: Aug 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vB 3.6. Is it ok to use this plugin?

Thanks
Reply With Quote
  #239  
Old 08-23-2006, 01:05 PM
marlita marlita is offline
 
Join Date: Aug 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to manually link my polls to my event-forum. It's not a huge deal, but it would be nice if something did this through the admin or forum instaed. Does anyone know about a program that does this or does anyone know how to make one?

If someone doesn't know what I'm talking about and would like to see what i mean, feel free to check out my polled event-forum. Just type username:test & password: test. Just don't vote, please.

Thanks.
Reply With Quote
  #240  
Old 08-24-2006, 07:04 PM
elricstorm's Avatar
elricstorm elricstorm is offline
 
Join Date: Aug 2006
Location: Stamford, CT
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried installing this for 3.6 and it installed fine. However, after installing it and going to the calendar and check marking the allow people to attend events checkbox, and posting I get the following:

Code:
Fatal error: Existing data passed is not an array
Called set_existing in /var/www/vhosts/httpdocs/forum/includes/functions_databuild.php on line 164
Called build_forum_counters in /var/www/vhosts/httpdocs/forum/includes/class_dm_event.php(569) : eval()'d code on line 141
Called eval in /var/www/vhosts/httpdocs/forum/includes/class_dm_event.php on line 569
Called pre_save in /var/www/vhosts/httpdocs/forum/includes/class_dm.php on line 789
Called save in /var/www/vhosts/httpdocs/forum/calendar.php on line 1952
in /includes/class_dm.php on line 235
Is this not usable with 3.6 or is there a work around for this issue? Not sure what to do.
Reply With Quote
  #241  
Old 08-24-2006, 07:14 PM
elricstorm's Avatar
elricstorm elricstorm is offline
 
Join Date: Aug 2006
Location: Stamford, CT
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The issue was I had another conflicting calendar plugin and once I removed it - this one worked fine.
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:46 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.05345 seconds
  • Memory Usage 2,327KB
  • 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_code
  • (1)bbcode_php
  • (1)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