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
  #232  
Old 04-30-2006, 09:55 AM
Evercraft Evercraft is offline
 
Join Date: Jan 2005
Location: United Kingdom
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JaeTea
I actually wiped everything out (php files, plugins, etc.) except for this plugin on my test forums, upgraded to the latest version of vb..and still the same thing.

http://www.djforums.com/test/forums/...ad.php?t=64408

I'd like to know if anyone else is having this problem or its just me.
ok good news, I think I just found the problem. I still need to test it a little, but hopefully I should have a fixed version soon.
Reply With Quote
  #233  
Old 04-30-2006, 10:14 AM
Evercraft Evercraft is offline
 
Join Date: Jan 2005
Location: United Kingdom
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sickboy6ths, i've added some better error handling for the sql queries which should solve your problems. New version will be up soon-ish so you can check it out.
Reply With Quote
  #234  
Old 04-30-2006, 01:15 PM
Crazy Serb Crazy Serb is offline
 
Join Date: Mar 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it just me or after I submit an event, go into the thread where it's listed, and in EVENT OPTIONS (bottom right) choose "EDIT EVENT" it gives me an error saying "You did not select any posts to which the action you picked can be applied."

WTF?!

how do I edit my events now?

p.s. - that EDIT EVENTS option seems to be using inlinemod.php for the edits... and that's where the error is coming from to.
Reply With Quote
  #235  
Old 04-30-2006, 03:15 PM
Evercraft Evercraft is offline
 
Join Date: Jan 2005
Location: United Kingdom
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Crazy Serb
is it just me or after I submit an event, go into the thread where it's listed, and in EVENT OPTIONS (bottom right) choose "EDIT EVENT" it gives me an error saying "You did not select any posts to which the action you picked can be applied."

WTF?!

how do I edit my events now?

p.s. - that EDIT EVENTS option seems to be using inlinemod.php for the edits... and that's where the error is coming from to.
Sounds like you put your eventblock variable inside the inline form. You'll have to move it outside the form, theres no way I can code around this unfortunatly.
Reply With Quote
  #236  
Old 04-30-2006, 03:21 PM
Crazy Serb Crazy Serb is offline
 
Join Date: Mar 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it. fixed! thanks!
Reply With Quote
  #237  
Old 04-30-2006, 05:29 PM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed & 2 Uncached templates....
Quote:
Page generated in 0.41628 seconds with 50 queries (1 queries for uncached templates) [Server Loads: 0.03 0.11 : 0.14]
Uncached templates: lv_vb_eventforums_event (1)

Page generated in 0.28904 seconds with 26 queries (1 queries for uncached templates) [Server Loads: 0.01 0.09 : 0.13]
Uncached templates: forumhome_event (1)
Reply With Quote
  #238  
Old 05-01-2006, 05:59 AM
sickboy6ths sickboy6ths is offline
 
Join Date: Apr 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Evercraft
sickboy6ths, i've added some better error handling for the sql queries which should solve your problems. New version will be up soon-ish so you can check it out.
Sounds good m8, can't wait
Reply With Quote
  #239  
Old 05-01-2006, 06:49 AM
albertsch9 albertsch9 is offline
 
Join Date: Apr 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this errors on PHP5.1.2 and Mysql 4.1.12 then i use Mysqli with Mysql everything works.

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /includes/functions_forumdisplay.php(413) : eval()'d code (Zeile 49)

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /includes/functions_forumdisplay.php(413) : eval()'d code (Zeile 49)

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /showthread.php(819) : eval()'d code (Zeile 49)

Warnung: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /showthread.php(1912) : eval()'d code (Zeile 68)

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /showthread.php(1912) : eval()'d code (Zeile 101)

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /showthread.php(1912) : eval()'d code (Zeile 120)

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /showthread.php(1912) : eval()'d code (Zeile 263)
Reply With Quote
  #240  
Old 05-01-2006, 09:45 AM
sickboy6ths sickboy6ths is offline
 
Join Date: Apr 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a fix for that...

replace all instances of "mysql_" with "$db->"
in your product xml file, reimport the xml file with Overwrite --> Yes.

Warnings should go away

Only Warning I still have is the following:

Warning: Invalid argument supplied for foreach() in \showthread.php on line 2213
Which is this line: foreach($membergroupids as $key => $value)
Reply With Quote
  #241  
Old 05-01-2006, 10:36 AM
albertsch9 albertsch9 is offline
 
Join Date: Apr 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sickboy6ths
I got a fix for that...

replace all instances of "mysql_" with "$db->"
in your product xml file, reimport the xml file with Overwrite --> Yes.

Warnings should go away

Only Warning I still have is the following:

Warning: Invalid argument supplied for foreach() in \showthread.php on line 2213
Which is this line: foreach($membergroupids as $key => $value)

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
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 05:24 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
  • Page Generation 0.05110 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
  • (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
  • (2)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