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
vB Event Forums Details »»
vB Event Forums
Version: 2.7, by Evercraft Evercraft is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-03-2005 Last Update: 04-30-2006 Installs: 210
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Introduction
Ok first things first, before we start. This plugin was originally developed by endquote. You can find the old thread here. I have now taken over the plugin development from him, and I will do my best to make this a plugin that is useful for everyone. I have made quite a few changes to the old plugin. If you have been using the old plugin, then skip to the section "I used the old plugin".
What is this plugin?
This is a plugin which allows you to create relationships between calendars and events, giving each event a thread of its own for users to discuss. This plugin is in BETA, so you are installing this on a live board at your own risk. I have tested this alot, and I am running it myself on a live board.
Sure, so whats it do?
Some examples of the features this plugin offers
  • When a new event is created in a calendar, an associated thread is created in the linked forum.
  • Links to events in the calendar are forwarded to the associated thread.
  • New thread links in the event forum are redirected to a new event form.
  • A summary can be shown at the top of the event forum which shows the up and coming events over the next 'x' days.
  • The date and time shown in the thread and post title, is calculated on the current viewing users timezone. In other words, times always show in the users timezone, not forced to GMT.
  • Full moderation support.
  • Editing a thread or event, will update its associated event/thread.
Screenshots
Some screenshots of this plugin
How do I install it?
Please follow the instructions here for upgrading from Version 1.x to Version 2.5.
Step 1
Install the product
Download the product XML file.

Goto your Admin CP at your forums, then goto Plugin System -> Manage Products. Click [Add/Import Product] at the bottom of the page. Browse to the location where you downloaded the xml file and then click the Import button.
Step 2
Calendar ID:
Goto your Admin CP at your forums, then goto Calendar Manager. Find the calendar you want to link to a forum, then click Edit.
Right at the top of the page you should see:
Quote:
Calendar: NAME (id: ID)
Make a note of the ID, you will need this soon.
Forum ID:
Goto your Admin CP at your forums, then goto Forum Manager. Find the forum you want to activate as your event forum, then click Edit Forum.
Right at the top of the page you should see:
Quote:
Forum: NAME (id: ID)
Make a note of the ID, you will need this soon.
Link a Calendar to a Forum:
Goto your Admin CP at your forums, then goto vBulletin Options and find Event Forums.
The first option you should see is Calendar/Forum Map.
Enter in your IDs into the box, as CALENDARID:FORUMID.
Example, my Calendar is 5 and my Forum is 14:
Quote:
5:14
Click Save.
Step 3
Base permissions check:
You will need to check that users using the Event Forums, have basic permissions to both the Linked Forum AND Calendar.
Basic Permissions include: Can View Forum and Can Post Threads and possibly some others.
Step 4
Install on VB.org:
Browse back to this thread, and click the INSTALL button so you can recieve updates whenever I update this plugin.
Can I give you money to make this?
This isn't a commercial plugin, and can be used by anyone for free. However, a few people have said to me that they would like to donate some money for my time working on the plugin and for picking it up and continuing the development of new features etc. If you do want to donate some money my way, then you can do so through paypal by clicking this link. Thanks!
Bugs / Support
If you find a bug, then please post in this thread and let me know. There are a few bugs that haven't been fixed since the old version, so i'm hoping that we can fix these soon. I will do my best to support the plugin as much as possible, however I also have a busy job which takes up alot of my time.
Known Bugs
Here is a list of known bugs to date
  • Soft delete actually hard deletes the thread.
  • Search doesn't search the first post of an event thread.
  • Inline ajax edit bugs thread title. Need to remove date and time from it before edit.
Feature request list
Here is a list of the requested features. Please note that because it makes this list, doesn't mean it will be added.
  • Intergration with the event attendance plugin.
  • Customisation of the order of the custom fields in the thread title.
  • An option to "import" all the previous events from a Calendar into threads.
  • Extra post options support (Attachments, Post Icons, Sticky etc).
  • Custom ordering of the %datetime variable.
  • Custom ordering of %custom variable.
  • Better handling of recurring events.
