WordPress.org

Forums

[Plugin: Events Calendar] Do not update! 12-12-09 (30 posts)

  1. Snackmaster
    Member
    Posted 6 years ago #

    I made the mistake of Updating to the latest version via my Admin Plug-in manager - BAD NEWS! All images on the site became an animated gray gif.

    "There is a new version of Events Calendar available. View version 6.6-beta Details or upgrade automatically."

    I disabled and deleted the plug and per the note on the authors site reverted back to 6.5.2.1 and am working.

    This needs to be removed from WP-Admin ! My site is still telling me to upgrade!

    Otherwise... love the plugin, and sorry to gripe but that's a pretty shocking change.

    http://wordpress.org/extend/plugins/events-calendar/

  2. shane_tactical1
    Member
    Posted 6 years ago #

    Hi Snackmaster,

    That problem can be fixed fairly easy.
    Go into your plugins folder and go to the events calendar plugin.

    Open the file ec_js_class.php

    and change this line (think its line 309)
    jQuery("img").attr("src", arguments[i]);

    to

    jQuery(".events-calendar img").attr("src", arguments[i]);

    That should fix the problem and your images will no longer be loading gifs.

    Im trying to figure out how to fix a few bugs with the 6.6 version.
    I wondered if you had had any problems with the older version you have been using?

    I upgraded to the 2.9 version of wordpress and the tooltips stopped working on the calendar in the 6.6 version.

    I also found, and this was even before upgrading to wordpress 2.9 that the 6.6 version wont let me add events in IE. It works in Firefox and safari but not IE. I havent found a fix for this either.

    This calendar has been the best one i have found but these bugs are a proper pain in the butt!

  3. vangrog
    Member
    Posted 6 years ago #

    The 6.6 is a beta version they have released sorta by accident. So it has a bunch of bugs. Many of them (including the one u mentioned) have already been fixed and can be downloaded from their forum. Check it out to get more details (I think it's necessary to register to the forum to be able to download their patches; anyways, you can also find answers for most bugs on their forums -- not necessary to be registered to read it).

  4. vangrog
    Member
    Posted 6 years ago #

    @ shane_tactical: I'm using WP 2.9 as well, and tooltips continue working to me normally.

    About adding events in IE, there's a patch to correct that. You can download it from their forums.

    Cheers

  5. vangrog
    Member
    Posted 6 years ago #

    Easier. I uploaded to u guys a patched version of Events Calendar 6.6 (changes made the developers themselves and contributors from their forums). It corrects some bugs, including the ones mentioned here. If it doesnt, lemme know and I'll compile a new pack.

    Cheers

    http://rapidshare.com/files/323969512/events-calendar-6.6-patched.zip.html

  6. shane_tactical1
    Member
    Posted 6 years ago #

    That is super vangrog.

    As soon as i installed that patched version it fixed both my problems. The tooltips started working again and it now lets me add events in IE.

    Hope you have a great Christmas, if you celebrate it that is!

    Cheers,

    Shane

  7. vangrog
    Member
    Posted 6 years ago #

    np..
    i'm glad it worked for you..

    merry cmas for you too! ;o]

    cheers

  8. factorsim
    Member
    Posted 6 years ago #

    Hi!

    The link isn't work. A rapidshare limitation... Could you publish the patch in another place, please?

  9. kuwebservices
    Member
    Posted 6 years ago #

    The real solution is fixing the image preloader to properly preload the images by creating a new <img /> element instead of selecting every image in the page:

    jQuery("<img />").attr("src", arguments[i]);

    I submitted this as a patch in their bug tracker.

  10. vangrog
    Member
    Posted 6 years ago #

  11. Gr1f
    Member
    Posted 6 years ago #

    Thanks for this guys as it also fixed an issue with events in the large calendar not showing in safari and other browsers :-)

  12. wickedwidget
    Member
    Posted 6 years ago #

    Hi - Thanks - I've installed the patch and it all works fine - except:

    how do you delete an event?

    Urgently need to know this!! Hope to hear from you soon

    cheers
    :)

  13. vangrog
    Member
    Posted 6 years ago #

    Unfortunately there's no easy way to find events for editing/deleting on Events Calendar (that's what this plugin misses the most, imo). You have to use the large calendar that appears on your administration page and forward it to the date of the event. There you'll see the event and will have the option to edit or delete it.

    Cheers

  14. wickedwidget
    Member
    Posted 6 years ago #

    Hi Vangrog - thanks for getting back -

    I found what I had to do was click on the red x and then I get the opportunity to delete the event - should have cottoned on to this earlier - thanks for your help

    cheers

  15. Ben Dunkle
    Member
    Posted 6 years ago #

    Hi guys I tried updating the plugin with the patched files but I can't get the tooltips to work or even the events to show up. Firfox's error console just says "Error:ecd is not defined". I deactivated the plugin, deleted the entire events-calendar folder from the plugins dir, downloaded the patch from the 4shared link, unzipped it, moved all the files from the FIXED.ec-beta6.6-patched into the parent events-calendar folder, uploaded it to my plugins dir, reavtivated the plugin, made sure
    "jQuery Extrem Protection (checked = yes) (Check if you don't see the Tooltips)" was checked in the options screen, and I still get the error. SidebarEventsCalendar(); displays a blank calendar and SidebarEventsList(); lists the events, so something is working.

  16. vangrog
    Member
    Posted 6 years ago #

    What's your site?

    P.s.: it works fine for me with "jQuery Extrem Protection" disabled. But enabling it causes error for me as well.

    Cheers

  17. greatestates
    Member
    Posted 6 years ago #

    I just downloaded and installed the 6.6 patched version. It doesn't show up on my plugins page, but it does show on the left sidebar in the admin view. Is this how it's supposed to work?

    Also, where is the calendar supposed to show up? I added an event and can see it in the admin area, but nothing shows up on my website. I'm not even sure what its supposed to look like, or if I can customize it at all. The documentation is crappy!

  18. Ben Dunkle
    Member
    Posted 6 years ago #

    Vangrog-it's at http://www.myrohto.com/news_beta.php
    Thanks for looking into it.

  19. vangrog
    Member
    Posted 6 years ago #

    Your site is not loading the javascript files. For that sidebar calendar, it'd need to load these 2:

    <script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
    <script type='text/javascript' src='/wp-content/plugins/events-calendar/js/jquery.tooltip.min.js?ver=1.3'></script>

    And the CSS:

    <link type="text/css" rel="stylesheet" href="/wp-includes/js/thickbox/thickbox.css" />
    <link type="text/css" rel="stylesheet" href="/wp-content/plugins/events-calendar/css/events-calendar.css" />

    Then another script:

    <script type="text/javascript">
    	// <![CDATA[
    	var ecd = {};
    	ecd.jq = jQuery.noConflict(false);
    	//]]>
    </script>

    And at the bottom:

    <script type="text/javascript">
    // <![CDATA[
    tb_pathToImage ="http://www.brazilusa.com.br/wp-includes/js/thickbox/loadingAnimation.gif";
    tb_closeImage = "http://www.brazilusa.com.br/wp-includes/js/thickbox/tb-close.png"; ...........
    ...........
    .......
    ...

    Something is wrong. It seems only the last part (thickbox) is loading on your site. Did you edit any of the files? Tried to move where those javascripts load or set them to load embedded in your template? I dont recommend any of that for this plugin (unless you are really sure of what you are doing). It's not easy to edit it, probably because it's still a rough beta. Moving things can easily make it crash.

    Try disabling it. Delete all files, and delete its table at your database if you have access to it. Upload the patched pack I linked here and install the plugin again. See if it works.

    If it doesnt, it might be a conflict between this plugin and another plugin or your template.

    Cheers

  20. swhitinger
    Member
    Posted 6 years ago #

    Calendar Widget is not Pulling Timezone

    For some reason the Calendar Widget is using the timezone of UTC and is changing the date of the calendar to the next day 5 hours early. I have checked the setting in WP and it is properly set.

  21. vangrog
    Member
    Posted 6 years ago #

    @ greatestates: you have to add this code into your template sidebar, if want to embed the calendar:

    <?php SidebarEventsCalendar();?>

    About widgetizing it, sorry but I can't help. I only use embedded plugins codes, nothing widgetized.

    Cheers

  22. vangrog
    Member
    Posted 6 years ago #

    @ swhitinger: Sorry, but I havent seen that error, so I cant help. Anyway, if you want to change the format dates are showed, you have to go to events calendar options page, and set it there, such as: m-d-Y
    That exemple will show the date as: 01-19-2010

    Cheers

  23. kweilbacher
    Member
    Posted 6 years ago #

    I just installed your plugin on a WP 2.9.1 site. Using IE8, I am unable to add an event. It simply does not display the Add Event page. I've tried using compatibility mode, but that doesn't help. I can use Firefox and the Add Event works fine.

  24. vangrog
    Member
    Posted 6 years ago #

    Try using the patched pack linked above on this thread.

  25. Dylls
    Member
    Posted 6 years ago #

    Hello staff
    I wonder how to solve the non-redirection "Click date for more details," because when you click this little window is not directed to the post on and gives a message in the browser "error on page". Both version 6.5.2 as the 6.6 (Patch) the Events Calendar and WordPress 2.8.4 or 2.9.1 and other issues give this error.

    Thank you in advance.

    Note Translated by Google Translator Brazil Portuguese into English.

  26. Dylls
    Member
    Posted 6 years ago #

    Nobody has any idea how to get the "EC" redirects to the related link?

  27. James Mehorter
    Member
    Posted 6 years ago #

    Hi All,

    I'm having some issues with the SideBar implementation. Im using 6.6 Beta on WP 2.9.1 with the patch from above. The large calendar works fine. On the page displaying the sidebar; firebug is calling the following error..

    unterminated string literal
    .attr('title', '\n

    Here is a snippet from View Source...

    (function($) {
    ecd.jq(document).ready(function() {
    ecd.jq('#events-calendar-10')
    .attr('title', '
    <ul class=\"EC-tt-widget-day-event\">
    <li class=\"EC-tt-widget-day-event-title\">Testgin Testing
    <dd class=\"EC-tt-widget-day-event-detail\">Test</dd>
    <dd class=\"EC-tt-widget-day-event-detail\">Until: 02-17</dd>

    <p><span class=\"EC-tt-widget-clickdate\">Click date for more details</span>')
    .attr('style', 'color:red;')
    .mouseover(function() {
    ecd.jq(this).css('cursor', 'pointer');
    })
    .click(function() {
    tb_show( "February Wednesday 10 2010", "http://localhost/Cornerspring?EC_view=day&EC_month=02&EC_day=10&EC_year=2010&TB_iframe=true&width=220&height=250", false);
    })
    .tooltip({
    track: true,
    delay: 0,
    showURL: false,
    opacity: 1,
    fixPNG: true,
    showBody: " - ",
    // extraClass: "pretty fancy",
    top: -15,
    left: 10
    });</p>

    On line 255 of ec_js.class.php which looks like this
    .attr('title', '<?php echo addslashes($output);?>')

    If I remove <?php echo addslashes($output);?> *just to isolate the problem* the error goes away and firebug now errors on ..

    syntax error
    });</p>\n

    I can't seem to locate the <p> and </p> tags being added into the view source. Ive searched all the ec source code and there are no paragraph tags.. I'm kinda confused and hoping someone can shed some light on this. Thanks so much!

    James

  28. Dylls
    Member
    Posted 5 years ago #

    --- Pt-BR ---
    Consegui resolver meu problema (clique aqui para mais informações = não funcionando) da seguinte maneira: Simplesmente adicionei no arquivo footer.php do meu tema o código <?php wp_footer(); ?> logo após o início da primeira div no meu caso ficou assim:

    <!-- RODAPÉ-->
    	<div id="rodape">
    
        <!-- Para funcionar o Events Calendar -->
    
    <?php wp_footer(); ?>
    
    	<!-- Calendar funcionando -->
    
    		<div id="parceiros">
    			<ul> .............
    			..................
    			..................

    ** Detalhes aqui: http://www.wpdesigner.com/2007/05/30/where-exactly-should-you-place-wp_footer/

    Para resolver uma outra questão que foi a das imagens (a barra de carragar e o "X" do fechar) não aparecerem, fiz mais ou menos como "vangrog" mostra ácima. Adicinoei um trecho de código dentro da função que realiza o evento do clicar para ver mais informações no arquivo ec_js.class.php que fica na pasta do plugin Events Calendar:
    tb_pathToImage = "http://www. nome do seu site/blog aqui /wp-includes/js/thickbox/loadingAnimation.gif";
    tb_closeImage = "http://www. nome do seu site/blog aqui /wp-includes/js/thickbox/tb-close.png";
    No meu ficou assim:

    // For tests
    // <script type="text/javascript">
    // // <![CDATA[
    // jQuery.noConflict();
    // (function($) {
    // ecd.jq(document).ready(function() {
    ?>
          ecd.jq('#events-calendar-<?php echo $d;?>').attr('title', '<?php echo $output;?>');
          ecd.jq('#events-calendar-<?php echo $d;?>').attr('style', '<?php echo $dayHasEventCSS;?>');
          ecd.jq('#events-calendar-<?php echo $d;?>').mouseover(function() {
            ecd.jq(this).css('cursor', 'pointer');
          });
    
          <!--Para aparecer às imagens (barra e "x" do fechar)-->
    
          	tb_pathToImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/loadingAnimation.gif";
    		tb_closeImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/tb-close.png";
    
          <!--Para aparecer às imagens (barra e "x" do fechar)-->
    
          ecd.jq('#events-calendar-<?php echo $d;?>').click(function() {
            tb_show("<?php echo $date_show; ?>", "<?php bloginfo('siteurl');?>?EC_view=day&EC_month=<?php echo $m;?>&EC_day=<?php echo $d;?>&EC_year=<?php echo $y;?>&TB_iframe=true&width=220&height=250", false);
          });
          ecd.jq('#events-calendar-<?php echo $d;?>').tooltip({

    Acho que tem uma forma de deixar que o próprio wp saiba o endereço do site sozinho só bastando colocar mais ou menos assim: tb_pathToImage = " código do wordpress /wp-includes/js/thickbox/loadingAnimation.gif"; mais não sei como fazer ainda sou novo neste negócio. Fica aí a idéia, por favor se alguém poder melhorar a tradução fique avontade até para outros idiomas se possível, pois apesar de ser um problema simples e fácil de resolver muita gente se esquece por pensar que é algo muito sério...

    --- Traduzido do Pt-BR para o Eng pelo Google tradutor ---
    --- Translated from Pt-BR to the Google translator Eng ---

    I managed to solve my problem (click here for more information = not working) as follows: Just added the footer.php file of my theme code <?php wp_footer ();?> Just after the start of the first div in my case was thus:

    <!-- Footer -->
    <div ID=" footer ">
    
        <!-- To run the Events Calendar -->
    
    	<?php wp_footer ();?>
    
        <!-- Calendar running -->
    
                <div ID=" partners ">
                    <ul> .............
                    ..................
                    ..................

    ** Details here: http://www.wpdesigner.com/2007/05/30/where-exactly-should-you-place-wp_footer/

    To address another issue that was the images (the bar carrager and "X" to close) do not appear, did more or less as "Vangrog" shows up. Adicinoei a snippet of code inside the function that performs the event click to see more information in the ec_js.class.php which is in the plugin's Events Calendar:
    tb_pathToImage = "http://www. name of your site / blog here / wp-includes/js/thickbox/loadingAnimation.gif";
    tb_closeImage = "http://www. name of your site / blog here / wp-includes/js/thickbox/tb-close.png";
    In my was this:

    // For tests
    // <script type="text/javascript">
    // // <![CDATA[
    // jQuery.noConflict();
    // (function($) {
    // ecd.jq(document).ready(function() {
    ?>
          ecd.jq('#events-calendar-<?php echo $d;?>').attr('title', '<?php echo $output;?>');
          ecd.jq('#events-calendar-<?php echo $d;?>').attr('style', '<?php echo $dayHasEventCSS;?>');
          ecd.jq('#events-calendar-<?php echo $d;?>').mouseover(function() {
            ecd.jq(this).css('cursor', 'pointer');
          });
    
          <!-- To show the images (bar and "x" to close) -->
    
          tb_pathToImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/loadingAnimation.gif";
    	  tb_closeImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/tb-close.png";
    
          <!-- To show the images (bar and "x" to close) -->
    
          ecd.jq('#events-calendar-<?php echo $d;?>').click(function() {
            tb_show("<?php echo $date_show; ?>", "<?php bloginfo('siteurl');?>?EC_view=day&EC_month=<?php echo $m;?>&EC_day=<?php echo $d;?>&EC_year=<?php echo $y;?>&TB_iframe=true&width=220&height=250", false);
          });
          ecd.jq('#events-calendar-<?php echo $d;?>').tooltip({

    I think there's a way to let himself wp know the address of the site alone is sufficient only to put something like this: tb_pathToImage = "code wordpress / wp-includes/js/thickbox/loadingAnimation.gif", most do not know how to do I'm still new in this business. It is the idea, please if someone can improve the translation to be avontade for other languages if possible, because despite being a simple problem and easy to solve a lot of people forget because they think it is something very serious ...

  29. Kollman
    Member
    Posted 5 years ago #

    I have been doing some searching and haven't run across a fix to get my larger calendar to display correctly in Safari or Chrome. It displays correctly in IE & FF, but only shows the first event of the month for Safari & Chrome. I successfully installed 6.6 patch version and it fixed a lot of the error (THANKS FOR ALL THE WORK), but still fighting this one issue. Any suggestions? Thank you!

  30. locodiablo
    Member
    Posted 5 years ago #

    Hi all - love the events calendar plugin thanks - great work. I am getting a pesky error at the installed version at http://www.madjester.co.uk - in the calendar view, the date change selectors seem to be upset with some jquery stuff - must be cos of some other plugins installed I think - anyone got any quick fixes? Thanks in advance...I have some css experience I am happy to share :-) but not much of a techie

Topic Closed

This topic has been closed to new replies.

About this Topic