Every Calendar +1 Plugin

UPDATE 20th December 2012: Version 2.0.0 has been released! This version adds support for different map providers using the Mapstraction library, fixes issues with HTML entities such as & and " and adds support for widgets!

LogoEvery Calendar +1 is a WordPress plugin that provides custom post types for Calendars and Events. There is an annotated document with a description of how everything works published here. Source code is hosted on GitHub. If you like this plugin consider making a donation to one of the causes I’m supporting.

Calendars can contain an unlimited number of local events and can syndicate content from an unlimited number of external calendar providers as long as the syndicated feed is supported by Full Calendar.

Events support a location and geocoded lat/lng coordinates for more precise marking.

The maps interface is pluggable so you can use any maps provider you like (and they don’t have to support geocoding but it’s better if they do).

Download from WordPress.org Plugin Directory.

Any issues feel free to leave a comment below.

  • negs

    Hi

    I really like this plugin. I am using it to display a weekly schedule. I am having a few issues. I am importing a google calendar.

    1. When I set the calendar to display the week schedule by default, the calendar does not display until I click ‘week’. If I set it to month, the display is fine.

    2. When I try to bring in a second google calendar, the events for that calendar are not showing.

    Any ideas why this might be?

    Thanks!

    • http://andrewbevitt.com Andrew Bevitt

      @negs

      Hi and thanks for using the plugin.

      1 – Is a bug I’ve fixed it in my development code and will be releasing an update this weekend.

      2 – The most common reason I’ve found that happens for is you haven’t made the 2nd calendar public allowing people to see all event details. Google is a little bit slow on providing a choice to show all event details when you first create the calendar, so you might need to go back into your calendar sharing settings and update them. If not then what happens if you paste the calendar link into your browser window? Does it work?

      The other potential reason I can think of is that you are not using the XML calendar link. Full Calendar (the jQuery plugin that renders the calendar) needs the XML link to the calendar (not the ICS one – even though my plugin will convert to ICS for you).

      Andrew

  • rolandonispiros

    Thanks for creating this cool calendar plugin. I got it to pull in my Google Calendar and I also created an event that showed up on the calendar. My question is how can the event show as a separate post?

    It looks like right now I have to create an event so it shows up on the calendar, then on the calendar I click on the event, then I click ‘Read more’ to actually get to the event/post where people can comment. I would like it to someone just appear as a post/event.

    Rolando

    • http://andrewbevitt.com Andrew Bevitt

      @rolandonispiros

      Hi and thanks for using the plugin,

      The eventlist shortcode (see the calendar administration page) will give you a list of events that link straight to the event page.

      But for what you want the answer is: the plugin doesn’t support that at the moment. If you want events to show up amongst your blog posts then you will need to modify your theme and tell it to lookup the ecp1_event custom post type as well as the normal post type. Then you’ll need to extract the appropriate meta-data from the postmeta table and display it. I’m working on how to support this but it isn’t high on my priority list.

      Andrew

  • rolandonispiros

    Great, thanks Andy! Looking forward to future updates.

    Rolando

  • debora_crosby

    Hello,
    I’ve installed the everyday calendar plugin, however, the instructions assume I know where to find the short code ….can you please give really basic step-by-step instructions on how to set up and configure this plugin. I looked on You Tube for a video Tutorial and there was none. Under the settings there is code for: is that the short code and where do I put it? I want a calendar widget for my footer. Can you please help? Also, it says I need to create a calendar….in the events section? A You Tube demonstration for Newbies like me would be soooo helpful!

    • http://andrewbevitt.com Andrew Bevitt

      @debora_crosby
      After you have installed any activated the plugin you will have a new section in the left hand menu: Events

      There is a screenshot walk through here it is missing information on shortcodes so in summary:

      1. In this events section click on the Calendar link; that will take you to the list of Calendars (which will be empty).
      2. Click on the “New Calendar” link / button at just under the heading.
      3. Create a Calendar by filling in the form
      4. Once you save the Calendar the edit calendar form will change and will list the shortcodes available for that Calendar.
      5. You use the shortcode by copy / pasting it into the post or page that you want the calendar to appear on.

      The plugin does not provide widgets yet so putting the calendar on your footer will not work – this is listed on the development roadmap as a feature to be added soon.

      • http://congbetham.com Danny G

        After installing the plugin and activating it, I am not getting the events tab on the left hand menu of the dashboard. I was able to get some other calendar plug-ins to give me their menu’s but not this one. I have used it on another site I built and it works fine. Wanted to implement it onto this one as well. i didn’t build this site originally, but am trying to update content and fix it up. Any thoughts on why the plugin isn’t working? Thanks for your help in advance!

        • http://andrewbevitt.com Andrew Bevitt

          @Danny G

          There are two possible reasons I can think of:

          1. There is some other plugin or code in the active theme that disables the admin hook to add tabs to the dashboard sidebar. Try disabling all the plugins then enabling the calendar and see what happens, if the sidebar tab appears then go through enabling one at a time til you find the conflict. Or
          2. The version of PHP on the server is old and some of the plugins code doesn’t run – depending on your setup that may or may not have other visual impacts (such as error messages). Check the server logs.
  • debora_crosby

    Thank You! For such a swift and thorough response! I created a special page just for it because it’s splendid!

  • jragland

    Very nice! Can you explain more about how to integrate a Google calendar with local (WordPress vs. Google) events? I’m trying to pull in the US holidays calendar (http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic) but am missing something. Thanks, John

  • jragland

    Andy, I guess I’m missing something. Can Google calendars be combined with local (WordPress) events? I plugged in the above url but am not getting anything but my WordPress events. Also, can multiple Google calendars be combined into/onto a single WordPress calendar? John

  • http://andrewbevitt.com Andrew Bevitt

    @jragland
    Where are you pasting the URL? It should go in the External Calendars section of the EveryCal Calendar that you want the US Holiday events to appear on.

    You can have as many external Google Calendars as you like; just keep adding extras to the External Calendars section of your Calendar that you want the events to appear on.

    If there is no External Calendars section on the Calendar edit screen go into the plugin settings page and make sure Google Calendar as an External Calendar is enabled.

  • jragland

    Thanks, Andy. Google calendars was already enabled, but it seems like I had to switch on “Include external calendars in export feeds” to get it to show up. Wish list: include a way to sync with non-public Google calendars. This is for an intranet implementation and we need to use a non-public Google calendar for its recurring events capability. John

  • jragland

    Update: I think there was a trailing space in the url after cut-and-paste. Removed that and all was ok. More items for my wish list: color-coded events (or the ability to color-code by source calendar) and an array of recurring event options.

  • http://andrewbevitt.com Andrew Bevitt

    @jragland
    You can set the color for WordPress local events, Feature events and for each Google Calendar using the color pickers on the Calendar edit page.

    I’m working on repeating events at the moment should be done in the next few weeks. The hardest part has been figuring out how to represent complex repeats and their exceptions: such as the last Friday of every month except in December which should be the the 2nd Friday of the month.

    • Eddie Appell

      Just curious if there is any documentation on using the repeating events? It’s pretty straight-forward in terms of creating a repeating event, but I can’t find where to put exceptions in. The form says “Note: you can add exceptions and make changes to specific repeats below”, but I don’t see anywhere below to make those changes…? Thanks again Andy!

      • http://andrewbevitt.com Andrew Bevitt

        @Eddie

        Once you have saved the event as a repeating event the exceptions area will appear below the event custom colours (i.e. right at the bottom of the event details form box). There is a button to “add a new exception” which will dynamically create a new sub-form for the exception details.

        • Eddie Appell

          Perfect, thanks again Andy!

  • hettiede beer

    Hi Andy,
    I am just getting to know your great plugin and I think I have set it up correctly. I am experiencing a problem, however. I can get the calendar [largecalendar name="Client Calendar"] to show up in preview mode, but cannot seem to get it to appear on the front end. I have tried enabling the calendar in Google to show as a public calendar (which I prefer not to do), tried both URLs (public and private) but still no success. Strange thing is that if I grab the code directly from Google, i can get a calendar to show up on the public side, but it is not nearly as nice as yours. Am I missing something obvious?
    Thanks,
    Hettie

    • http://andrewbevitt.com Andrew Bevitt

      @hettie

      Sorry for the delay responding. The large calendar should work without any problems – at a guess it could be your theme doesn’t process template tags but I’d doubt that. Does the client calendar post page work properly?

  • serge

    Hi Andy

    I haven’t been able to find a way to modify default date sorting ( ascending or descending ) when I publish the events list. Any clue ? Serge

    • http://andrewbevitt.com Andrew Bevitt

      @serge

      There is no setting to do that – in an effort to be simply I went with a fixed order.

      I’ll add it as an extra setting in the next release.

  • nataliedewhirst

    Andy, Thanks for creating this plugin – its exactly what I need. I am having an issue I’m hoping you can shed some light on. I created a test Google calendar in my own account with events that pulls in just fine. However, when I try to pull in the client’s actual calendar, it doesn’t work. Their calendar is public, I’ve grabbed the XML address – but it just won’t show. To test further, I created a new test calendar under their same Google account and that calendar showed up – just not the existing one that I actually need to show. Any idea what I might be missing here?

    • http://andrewbevitt.com Andrew Bevitt

      @nataliedewhirst
      If you copy the XML link and paste it into your browser URL then change the /basic at the end to /full – do you see the XML or do you get “This calendar does not have read public access enabled.”? If you get that message it’s because you’re not using the “private” links – which is probably because the clients Google Apps account doesn’t enable sharing outside the domain.

      See http://support.google.com/a/bin/answer.py?hl=en&answer=60765 for more details.

      Basically you need to: Share all information, but outsiders cannot change calendar.

      Then go back to the calendar settings and get the “private” XML link and paste that into the plugin.

  • nataliedewhirst

    Thanks for your fast reply… when I copy and paste the XML link I actually do get the XML…. strange. I also just tested out the “private” xml link with no luck there either.

  • nataliedewhirst

    @AndyB – thanks for all your help. For anyone who is curious, Andrew discovered a space before the URL when I pasted in the XML link. It’s often the tiniest things that cause issues.

  • tsmith

    Love your plug-in! I’ve tried several different calendar plug-ins and yours is, by far, the best. I do have a few questions and I apologize in advance because I’m new at WordPress and website design. I have read through the documentation but couldn’t find the answers.

    1) Can the icon to export the calendar be moved to the bottom instead of the top? If so, how do I do this?

    2) How do I use an export icon that is different from the ones in the pop-up box?

    3) Is there any additional information on using Gravity Forms to allow site members to enter event information? I’ve set up a form and a related form widget – but I’m not clear on how the event becomes part of the calendar. Does this happen automatically or is the form information sent to the site administrator to create the event manually?

    4) Related to #3 – is there a way through the form settings to assign the event a color category? For example, I have the event description custom field set up as a drop-down box with 3 choices. I’d like for the site member to choose 1 of those 3, and then the color for the calendar be automatic based on which 1 of the 3 was selected.

    Thanks again for a great plug-in!

  • tsmith

    I solved numbers 1 & 2 (and felt like I had a duh! moment when I even asked the questions!) lol Just click the icon off and add my own picture, text and code on the page below the calendar with the same feed links… So simple – not sure why that didn’t dawn on me last night!

    I haven’t yet figured out the answers to numbers 3 and 4 though. So any help you can provide will be much appreciated!

    • http://andrewbevitt.com Andrew Bevitt

      @tsmith

      The Gravity Forms documentation (here) is all there is. Effectively the gravity import works by the gravity form creating a new event post in draft mode, an author going to the draft event and clicking the import from gravity fields button. This copies the custom meta fields that the gravity form creates to the real fields that the EveryCal plugin uses for storing dates, locations, etc… Automatic import is not supported but theoretically could be done for a small number of fields by using the real custom meta field name instead of the gravity meta field name that is used when importing. However the majority of EveryCal custom fields are packed into one meta field value so creating them from the gravity form is not possible without modifying the code.

      Color is one of the grouped fields; and is not supported in the gravity import because I wanted site authors to have control over colors. This could be changed simply by adding the color fields to the gravity import field list.

      I’m happy to look at adding functionality if it will be helpful so please suggest away.

  • Jeffrey

    Hi!

    Can I do a comma separate list in the shortcode to display multiple calendars on one page? i.e. [largecalendar name="cal1, cal2"]

    • http://andrewbevitt.com Andrew Bevitt

      @Jeffery

      No you can’t but there are few ways you could achieve this:

      1. You can use two short-codes on the same page but that display one under the other; or
      2. Get the JSON feed URL for cal2 and add it as an “external” calendar for cal1 ***.
      3. Add the functionality to ecp1_calendar_render() in ui/client-render.php (lines 60-120).
      4. Use the “also display on cal2″ tick boxes for all events on cal1.
      5. Make either cal1 or cal2 a feature calendar and use featured events.

      *** This will require adding a new external calendar feature to the plugin.

      • Jeffrey

        Thanks for your help and time. I decided just to make it all in one calendar. I do have one other question though. I am using a responsive theme and would like the event pop-up to be centered. Can you point me to where i can make the change?

        THANK YOU!

        • http://andrewbevitt.com Andrew Bevitt

          @Jeffery

          The popup is rendered in the ecp1_onclick function in js/popup.js specifically you wants lines 293 and 296 for the horizontal / vertical positions.

          • Jeffrey

            thanks!

  • Jeffrey

    One more question: How do I remove or hide the timezone information at the bottom of the full calendar?
    i.e.
    Events occur at Chicago (UTC – 5) local time.
    Featured events occur at location local time.

    • http://andrewbevitt.com Andrew Bevitt

      @Jeffery

      The timezone disclaimer / featured events text is controlled by the “Calendar Template” setting: WordPress Settings > EveryCal+1 > Template and Layout. You need to edit the 2nd last textbox. The simplest approach would be to delete the div containing the +TIMEZONE_DISCLAIMER+ and +FEATURE_EVENT_NOTICE+ placeholders.

  • http://www.facebook.com/michael.sena Michael Sena

    I set up a calendar in GCal and it shows up fine in wordpress when I add the calendar, but it won’t show the events. However, I added another “holidays” calendar using the XML you provided in the comments and that DID show events on the calendar page.

    Additionally, I created a new event and tried to place it on either calendar, “TestCalendar” or “Holidays” and it didn’t show up. And when I tried to view the event, wordpress gave me a page not found error!

    • http://andrewbevitt.com Andrew Bevitt

      @Michael

      Are you using the private XML link for the calendar? If not you need to use it.

  • http://BLARG hellosunshinedancinginthenight

    Hello, I love this plugin!

    Can the Calendar be displayed in a simple “list view” ? In that it doesn’t display dates that do not contain an event. Is it a different type of shortcode or one of the widgets?

    • http://andrewbevitt.com Andrew Bevitt

      @hellosunshinedancinginthenight

      If you edit the Calendar that you are putting events on, at the top there is code for the two supported shortcodes. One is the JS full sized calendar and the other is a list view. I’m currently working on two different widgets: 1) small sidebar sized calendar; and 2) small list of events only including start/title. I’m actively looking for suggestions on how to make the plugin better so if you find the existing mechanisms don’t work let me know!

      • http://BLARG hellosunshinedancinginthenight

        I received this message after pasting that short code into the description while editing the calendar: “Could not parse event list start time.”
        Where am I supposed to paste that short code?

        -This could be a simple error as I am a low level graphics intern. Thanks for your help!

        • http://andrewbevitt.com Andrew Bevitt

          @hellosunshinedancinginthenight

          Two things:

          1. you should put the short code on a normal WordPress post or page- where you want the list of events to appear.
          2. the error message means the date you have used in the short code was in a format that could not be interpreted – what did you use?
          • http://BLARG hellosunshinedancinginthenight

            okay.
            I just copy and pasted the shortcode: [eventlist name="EVENT TEST" starting="1st Jan 2011 2:00pm" until="today"]

  • http://btc-usa.org Bthacker

    I’m having trouble with the plug-in, which originally worked fine. I must have changed a setting, because now the events that I create in WordPress do not show up on the calendar. Once I create the events, they show up in the dashboard on the list of events, but they don’t appear in the calendar or on a page to which I added the shortcode for the event list. I’m not using any external calendars, so the issue appears to be internal to WordPress.

    • http://andrewbevitt.com Andrew Bevitt

      @Bthacker

      I’ve had a quick look at your calendar on the BTC USA site. If you look at the August URL that the JSON comes from you’ll see there is a PHP warning instead of the JSON. This means the json_encode function is failing to encode your data. It is possible to see the data for August here. The json_encode function fails if there is an invalid UTF-8 character sequence and that is the only documented fail case in the PHP manual so my best guess is that you have some unsupported UTF-8 characters (perhaps the Do Not Bomb Iran event featuring Chris “Time” Steele).

      • http://btc-usa.org Bthacker

        Thanks Andy! I was able to fix the problem by deleting the events and re-creating them. Apparently my second effort managed to avoid the bad UTF characters, and all the posts are displaying correctly.

        Is there a list of alternate characters entities that can be used for hyphens and quotations?

        • http://andrewbevitt.com Andrew Bevitt

          @Bthacker

          I haven’t been able to find a list of unsupported characters but if you stick to the ones that are equivalent to the normal ASCII characters it’ll definitely work.

  • http://sulzersites.wordpress.com sulzeral

    I am new to WP, I have a site up http://www.p4pnwdc.
    I downloaded and activated the calendar+1 plugin.
    I want to put it on it’s own page but I do not know how.
    Your help would be greatly appreciated.
    Thanks

    • http://andrewbevitt.com Andrew Bevitt

      @sulzeral

      1. In the WP sidebar go to: Events -> Calendars;
      2. Create a new calendar (if you haven’t already)
      3. Edit the calendar you want to put on the page
      4. At the top of the calendar edit page there are two shortcode examples
      5. Copy the [fullcalendar ... ] code and paste it on the page you want the calendar to appear on.
  • http://ff.cbshalom.org Eddie Appell

    Thanks for the amazing plugin Andy, as everyone has commented, it’s really the best calendar plugin out there. Unfortunately I’m having some issues getting locally entered events to display in the calendar. The only events that display are the ones coming from the Google feed. Locally entered events never display within the calendar view. I actually copied the shortcodes from the calendar page and pasted them into a test page. When that page loads it shows the two events in the events list at the bottom, but neither of them are shown in the calendar above. Any ideas?

    Thanks again!
    Eddie

    • http://andrewbevitt.com Andrew Bevitt

      @Eddie

      You need to change your Permalinks setting. The default permalink structure does not work with the plugin.

  • http://gravatar.com/mlha Glenn

    Is there a way to adjust the width of the calendar? I’m using it on our hockey club’s website but it seems so small on the page! Thank you for writing this, btw!

    • http://andrewbevitt.com Andrew Bevitt

      @Glenn

      The calendar height is determined by the number of events, but the width is simply 100% of the HTML element the calendar is rendered inside of. If you look at the HTML for your page the calendar is a div element (id=”ecp1_calendar”); then you can look at the CSS width for all elements that contain the calendar div.

  • Jane

    How can I enlarge the size of the pop up so that I don’t see a ‘Read More’ link and take me off-page?

    • http://andrewbevitt.com Andrew Bevitt

      @Jane

      The read more link will appear whenever there is either (or both) an website and/or event description. If you only enter an event summary then the read more link will not appear. The popup size is dynamic based on the length of the event summary. So to answer your question: you can’t easily. If you really want to do this you’ll need to modify the code in ui/render/events-json.php and include the event description in the JSON with the event summary, then you’ll also need to make sure you escape the HTML properly or the JavaScript will not work.

  • http://gravatar.com/bakbrucekaiser BruceK

    Hi Andy. This is a really useful plugin. Thanks.

    I’m having trouble getting into the correct time-zone. My WP time is set to UTC-5 on the Settings | General page and the page is showing the correct local time. However, my events on the calendar (and the note at the bottom) are showing UTC-4. Any ideas where to look?

    Thanks again.

    • http://andrewbevitt.com Andrew Bevitt

      @BruceK

      You can set the timezone on the calendar post edit page. You have to allow changing the timezone in the plugin settings for this to work, but if it’s a different timezone to WordPress global then that setting must be enabled.

  • http://gravatar.com/bakbrucekaiser BruceK

    Hi Andy. Thanks for the great calendar. I have two calendars in different websites that are nearly identical, each contected to a google external calendar. Although the width of the monthly calendars are the same, for some reason the width of the events are considerably narrower on one of them. Can you tell me which variables need examining, and which ones effect the width of the event object?
    Thanks

    • http://andrewbevitt.com Andrew Bevitt

      @BruceK

      The width is set to the width of the column, which is set dynamically by the FullCalendar.js library based on the CSS your theme is using. The best way to solve this would be using something like Firebug to inspect the computed CSS styles for the events on each calendar (and their parents in the HTML tree); find where the difference in width comes from and then correct it.

  • http://www.jaba.gr/ George

    Hi,
    When is a mini calendar widget going to be available?

    • http://andrewbevitt.com Andrew Bevitt

      @George

      I’m working on two things at the moment: 1) extra map providers; and 2) a couple of widgets for the calendar content. Unfortunately I other things that are taking priority at the moment so progress is slow. I’ve done about 50% over the last month so at a guess sometime by the end of October.

  • http://gravatar.com/bakbrucekaiser BruceK

    Andy, I’ve noticed that my October calendar has an extra week shown ( Nov 4-10 ). Last month, there were 6 weeks (rows) required to show all of Sept., but I expected this month to be shorter (5 weeks). Will all months appear as 6 rows?
    Thanks.

    • http://andrewbevitt.com Andrew Bevitt

      @BruceK

      http://arshaw.com/fullcalendar/docs/display/weekMode/

      The plugin leaves this setting as the default value of fixed – meaning all months have 6 weeks. If you want to change this you can add a line to ui/client-renderer.php at line 174 for example:

      E: weekends: true,
      A: weekMode: ‘liquid’,
      E: defaultView: ‘$default_view’,

      E = Existing code; A = Additional code

  • http://www.gymartannes.fr Fred

    Bonjour Handy
    j’aimerais pouvoir afficher les évènements aux catégorie par défaut de mon site.
    J’ai tenté de modifier le custom post type , sans succès.

    Pouvez vous m’aider.
    Merci
    ps: je ne parle pas anglais, ce texte est traduit par google translate.
    Excusez les erreurs

    • http://andrewbevitt.com Andrew Bevitt

      @Fred

      Désolé d’avoir pris le temps de répondre.

      Vous ne pouvez pas faire cela avec le plugin. Vous auriez besoin d’un autre plugin qui permet de charger les types de message personnalisé dans votre catégorie de flux / liste.

  • http://www.gymartannes.fr Fred

    Hello Handy
    I would like to display events to default category of my site.
    I tried to change the custom post type, without success.

    Can you help me.
    thank you
    ps: I do not speak English, the text is translated by google translate.
    Excuse errors

    • http://andrewbevitt.com Andrew Bevitt

      @Fred

      Sorry for taking time to reply.

      You can’t do this with the plugin. You would need another plugin which can load custom post types into your category feed/list.

  • http://manowarchurch.org/testsite Jeremy

    Andy, I can’t think you enough for the time and effort you put into this plugin. I can honestly say it is the BEST plugin I could find and I’ve searched a LOT!

    So, I’m having an issue getting it to display correctly on my site (www.manowarcog.org/testsite/mow-calendar). Any ideas what might be happening?

    Thanks for your time!

    Jeremy

    • http://andrewbevitt.com Andrew Bevitt

      @Jeremy

      Thanks for using the plugin!

      I’m always happy to help people get their calendar perfect but I’ve had a quick look at your calendar page and nothing immediately jumps out as being displayed incorrectly. Could you maybe send a screenshot or let me know what doesn’t seem right to you??

  • http://manowarchurch.org/testsite Jeremy

    Hi Andrew,

    I don’t know what fixed it but now it seems to be working. Your plugin is so awesome it self-corrects. Thanks for responding back to me.

    Cheers,
    Jeremy

  • http://manowarchurch.org/testsite Jeremy

    Hi Andy, I’m back and am having the same problem with the calendar as before. It just doesn’t seem to load correctly in my theme. Here’s the URL if you could take a look: https://www.manowarcog.org/calendar.

    Thanks,
    Jeremy

    • http://manowarchurch.org/testsite Jeremy

      Here’s a screen shot of what I’m looking at. I’m going to try to uninstall the plugin and reinstall and see if it fixes anything.

      http://www.screencast.com/t/tdGMtDVk

    • http://manowarchurch.org/testsite Jeremy

      I may have jacked up the code as well. Does this look correct?

      +FEEDS+


      +ENDFEEDS+
      +DESCRIPTION_TEXT+
      +CALENDAR_LOADING+

      +TIMEZONE_DISCLAIMER+

      +FEATURE_EVENT_NOTICE+

    • http://jeremy.bicha.net/ Jeremy Bicha

      I believe the problem is that this plugin needs to be updated for the new JQuery included with WordPress 3.5.

      • http://andrewbevitt.com Andrew Bevitt

        Yes, that is correct – the Javascript component needs to be updated.

        There will be an update out today.

        • http://gravatar.com/jeremystiffler Jeremy

          Great, thank you very much for the quick response!! Andy, I can’t thank you enough for developing this plugin. You are a champion!!

        • http://jeremy.bicha.net/ Jeremy Bicha

          Thanks! I confirm that today’s update works fine with WordPress 3.5.

  • http://andrewbevitt.com Andrew Bevitt

    Version 2.0.0 has been uploaded to the Plugin Directory!

    • http://gravatar.com/jeremystiffler Jeremy

      Works flawlessly as always. Thank you Andy!! Awesome plugin, great work!!!

  • Quintin Giesbrecht

    Hi Andy. Your calendar looks good, except, I can’t get it to show events in the calendar. I have created a calendar, added an event to the calendar for the week of Feb 18th, and nothing shows up. I used the short code [largecalendar name="Holidays"] to display it on a page, and it shows the calendar, but there are no events shown.

    also, in the create event page, if I click on PREVIEW, I get a 404 error – “http://localwebsite/wp/?ecp1_event=quintin” – seems like WP doesn’t know the ecp1_event variable…

    Thanks!

    • Quintin Giesbrecht

      Also, I’m using the latest version of WP (3.5.1)

    • http://andrewbevitt.com Andrew Bevitt

      @Quintin

      If you can send me a link I can check it but from what you have described it sounds like you do not have a permalinks rule set for your WordPress site. (The default post ID based permalink doesn’t work because the plugin needs a custom rule for accessing the JSON events list).

      • Quintin Giesbrecht

        Sorry, site is an intranet site….but, you were right. It is working now.

        Thanks!

  • Quintin Giesbrecht

    Hi Andy. Almost ready to turn my intranet site live, but we have one minor issue with the calendar. We have a sidebar on the right side for recent posts. That seems to be cutting off the calendar on the right side. Is there anyway to adjust the size of the calendar by a few pixels?

    Thanks!

    • Quintin Giesbrecht

      Here is a screenshot:

      http://snj.ca/intranet.png

      • http://andrewbevitt.com Andrew Bevitt

        @Quintin

        Unless you have changed the CSS (fullcalendar/fullcalendar.css) then the calendar should be using 100% of the containing element. If you use something like Firebug you can inspect the style on the elements to see where the sizing is coming from. Is your sidebar floated to the right?

        • Quintin Giesbrecht

          I did not do anything with that file. Yes, the sidebar is floated to the right. Any ideas? I’ll look for firebug, and see what I can find out.

          Thanks!

        • Quintin Giesbrecht

          OK, figured out that it has something to do with the theme I am using (bitlumen), as other themes display properly. I don’t want to change the theme at this point, so I monkeyed with the fullcalendar.css file, and changed .fc-view { overflow: hidden to visible.

          It hangs over my sidebar just a little now, but it looks better this way than the other….so I’ll leave it for now :)

          Unless anyone else has a better fix :)

          Thanks!

  • http://kofc9652.com Ray S

    Hi Andy.

    I love this plugin. Among other things it’s one of the only one’s that I have found that can deal with recurring events on a particular last weekday of the month – thanks a lot!

    One small problem has crept in that started yesterday. Now the plugin seems to be having trouble collecting and displaying the map data. Should I be looking at the security settings of certain files to fix this?

    • http://andrewbevitt.com Andrew Bevitt

      @Ray S:

      I don’t think it will be file security. Issues with mapping usually involve either a conflicting mapping library being loaded by another plugin/theme or changes in the map provider API. If this started yesterday then I would be checking what changed yesterday: did you update any plugins? If you’d like I’m happy to have a look and see if it’s an issue with my plugin – send me a link to the calendar page and the name of an event where mapping is malfunctioning.

  • http://kofc9652.com Ray S

    Hi Andy.
    It must have been a little glitch with Google. I selected OpenLayers as the provider in the settings, saved the settings and confirmed that it worked. Then I went back into the settings and selected Google(v3) and saved it, and now everything is normal again.

    Just thought I should let you know.

    Many thanks again!

    • http://andrewbevitt.com Andrew Bevitt

      Excellent news!

  • Jeff

    Love the plugin! I am just having one issue with it. My full view is displaying my external calendars great, but for some reason my list view is displaying WordPress event info but not any external calendar information. Are there any tricks?

    I am using:
    [eventlist name="Sheridan Lutheran Calendar" starting="2013-06-01" until="2013-08-01"] and there are events in that range on my Google Calendar.

    • http://andrewbevitt.com Andrew Bevitt

      @Jeff

      Sorry for the delay in replying.. have a bit of a busy work schedule in July and a baby for coding to compete for time with. I don’t really know why external calendars wouldn’t be working for you in list view if they are in calendar view… but the two mechanisms are different. The calendar view pulls the feed using JavaScript whereas the list view pulls it in PHP. So my guess here would be that the PHP call is failing (line 283 of ui/shortcode/event-list-calendar.php): is there anything in your server logs?

      • abeswede

        I was able to hack together a fix of the timezone problem with the PHP module but now I am running into problem with the cache length? How long is the cache supposed to be held for reading by this module? I find that items I changed a week ago on Google Calendar still haven’t been changed in the PHP module. Any ideas how to tweak that timing? Thanks again!

        • http://andrewbevitt.com Andrew Bevitt

          You can specify the length of time events should be cached in the plugin settings. Depending on what you have it set to at the moment, maybe try making it 1 day. Or even say 3600s.

        • http://andrewbevitt.com Andrew Bevitt

          Feel free to submit patches for timezone fixes (https://github.com/andrewbevitt/everycal).

  • https://www.facebook.com/perry.harward Perry Harward

    Hi and thanks for the plugin.

    I am trying to use this plugin on a test system on my localhost computer. It is getting correct RSS feeds for calendar but is not displaying events imported from civicrm civicevents. Since you have updated in November 2013, has anyone contacted you with any issues of not posting calendar events from civicrm events?

    • http://andrewbevitt.com Andrew Bevitt

      @Perry

      No one has reported any issues. The CiviEvents loader looks for events that are public and not a template (as per line 78 https://github.com/andrewbevitt/everycal/blob/master/includes/calendars/civicrm.php). If your CiviEvent is public then it could be a JSON generator error. If you look at the JavaScript output on a calender page you’ll find a list of URLs to pull JSON from try opening the relevant URL manually and see what you get.

      • https://www.facebook.com/perry.harward Perry Harward

        I have checked the feed links. Here’s what I have as the following:

        _feedLinks
        Object { iCal / ICS=”http://localhost/amtanc…ent-calendar/events.ics”, Outlook WebCal=”webcal://localhost/amta…ent-calendar/events.ics”, RSS=”http://localhost/amtanc…ent-calendar/events.rss”}

        Outlook WebCal
        “webcal://localhost/amtanc/ecp1/event-calendar/events.ics”

        RSS
        “http://localhost/amtanc/ecp1/event-calendar/events.rss”

        iCal / ICS
        “http://localhost/amtanc/ecp1/event-calendar/events.ics”

        I imported the ics calendar feed to a google calendar to see what is going on and it had no event data.

        When I look at the java script for this I have the following:


        I did have calendar events all public. I created most using a template. I created another calendar event in civicrm without a template and I am still getting nothing on the calendar. I am wondering if I need another plugin to assist json or UPDate jquery. My theme uses Jquery as well in their on package.

        I switched the theme back to a standard wordpress theme Twenty Fourteen. Still not getting this to bring the information over.

        I really do appreciate your help. What should I look at next?

        • https://www.facebook.com/perry.harward Perry Harward

          somehow it was missing the Java Script
          ***
          ***
          ***

          ***

      • https://www.facebook.com/perry.harward Perry Harward

        I think this is what you were looking for:
        http://localhost/amtanc/ecp1proxy/event-calendar/civicrm/events.json?ecp1_start=1388379600&ecp1_end=1392008400&_=1389470313598

        When I put that in my browser I got the following warning:

        Warning: include_once(C:\wamp3\www\amtanc/wp-content/plugins\civicrm\civicrm\civicrm/api/class.api.php): failed to open stream: No such file or directory in C:\wamp3\www\amtanc\wp-content\plugins\every-calendar-1\includes\calendars\civicrm.php on line 38
        Call Stack
        # Time Memory Function Location
        1 0.0000 144800 {main}( ) ..\index.php:0
        2 0.0000 146896 require( ‘C:\wamp3\www\amtanc\wp-blog-header.php’ ) ..\index.php:17
        3 10.1875 18362944 require_once( ‘C:\wamp3\www\amtanc\wp-includes\template-loader.php’ ) ..\wp-blog-header.php:16
        4 10.1875 18363208 do_action( ) ..\template-loader.php:12
        5 10.2344 18549752 call_user_func_array ( ) ..\plugin.php:429
        6 10.2344 18549768 ecp1_rewrite_custom_template( ) ..\plugin.php:429
        7 10.2812 18584400 require( ‘C:\wamp3\www\amtanc\wp-content\plugins\every-calendar-1\ui\templates\proxy-json.php’ ) ..\check-custom-template.php:38
        8 10.3281 18657736 ECP1CiviCRMProxy->fetch( ) ..\proxy-json.php:102
        9 10.3281 18658304 _ecp1_load_civievents( ) ..\civicrm.php:73

        Warning: include_once(): Failed opening ‘C:\wamp3\www\amtanc/wp-content/plugins\civicrm\civicrm\civicrm/api/class.api.php’ for inclusion (include_path=’.;C:\wamp3\www\amtanc/wp-content/plugins\civicrm\civicrm\;C:\wamp3\www\amtanc/wp-content/plugins\civicrm\civicrm\\packages;.;C:\php\pear’) in C:\wamp3\www\amtanc\wp-content\plugins\every-calendar-1\includes\calendars\civicrm.php on line 38
        Call Stack
        # Time Memory Function Location
        1 0.0000 144800 {main}( ) ..\index.php:0
        2 0.0000 146896 require( ‘C:\wamp3\www\amtanc\wp-blog-header.php’ ) ..\index.php:17
        3 10.1875 18362944 require_once( ‘C:\wamp3\www\amtanc\wp-includes\template-loader.php’ ) ..\wp-blog-header.php:16
        4 10.1875 18363208 do_action( ) ..\template-loader.php:12
        5 10.2344 18549752 call_user_func_array ( ) ..\plugin.php:429
        6 10.2344 18549768 ecp1_rewrite_custom_template( ) ..\plugin.php:429
        7 10.2812 18584400 require( ‘C:\wamp3\www\amtanc\wp-content\plugins\every-calendar-1\ui\templates\proxy-json.php’ ) ..\check-custom-template.php:38
        8 10.3281 18657736 ECP1CiviCRMProxy->fetch( ) ..\proxy-json.php:102
        9 10.3281 18658304 _ecp1_load_civievents( ) ..\civicrm.php:73
        Could not load events from source.

        • http://andrewbevitt.com Andrew Bevitt

          @Perry Harward

          OK so it seems there is a bit of a mistake in how I’m defining the CiviCRM install path. The inconsistency is with how CiviCRM defines the CIVICRM_SETTINGS_PATH constant. It is first defined in plugins/civicrm/civicrm.php as plugins/civicrm/civicrm.settings.php; but is also defined in plugins/civicrm/civicrm/civicrm.config.php as (I think) plugins/civicrm/civicrm/../civicrm.settings.php. My plugin assumes the class API is at civicrm/api/class.api.php (under the plugins/civicrm) so when I concatenate the path it gives you three civicrm/ folders where there should only be two.

          The only way I can see to fix this is to hard code the path like how CiviCRM do it. I’ve just pushed a change to the git repository which should fix this (https://github.com/andrewbevitt/everycal/blob/master/includes/calendars/civicrm.php) if you grab raw file and place it in your plugins/every-calendar-1/includes/calendars/ folder it should work. If it does then I’ll push this change as a new version.

          • https://www.facebook.com/perry.harward Perry Harward

            Thank you very much.. this will work.

          • http://andrewbevitt.com Andrew Bevitt

            A new version with this applied has been released! Thanks for working through it with me.

  • http://hurricanechurchofgod.org Todd M

    Hi Andy,
    I have been trying to use multiple Calendars, but not at the same time, to list event entries and nothing I am doing is working. I don’t see Calendar under Events but I do see EventCal+1 underneath Settings. I am sure I am doing or not doing something correct. I just want to display the Calendar and this could be a replication issue so I will wait and come back tomorrow.

    However, in the mean time can you posibly advise me as to what I might have done wrong. I installed your plugin and selected EventCal+1 under Settings. There I see what your document tells me I will find. When finished there I, like I said, don’t see Calendar under Events. Thanks I will check back tomorrow.

    • http://andrewbevitt.com Andrew Bevitt

      Hi Todd M,

      If you don’t see the Events menu entry in the side panel – or if you don’t see the Calendars link in the Events menu then I’d guess there is some compatibility issue between EveryCal and someone plugin/theme you’re using. The URL for the calendars page is YOUR_SITE/wp-admin/edit.php?post_type=ecp1_calendar and for events YOUR_SITE/wp-admin/edit.php?post_type=ecp1_event. See if you can manually access the admin pages.

  • http://all4energy.wordpress.com all4energy

    Does the widget cache the feed or is it refreshed all the time?

    I made changes to my google calendar which show fine on the full calendar page but the widget still shows the old info.

    • http://andrewbevitt.com Andrew Bevitt

      All external calendar operations that run in PHP have their data cached. This is to avoid too many outbound connections from the host server on each request. You can change the cache expiry time in the plugin settings page: “Cache locally for … ” – the default is 1 week.

  • http://ontarioachi.ca Len Inkster

    I’m getting the following error:

    PHP Warning: Invalid argument supplied for foreach() in //wp-content/plugins/every-calendar-1/widgets/register.php on line 23

    This appears every time a page on the site is refreshed. Disabling the plugin removes this error.

    • http://andrewbevitt.com Andrew Bevitt

      @Len

      Thanks for reporting the error.

      Could you tell me the version of WordPress you are running? and the version of PHP?
      Do you have any specific PHP configuration in place that effects global variables?

  • http://gravatar.com/stefanbmoeller Stefan

    Translation of this plugin? I am trying to translate it into danish using CodeStyling Localization, but it is not possible.

    How can I translate this plugin?

  • http://www.hippieboydesign.com Chris Radloff

    Hello, and thank you for developing such a perfect plugin – it fits my needs beautifully! But, of course, there’s always a glitch, and I’m sure it’s something on my end.

    I’m using the plugin two ways – a main calendar that takes up an entire page, and the widget in the right sidebar of my site (www.nwiaalr.com). The main calendar works perfectly, but the information in the widget doesn’t seem to refresh… The events listed there are six weeks old, and aren’t deleting to make room for the new events we have coming up.

    My settings are:
    When to Publish: RSS Date 1 Year
    Period to Export: How far back? 60 seconds
    Period to Export: How far forward? 1 Year
    External Calendars: (Checked – I’m using Google), Cached Locally for 60 seconds

    I’ve tried using wildly different settings in those areas, but it didn’t seem to make a difference. I’ve let the website sit for a month, but the sidebar still doesn’t update.

    Do you have any ideas what I may be doing incorrectly? Again, the site in question is http://www.nwiaalr.com.

    Thank you for your time!