vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Event Forums (https://vborg.vbsupport.ru/showthread.php?t=102213)

Evercraft 12-03-2005 10:00 PM

vB Event Forums
 
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.

harry1951 12-04-2005 03:25 PM

downloaded and will test it on my testboard :-)
Thnx picking up the 'old' hack and continuing to develop it :-)

ZacUSNYR 12-04-2005 03:29 PM

I'll be installing this shortly as well! Sounds like a great way to get more activity into the calendar.

nexialys 12-04-2005 03:37 PM

i've read by the walls that the Event Attendance will be merged as a addon to this plug-in... somene have plans on this ?! - as everyone will ask, i'm doing it right now!

btw, for someone playing with the Event Attendance hack, the Thanks this Post hack is a good start... ok, it's MOST of the job done if you know how to code... https://vborg.vbsupport.ru/showthread.php?t=92410

very happy with your results Evercraft

Snake 12-04-2005 04:29 PM

Whoa this is a great hack man. Glad you have ported it over to 3.5. :)

[high]* Snake installs[/high]

lanc3lot 12-04-2005 05:07 PM

Exm, any shots around or even a demo site to see how it works this one?

I cant find any:(

tris 12-04-2005 05:09 PM

Wow great work, I am waiting for the Intergration with the event attendance plugin. :rolleyes:

Evercraft 12-04-2005 06:07 PM

Quote:

Originally Posted by nexialys
i've read by the walls that the Event Attendance will be merged as a addon to this plug-in... somene have plans on this ?! - as everyone will ask, i'm doing it right now!

btw, for someone playing with the Event Attendance hack, the Thanks this Post hack is a good start... ok, it's MOST of the job done if you know how to code... https://vborg.vbsupport.ru/showthread.php?t=92410

very happy with your results Evercraft

Yep the merge of the 2 plugins, or adding an attendance feature is something that is on the requested features list up top.

Looking at that thanks plugin, your right. It its almost how the attendance thing would work. I'll try and take a look at the code sometime this week, and maybe look at how this could work with the vB events forum plugin. Thanks for the link. :)

My main concern at the moment however, is to fix all the lurking bugs that still exist. I fixed alot, but there is still a couple, so im hoping that bugs people find, they will post and let me know.

OneShot 12-04-2005 08:13 PM

Thank you Evercraft - the system finally works again. Good Job :up:

nexialys 12-04-2005 08:19 PM

when i install it tomorrow morning, i will try to debug it myself - i usually have more situations than anybody on my testground.,..

for the thanks thingy, the thing that is missing to make it an attendance hack is to list the names and identify the members attending in the calendar, and maybe add a cronjob to post an alert to these members when the event is in 24hours... (like the Subscribe to Event!)

and i'm sure someone will require the block for vBadvanced.

djsydeburnz 12-04-2005 08:28 PM

I have some ideas that would work well with all this calendar / forum stuff, but not sure if it would be a feature request for this particular project:

Have the ability to include images with the event posting (like a fllyer)
Having a clickable link to the event location (mapquest, yahoomaps, etc)
Ability to review each event
Linking event to an album in gallery

ShawnV 12-04-2005 09:13 PM

Quote:

Originally Posted by Evercraft
Yep the merge of the 2 plugins, or adding an attendance feature is something that is on the requested features list up top.


Thank You Evercraft! :banana:

trancetopia 12-04-2005 09:41 PM

Not sure if this hack does a check on previous events upon installation or not but I have a lot of events already in a calendar and installing this would only be beneficial if you started with a blank calendar.

i.e. if you already had 50 events in a calendar and installed this mod, your calendar would show 50 events but your event forum would show nothing.

Does this new version of this mod will do an intelligent import upon installation. If not, can this be considered as this would be an excellent feature and make this mod backwards compatible with previous calendar events.

Evercraft 12-04-2005 11:02 PM

Quote:

Originally Posted by trancetopia
Not sure if this hack does a check on previous events upon installation or not but I have a lot of events already in a calendar and installing this would only be beneficial if you started with a blank calendar.

i.e. if you already had 50 events in a calendar and installed this mod, your calendar would show 50 events but your event forum would show nothing.

Does this new version of this mod will do an intelligent import upon installation. If not, can this be considered as this would be an excellent feature and make this mod backwards compatible with previous calendar events.

Thats a good idea, and might be something I can add. I'll add it to the feature requests and see if I get round to looking at it.

skizzy203 12-05-2005 12:40 AM

Great work Evercraft. Glad to see this pluggin finally progressing.

Once the bugs are worked out and the event attendance hack has been integrated with reminders and someone figures out a way to merge old events into the respective event forum, I will be a happy camper and install.

Watching and waiting eagerly. It's such a coincidence that this is coming along just in time for the new calendar year too... Yippy! I have so many events to add!

EasyTarget 12-05-2005 12:41 AM

many thanks evercraft. I'm one of those that's interested in a merge with the event attendance as well.

Code Monkey 12-05-2005 01:31 AM

If you do add an event attendance feature. It would be nice if it had some functionality like these forums. Such as, the event creator can send an email update regarding event changes to people that have clicked the link indicating their attendance. Also seperate veiw boxes for time, date, location, number attending, etc...

Similar to what we have when making a hack thread here.

lanc3lot 12-05-2005 01:36 AM

Quote:

Originally Posted by JumpD
If you do add an event attendance feature. It would be nice if it had some functionality like these forums. Such as, the event creator can send an email update regarding event changes to people that have clicked the link indicating their attendance. Also seperate veiw boxes for time, date, location, number attending, etc...

Similar to what we have when making a hack thread here.


That will be very usefull indeed :)

