Charlie Merland
Forum Replies Created
-
Forum: Plugins
In reply to: [WPMovieLibrary] PersonnalisationYou’re not editing the
wp-includes/functions.php, are you? You’re never suppose to edit these kind of files, referred to as ‘core files’; thefunctions.phpyou have to edit is the one located in theme folder,wp-content/themes/yourtheme/functions.php😉Forum: Plugins
In reply to: [WPMovieLibrary] Custom URLThat’s no stupid question; the simplest answer is that it makes it easier to develop and use in numerous ways. There are tools inside WordPress that make it much easier to use custom post types rather than regular posts you would have to constantly separate from movies before doing anything; using a CPT you can target actions on this post type only and leave all other post types aside, affect custom taxonomies to this CPT only, define metaboxes, etc…
The compatibility issue in another part of the problem, but I tend to see it the other way: more often than not, compatibility issues come from themes that doesn’t support custom post types or handle them poorly; but since the plugin uses regular WordPress techniques, every theme should work smoothly with it. Technically CPT are in all points similar to regular posts, except for the
post_typefield in the database that’s set to ‘movie’ instead of ‘post’; it’s really easy for theme developers to adapt, but obviously a lot of them just don’t think about it when working on a theme.All considered, it is much more easier and cleaner to use a custom post type, even though compatibility with some themes can require a few tweaks 🙂
Forum: Plugins
In reply to: [WPMovieLibrary] Custom URLDon’t mention it! I noticed the suffix doesn’t show in the post editor, this is really a quick as I have virtually no idea on how to apply to movies the same rewrite rules as regular posts… That’s something I’ll be looking for to learn and implement in v2 🙂
Forum: Plugins
In reply to: [WPMovieLibrary] PersonnalisationCould you paste that error message?
Forum: Plugins
In reply to: [WPMovieLibrary] Custom URLI’m afraid there’s still some work to do on v2.0 before we can think of delivering a stable release…
Here’s an edited v1.2.2
class-wpml-utils.phpthats works everywhere I tested it, see if it works for you: https://gist.github.com/CaerCam/1e0f68c36ab45f060df3 Edit your custom value at line 113.Note: this should only make the links work with or without the suffix; to generate permalinks including your suffix, add this to your theme
functions.phpfile: https://gist.github.com/CaerCam/773f048663082e4c4b00That being said, from I just saw of your website the suffix seems to work, doesn’t it?
Forum: Plugins
In reply to: [WPMovieLibrary] PersonnalisationThanks!
Ha, seems one link at least is missing on the official website, I’ll update it. You can still download the extensions from GitHub: Trailers and LightBox. I’m not sure at which point they’re compatible with the current version of the plugin, though, I had to set aside the dev on extensions as we’re pushing hard on version 2.0 😉 We want version 2.1 to have a really cool extension management process so we’re taking some advance to make it easier then!
Forum: Plugins
In reply to: [WPMovieLibrary] PersonnalisationSorry minastirs, I got my GitHub account renamed a while ago so the link’s dead and I can’t edit it anymore. Here’s the correct one: https://gist.github.com/CaerCam/cf57b979d795ba3e83aa
Forum: Plugins
In reply to: [WPMovieLibrary] Custom URLIt does work on my test installations; did you reload the Settings > Permalinks page to apply the change?
Forum: Plugins
In reply to: [WPMovieLibrary] changing metadata box size and floating it to the rightGlad you got it working, thanks to ‘Film Complet En Francais’! There’s indeed a lot of work going on to release version 2.0, hence some delay in support… Sorry about that!
Forum: Plugins
In reply to: [WPMovieLibrary] Custom URLSure, please try changing line 122 from:
$movies . '/([^/]+)/?$' => 'index.php?movie=$matches[1]',To:
$movies . '/([^/]+)-your_value/?$' => 'index.php?movie=$matches[1]', $movies . '/([^/]+)-your_value(/[0-9]+)?/?$]' => 'index.php?name=$matches[1]&page=$matches[2]', $movies . '/([^/]+)-your_value/page/?([0-9]{1,})/?$]' => 'index.php?name=$matches[1]&paged=$matches[2]',Let me know how this works!
Forum: Plugins
In reply to: [WPMovieLibrary] Custom URLHi there,
It can’t work on movies indeed as most of the permalink structures are hard-corded in the plugin. That’s kind of poorly handled and we’ll fix this in version 2.0.
In the meantime you can edit the plugin’s rewrite rules in the
register_permalinks()function of theincludes/class-wpml-utils.phpfile and add you custom value to the regular expressions you want. Don’t forget to reload the dashboard’s “Permalinks” page so the changes are effective!Forum: Plugins
In reply to: [WPMovieLibrary] will movie library work on themify?Like I said earlier your best shot right now is to install a standard WordPress theme like Twenty Fourteen and activate it temporally, time enough to see if everything works with it. Then we can see what’s wrong with the plugin or the Parallax theme!
Forum: Plugins
In reply to: [WPMovieLibrary] will movie library work on themify?If you have a ZIP file of the Parallax theme I will test it on my testing install to make sure it isn’t a compatibility issue and if so, how to fix it. If not, we’ll take a deeper look to your website!
Forum: Plugins
In reply to: [WPMovieLibrary] will movie library work on themify?Ok, you’re actually running WordPress 4.0 and version 1.2.2 of the plugin, which is good. As for the requirements this version should work with PHP 5.3 although I’d recommend using a more recent version like PHP 5.4 or even 5.5 if possible.
Did you had any issue when importing the movie’s metadata? Are the fields filled correctly? For “Under The Skin” you should have something like this: http://pix.caercam.org/upload/original/1411024504.png
Parallax is a premium theme so I can’t provide direct support here, but you can follow up by mail to support [at] wpmovielibrary [dot] com to see if we can check this further.
Forum: Plugins
In reply to: [WPMovieLibrary] will movie library work on themify?Hi thegiblet,
A few questions come to mind: which version of the plugin and WordPress are you using? Which theme exactly? Does the plugin work with any of the default WordPress themes (Twenty fourteen for instance)? What’s your site URL?