Credits
Thanks to endquote for originally creating the plugin.
Thanks to the Ninja :ninja: for helping me infiltrate the vb code and finding those hidden hooks!
Thanks to anybody that helps test this plugin.
Changelog
Version: 2.7
  • All templates should now be cached.
  • Optimised the code which hides the first post on an Event Thread.
  • Fixed a bug which was causing smilies and images, as well as possibly other BB code to not be parsed correctly.
  • Added better error handling on SQL queries, and using vb functions in all places over raw mysql functions.
Version: 2.6
  • Added a AdminCP option to choose between using a custom variable to display the Event Details on the Thread Page, or to append it to the end of the navbar.
  • Title now updates in last post block after editing event title.
  • Single day events no longer adjust the timezone, which was causing the day to show incorrectly in the thread titles and event details for some timezones.
Version: 2.5
  • Single day events: Time has been removed from thread title, so it now only displays the date.
  • Date and Time (if applicable) are added to Posts and Navbits when viewing a thread.
  • Custom Fields are added dynamically along with times and dates. This solves a few bugs, and is in preperation for the AdminCP option for a custom order and look etc.
  • Currently merging is disabled for any Event Threads because it is a bit of a tricky job to handle merging Event Threads, and it could take some time.
  • Admin option to format Event Thread titles. Note this does not yet include ordering custom fields.
  • Inline mod tools should now all work.
  • Added [Finish] and [Start] as phrases into the Calendar phrases for use in the Events Summary.
  • Ranged Events that cover multiple days, are now displayed better in the Summary, Title, Post and Navbits.
Version: 2.0
  • Moderation is now supported! Permissions are taken from the Calendar. Events will show up as Events only (threads are hidden and handled seperatly by the plugin) in the moderation queue.
  • Better error handling when creating an event. This should now correctly handle flooding, min chars and any other errors creating a thread could give. An event is NOT created if there was an error creating the thread. Instead it displays the correct error message.
  • Event View is now displayed above the threads, similar to how VB.org does with the addons.
  • Links added to the event day view, to View Replies and Post a Reply.
  • Added a UserCP option to choose which event it should default to when pressing the "New Thread" button.
  • Summary is now totally seperate from the Home Page up "and coming events". The summary will now function even if the homepage version is disabled.
  • Ranged Events now show the end date if the Event doesn't finish on the same day.
  • Problems with DST and Timezones have been solved. There is an update due in VB v3.6 which corrects confusion with DST. See here for more info. This is more specific to Calendar rather than this plugin though, but its relevant.
  • Moving an event to a Calendar not run by the Plugin will remove the link to the assosiated thread.
  • Moving an event to a Calendar run by the Plugin will attempt to also move the thread linked to it, to the correct forum.
  • Moving a thread to a different event forum, will attempt to move the event to the correct calendar.
  • Moving a thread outside an event forum, removes the link to the assosiated event.
  • Delete thread or first post now forwards to the Delete Event. Allowing soft-delete of events is something to consider, but for now it only supports Perma Deleting. This would be made much easier if soft deleting events was something supported in the native VB code.
  • Fixed Deleting an Event and it now properly updates the forum counters, so the last thread should be correct.
  • Event Summary template addition is no longer necessary. A seperate template is added and handled by the plugin.
  • Event Summary in the forum now only shows the events for that forum/calendar link.
Version: 1.0
  • Taken over development from Endquote. Fixed alot of bugs, I can't remember what now.

Supporters / CoAuthors

Show Your Support

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

Comments
  #252  
Old 05-01-2006, 04:30 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cat4m
Nope that is the instructions on going from version 1.x to 2.x I am already on version 2.6 and he just releasded 2.7 with no upgrade instructions
Reply With Quote
  #253  
Old 05-01-2006, 05:08 PM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just follow the Step 3 from this page: https://vborg.vbsupport.ru/showthrea...636#post956636

which is..

Quote:
Step 3
Download the latest product XML file.

