Giter Club home page Giter Club logo

be-events-calendar's People

Contributors

benoitchantre avatar billerickson avatar jaredatch avatar jb510 avatar jonschr avatar joshuadavidnelson 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  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  avatar  avatar

be-events-calendar's Issues

A call for feature requests/ideas

In the near future I'm going to working on a large project that will likely use this plugin as a base for the events system and it will be rather extensive.

If you have any feature requests or ideas (well, practical ones) please post them. When I start this project I'm going to try rolling in some new features where possible.

cc @jb510 and anyone else who uses this :)

Installation & updates with GitHub Updater

GitHub Updater is a great solution to manage plugins that are not in the official plugin repository.

One small addition in the plugin banner should be enough to make it work:
GitHub Plugin URI: https://github.com/billerickson/BE-Events-Calendar

I would also suggest to rename the repository with lowercase letters.

Featured images and excerpts

Bill, I noticed that if I enable featured images and/or thumbnails for both events and for recurring-events, that information does not get copied when recurring events are generated or regenerated.

Is this something that's possible to do? I assume the same thing would apply to other meta information that's added to both events and recurring events, but I don't know that particular detail for sure.

This would be useful in that some organizations use those things (other meta, excerpts, and post thumbnails), and it becomes a manual process to update those after creating a set of events.

I think it would be possible to work around by using the events template to figure out the corresponding recurring-event, then pulling the information from there; however, that's kind of a duct-taped solution.

Fill out docblocks

Code itself is rather clean already from some previous update commits, however the docblocks need just a bit of polish.

Really just need to add @since 1.0.0 to existing functions and make sure any @params used are documented - small stuff.

Date format error with WordPress 4.6

WordPress 4.6 now specifies datepicker defaults using wp_add_inline_script() for localization (see here).

Problem

The date format they used ("MM d, yy") is different than the jquery-ui-datepicker default format ("mm/dd/yy"). We didn't specifically define a date format, expecting the default to be used.

This causes the following issues:

  1. The correct month/year isn't shown when you open the date picker on a field with an already-specified date
    screenshot
  2. When you select a date using the datepicker, it uses the wrong format

screenshot

Solution

We need to manually define the format we want, rather than depending upon the default setting.

Recurring events should be private

The recurring_event post type is used to create event posts based based on recursion settings. I think there's no reason to have a recurring_event public. Visitors should only see events.

The downside of that change would be that plugins based on public value like Yoast SEO will not behave the same way.

What are your opinions @billerickson?

Event location

I think a location information is often needed with an event. This could be added as a custom taxonomy and displayed depending on theme support.

Term title and description could be enough for a first implementation.
Term metas could be added later to support coordinates or an URL.

What are your opinions on this @billerickson?
Would you accept a PR?

All Day toggle

Add "All Day" toggle to Date/Time regular events metabox that hides time when checked.

Support Post thumbnails

I wonder why post thumbnails for events are not supported.

Are we supposed to add it from the theme or a custom plugin with add_post_type_support( 'events', 'thumbnail' ); or should the plugin support post thumbnails by default?

Event Schema on Posts and CPT

Hey Bill! Awesome plugin and I'm finally getting around to using it on a project. I'm running into an issue that I can't seem to fix.

On Posts and CPT (I have a Podcast CPT), the Event Schema is being added to the article entry

itemtype="http://schema.org/Event"

The main content area is still showing

itemtype="http://schema.org/Blog"
, but the entry is no longer showing
itemType="http://schema.org/BlogPosting"
.

I saw in genesis-schema.php that it should only run on archives and single events, but for some reason it's showing on others.

Have you run into this issue?

Tags

Please add tags to release commits, so they can be pulled down - thanks!

Generating Recurring Events doesn't increment start/end dates

When I generate events from a recurring event the created events start/end dates are all the same (ie. it’s not incrementing be_event_start and be_event_end)

Reviewing the code it seems like this:
recurring-events.php:284
foreach( $metas as $meta )
update_post_meta( $event_id, $meta, get_post_meta( $post_id, $meta, true ) );