djsydeburnz 12-05-2005 01:56 AM

i have 2 calendars: cal1 is for events, cal2 is for radio broadcasts. in the upcoming events plugin that shows events, is there a way to get it to onlly show events from the corresponding calendar? i dont want to show radio shows on the events calendar forum. also, can anyone give me any pointers on how to change the plugin code to display the forum title a certain way?

event name | event date | custom1 only

benFF 12-05-2005 02:25 AM

Quote:

Originally Posted by djsydeburnz
i have 2 calendars: cal1 is for events, cal2 is for radio broadcasts. in the upcoming events plugin that shows events, is there a way to get it to onlly show events from the corresponding calendar? i dont want to show radio shows on the events calendar forum. also, can anyone give me any pointers on how to change the plugin code to display the forum title a certain way?

event name | event date | custom1 only

Great work, especially with the timezone thing, thanks!

One bug I've found, if you delete an event, although the thread is deleted, the forum info still shows that thread as the last posted.

It would also be great to have a CP option to choose the default new event type (timed, all day) along with date formatting options for each of the above :)

Great job, thanks so much!

djsydeburnz 12-05-2005 03:45 AM

^^dang, you quoted me so i though you were coming to my rescue . . . :(

benFF 12-05-2005 02:31 PM

Ah apologies old chap, i didn't realise the "quote message in reply" was automatically ticked... my bad :)

Cyricx 12-05-2005 04:39 PM

Instead of putting the custom fields in the title.

What about putting them in the message, with the custom field title then what is filled out like

Custom field 1: (text entered)
Custom field 2: (text entered)

(Event message)

djsydeburnz 12-05-2005 05:31 PM

^^ or thats even better!

SoLo OnE 12-05-2005 08:00 PM

For some reason dates in the forum "Upcoming Events" box aren't showing for guests or registered users.

:ermm:

IamPud 12-05-2005 11:46 PM

Can't get the calendar to create a thread not sure what i am doing wrong. In the mapping i put 1:11 which is calendarid 1 and forumid 11 but i get nothing. I do get the summary in that forum but not the new thread.

Any thoughts on what i am doing wrong?

TIA

Evercraft 12-06-2005 08:39 AM

Quote:

Originally Posted by SoLo OnE
For some reason dates in the forum "Upcoming Events" box aren't showing for guests or registered users.

:ermm:

I'll try and test that on my dev site later and see what the problem is. But one thing, make sure registered users and guests have permissions to view BOTH the calendar and the event forum, that could be why.

Evercraft 12-06-2005 08:40 AM

Quote:

Originally Posted by IamPud
Can't get the calendar to create a thread not sure what i am doing wrong. In the mapping i put 1:11 which is calendarid 1 and forumid 11 but i get nothing. I do get the summary in that forum but not the new thread.

Any thoughts on what i am doing wrong?

TIA

sounds alot like the bug:

Quote:

Posting a new thread by creating a new event, respects the min char for posts in vboptions. If the event doesnt make the min chars, then the thread isnt made, however it still creates the event, and should show an error instead.
Also, in a similar way, if the forum is closed to posting, or there are permissions preventing you from posting a thread normally, then this will fail too.

SoLo OnE 12-06-2005 11:09 AM

Quote:

Originally Posted by Evercraft
I'll try and test that on my dev site later and see what the problem is. But one thing, make sure registered users and guests have permissions to view BOTH the calendar and the event forum, that could be why.


After testing it extensively last night the problem seems to be when a users timezone causes the event to fall on a day different (or span two days) than what was originally posted.

I'm going to test it out more today and try to post some examples.

lanc3lot 12-06-2005 11:41 AM

Quote:

Originally Posted by JumpD
If you do add an event attendance feature. It would be nice if it had some functionality like these forums. Such as, the event creator can send an email update regarding event changes to people that have clicked the link indicating their attendance. Also seperate veiw boxes for time, date, location, number attending, etc...

Similar to what we have when making a hack thread here.


Hello again Evercraft, do u think that the event attendance feature (and also things like the mate suggested here) could be ready anytime soon ? (i mean if its in the plan to "see" them in 5,10,20,30 days :) I wait just that to install it, as the attendance is a very crucial part for a hack like this:)

