Joe McGill
Forum Replies Created
-
Forum: Plugins
In reply to: [RICG Responsive Images] Featured Images Problem After Update^^ note that even though that line of code is wrapping to two lines, it should all be on one line.
Forum: Plugins
In reply to: [RICG Responsive Images] Featured Images Problem After UpdateHi Shapeshifter,
Would you mind pasting in the code from your theme that is used to output the featured images?
Also, in the mean time, you can try pasting this into your functions.php file and that may fix the issue into the bug your experiencing is fixed.
add_filter( 'post_thumbnail_html', 'tevkori_filter_post_thumbnail_html', 0);
Forum: Plugins
In reply to: [Tinypass] TinyPass JS fails to load over HTTPSGreat news. I look forward to seeing the updates when they’re posted. Do you have any ETA on a release date or a place to beta test changes before they’re released?
Hi all,
I think I’ve figured out a fix to this issue. Here’s a link to a patch for those who want to give it a shot: https://dl.dropbox.com/u/489777/the-events-calendar.class.php.zip
To use, you need to unzip the file and upload it to your ‘/wp-content/plugins/the-events-calendar/lib’ folder (which will overwrite the file that’s currently there).
Let me know if this solves the problem (as it has mine).
NOTE: This assumes you are running version 2.0.3
@steven You’re not alone on that issue, we’ve been discussing it over here:
https://www.ads-software.com/support/topic/plugin-the-events-calendar-venue-name-not-saving-data-after-apostrophe?replies=14#post-2572453Looks like a bug that the Tribe crew is having a hard time sorting out. I would recommend installing 2.0.2. It’s still a bit buggy, but at least you don’t lose data every time you update the event content.
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] Data not saving in fields@josh – I wouldn’t recommend downgrading past version 2.0 because the way events are handled in the database changed so much. Version 2.0.2 is still working (though you can’t update the venue info after you first input it). You can download that version here:
https://downloads.www.ads-software.com/plugin/the-events-calendar.2.0.2.zip– Joe
Hey guys, check out this same issue being discussed in another thread:
https://www.ads-software.com/support/topic/plugin-the-events-calendar-data-not-saving-in-fields?replies=26No resolution yet, but don’t want you to miss info if it gets updated there.
Cheers.
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] Data not saving in fieldsI echo 2cats experience. Location and organizer info doesn’t get pulled into the update form. When you enter data and click the update button the new data gets saved to the database (and updates the live site) but that info disappears in the form next time you try to update.
Bummer.
Hi Rob,
I’ve upgraded to 2.0.2 and still seem to be having this problem.
– Joe
I love the updates to The Event Calendar plugin but was having the same problem with custom fields no longer being supported by the plugin. Shane & Rob, I would love to see you add support for custom fields in a future update to the free version (since it’s literally just adding one more field to the supports array as you showed above).
In the mean time, the best way to handle this (rather than manually editing the plugin code) is to add the following hook to your theme’s functions.php file:
/* Adds custom field support to Tribe Events */ add_action('init', 'my_custom_init'); function my_custom_init() { add_post_type_support( 'tribe_events', 'custom-fields' ); }
Hopefully this helps some people out.
@dcdblu – the line Ryan edited above is in the plugin file /the-events-calendar/the-events-calendar.class.php on line 684.
Thanks Ryan,
That fixes the issue with single post pages but doesn’t fix (what I assume is a related issue) with ‘previous’ or ‘next’ posts on the list page when the Event plugin is in “pretty URL mode.”
Turning off that mode fixes the issue and will work for now until things get patched up.
Hey Ryan, the plugin is actually called ‘The Events Calendar’ – https://www.ads-software.com/extend/plugins/the-events-calendar/ (creative right?)
I think I’ve narrowed down the issue to the rewrite function that the plugin calls by using add_filter( ‘generate_rewrite_rules’ … (line 335 in the-events-calendar.class.php if you’re looking at the code).
The actual rewrite function is this:
public function filterRewriteRules( $wp_rewrite ) { if( $useRewriteRules = eventsGetOptionValue('useRewriteRules','on') == 'off' ) { return; } $categoryId = get_cat_id( The_Events_Calendar::CATEGORYNAME ); $eventCategory = get_category( $categoryId ); $eventCats = array( $eventCategory ); $childCats = get_categories("hide_empty=0&child_of=$categoryId"); $eventCats = array_merge( $eventCats, $childCats ); $newRules = array(); foreach( $eventCats as $cat ) { $url = get_category_link( $cat->cat_ID ); $base = str_replace( trailingslashit( get_option( 'siteurl' ) ), '', $url ); $newRules[$base . 'month'] = 'index.php?cat=' . $cat->cat_ID . '&eventDisplay=month'; $newRules[$base . 'upcoming/page/(\d+)'] = 'index.php?cat=' . $cat->cat_ID . '&eventDisplay=upcoming&paged=' . $wp_rewrite->preg_index(1); $newRules[$base . 'upcoming'] = 'index.php?cat=' . $cat->cat_ID . '&eventDisplay=upcoming'; $newRules[$base . 'past/page/(\d+)'] = 'index.php?cat=' . $cat->cat_ID . '&eventDisplay=past&paged=' . $wp_rewrite->preg_index(1); $newRules[$base . 'past'] = 'index.php?cat=' . $cat->cat_ID . '&eventDisplay=past'; $newRules[$base . '(\d{4}-\d{2})$'] = 'index.php?cat=' . $cat->cat_ID . '&eventDisplay=month' .'&eventDate=' . $wp_rewrite->preg_index(1); $newRules[$base . '?$'] = 'index.php?cat=' . $cat->cat_ID . '&eventDisplay=' . eventsGetOptionValue('viewOption','month'); } $wp_rewrite->rules = $newRules + $wp_rewrite->rules; }
The only time this breaks is when permalinks have been set to include the category name in the URL (i.e. /%category%/%postname%).
Hey w03d – can you elaborate on how you implemented the fix code:
remove_filter('template_redirect', 'redirect_canonical');
Do you add it to the __construct() function, or where?