Posted: July 18, 2013 at 12:14 pm
|
We are trying to use the plugin(s) and nothing works. In the admin nothing shows up in the event overview unless we set the filter for All active.inactive. Using shortcodes on pages nothing or just one event shows up using [EVENT_LIST]. If i use |
Hi Kevin, I’m sorry for the trouble. I checked the page you linked to and it looks to me that event dates, and along with that, the event registration start dates are not getting formatted correctly when they are entered into the event editor. The other issues you are reporting could be caused by the same issue. Normally when the event editor loads up there’s a handy jQuery UI calendar that pops up after you click on a date input field. The calendar will consistent format the date correctly. Is that happening when you go to enter a date? If not, there may be a conflicting script getting loaded where it ought not (the event editor in this case). If this is a case where the calendar isn’t loading up, this can be fixed and we can work with you on troubleshooting this. While you’re checking, the dates input for start/end and registration start/end should all be formatted like this: If they are in a different format, you’ll see all the issues you’re reporting here. |
|
|
yes the pop-up calendars work on the backend and the dates are formatted as you mentioned – still unresolved… |
|
I just tried setting my Active events to Status Ongoing and they seem to work ok – Thats not what the instructions say – All events when created default to status Open – but they dont work unless I go back in and set them to Ongoing – Is that working as it should? |
Setting the events to an ongoing status should not be necessary. What do some of these events have for registration start and end dates? |
|
|
They all have today’s or a few days ago as the start registration date and they all have the day before the event as the end date – which are all at least a few days from now |
It sounds like they’re all set up correctly. I’m not sure what should be checked next. If you can send temporary WP admin credentials via our contact form someone from our support staff can take a closer look: |
|
Hi there, I’ve narrowed down the issue to the theme. It appears that it’s hijacking the date fields and adding its own datepicker, which is formatting the dates incorrectly. If you look at all the dates entered in the event editor, they are all formatted like this: 07/18/2013 they need to be formatted like this: 2013-07-18 I edited the dates in the Test Event so you can see an example of how the dates are formatted. What really should be done here is the theme should only be loading its scripts on its own admin pages where it needs them. Instead, it’s loading them on *every* page in the admin. Here’s an example from the theme’s functions.php file: add_action('admin_head','add_custom_scripts'); Instead of making its own action hook for its own admin screens and adding the scripts only where it needs them to run, the theme here is loading its custom scripts everywhere! So what happens when another plugin has its own scripts that do similar things (like Event Espresso does)? They break. Ideally the theme author should fix their theme, but we realize this isn’t always something they are willing to do. You might be able to fix the issue by adding a script like this to the end of the theme’s functions.php file: // if this is an Event Espresso event editor screen in the admin if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'add_new_event' || $_REQUEST['action'] == 'edit')) { // then remove the theme's scripts remove_action('admin_head','add_custom_scripts'); } This will remove one of the theme’s custom scripts from Event Espresso editor. There might be another script that will affect this, but I looked through the theme and the add_custom_scripts looked to be the one that was doing it. I can suggest that you contact the theme author and ask them to add their scripts only when needed instead of across every screen in the admin. Please let them know that we are more than happy to work with them on this if they have any questions and wish to contact us. Since this a theme being sold in the ThemeForest marketplace, they may need to do this sooner than later: http://notes.envato.com/news/update-wordpress-theme-submission-requirements/ |
|
|
Awesome! Thanks a lot! – I used your script and all is working great. I guess this theme was chosen because it has it’s own event system built in. It just wasn’t robust enough for their use. |
You’re welcome. I left a note on the theme’s forum at the Themeforest website letting the theme author know how they can fix this issue in their theme. |
|
The support post ‘Nothing works as it should’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.