Simon Barnett
Forum Replies Created
-
Forum: Plugins
In reply to: [WP YouTube Lyte] #hqThumb=1 not reflecting on playlists in custom fieldsThanks Frank,
I’d prefer not to change core files, and my crude solution – only good for one video per page – is working fine for now. I simply used:$video_image = get_post_meta(get_the_id(), 'VideoImage', true); if (!empty($video_image)) { echo "<style type=\"text/css\">.lyte .pL {background-image: url(". $video_image .") !important;</style>"; }hooked in wp_head and wrapped in a function.
I’ll wait for your official update before making the code more elegant.
Thanks for continuing to improve this great plugin : )Forum: Plugins
In reply to: [WP YouTube Lyte] #hqThumb=1 not reflecting on playlists in custom fieldsThanks Frank. Amazingly helpful, as ever : )
Yes, a thumbnail URL filter would be a great option to have. Since we only ever have one video per page on this site, I could simply and crudely override the video image URL in CSS by entering a Custom Field, but a filter would be so much better.
Forum: Plugins
In reply to: [Sticky Element] Possible conflict with Infinite Scroll pluginThis solved it:
Added position: relative to the container of sticky / infinite scrolling elements, then:
#clone { position: absolute;}Forum: Plugins
In reply to: [Infinite-Scroll] Possible conflict with Sticky Element pluginThis solved it: a fix to a div inserted by Sticky Element:
Added position: relative to the container of sticky / infinite scrolling elements, then:
#clone { position: absolute;}Forum: Plugins
In reply to: [WP Job Manager] User Behaviour StatsYes, thanks Mike. I received your email.
Sorry for the overkill. Since this is an open forum I thought I could get opinions from users who had achieved this without bugging you personally.
This is useful info. I could work with that as a starting point.
The ball is in my client’s court now, but when they are ready they’d be happy to pay for advanced support if it’s on offer.
Will be in touch.
Thanks againForum: Plugins
In reply to: [WP YouTube Lyte] Problems with playlists in custom fieldsYou’re too fast, Frank : ) Thanks so much
Forum: Plugins
In reply to: [WP YouTube Lyte] Problems with playlists in custom fieldsHi Frank,
Yes, lyte_preparse(). We are pulling it from a custom field with the following code:
add_action( 'genesis_before_entry_content', 'lyte_video_custom_field' ); function lyte_video_custom_field() { $video = get_post_meta(get_the_id(), lyteID, true); if(function_exists('lyte_preparse') && $video) { echo lyte_preparse($video); } }I don’t mind creating another custom field for playlists if that’ll help.
How does one parse playlists?Thanks,
SimonForum: Plugins
In reply to: [Advanced Excerpt] Selectively disable custom template OR filter contentThanks Chris – appreciated. I eventually solved it by putting each post’s video URLs in a custom field and calling them via a hooked function for single posts and archive templates.
Forum: Plugins
In reply to: [WP YouTube Lyte] Show only Lyte videos in archive templateThat makes total sense. Wow, super-useful, Frank : )
My client just called to say he no longer needs it on this urgent project (I edited my post while you were writing yours, I think), but we often do need this sort of thing. I’ve had a little experience with JSON encode / decode, so if the need comes up again I’ll certainly forward you the code (unless you beat me to it). Thanks again!Forum: Plugins
In reply to: [WP YouTube Lyte] Show only Lyte videos in archive templateThanks Frank. As of now, my client no longer requires this functionality, so no need to respond unless maybe you think it’s an easy answer and useful to the forum.
Normal posts are fine as they are (text, video, images), but using a custom archive template, I’d like to strip out any other content (text, images) and display only Lyte videos. So the template would have to “find” or filter only httpv links, and display only the videos embedded in posts, and nothing else.
I know WordPress has a way of searching-for and oEmbedding youtube links, and maybe Lyte is working within that system so perhaps this is a WordPress question, but worth asking just in case Lyte has it’s own algorithm for spotting httpv links. Something like
add_filter('the_content', 'lyte_parse');
but more exclusive to finding only embedded videos.Forum: Plugins
In reply to: [User Access Manager] Access by users in more than 1 groupSeems to be working now: Access is granted, not denied by checkboxes. I have no idea why it was all upside-down before : /
Forum: Plugins
In reply to: [Analyticator] ALL widget areas not showingThat is to say all widget areas not showing in wp-admin/widgets.php
Fine in the front end of the site.Forum: Plugins
In reply to: [Appointment Booking Calendar] Volunteer SystemThanks for the detailed response!
We ended up buying EventEspresso which I’m testing now, but I’ve taken the fact that this plugin supports many of our required features into consideration.
Kind regards,
SimonForum: Plugins
In reply to: [Booking Calendar] Volunteer SystemMany thanks for responding in such detail. I’ll add that to my research.
Kind regards,
SimonForum: Plugins
In reply to: [Widget CSS Classes] No classes in Genesis since plugin version 1.2.5I remember thinking that after reading the changelog. Maybe it was two (or more?) versions out? I hadn’t looked at the site in a maximum of two weeks, and I updated without checking the version – assumed it was 1.2.4, but maybe I was wrong about that.
In any case I’m happy to have simple lightbox turned off, but perhaps some others won’t be?