Goto your Admin CP at your forums, then goto Plugin System -> Manage Products.

Click [Add/Import Product] at the bottom of the page. Browse to the location where you downloaded the xml file and click the OVERWRITE check box. Then click the Import button.
Reply With Quote
  #254  
Old 05-01-2006, 11:00 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thread Prefixes would be great to be integrated too. And most of all (and the most easy i believe) would be adding an attachment tool for events. Like normal threads have =D

great hacK!
testing it, but i cant put it to work in my forums because it lacks of attendance and attachments.

cya!!
Reply With Quote
  #255  
Old 05-02-2006, 06:13 AM
sickboy6ths sickboy6ths is offline
 
Join Date: Apr 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ty for the new version.. only error that remains is:
Warning: Invalid argument supplied for foreach() in \showthread.php on line 2216
which is in this part of the code:
Code:
  // get permissions
  $lv_vb_eventforums_permissions = array();
 
  $membergroupsql = '';
  if(isset($membergroupids) && (count($membergroupids) > 0))
  {
    foreach($membergroupids as $key => $value)
    {
	  if($value != '')
	  {
	    $membergroupsql .= ' OR usergroupid = ' . $value;
	  }
    }
  }

Quote:
Originally Posted by albertsch9
Now i get this:
Fatal error: Call to a member function fetch_array() on a non-object in /www/htdocs/v030134/v2/forum/includes/functions_forumdisplay.php(413) : eval()'d code on line 49
Hmm should've worked.. it worked for me, but now the new version is there .. and fixes it already
Reply With Quote
  #256  
Old 05-03-2006, 02:59 AM
Crazy Serb Crazy Serb is offline
 
Join Date: Mar 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this update 2.7 still mess up AJAX updates to thread titles (adding the date twice)??
Reply With Quote
  #257  
Old 05-03-2006, 09:07 AM
Neo_obs Neo_obs is offline
 
Join Date: Mar 2006
Location: Disneyland, CA
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the new version works with the attendance mod. but you must view the date not the event. As when you click an event it goes straight to the thread. But if you click the date it shows you the original calendar version. Can anyone else confirm this?

Also a thought would the template variable help get the two mods together easier?
Reply With Quote
  #258  
Old 05-03-2006, 01:32 PM
TomasDR TomasDR is offline
 
Join Date: Feb 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Neo_obs
the new version works with the attendance mod. but you must view the date not the event. As when you click an event it goes straight to the thread. But if you click the date it shows you the original calendar version. Can anyone else confirm this?

Also a thought would the template variable help get the two mods together easier?
I can get both products to work together on seperate calendars provided I do not intergrate the 2nd (Event Attendance) Calendar with a Forum.

I can see [I will be attending this event] when viewing the Date View of the Calendar, but when I click it in the Forum intergrated Calendar I just get redirected to the showthread view and my name is NOT added as an attendee even if I go back to the Calendar Date View.
Reply With Quote
  #259  
Old 05-03-2006, 02:11 PM
Neo_obs Neo_obs is offline
 
Join Date: Mar 2006
Location: Disneyland, CA
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea I noticed that. But this means we are getting closer to a solution. I wish I had the time to learn all the coding for this. I do give credit to all the makers
Reply With Quote
  #260  
Old 05-03-2006, 06:33 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Crazy Serb
does this update 2.7 still mess up AJAX updates to thread titles (adding the date twice)??
This is still not fixed. Just checked in my test board.



edit:

hello Evercraft, maybe a future addition: Adding a %day variable so threads also show the day of the week.
Example: %day %datetime - %title -%custom

It would result into:
Thread name: Saturday Aug 13th 2006 - Tittle here - Custom
Reply With Quote
  #261  
Old 05-03-2006, 08:09 PM
Torqued Torqued is offline
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So how does this work when you have existing events before installing the hack? Can you edit the event and have it populate the forum(s)?
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 12:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05588 seconds
  • Memory Usage 2,336KB
  • Queries Executed 26 (?)
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
  • (8)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