toddlevy
Forum Replies Created
-
Forum: Plugins
In reply to: [.TUBE Video Curator] No video description?This should do the trick.
Drop in child theme functions file or simple plugin…
add_action('added_post_meta', 'mytube_add_video_url_to_content', 10, 4); function mytube_add_video_url_to_content( $meta_id, $post_id, $meta_key='', $meta_value='' ){ // do nothing unless correct key if ( $meta_key != 'tube_video_oembed_url' ) return; // set up the update values $the_update = array( 'ID' => $post_id, 'post_content' => $meta_value, ); // Update the post into the database wp_update_post( $the_update ); }
Forum: Plugins
In reply to: [.TUBE Video Curator] Cannot find my channel with the IDPlease mark as resolved if you’re all set.
Forum: Plugins
In reply to: [.TUBE Video Curator] Cannot find my channel with the IDHere’s an API request matching the one the plugin is using to find your channel…
As you can see it returns no results.
You can try this with other channel IDs to see that they properly return results (i.e. populate the “items” node)…
Given this, I’m sorry to say that you may need to either (a) take this up with YouTube’s API folks or (b) look further into the API and your channel settings to determine why your channel doesn’t appear as I get the sense there’s some setting in your channel preventing it from appearing in the API.
Please post if you determine the resolution.
Forum: Plugins
In reply to: [.TUBE Video Curator] Publication date of the postGreat to hear.
Forum: Plugins
In reply to: [.TUBE Video Curator] Thumbnails are no longer createdThumbnails continue to work as expected on all of my test and production sites.
Please check your PHP error log, make sure you have enough file space, make sure your uploads directory is writeable. Etc.
Every time this happens to someone, it’s NOT something with the plugin but rather their environment.
You can also try disabling all plugins and using Twentyseventeen or the TUBE theme.
Forum: Plugins
In reply to: [.TUBE Video Curator] Publication date of the postHey there –
You can modify the date (and title, content, author, type, etc) prior to posting with the
tube_vc_filter_post_pre_insert
filter.Code below isn’t tested but should work in a functions file or plugin…
add_filter( 'tube_vc_filter_post_pre_insert', 'my_tube_vc_filter_post_pre_insert' ); function my_tube_vc_filter_post_pre_insert( $my_post ){ $my_post['post_date_gmt'] = date( 'Y-m-d H:i:s', time() ); return $my_post; }
Drop if a reply if that doesn’t work for you. Otherwise, please mark as resolved.
TL
P.S. May turn this into a setting on a future update.
Forum: Themes and Templates
In reply to: [.TUBE] Adding ads banners to left and right on single post?DELETED
- This reply was modified 7 years, 2 months ago by toddlevy.
Forum: Themes and Templates
In reply to: [.TUBE] Issues With The Hover EffectDELETED
- This reply was modified 7 years, 3 months ago by toddlevy.
Forum: Plugins
In reply to: [.TUBE Video Curator] Import of images from YouTube stopped workingDELETED
- This reply was modified 7 years, 4 months ago by toddlevy.
Thank you.
Want to mention that after posting this I learned that we’re actually using the Pro version of the plugin, so hopefully the fix can be addressed over there too.
EDIT: Just realized you’re saying the post I linked to is old. I see that, but the age of that post isn’t really relevant.
It’s WP v4.4.2 and Types v1.8.11.
I did not have the liberty to trace this up the chain and try to determine the cause, but this warning was in the logs and there is a foreach loop of $_field_value which it seems is sometimes not set as an array when it gets to that line (just like in the other ticket I referenced).
Note that this is a very large site (~2 million posts, and more meta) and there are other things that break unexpectedly* — so it’s conceivable there’s a query upstream in the plugin that’s choking and preventing $_field_value from getting properly set.
Hope this is helpful info.
* e.g. things that just try to query on an imploded comma list of IDs can end up being too many characters for MySQL when there are a large number of items involved. For example, when the update_term_meta_cache gets called inside of get_terms that’s called on line 499 / 500 of /types/includes/fields-form.php, the query often fails so we end up having to do “hacks” like this…
BEFORE
$terms = apply_filters( ‘wpcf_group_form_filter_terms’, get_terms( $category_slug, array(‘hide_empty’ => false) ) );AFTER
$terms = apply_filters( ‘wpcf_group_form_filter_terms’, get_terms( $category_slug, array(‘hide_empty’ => false, ‘update_term_meta_cache’ => false) ) );Forum: Plugins
In reply to: [Favorites] [Suggestion] Group favorites by post type/taxonomy+1, would also like to see this.
FWIW, we were having a massive problem with Semalt (on a non WordPress site, MD.com) and tried initially to use the removal tool.
It worked fine, but you can only enter one subdomain at a time, and we have 600,000+ subdomains.
Anyway, a little Google recon and we found this page on their site… https://semalt.com/about#office … which lists a Skype contact.
Reached out via Skype expecting bupkis. Turns out the were very responsive and over the course of 24 hours were gone from our analytics.
I realize this company gets a really bad rap so figured I’d mention at least one positive (un)customer service experience.
TL