dsdmdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Can't Find YouTube ThumbnailsIs there a way to get it to work with ”_tern_wp_youtube_video’ like above but also automatically pull in thumbnails from new videos without having to manually click “scan posts” every time a new video is pulled in?
Also so far I still just keep getting a 500 error. I doubt that it would trigger a 500 error if it’s actually paginating, but maybe it’s paginating and shows up correctly and there’s a 500 error for some other reason, which I guess just adds a problem to the situation that I’ll have to figure out.
Ah okay, I think I misunderstood where it says “Bear in mind that once you’ve found what you want to modify you should delete the other files” on the documentation on your site. I’m guessing that actually means to keep all templates in the plugins folder but only the modified ones in the themes folder?
It doesn’t seem to change anything… https://www.supermegabig.com/groups/standup/events/
I have the templates in my theme /plugins/events-manager/, and deleted the ones in the plugins/ folder, but nothing’s seemed to change…
Ok thanks!
Now I have:
$events = EM_Events::get(array('group'=>'my', 'pagination'=>1));
in my my-group-events.php, and:
$events = EM_Events::get(array('group'=>$bp->groups->current_group->id,'scope'=>'future', 'pagination'=>1));
in my group-events.phpShould I change “get” to “output”?
When there’s a 500 error, the error in my logs is “Premature end of script headers: index.php”
Sorry about that. If you go to this group page (forgive that I haven’t done any design work on this site yet so it’s sort of all over the place) and click on the “events” link, it shows this. You would expect the event listing to show up under the events tab in the group page just like the other tabs, but it just shows up with the info on the page and nothing else.
Also, that page might not load at all and you might get a 500 error. There are a TON of events (multiple weekly recurring events per day) and it’s really screwing with the server.
Thank you! I appreciate it.
Is the fact that it’s also rendering outside of the them (header, sidebar, footer, nav, buddypress nav, etc.) something on my end or is that a generally odd thing with the Events Manager template too?
Thank you for your response!
Okay, understood. Though I’m not quite sure how to add pagination – it couldn’t be TOO hard though.
Is it supposed to show up the way it’s showing up? It seems like it’s supposed to show up within the content area under the “events” link in the buddypress navigation. Instead it’s just outputting the information with no template at all.
I ended up increasing the memory limit to 256 in order to get it to show up, and it doesn’t even show up on a page with the site’s header/footer/sidebar/etc. It’s just outputted with no style whatsoever. Am I missing something here?
Also it seems to show all events in the current month. Is there a way to make it week instead of month?
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Can't Find YouTube ThumbnailsNevermind got it working! I think it was an issue with old vs. new version of the plugin.
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Can't Find YouTube ThumbnailsI successfully implemented this on one site, and it’s still working, however when I used the same files to make this happen again on a new site, it’s now no longer working. This is still what I have:
$video_key = '_tern_wp_youtube_video'; $markup = 'https://youtube.com/watch?v=' . get_post_meta($post_id, $video_key, true); $new_thumbnail = null;
is something wrong here?
Forum: Plugins
In reply to: [Video Thumbnails] Work with Automatic Youtube Video Posts Plugin?Actually, is there a way to get it so that I don’t have to rescan for thumbnails every time a new video is added? Is there a way to make it so that the thumbnail is automatically added whenever a new post is added? I thought that’s how this plugin worked but I’m assuming the tweak I made just made it apply only to the scanning and not to the automatic thumbnail creation on new posts?
Forum: Plugins
In reply to: [Video Thumbnails] Work with Automatic Youtube Video Posts Plugin?This post worked for me! Sorry bout that! Thank you!
Forum: Plugins
In reply to: [Video Thumbnails] Work with Automatic Youtube Video Posts Plugin?Also, I checked this post hoping I could make it work for this issue, and I haven’t been able to do so. Either I can’t find the right thing to put in the “video_key” space, or that fix just doesn’t work for this plugin.