is supposed to do that…

This code seems slick to potentially update all post meta, but at least as best I can tell isn't working so I've commented it out and added:

update_post_meta( $event_id, 'be_event_start', $event_start );
update_post_meta( $event_id, 'be_event_end', $event_end );

PR coming....

Reorganize file structure

Going to tidy things up slightly as far as where things are arranged, to keep a cleaner directory when more files/features are added.

Apply Featured Image from Recurring Event Setup to all created Events

Hi Bill,

First off, thanks for this plugin! I really appreciate it!

I noticed that you guys may be combining the Recurring Events and Events posts types soon so this might not be super useful but I added support for mapping the featured image from a recurring event to each individual event that is created and wanted to share it with you or others who may need this functionality.

Also wanted to run it by you in case there are any things that I may have overlooked with this. I have a working but far from intimate understanding of this stuff. :-)

Line 100 - add 'thumbnail' to supports for register_post_type()
Line 411 - set $event_thumb_id variable
Line 438 - mapping thumbnail to event

https://gist.github.com/hirejordansmith/3a78a357c0c4a72f2f2c183501bae26c

i18n

It would be great to internationalize the plugin and to support translations.

I will certainly make a PR.

Ideally, there should be some filters to customize the date and time formats.

Add Calendar view shortcode

Using PHP to build out a calendar view is a pain in the ass.

I want to create a shortcode that generates a nice calendar view and leverages http://fullcalendar.io/.

Shortcode should include basic optional params to toggle some of the fullcalendar settings etc. Fullcalendar assets shouldn't load unless shortcode is present and all the proper stuff.

Ideally also add ajax support from going/prev next months. Also if we can get fullcalendar to render decent at a smaller size then should create a widget version of this well.

If you can think of any other items/features to add to this component let me know.

Event calendar widget

c74e281

http://cl.ly/image/2U3g0W440x1V

This feature should be working well, however in its current iteration there is one down side: right now events only show up on the day they start. So if it is a 3 day festival running from Friday-Sunday on the calendar only Friday will be highlighted and listed. So that needs to be fixed, other than that I think it is solid.

Recurring Events as Options: A Single Post Type Solution

A little follow up to #10, I've got a branch that seems to be working so far. I'm going to circle back to this in a few weeks to test further and refine a few things, but I think this first go at it solves some of the issues with a single post type.

Next up is some conditional recurring options: I think all "children" events in a series should provide the following options. If one of the "update" options is selected, the event details become editable again in the correct context.

  • Keep event details as-is (default)
  • Update event details and remove from series (similar to this, creates a stand-alone event)
  • Update event details for all future events (create a new series with the current post as the series master, optionally deleting all the original series future events or creating a spin-off series and leaving the original series alone)
  • Delete all future events in this series. (when trashing or updating the current post, all future events are deleted)

On a previous project I added an option to delete all related recurring events when series master is delete (what happens when a series master is deleted, do we remove the series information from the child events or delete them as well?). Perhaps this is an argument for using a unique id for tracking a series instead of a master post? Or, by default we remove the parent id from all the children, making them stand-alone events?

Overriding Default Metabox and seperating out time meta field

Hi Bill,

I have a question for you. I am in the process of setting up a front facing event submission form. Everything is working great except the date & time values are not mapping. I believe this is because GF has either a Date or a Time field but not a DateTime field and you are pulling the Date & Time as a single value.

My original idea was to seperate out the Date & Time fields via ACF Pro then map them that way with GF but it appears the Time field would then be null since you have it setup to pull as a single value and the date fields don't map either for the same reason.

As a side item, I was also unable to get the default meta box override to actually override with the following code in functions.php. It still outputs as normal.

add_filter( 'be_events_manager_metabox_override', '__return_true' );

Any thoughts on this? I know you're super busy man, just thought I'd reach out to see if you had a quick solution for this already.

My brother David is a Gravity Forms guru so I also reached out to him to see if he had a possible solution for this. Thanks in advance!

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.