Code Monkey home page Code Monkey logo

simple-calendar's Introduction

Simple Calendar

Built with Grunt

Add Google Calendar events to your WordPress site in minutes. Beautiful calendar displays. Mobile responsive.

Download from WordPress.org

Download | Docs | Demo | Changelog

Premium add-ons available at simplecalendar.io

Support

GitHub is for bug reports and contributions only. If you have a support question or a request for a customization this is not the right place to post it. Use the WordPress.org support forums instead.

Contributing

Read further on how to contribute to this project.

simple-calendar's People

Contributors

akhill2020 avatar brummolix avatar damonsharp avatar daronspence avatar dependabot[bot] avatar ericjsilva avatar followfung avatar gitter-badger avatar joelamos avatar keynet avatar martinburchell avatar martinixh avatar mickwall001 avatar nickyoung87 avatar pderksen avatar petersonca avatar renovate[bot] avatar rosinghal avatar sarjona avatar sugapablo avatar sujitxtendify avatar taylorhawkes avatar thoronas avatar unfulvio avatar witchdoktor avatar zachwills avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-calendar's Issues

Check for WP Remote GET capabilities

One user had cURL but WP Remote GET was timing out, which made their pages take a while to load up. (Help Scout 6155)

Can we check for this? And should we require it?

Also see #30.

Web Server: Apache
PHP Version: 5.4.42-nmm1
MySQL Version: 5.6.24-nmm1-log
Server Timezone: UTC
Display Errors: Yes
Safe Mode: No
Memory Limit: 256M
Upload Max Filesize: 200M
Post Max Size: 200M
Max Execution Time: 30
Max Input Vars: 1000
fsockopen: Yes
cURL: Yes
SOAP: Yes
SUHOSIN: No
WP Remote POST: Yes
WP Remote GET: No (Operation timed out after 5001 milliseconds with 0 bytes received)

Top-align AJAX overlay spinner on lists

For longer lists you don't see the spinner when navigating when the list is real long since it's centered vertically. Should be top-aligned with some reasonable padding.

Hover issue on responsive grid view.

Currently you cannot hover over the dots on the event day and have the details show up. Some user's are requesting that they be able to do this rather than have it be forced to be clicked.

Localization of calendar slug

I see that the calendar slug is hard coded to calendar. Is it possible to have this slug localizable? Either in the translation files or as a setting in admin. What do you think?

Events ending at midnight

When trying out Beta 2 I encountered a situation where an event ended at midnight.

Friday 16 October 19:30 - 00:00

IMHO I would rather see this as:

Friday 16 October 19:30 - 24:00

For an end time after midnight, it should be like 19:30 - 00:01. 24:00 should only be used for a time to end on exactly midnight.

Note 1: This suggestion is for the 24h clock. For a 12h clock with am/pm I do not know the best practice to print out time.

Note 2: This is only a suggestion, and I'm open to discuss this. Other people might have other opinions. And if it requires too much work, then wait with this for a later version update.

List span issues

Lots of reports of the span not working correctly for list views. Some include:

  • Span turns all the next events into 1 hour intervals matching the span number.
  • No matter what it is set to it still shows the default 30 days.

Add option for 'with_front'

I have my posts using /blog/ as the prefix, but I don't want my calendar permalinks to be /blog/calendar/...

All day events not showing up

Events that are listed as day-long are not showing up. This one, specifically, is an event that lasts 5 days but has no time attached to it.

Calendar Days/Events are off by 1 day

Array combine issue for list view

Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /var/www/vhosts/ruudhuijbregts.nl/httpdocs/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-list.php on line 271

Not sure just yet how to reproduce.

Doesn't look right in Firefox

I have a grid view that is not showing up properly in Firefox (only). Same place as before: beta.mlc-wels.edu/calendar.

Any ideas would be greatly appreciated!

Localization of Date and Time

In Calendar Settings under Advanced, it's possible to configure the Date and Time output. Here in the backend, weekdays and months are correctly localized in my current language (swedish). But in the frontend, they are always in the default english language. Is there a setting for localization of dates somewhere to be found?

I'm using Beta 2.

Check for mbstring PHP ext (and curl?)

It appears we're requiring mbstring seeing the undefined function mb_detect_encoding errors popping up.

This is fine, and we've required the same in Simple Pay and other plugins, so go ahead and add the requirement check to avoid the fatal error.

Once done, remove this code since a fallback doesn't make sense anymore.

https://github.com/moonstonemedia/Simple-Calendar/blob/master/includes/functions/admin.php#L395-395

Finally, do we use cURL like in Simple Pay? If so add that check in too.

Also see #38.

Fix incorrect characters for non-ASCII weekday names

From WP user sylwwwester:

In file default-calendar-grid.php in lines 234, 246 there is:
data-screen-small=""
The problem is it gives wrong character for non ASCII weekday names.
IMHO, you should use mb_substr or even better $wplocale->weekday_initial[]

Grouped Calendar Length

The calendar will cut off at the length of the last calendar added to the group list. If there are events further out on other other calendars then it will cause them to not be shown.

Description should not output a div

I'm using v3.0 beta 1.

The shortcode for the event description outputs a div element:

<div class="simcal-event-description">...</div>

But since the text editor in WP automatically inserts a p element on every new line, the div element is placed inside this p element:

    <p><div class="simcal-event-description">...</div></p>

This is not valid html according to the spec. A div element is not allowed inside a p element. And when inspecting the DOM in the dev tools of a browser you can see that the browser is rendering this as:

<p></p>
<div class="simcal-event-description">...</div>
<p></p>

I encountered this when I needed to set a specific class on the surrounding p element in the text editor. It didn't work since this was the result:

<p class="my-custom-class"></p>
<div class="simcal-event-description">...</div>
<p></p>

I would suggest using span element instead of a div element for the output of these shortcodes.

I read in the another issue that you are planning to implement theme templates support for developers. That sounds like a better solution to build custom calendars. But I guess that the shortcode style needs to be around for the non developers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.