Charlie Merland
Forum Replies Created
-
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workYou can try using this dev version, see if that fixes it: https://github.com/CaerCam/wpmovielibrary/archive/e719055204e46b54a1740f59c4a3032e5457fd12.zip
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workThink I have the answer, though it came by luck while looking at another bug: are you by any chance using PHP 5.3.x? If so, that’s the issue, update to PHP 5.4 should fix it. I’m now trying to find a workaround this thing…
Forum: Plugins
In reply to: [WPMovieLibrary] Images not LoadingThe images not loading should be fixed with version 1.2.
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workHuh, weird, I’ll keep looking then!
Forum: Plugins
In reply to: [WPMovieLibrary] Related postPas de soucis, content que cela fonctionne 🙂
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workMy bad, line 172-173 should be change for this:
$details = self::movie_details(); $metadata = self::movie_metadata();As for the second part, you’re using a lot of WP_Query() instances; default behavior is to use only posts, so you need to add an additional parameter wherever you want want movies to appear along with your posts. For example if you were to display 3 posts somewhere (like you do at line 74 in your
index.php) and want to show movies along with regular posts, you would have to change you query from:$catquery = new WP_Query( 'posts_per_page=3' );to:
$catquery = new WP_Query( 'post_type=post,movie&posts_per_page=3' );You may not need this right now, though; but that’s a tip that could become useful soon, so at least you have it 🙂
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workOkay, looking at your theme you have a lot of bugs, I’ll mail you few tips you may want to apply to avoid some problems in the future 🙂
As for the bug, it doesn’t occur on my test install, but I see where it lies: edit
public/class-wpml-movies.phpand switchWPML_Moviesforselfat lines 172 and 173; that should do the trick.Forum: Plugins
In reply to: [WPMovieLibrary] Related postDésolé, lien périmé : https://gist.github.com/CaerCam/b26e64859abdc995adfc
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workThanks for the heads up on the Infinite Scroll plugin, I’ll take a look at it!
Once you’ve imported the images you can use the
[movie_images]to show the images in your post, or simply include them manually using the media library tool, they’re just regular WordPress media and should appear along with your other content.If you can send me a ZIP of your theme at support[at]wpmovielibrary[dot]com I’ll see if I can find what’s going wrong with movies.
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workIt could be an issue with your theme, the better way to find out is to switch your blog to one of the default WordPress themes, say Twenty Twelve or Twenty Fourteen: if the problem still appears, it’s not your theme. I use both the above themes on almost all my testing sites so the plugin should fully work with them.
Links could come from a wrong theme architecture, or a missing permalink structure.
As for the template, you should be able to handle custom templates by adding a
single-movie.phpto your theme. I haven’t tested this yet, though, I’ll take a look.Note: I just updated a rather important new version, be sure to check if that changed anything.
Forum: Plugins
In reply to: [WPMovieLibrary] Movie images don't workHi altruistas
That’s a known bug, it should be fixed in the next update of the plugin due this week. A workaround is to open the classic WordPress Media Modal like you do to add medias to a post, select the “Media Library” tab instead of “Upload”, close the modal and open the plugin’s images modal. It should now show the images!
Forum: Plugins
In reply to: [WPMovieLibrary] Custom feature.In sevenmag’s
functions.phpfile, add this line right after line 466:'post_type' => array( 'post', 'movie' ),That’s kind of a generic solution: whenever you see a theme/plugin/widget feature showing posts and not movies, you need to find the code block that handle that feature, find any occurrence of functions/methods like
get_postsorWP_Queryand make sure there’s a'post_type' => array( 'post', 'movie' )in the arguments 🙂Forum: Reviews
In reply to: [WPMovieLibrary] Excellent Plugin.Thanks a lot rotimok!
Forum: Plugins
In reply to: [WPMovieLibrary] Custom feature.Glad it’s working now! Best luck with your website 🙂
Forum: Plugins
In reply to: [WPMovieLibrary] Custom feature.Got it, nailed it 🙂
In the theme’s
header.phpfile, edit the block at line 169-172 from:$queryObjectslide = new WP_query( array( 'cat' => $slideshow_category, 'posts_per_page' => $slideshow_num ) );To:
$queryObjectslide = new WP_query( array( 'post_type' => array( 'post', 'movie' ), 'cat' => $slideshow_category, 'posts_per_page' => $slideshow_num ) );That should do the trick!