• Resolved Exprimesevilla

    (@exprimesevilla)


    Hello, i’m using the plugin Events Manager v5.2.5. on WP 3.4.1 and Oxigen v0.3 theme.

    I have lots of events and I need to show a calendar. The problem is that I have more of 50 events each day so I need to load more than 1.000 events to show all the calendar days. This makes my webpage to load very slowly.

    How can I do to load 0 (or few) events and get the link for all days in the calendar?

    Thank you very much.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • you can try this – http://wordpress.org/extend/plugins/wp-fullcalendar/ then set limit at WP Settings > WP FullCalendar > Events limit

    Thread Starter Exprimesevilla

    (@exprimesevilla)

    Thanks for your response.

    That plugin looks great but has problems working as a widget.

    I am looking for a calendar to show just the days number with a link to the whole day events list.

    do you have a sample link or screenshots for us to see?

    Thread Starter Exprimesevilla

    (@exprimesevilla)

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    this looks to be working for me… could you explain more what the problem is? I didn’t quite get what you meant by

    I am looking for a calendar to show just the days number with a link to the whole day events list.

    Thread Starter Exprimesevilla

    (@exprimesevilla)

    Thank you.

    The problem is that I have lots of events every day and I have to put a very hignt “limit” to get a calendar with all the days with their links. If I don’t do this I get a calendar with some days without link (and they have events).

    This makes my database crack every day, so I want to try to modify the code or any way to fix this and get a calendar with all the days with the link to that day without loading so much events.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    this might be a bug…. what should happen is if you add a limit, it’ll show any date with events, but it’ll only show x events per day on the calendar, but it shouldn’t omit days if there’s more than x days.

    for example, the calendar on your category page looks ok.

    what are you using to generate that calendar on your front page vs the one on your calendar page?

    Thread Starter Exprimesevilla

    (@exprimesevilla)

    in the front page I’m using the EM Calendar Widget with a limit of 50 events.

    In the category pages there is a shortcode with limit=”1000″.

    Thread Starter Exprimesevilla

    (@exprimesevilla)

    Sorry, it isn’t like that.

    in the front page I have a shortcode calendar with limit=”50″. I tried to put the widget but it gives me a db limit exceed.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I’ll be looking at ways to optimize queries for high volumes, but as this’ll take time, this may be a case where you’d need to upgrade your server if you’re running that many events at once.

    you’d also want to look into caching plugins paired with a CDN to reduce the load on your server.

    Thread Starter Exprimesevilla

    (@exprimesevilla)

    Thank you very much.

    Is it possible to modify the actual code to get just a calendar with a link to the days like I want? Doing the calendar don’t ask for events, just print the link on the day number?

    I think this could be easy, but I don’t know so much php to modify it.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    not extremely difficult, but not as easy as modifying a few lines… because the queries are done before the template is loaded, which is where all the heavy calculations are done.

    you’d probably need to create your own ajax calendar implementation which just generates a calendar with hard-coded links. You could try http://jobs.wordpress.net/ to see if someone can help.

    I’d say it’s an hour or two of work, given you can use our template on templates/templates/calendar-small.php, and catch the ajax request before we do near the top of em-actions.php

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Calendar link even if there aren't events’ is closed to new replies.