Charlie Merland
Forum Replies Created
-
Forum: Plugins
In reply to: [WPMovieLibrary] Custom Movie templateHi there rann14,
There are a few different ways to do it, either by customizing your theme or the plugin templates; judging by your example the easiest way is it use a custom Headbox, which you can do by overriding the plugin’s template. Create a
wpmovielibrary/movies/movie-headbox.phpfile in your theme’s folder and edit it as you see fit! Note that it will require a bit of work in PHP as well as HTML/CSS.Forum: Plugins
In reply to: [WPMovieLibrary] Move media to subfolderWordPress has plenty of filters and techniques to do this, I have a few in mind, but I’ll take a look at that plugin, see how it does it. Would be a useful option anyway!
Forum: Plugins
In reply to: [WPMovieLibrary] Adding headbox to post or pageHi garseneau,
Unfortunately no, there’s no Shortcode doing this, but I’ll definitely make one! Meanwhile you can use that code in your templates:
$headbox = new WPMOLY_Headbox(); echo $headbox->get_wpmoly_headbox();It will display the Headbox for the current movie. Note that it’s a bit limited, though. The Shortcode will be more useful!
Forum: Plugins
In reply to: [WPMovieLibrary] Move media to subfolderHi kjoussen,
I thought about it after we talked in private, and though the idea itself is good I thinnk it’s a bit more complicated than just moving files. It’s not simply a question of creating a new folder, it also means rewriting the upload process to use that folder, update internal functions to get/built images paths/URLs, etc. In any case that’s not something I’ll be able to do for a while if I look at what’s already planned − and taking way too much time already… − on the next two versions in development…
The kicker is that, without proper coding, it will not solve your slowness issue: if the files are moved to another folder but still loaded with the other, it’ll still be slow. I’ll run some tests to see if there can be a way to prevent movie images/posters to be loaded on other posts; it may be as good a (simpler) solution 🙂
Forum: Plugins
In reply to: [WPMovieLibrary] Taxonomy for YearHi mrkapital,
Hard to say without more details, the URL looks correct: http://demo.wpmovielibrary.com/movies/year/2013/ is built identically and is working. Are you using a dedicated page to show movies? Any specific permalinks set?
Forum: Plugins
In reply to: [WPMovieLibrary] Fatal ErrorHi ekrocker,
Which version of PHP are you running? To fix the error try editing the
public/class-wpmoly-shortcodes.phpand replace line 818 (private static function prepare_movies( $query, $atts ) {) withpublic static function prepare_movies( $query, $atts ) {and it should be ok!Forum: Plugins
In reply to: [WPMovieLibrary] Customs the size of the TrailerHi c4m,
Can’t really know without looking at it, but if you can provide a link to your website I’ll see how we can make it work!
Forum: Plugins
In reply to: [WPMovieLibrary] Make the spoken language non-clickableYou’re very welcome!
Forum: Plugins
In reply to: [WPMovieLibrary] Ability to have these populate through Visual Composer?Hi eraserheader,
Thanks for the kind words! Unfortunately I won’t be of much help here as I never use Visual Composer on any of my projects… I did use a couple of premium themes year ago that included the plugin so I remember there was some add-ons providing support for custom post types, but I don’t have any reference for this…
Forum: Plugins
In reply to: [WPMovieLibrary] Editing information of posts in Allocine-ThemeGood call lillprinsen! The
viewsfolder is only used in the plugin’s folder, in the theme’s it is replaced by a more self-speakingwpmovielibraryfolder 🙂Forum: Plugins
In reply to: [WPMovieLibrary] Make the spoken language non-clickableSure: just go ahead and duplicate the filter with a slight modification:
function wpmoly_strip_language_links( $data ) { return strip_tags( $data ); } add_filter( 'wpmoly_format_movie_local_release_date', 'wpmoly_strip_language_links', 20, 1 ); add_filter( 'wpmoly_format_movie_spoken_languages', 'wpmoly_strip_language_links', 20, 1 );Forum: Plugins
In reply to: [WPMovieLibrary] Use movie details in index.phpHi Luca,
There is no
is_category-like function to check a movie’s format, but you can create one easily for your theme:function is_movie_format( $format ) { $movie_format = wpmoly_get_movie_meta( get_the_ID(), 'format' ); return in_array( $format, $movie_format ); }Then in the loop you can use simple calls to determine the current movie’s format:
is_movie_format( 'hd' ).That being said, sounds like something I will add to a next version. Can be useful!
Forum: Plugins
In reply to: [WPMovieLibrary] Editing information of posts in Allocine-ThemeYou can also improve the translation if you have time; you can translate the
.pofile (https://github.com/wpmovielibrary/wpmovielibrary/blob/master/languages/wpmovielibrary-iso-de_DE.po) using Poedit. Feel free to submit your edits at support[at]wpmovielibrary[com] 🙂Forum: Plugins
In reply to: [WPMovieLibrary] Featured image, posters, trailers and shortcakesNo problem 🙂
Bonjour,
Désolé pour le retard de réponse, beaucoup de travail en ce moment, ce qui laisse (trop) peu de temps pour assurer le support… Français également, mais je vais répondre en anglais au cas ou d’autres personnes seraient intéressées par la réponse !
Not sure about the multilingual thing, actually. The plugin uses the site current locale to translate Shortcode labels; if your site’s language is set to English, labels will be in English. Which Shortcode(s) cause(s) the label bug?
– CSS
titleclass: that’s right, though there should always be awpmolyclass along with it that you can use.
– Grid alignment: not a bad idea, I’ll think about it.
– Trailer not responsive: indeed. That plugin is still experimental and needs a lot more work to be really usable.As for the other points about the grid, lets just said the Grid in its current state is a mess; it relies on permalinks which was a stupid thing to do in the first place. You can’t have more than one grid in the same page unless it causes issues including sorting, columns or pagination errors. Ordering isn’t working properly either, and display settings are a pain to use and maintain. That’s why I’m working on rebuilding the Grid for the next version; it will rely on JavaScript/AJAX to do the display, sorting, pagination and so on. Much more customizable and powerful 🙂