If its not in the plan, its ok, just asking :)

Thnx in advance :)

SoLo OnE 12-06-2005 04:11 PM

OK apparently the dates for ranged events dont' show up at all on the forums "Upcoming Events" area. The time and title does, but no date.

Another problem is that "soft delete" actually hard deletes the thread. :surprised:

Can someone confirm this?

benFF 12-07-2005 03:46 PM

Quote:

Originally Posted by SoLo OnE
OK apparently the dates for ranged events dont' show up at all on the forums "Upcoming Events" area. The time and title does, but no date.

Another problem is that "soft delete" actually hard deletes the thread. :surprised:

Can someone confirm this?

Also the timezone code isn't 100% correct - whilst the time changes, if the new zone pushes it to a new day, this isn't shown.

So an item at 8pm GMT on the 5th of Dec is shown as
5am (Correct - Japan = +9) on the 5th of Dec (instead of the 6th)

Ben

PennylessZ28 12-08-2005 03:15 AM

I don't know about anyone else, but the Dates in the thread titles, never match, they are always one day in advance? Why is this?

Evercraft 12-08-2005 08:16 AM

Just to let you all know i'm still around. Keep the reports coming, it really does help. I'll try and find some time on the weekend to go through the bugs and sort out some fixes.

banjolawyer 12-08-2005 12:15 PM

Does this require you to enter a start and stop time like the old one? I'm running the old version now, and don't like the start/stop time requirement.

SoLo OnE 12-08-2005 02:12 PM

Quote:

Originally Posted by HR3rdGen
I don't know about anyone else, but the Dates in the thread titles, never match, they are always one day in advance? Why is this?

Check what you have your GMT set to and what Timezone you are posting it as.

Give me an example and I'll test it out.

lanc3lot 12-08-2005 08:36 PM

Quote:

Originally Posted by Evercraft
Just to let you all know i'm still around. Keep the reports coming, it really does help. I'll try and find some time on the weekend to go through the bugs and sort out some fixes.


Hope with this, we will go final to a not beta version :D

PennylessZ28 12-09-2005 12:31 AM

Quote:

Originally Posted by SoLo OnE
Check what you have your GMT set to and what Timezone you are posting it as.

Give me an example and I'll test it out.

GMT -5 Eastern Standard Time

If I program an event for say the 17th from 9:00pm to 11:59pm it lists it as the 18th in the thread title. OVER AND OVER it does this.

PennylessZ28 12-09-2005 12:37 AM

<a href="http://www.757forums.com/forumdisplay.php?f=6" target="_blank">http://www.757forums.com/forumdisplay.php?f=6</a>

Every thread has been labeled one day in advanced. All my server time configurations are right.

Heres a screen shot of creation and result.

PennylessZ28 12-09-2005 08:00 PM

Bumpdigity


All times are GMT. The time now is 02:37 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.01688 seconds
  • Memory Usage 1,880KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete