WordPress.org

Ready to get started?Download WordPress

Forums

Ajax Event Calendar
[resolved] Event showing in widget but not on page (26 posts)

  1. webrightnow
    Member
    Posted 3 years ago #

    Hi, I have just installed this plugin and added some test events. These are showing up fine in the sidebar widget, but not in the main calendar.

    In the WordPress admin, the event shows inside the calendar when I first create it, but as soon as I refresh the page it diappears.

    Any ideas? Javascript problem?

    Thanks!

    http://wordpress.org/extend/plugins/ajax-event-calendar/

  2. VLTadmin
    Member
    Posted 3 years ago #

    I'm having this exact same problem but this is only happening on certain days, at this point the 31st of this month. I have created about 4 events on the 31st trying different things such as a set time event or all day event, also different categories but none show up in the calendar either on the site or in the admin side but then all events show in the sidebar widget.

    Any help would be great!

    Cheers!

  3. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    Yesterday I spent several hours with webrightnow and were unable to ascertain the origin based on the information I was able to get from that implementation.

    Until I am able to recreate the problem, it's impossible for me to determine the cause. I have tried without success to replicate this issue. If you can tell me EVERYTHING there is to know about your setup, I'll do what I can to help.

    Eran

  4. VLTadmin
    Member
    Posted 3 years ago #

    I'm on WP 3.2, and using this template http://www.templatemonster.com/demo/30418.html
    The only things I've really changed in the template is column widths and removing the left sidebar.

    Here's the page with the calendar on it
    http://victorylifetoowoomba.com.au/upcoming-events

    I've added events on quite a few days and non have replicated the problem so if there is a way I can go in and delete the information for what is on the 31st then that would be fine.

    Thanks for the quick reply!

  5. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    Just like yesterday with webrightnow, I am able to see the July 31st events in the calendar that are listed in the upcoming events widget - which you are unable to see.
    I wonder if it's a strange browser bug.
    I've tested using FF5, Chrome 12, and IE9.
    What browser are you using?
    What is your computer timezone settings?
    What OS are you using?
    Try testing using another computer, or ask a friend if they see the events as well.

    Eran

  6. VLTadmin
    Member
    Posted 3 years ago #

    I'm in Australia so it's 2:52pm 29th of July.
    On Windows 7 64bit Pro
    I've tried it on all the same browsers, IE 8, on a Mac and a friend has tried as well and no luck.

    The plugins I have activated are this one, JW Player and Mp3J-player.

    Amazing plugin btw, looking forward to all the cool things you're going to do with it. I saw some of the recurring events code commented out in there so that'll be great when that gets going. Good job!

  7. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    The problem is triggered by the computer timezone setting.
    Which is strange that it would effect my view, since I'm running my browser on the same computer as my localhost - in which case the timezones would be the same.

    So...at any rate, now I have to figure out why this is causing a problem.

    In the meantime, if you want to delete those events, simply change your timezone to (Central Time, seems to work - go figure) and delete the events, then you can change back.

    I'll keep you posted when I figure this out.

    p.s. Don't get too excited for recurring events, it's a WAAAAAAYS off, lots of other features will precede that evil feature.

  8. VLTadmin
    Member
    Posted 3 years ago #

    Awesome! Cheers for that.

    Lol all good with the recurring events. Would there be anyway of editing the file that stores all the entries so that I could copy and paste and just change whichever details such as day?

  9. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    Events are stored in the aec_events table in your wordpress database.
    Not as simple as editing a file, but if you're comfortable using MySQL it's do-able.

    Eran

  10. VLTadmin
    Member
    Posted 3 years ago #

    Awesome.

    I changed my the timezone in my WordPress and on my computer but no luck. Both are set to UTC -6:00 which is central time.
    Wordpress was set manually to UTC -6:00, is yours set on a city?

  11. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    I didn't change my WordPress setting, it is set to Chicago.
    My Windows timezone setting is set to -06:00 Central Time with Daylight Savings checked.

    If you have access to the database you can delete the events from there.

    Eran

  12. VLTadmin
    Member
    Posted 3 years ago #

    Sorry, it is working now. I went back and unticked the "Adjust time for Daylight Savings"

    Thanks for your help, was great!

    Cheers!

  13. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    It's working completely?
    Meaning you are able to see events from the 31st in your timezone?
    Or the temporary timezone hack is working?

    Eran

  14. VLTadmin
    Member
    Posted 3 years ago #

    Sorry, just the temporary hack is working atm.

  15. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    Boo!
    Oh well, I thought I had been granted a reprieve!
    I don't know how quickly this will resolve, but I'll post updates here.

    Eran

  16. VLTadmin
    Member
    Posted 3 years ago #

    Awesome, no problem, I'll just avoid the days that are giving me trouble for now.

    Cheers again.

  17. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    Faster than I thought, I think I found the answer!

    replace this function in the ajax_event_calendar.php file:

    function localize_plugin($page){
    	load_plugin_textdomain( AEC_PLUGIN_NAME, false, AEC_PLUGIN_NAME . '/locale/' );
    }

    with this function:

    function localize_plugin($page){
    	load_plugin_textdomain( AEC_PLUGIN_NAME, false, AEC_PLUGIN_NAME . '/locale/' );
    	$timezone = get_option('timezone_string');
    	date_default_timezone_set($timezone);
    }

    You must set the WordPress timezone to a city name, this will not work if set to a numeric offset.

    Let me know if it fixes it for you,
    Eran

  18. webrightnow
    Member
    Posted 3 years ago #

    Wow, I just woke up to find that this thread has suddenly developed considerably...

    I will try your fix and report back. The plugin is in place anyway and I don't intend to change it, it does the job perfectly.

    Thanks Eran!

  19. webrightnow
    Member
    Posted 3 years ago #

    Perfect, I changed the function and timezone settings: my 31st July event is there!

    Thank you Eran, it's great to see this level of support for a free plugin.

    A great contribution to the WordPress community!

  20. VLTadmin
    Member
    Posted 3 years ago #

    Awesome, it works for me too! Definitely the best calendar plugin out there.

    Thanks Eran, you should get a medal for this!

  21. Eran Miller
    Member
    Plugin Author

    Posted 3 years ago #

    I'm so pleased it works for you!
    I will be adding that patch to the next release, so you don't have to worry about losing the fix when you upgrade.

    Eran

  22. relate2u
    Member
    Posted 2 years ago #

    Hello,

    I still need help. I update the .php file and changed my timezone to a city but My calendar is not displaying. see link: http://atlantabusinesshub.com/calendar/

    Thank you.

  23. ChrisSuttonSilver
    Member
    Posted 2 years ago #

    Hi,

    Just got this Plugin now, it's great but unfortunately I'm still having the same problem.

    I've updated my City, updated the function, but still no joy.

    Can you please offer any support to the below domain?

    http://www.suttonsilver.co.uk/clients/sljld/?page_id=39

    Cheers
    Chris

  24. Eran Miller
    Member
    Plugin Author

    Posted 2 years ago #

    Relate2u and Chris, you are posting in the wrong thread, this thread addresses the issue of missing events, not the missing calendar.
    It wastes significant amount of time trying to determine the nature of the problem when posts are not on-point.

    Check your javascript consoles for errors, then run a search in the forum for the problem, if at that point you are unable to find an existing thread, create a new thread.

    Thank you,
    Eran

  25. Eran Miller
    Member
    Plugin Author

    Posted 2 years ago #

    A new beta has been released for those interested in testing and confirming that it works see this post for details.

  26. Eran Miller
    Member
    Plugin Author

    Posted 2 years ago #

    Plugin version 0.9.9.1 is now available for download.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic