Events Calendar Version 6.4

Added language support from Heirem.

Ian72 gave fix for file_get_contents errors.

About Luke

Coding enthusiast...Comedy Lover...Husband to Beautiful Woman...Father to Two Rambunctious Sons.
This entry was posted in Wordpress Plugins. Bookmark the permalink.

99 Responses to Events Calendar Version 6.4

  1. -nikkio- says:

    Hi!

    I’ve translated the plugin in italian, but the dates are still in English… What’s wrong??

    P.S. If you want I can post the lang files

  2. torete says:

    phpBB Debug] PHP Notice: in file C:/AppServ/www/wordpress/wp-content/plugins/events-calendar/ec_calendar.class.php on line 42: file_get_contents(http://80.37.4.27/wordpress/wp-content/themes/the-speed-blog-10/thespeedblog-10/style.css) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found :(

  3. I would really like some help on why the new 6.4 doesnt schedule the post now. it just leaves the new events in Unpublished Mode.. Is there a way to fix this.

    Running worpress 2.5.1

    and it still interfers with somthing on my theme… and suggestions would help

    http://www.mypctechsupport.com/nor-cal/

  4. Earl says:

    Hey..

    I got in the same situation as nikkio.. I’ve translated it to my language, but the dates are still on english..
    Hope there will be a fix for this soon.. :)

  5. Stefan says:

    Hi
    great plugin. I am using the “event list”. all is working fine. only the date of the events will not appear in the sidebar. I am using WP2.5.1 and your latest version. any ideas??

  6. LoGraYThS says:

    Hey there…

    This is a wonderful plugin for my capoeira website, I can announce the schedule for the incoming events of my group.

    But I’m having the same problem as -nikkio-:

    Translated to Spanish and the only thing that is not displaying in spanish but english is the Widget Calendar List on event rollover.

    What else is needed to display it in my language?

    Hope you can give us answer soon.

    Greetings and thanks for your great work!

    Juanjo

  7. pasqua says:

    Hi
    great plugin, but I have the same problem as nikkio. I can not translate the calendar in french.

    Is there an operation to be done to activate the file
    .Po and .Mo?

    Hope there will be a fix for this soon… :)

  8. Heirem says:

    @Pasqua, to activate .po and .mo you need to use poedit.exe (http://www.poedit.net). Before translate, delete .mo, copy and rename ‘events-calendar-fr_FR.po’ in something like ‘events-calendar-it_IT.po’ for italian. Open this file with Poedit, and dont forget to configure the catalogue in. Recording the .po generate the .mo ;)

  9. Heirem says:

    @NorCalConnection, in the file ec_management.class.php, line 58 ; change
    “, ‘post_status’ => ‘draft’”
    by
    “, ‘post_status’ => ‘publish’”

  10. Mor says:

    Hello,

    Awesome plug in. Very easy to use and effective. I installed it on http://www.potomacoakscondos.org and get this error :
    “Warning: file_get_contents(http://www.potomacoakscondos.org/wp-content/themes/spotlight-13/style.css) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/morvimme/public_html/potomacoakscondos/wp-content/plugins/events-calendar/ec_calendar.class.php on line 42″

    Any idea why it happenes and how I can fix it?

    Thanks,
    Mor

  11. Heirem says:

    I spotted some problems with internationalization. To do some tests correct them, I need langages files (events-calendar-xx_XX.po). From different languages of french and english of course. You can send them to me : rmalkafr@yahoo.fr. Thank you in advance. Heirem

  12. Heirem says:

    When browsing months in the calendar Widget does not appear, it is possible that you have not deactivated the plugin before updated it. To solve the problem you can deactivate and reactivate it. For me, this solution worked on a test site;) Heirem

  13. Heirem says:

    Another tip: Make sure there are no fields blanks in the events calendar options ;) Heirem

  14. triffen says:

    I have been having the same problems as Mor. I have gone through and reset everything (deactivate/reactivate, changed and reloaded the options, etc). I saw no change in my error (in the same place), see below.

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/.jezabel/lartech/larson-tech.com/james/wp-content/plugins/events-calendar/ec_calendar.class.php on line 42

    I used the previous version and loved it. I am looking forward to having this one working.

    Thank you,
    triffen

  15. triffen says:

    I have been doing a little messing around with this, and discovered that the error I am receiving only happens when I am using the small calendar option on the sidebar. When I change to events, it looks good.

    Needless to say, adding an event doesn’t seem to get rid of the error messages.

    triffen

  16. pasqua says:

    thank you for your prompt response. I’ll try…

  17. ronbme says:

    @triffen

    The reason you are getting that error is that the function is disabled on your server. There is a workaround put out by Ian72 on the WordPress forums. Here is the link:
    http://wordpress.org/support/topic/179911

    You will need to use this.

    Ron

  18. ronbme says:

    @Stefan,

    Are you referring to the info in the tooltip when you cursor over the event? The date will not show up there. Neither will the time, unless you put in a specific time.

    The date should show along with the title of the event
    in the event list.

    Ron

  19. ellen says:

    great calendar! but i’m searching for this: can you make 2 dropdown menus so a visitor can choose the month and year?

  20. Joshua says:

    I cannot get my calendar to change months when I click them on the calendar page that is public. The admin one works fine but i just cannot get it to be able to browse months on the public side only the current month. I am not getting any error messages. I had same problem with previous version of plugin. I disabled and deleted previous plugin before installing new one.

  21. mdiehl says:

    Thanks for the great plug in. I sent the translation files for german to Heirem and hope they help. The name for the months and days seem to be definded in the java script applets in the js folder.
    Since there is no localisation for these files one has to translate them by hand and overwrite the original ones. I didnt try that out by now, just a hint for those who were asking for that.

  22. Earl says:

    @mdiehl,

    I just tried that, but it didn’t work :-(

  23. Mjkhl says:

    Hello,
    first – thanks for cool plugin. It is very usable.

    Second – I have same issue as other guys here – I’ve translated the po to Czech, but MONTH NAMES and DAY NAMES remains ENGLISH…
    Whole plugin, admin background is translated, but month and day names REMAINS ENGLISH.

    I even hardly edited .mo file using vi and then recompiled it using poedit (cause in poedit you cannot edit day and month names in those mo/po’s)- after recompiling po – month and date names are still in English!

    Even if I translate original strings, it remains English, even in plugin folder there is no other file containing strings like “Monday”, “May” etc.
    (I originally thought that the names are taken directly from po – thats why I was trying to edit original name strings too)

    I was seeking for a way, how is plugin getting day and month names but I am not a programmer and I wasn’t able to find it.

    I also have my Czech .mo and .po’s, if you want to add it to your repository, I will send it to You :)

    Thanks, buddy, for great work, I hope that sam fix will appear soon.

  24. Heirem says:

    Hello all,

    I have received the files .po for Spanish, German and Czech. Thanks to Juanjo, Matthias and Mijk. So dont send your files if you are involved in one of these languages.

    However, if you work in another of these languages, other than french too ;) , then please send me your language file also contained in the directory “wp-content\languages” from WordPress. And also WPLANG and DB_CHARSET defined in your wp-config.php. Thank you in advance.
    .

  25. Mjkhl says:

    IMHO Heriem thought ‘/wp-includes/languages’ instead of ‘/wp-content/languages’ ;)

  26. Mjkhl says:

    In future vesion, I would like to kindly ask Luke to hardcode date and file names into an array inside the plugin’s .php to fix the localisation issue.
    Thanks, brave developer :)

    In side of CformsII this is the most useable plugin for WordPress, which have I ever seen ;) You have five stars

  27. maker says:

    hi, very nice work, but where is the large calendar for the users? /calendar does not work…
    thx

  28. Sean Bryant says:

    I have resolved the problem with the widget calendar disappearing when you hit the next and previous months. Actually Luke, you can probably replace this in your general release.

    For those of you who are having problems with the next and previous buttons with the sidebar widget, it seems to be a problem with web hosts not allowing file_get_contents command. You can resolve this by editing ec_calendar.class.php and replacing the following line:

    $ecData = file_get_contents($ecFile);

    with this code:
    // to replace file_get_contents
    $ch = curl_init();
    $timeout = 5; // set to zero for no timeout
    curl_setopt ($ch, CURLOPT_URL, $ecFile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $file_contents = curl_exec($ch);
    curl_close($ch);
    // display file
    $ecData = $file_contents;

    //$ecData = file_get_contents($ecFile);

  29. Ron says:

    Localization of dates:

    In eventscalendar.php on line 40, there is

    setlocale(LC_TIME, $setloc);

    Change $setloc to you locale. In my case that is nl_NL. Now it works for me.

  30. Mjkhl says:

    for Unix hostings change to:

    cs_CZ.UTF-8
    (your your locale – fr_FR, cs_CZ, ru_RU and your codepage – UTF-8, ISO-8859-2 etc.)
    For proper showing in languages with other, than ISO-8859-1 characters in their codepage (many langs) is also needed to get rid of all htmlentities()
    in “ec_calendar.class.php” – this instruction is converting characters to HTML entities – for example “é” character it converts to “é”, which is resulting in wrong interpretation of glyphs. I also don’t think there is need to sanitize locales.

    - after this modification it works for me very well in Czech language, which has 15 more glyphs than ISO-8559-1

  31. jeanmarc says:

    wordpress 2.51 in french
    unable to make events calendar work in french, either in widget or big calendar. but nextgen gallery, simple press forum and zdstats work correctly in french

    can you help me please (I tried also to change $Setloc by “fr_FR”)

    no results

  32. Mjkhl says:

    try to use this patch, backup your original files first!

    If still not working, try to change .UTF-8 in events-calendar.php on line 40 to your codepage,.ISO8859-1 ?

    Thanks, Luke and Heirem! With this patch it works fully translated for me now.

  33. Hedd Gwynfor says:

    I’ve translated into Cymraeg/Welsh using Poedit, and have uploaded the two following files to events_calendar/lang:

    events-calendar-cy_GB.mo
    events-calendar-cy_GB.po

    I’ve also changed the following in eventscalendar.php

    setlocale(LC_TIME, $setloc);

    to

    setlocale(LC_TIME, ‘cy_GB’);

    But everything is still showing in English for me. What else do I need to do?

  34. Henrik says:

    Hi could you please fix this:
    *******************************
    Bad Form Plugins

    These plugins have included the ‘wp-includes/pluggable.php’ file directly, which is bad form and usually cause all pluggable functions to be inaccessible to other plugins. Because of this, the function wp_new_user_notification(); cannot be overridden by Register Plus and all notifications will be WordPress defaults. These plugins should be fixed by their author to conform to WordPress standards to allow other plugins to function properly.

    * Events Calendar ( Plugin | Author)

    If you are the author of any of the above plugins and have any questions about the conflicts please send me an email and I would be happy to work with you to get things working together.
    **********************
    http://skullbit.com/news/register-plus-conflicts/

  35. fred says:

    hello, i have problem, when i want to write new event, i can’t see it after in calendar, i think i have a problem with sql, i don’t see the table create in database.
    do you have a script to create it ? or is the problem different ?

  36. Mjkhl says:

    Hedd Gwynfor: once again: change
    setlocale(LC_TIME, ‘cy_GB’);
    to
    setlocale(LC_TIME, ‘cy_GB.UTF-8’);

  37. Andrew says:

    I cannot get the months browsing function to work in the EventCalendar widget. I am stuck on the current month. I am using the latest version of the widget. Please advise!

  38. Heirem says:

    Hello all !

    The problems that you have all met with the WordPress plungin of Luke Howell, that I updated for the internationalization, came from PHP functions somewhat … capricious! Like set_locale() ;)

    I returned to work and I changed approach. I am based on the method internal WordPress for translations of dates.

    From my side everything is working properly. But I know it means nothing and that what I do has to be tested in your respective languages.

    I am ready to send this test version to whom want. This to carry out tests and any necessary corrections.

    Four languages are available in addition to English: French, German, Spanish and Czech.

    If you practice a language other than these, nothing prevents you from making a translation. It’s very easy with the free software PoEdit.

    To do this, just write me: rmalkafr@yahoo.fr

    Cordially
    Heirem

  39. Jmason says:

    hello,
    I installed the plug-in and if i create events, they post ok. But, they don’t show up on the calendar and the dates don’t change to indicate there is an event on that date. I have PHP and mySQL with WP 2.6 installed on IIS6.0. any thoughts?

  40. Anja says:

    How to translate event calendar:

    1. Find events-calendar.php in your event calendar plugin.

    2. Go to line 40

    3. If you speak Danish, change $setloc to $da_DK. If you don’t, find out what your codes are. If you installed WordPress in your own language, it’s mentioned in wp-config.php line 22.

    4. Download poedit at poedit.net and install it.

    5. Find events-calendar-fr_FR.po in your event calendar plugin. Download it.

    6. Open the file with poedit. Translate the French stuff into your language instead.

    7. File > Save as … Save your translation as a po-file and a mo-file. If you speak Danish, name them events-calendar-da_DK.po and events-calendar-da_DK.mo

    8. Upload them to where they came from in your event calendar plugin.

    9. Deactivate and then activate the event calendar plugin.

    Now it should work. Go to your event calendar admin-area to see if it’s in your language.

    This does not translate the days and months. Haven’t figured out how to do that yet…

  41. Machi says:

    Hi, Heirem please are you able to send me a Czech localization file to machala.jakub[/at\]gmail.com? thanks…

    And another two problems I have:
    1) The start and end time in popup isn’t showing. I disabled all plugins but it still didn’t work. I’m running WP 2.6, so maybe that is the problem? Look at it by yourself: http://www.uherskohradistsko.cz/kalendar-kulturnich-akci/ (I’ve just activated Shutter plugin, but it shouldn’t be any problem).

    2) One small suggestion. I need a simple function, another field (such as Location, Description) for HTML link to any location (eg. WP post). And if admin use this field, the event title should be clickable to set location. What do you think about it? A haven’t found any solution how to do it. If I use HTML in title field, it’ll break :(

    Your plugin is awesome, thanks for great work. Machi

  42. Diego says:

    Heirem:
    I’m very interested in testing your new version of the Events Calendar, I have the Spanish version of wordpress.
    Cand you send it to me?
    Thank you very much in advance.
    Diego Stilman.

  43. JSnock says:

    This plugin sounds like it’s the one for me, but when I add an event it doesn’t show up on the big or widget calendar. I’ve tried updating, then deactivating and reactivating the plugin, but it still doesn’t appear. Any tips? Thanks!

  44. Heirem says:

    Hello all,

    The localization update of Events-Calendar that I produce has been tested successfully by Mijk, Jakub, Diego and Michael. As none of us has encountered problems I proposed to Luke its dissemination. But I have not yet received a response from him. It may be on vacation;)

    I do not know how to provide this version to all those who desire. Neither course file in the directory of WordPress plugins. I send it to anyone who asked me (rmalkafr@yahoo.fr). But if you have a better idea, I am taker!

    Best Regards
    Heirem

  45. ozi says:

    hi,

    i translated the .po file but i seem to have some troubles with editing the .php files.
    i can not have it (the plugin) to accept my new language.

    i tried editing the line 40 but no luck!
    if anyone is interested i translated it in to slovenian…

  46. Dario Novoa says:

    I’m getting a JQUERY is not defined error… ANy help?

  47. Crupe says:

    hello,

    i’m having the same problem as JSnock, whenever i add an event nothing happens. it doesn’t display under the events-calendar section in wp-admin or the large calendar in my post. if i choose the option “create post for the event” it does that, but doesn’t display anywhere else. i’ve uninstalled and reinstalled, same thing. any thoughts?

  48. Crupe says:

    @jsnock

    my problem was the table was not being created in the database, so i created it manually and now all is well. hope this helps.

  49. Andy says:

    Quick question. Everything working fine but when I click on a date “for more detail” I get the time/locale, etc. I’ve used the “create a post” option in which I’ve provided more detail (summary of event, photo, etc.) Is there a way to link from the “more detail” page directly to the post? thanks.

  50. Heirem says:

    Hello everybody,

    I recall that I have produced a new version of Events-Calendar (v6.4.1), which is stable and has been successfully tested by those who have asked me (rmalkafr@yahoo.fr).

    I sent this version to Luke Howell, I’ve even proposed to take over the plugin and its support with. But I have not yet received a response from him. It is perhaps he is in hollydays on a beautiful beach, surrounded by beautiful women! ;)

    Those who want the latest version of the plugin must for the time ask me by email. Pending agreement with Luke I can distribute it on a blog.
    Best regards
    Heirem

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>