Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Calendar Search and Download Details »
Calendar Search and Download
Mod Version: 1.10, by HCGB (Coder) HCGB is offline
Developer Last Online: Oct 2012 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (6 votes - 5.00 average) Installs: 51
Released: 21 Mar 2010 Last Update: 15 Apr 2010 Downloads: 310
Not Supported Uses Plugins Additional Files Re-usable Code Translations  

Calendar Search and Download for vB4


This mod addresses yet another basic feature missing from vB4 - calendar search and download


Features:


Replaces the Calendar menu item with a drop-down menu which adds a calendar search and export function. You can search in username, event title, description. custom fields, calendar and by year/month range. You can also export the search results (or the full calendar) as an iCalendar file (for import into a PC, mobile, Google, etc) or as a PDF text document.

Both export functions include email contact information for the event poster (provided that the current user has permission to view member groups and send emails AND the event poster allows email contact).

NEW! - v1.04b onward supports automated Google Calendar updates (view your vB calendar on Google alongside your other calendars!)

You can use the automatic indexing feature in Google Calendars to view your forum calendar (and sync it with your Nokia/iPhone/BlackberryAndroid/etc cell phone). Only calendars that have unregistered user access will be viewable (Unregistered Usergroup->can view calendars & ->view others events to yes).

To setup Google Calendars (http://www.google.com/calendars) to view your vB calendar(s) , select Other calendars->add->add by URL then enter http://your_forum_url/calsearch.php?do=gcal (replacing your_forum_url with your real forum URL!). Google can take many hours to actually index the vB calendar so be patient! If you want to start from a particular year - &startyear=20xx (it defaults to the current year).

Tested with Vbulletin 4.0.2 AND vBadvanced 4 beta. Product has no custom phrases or template/code edits. It uses two template hook locations in the navbar to change the calendar menu to a drop-down.


Settings:
None are needed - it does what it says on the tin .

AdminCP->vbulletin->options->message searching options->search results per page

Determines the number of event items displayed per page.


Installation
  1. Unzip the download package and copy the contents of the UPLOAD folder into your forum folder.
  2. Go to the VB AdminCP->Plugins & Products click "Manage Products". The click "Add/ImportProduct" at the bottom of the page.
  3. Click "Browse" button and point to the product-calsearch-(etc).XML file included in this ZIP package.
  4. Click "Import"
... all done


Updates

To update- uninstall the product AND delete the uploaded file calsearch.php then re-install as above.

v1.10
tested with vB 4.0.3
Recurring events now grouped by date
v1.09b
Added month selection options
v1.08b
Now allows reverse date order search (by entering a "To" year less than the "From" year.
Fixed user timezone issue with iCal files
v1.07b
Added full support for recurring events (also included in iCal export)
v1.06b
Changed search option layout
Start year now uses current year if no year selected (iCal/PDF/Google downloads all start from current year).

v1.05b
Standardised phrasing
Added "no events found" message
v1.04b:
Added calendar selection dropdown
Fixed IE layout issues
Added Google Calendar support
v103b:
Fixed time zone issue yet again (it DOES work this time!)
v102b:
Fixed time zone issue properly this time
Added drop down to select search field
Added support for searching custom calendar fields.
v101b:
Fixed time zone date calculation (was showing event on wrong day in some locales)



John

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 21 Mar 2010, 17:40
claystation claystation is offline
 
Join Date: Jan 2007
This is looking good, Thanks! Although my links on the calendar search don't link to the event properly.

They seem to be linking to an event the day before the event.
http://www.claystation.com/forum/cal...2010-01-10&c=2

but it should be...
http://www.claystation.com/forum/cal...o&day=2010-01-11&c=2

Also I have a lot of calendars so on the search result page it would look a lot nicer if the results were displayed by calendar and date instead of just the date. Just a suggestion.

Thanks for your work.
Reply With Quote
  #3  
Old 21 Mar 2010, 19:01
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by claystation View Post
This is looking good, Thanks! Although my links on the calendar search don't link to the event properly.

They seem to be linking to an event the day before the event.
http://www.claystation.com/forum/cal...2010-01-10&c=2

but it should be...
http://www.claystation.com/forum/cal...o&day=2010-01-11&c=2
This issue has been fixed - see latest download in first post.
__________________

Last edited by HCGB; 23 Mar 2010 at 23:20.
Reply With Quote
  #4  
Old 21 Mar 2010, 19:35
claystation claystation is offline
 
Join Date: Jan 2007
Thanks - I uploaded the file but it didn't do the trick.
Reply With Quote
  #5  
Old 21 Mar 2010, 20:12
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by claystation View Post
Thanks - I uploaded the file but it didn't do the trick.
I've updated the above file again - definitely should work this time
__________________
Reply With Quote
  #6  
Old 21 Mar 2010, 20:34
claystation claystation is offline
 
Join Date: Jan 2007
I don't know... it's still not working.
Reply With Quote
  #7  
Old 21 Mar 2010, 21:22
starman™ starman™ is offline
 
Join Date: Apr 2008
This looks very good - Tagged.
Reply With Quote
  #8  
Old 21 Mar 2010, 21:41
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Real name: Blue
Gonna watch this one
__________________

My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123
Sports Tipping Mod - coming February 2010 ~ Show your Interest !
Reply With Quote
  #9  
Old 23 Mar 2010, 16:07
thesupermario69 thesupermario69 is offline
 
Join Date: Dec 2009
Ive just installed this and it works great, so thank you

Ive been playing around with getting it to sync with Google Calendar which works fine if you download the iCal file and manually sync it with Google Calendar

Would it be possible to make this a Scheduled Task on the forum so that it ran say every day at midnight and saved the iCal output somewhere on the server? That way I could then point Google Calendar at the URL of the saved iCal file and see how it behaves, see if it auto updates when the iCal file is updated
Reply With Quote
  #10  
Old 23 Mar 2010, 18:13
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by thesupermario69 View Post
Would it be possible to make this a Scheduled Task on the forum so that it ran say every day at midnight and saved the iCal output somewhere on the server? That way I could then point Google Calendar at the URL of the saved iCal file and see how it behaves, see if it auto updates when the iCal file is updated
Interesting idea - and no reason why it shouldn't work. Google Calendar does update OK from URL files - I use it elsewhere. I can feel another mod coming on

The iCal file would obviously only contain public events - i.e. events viewable by unregistered users.
__________________
Reply With Quote
  #11  
Old 24 Mar 2010, 01:45
claystation claystation is offline
 
Join Date: Jan 2007
This is working very well. The added field queries are very nice. How difficult would it be to able to search one just one calendar at a time with this? If I can do this it will solve a lot of problems for my site.
Thanks
Reply With Quote
  #12  
Old 24 Mar 2010, 22:56
is_it_me is_it_me is offline
 
Join Date: Mar 2009
Thumbs up

This looks interesting for my ‘what’s on’ site, I'll take another look tomorrow when I am less screen-stir crazy.
Reply With Quote
  #13  
Old 25 Mar 2010, 13:38
digibyte digibyte is offline
 
Join Date: Mar 2007
This mod is really interesting. I have some suggestions for further improvement and new features:
I don't really like the drop-down menu with the subitems "Calendar search" and "Calender". Can you make this drop-down menu optional with a setting? I think it would be more logical to add the search fields to the "calendar" page/template. You can there also make some export buttons (iCal/Gmail/PDF/...). Now you have to search for "nothing" to be able to export the whole calendar.

Thanks for this mod!
Reply With Quote
  #14  
Old 25 Mar 2010, 15:47
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by digibyte View Post
This mod is really interesting. I have some suggestions for further improvement and new features:
I don't really like the drop-down menu with the subitems "Calendar search" and "Calender". Can you make this drop-down menu optional with a setting? I think it would be more logical to add the search fields to the "calendar" page/template. You can there also make some export buttons (iCal/Gmail/PDF/...). Now you have to search for "nothing" to be able to export the whole calendar.

Thanks for this mod!
Thanks for the suggestions. The calendar selection drop-down only appears if you have more than one calendar.

The default (when you click calendar search on the navbar menu) is to list all calendar content - you can then immediately click the download buttons to get everything. You can, of course, select a calendar then search and download to get just one calendar content (or one event type, etc).

I would agree that this mod should be part of the vB search system (both in the advanced search page and in the calendar itself). However, the calendar templates are buggy at the moment so I won't be spending time working with them until they are fixed
__________________
Reply With Quote
  #15  
Old 27 Mar 2010, 17:34
is_it_me is_it_me is offline
 
Join Date: Mar 2009
Thumbs up

OK, I’ve had a chance to install this and I am well pleased with results so far, just a couple of things that would be an improvement if possible.

1 - by default the date range selected is 2008 - 2037; surely it should start with 2010, it’s only a small thing, but is there an easy way of changing it?

2 - the 'search for' button (or renamed 'search now') should be positioned at the end of all the options you need to complete/consider, i.e. after the date range, at the moment you work your way from left to right and when you get to the end you have to go back to the start to press search. Does that make sense?

3- and I agree with digibyte about making the drop-down menu optional, if possible.

I've put a link to the calendar search in my dropdown menu for 'What's On & Event Calendars' in my navbar, see here http://doctorwatson.info/calsearch.php, but what I could do with now is removing the vb search box from the navbar as this is going to cause confusion - can anyone point me in the right direction for doing that?

I’ll then add that search to the forum dropdown menu instead.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 06:50.

Layout Options | Width: Wide Color: