justinendler
Forum Replies Created
-
Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] Editors also marked as authorsrobgolbeck has it correct. WPTouch template tags in theme files need to be updated to Co-Author tags. Yes, updating WPTouch will overwrite your changes. I solved this on a site by upgrading to WPTouch PRO, which allows child themes. I’ll now maintain custom WPTouch themes which will get re-installed after every update. This is still not ideal but a little cleaner.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Error Message when trying to activate pluginIt seems like this is something besides a conflict between plugins. Can I get your setup so I can try to duplicate the error?
– WP version
– multi-site enabled?
– theme
– php version
– browser
– osThanks,
Justin
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] 1.6.4 ReleasedCan you provide details?
– WP version?
– other plugins activated? (try deactivating plugins to see if there’s a conflict)
– browser
– OS
– if you have access to the file php-error.log in your server’s root directory, what does the error say for the failing publish?Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Recent Posts limited to Events categoryThis is fixed for 1.6.4
Justin
If you’re interested in hacking it, I didn’t have time to confirm anything, but here are two suggestions:
– find the functionloadDomainStylesScripts
inthe-events-calendar.class.php
1. Try changing the if statement header fromif( file_exists( TEMPLATEPATH.'/events/events.css' ) ) {
to
if( true ) { //HACKED
2. If that does not work, leave it that way, but try some different paths in the function that loads the stylesheet. To do this, try some paths in the second argument to the first occurrence of
wp_enqueue_style
. The path needs to lead to your custom file.Hope this helps.
Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Error Message when trying to activate pluginMaybe our function name ‘the_events_calendar_version_check’ is used in other plugins. The next release will change the name of that function so it will no longer conflict (hopefully).
Justin
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] wp_enqueue_style mediaThanks, it’s added for 1.6.4.
Hi,
Here’s the support forum for the premium version: https://support.makedesignnotwar.com/categories/e
Also, iCal import of individual events is supported by navigating to s single event post then clicking ‘Add to Calendar’, but testing your site, that is broken as well.
Justin
No other steps necessary to activate. I’ve confirmed this as a bug with all versions of the calendar with multisite enabled. We’re looking at it, but it’s not promising because I found a WP function that is not behaving properly with multisite on, so this could be a WP bug.
I think I’ll have time to figure out and post a temporary fix here later today, but it will most likely not be included in the next version, so it will be a hack in the true sense (you would have to hack the plugin again every time you update).
Justin
We use the function
filter_var
for some field validation. It used to be available in an extension but is now default. An explanation here: https://www.php.net/manual/en/filter.installation.php. Maybe updating PHP, enabling the filter extension in php.ini, or installing the extension manually would work.Alternatively…
The only use offilter_var
in the plugin occurs in the functionaddEventMeta
inthe-events-calendar.class.php
. Find the lineif( is_string($_POST[$htmlElement]) ) $_POST[$htmlElement] = filter_var($_POST[$htmlElement], FILTER_SANITIZE_STRING);
I have it on line 901 under the comment
//update meta fields
.You could take out the use of
filter_var
in that line and strip the html tags usingstrip_tags
.I didn’t have time to test any of these ideas, but hopefully it helps.
Justin
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Todays event not showing in widget…Still trying but I can’t reproduce the error. Can you make sure you have your timezone offset set correctly in Dashboard > Settings > General ?
Justin
@makspot
I followed your link and your site seems to not have this problem anymore. Did you learn how to fix it?@frognip and @jamblo
I’ve confirmed yours are busted. I’m a broken record on the updating issue, but nonetheless, make sure you’re either using 1.6.3 with WP 3.0 or 1.5.6 with WP 2.9.2. Also, both of your sites seems to be on default Permalink settings. Is this true?Hi,
Password protection is not supported. We’re not adding any new features to this free version of the plugin. The premium version of the plugin (https://codecanyon.net/item/events-calendar-pro-wordpress-premium-plugin/109301) supports password protection on Events posts for the content only. I’ve put in a request to protect all the information instead of just the content.
Justin
Howdy,
The 1.6.x versions of the plugin require at least WP 3.0. Could this be the issue? To remain on WP 2.9.2, you should revert the plugin to 1.5.6.
Justin
Hi,
I did not get a chance to test on a child theme, but I rewrote how the override template is looked for since it had some holes.
Can you try the following and let me know if it finds your template?
In the file
events-list-widget.class.php
, replace the entireif / else-if
clause beginning on line 62 with the following:if( $posts ) { /* Display list of events. */ if( function_exists( 'get_events' ) ) { echo '<ul class="upcoming">'; $templateOverride = locate_template( array( 'events/events-list-load-widget-display.php' ) ); $templateLoc = $templateOverride ? $templateOverride : dirname( __FILE__ ) . '/views/events-list-load-widget-display.php'; foreach( $posts as $post ) { setup_postdata($post); include( $templateLoc ); } echo "</ul>"; $wp_query->set('eventDisplay', $old_display); } /* Display link to all events */ echo '<div class="dig-in"><a href="' . $event_url . '">' . __('View All Events', $this->pluginDomain ) . '</a></div>'; } else if( !$noUpcomingEvents ) _e('There are no upcoming events at this time.', $this->pluginDomain);
Thanks,
Justin