Lumiere Movies

تفصیل

Visit the Official website to see how the plugin can enhance your website.

Lumiere! Movies helps you integrate loads of information about movies and stars in your blog. Widgets, links to informative popup, and dedicated taxonomy pages are available. Everything is automatised and no further configuration is required from the user. However, should you want to access advanced features, your can change the themes, add taxonomy to your pages, remove links, display automatically information according to your blog posts’ titles, and use many hidden features. The information is retrieved from the popular IMDb website. Lumière! ensures that you have the most accurate and reliable information always available on your blog.

Many features are available in the WordPress old and new editing interfaces (block based editor, visual editor, and wysiwig editor). It is Content Security Policy (CSP) compliant, takes advantage of Polylang plugin and is fully compatible with AMP plugin. It is also fully compatible with Classic Editor and Classic Widgets plugins.

Lumière! is a great tool to illustrate your articles. You can display movie details by several ways, such as in popups, widgets, and straight inside your post. It can be extensively fine-tuned in the admin options panel.

Support

Go to WordPress Support for general issues, or to the GIT repository for technical requests (developper-oriented).

It’s always a good idea to look at the official website

سکرین شاٹاں

  • Popup displayed when an imdb link is clicked.
  • How movie’s data is displayed “inside a post”
  • How movie’s data is displayed in a “widget”
  • Admin preferences for cache
  • The widget area to display a movie
  • Menu in visual editor (tinyMCE) for inclusion of a movie section or popup
  • Tool to insert a movie section or a popup in a post
  • Query page to find a movie IMDb ID
  • Gutenberg block
  • Taxonomy page for a star

Blocks

This plugin provides 4 blocks.

  • Add a popup link Add a link that opens a popup with your selected movie
  • Open a search window Open a new window to query the IMDb for movie and retrieve its ID number
  • Add a movie into your post Add a block in your posts that displays movie data
  • Add a movie in your Widget Widget to add a movie or prevent auto title widget from adding movies in selected posts

انسٹال کرݨ

normal use

  1. Activate the plugin
  2. Should you want to fine-tune your blog, configure the plugin (in admin settings). Default values are automatically filled, no change is needed for normal use.
  3. Install a Lumière widget in the WordPress widget pages if you want to include movie information into your sidebar.
  4. Write a post that includes information about your favourite movie using any of the tools smoothly incorporated into WordPress!

basic options

There are three ways to use Lumière!: 1/ with the popup link maker, 2/ with a widget, and 3/ inside a post. Each option can be combined with any other; there is no limitation.

  1. Popup When writing your post, embed a movie’s title using “Add IMDb Link” option. Select the movie’s title you wrote and click on that option. After publishing your post, your text will be clickable and will open a popup with data about the movie! Technially, an invisible HTML span tag will be added around the selected title such as: < span data-lum_link_maker “popup”> movie’s title< /span> that usually you can’t see except if you’re editing in text mode. You can see if it worked by the little icon on the left of you selected text. Popups can be displayed using Bootstrap, Classic and Highslide modal windows (to be selected in Lumière! admin options).
  2. Widget can be used to display movie’s data related to a post. Go to widgets admin options and add a Lumière! widget in the sidebar you want to show information about movies. Once the widget is activated, you can add information about a movie to your sidebar: when editing your blog post, a new widget will be displayed for your to enter either the movie’s name (that can lead to unexpected results) or the IMDb ID (this never fails in retrieving a movie) of the movie you want to be shown in the sidebar. If you don’t know what the IMDb ID is, you can use the query link provided in Lumière! widget. Just search for the movie name and you will find the IMDb ID.
  3. The plugin can show IMDb data inside a post. Just add a Lumière block and enter a movie’s title or movie’s imdb ID. For the latter, in order to find the IMDb ID use the query tool provided in Lumière block (sidebar block). A similar tool is provided with classic WP editor in a form of dropdown menu. If you’re writing your post with classic WP editor, use Lumière’s bar tools to select the movie title: it will insert html tags around your selection, such as < span data-lum_movie_maker “movie_title”>My movie’s title< /span>.

Fine-tuning:

  1. Lumière! Movies can create virtual pages that include a list of movies identically tagged (known as taxonomy). Taxonomy templates are provided. Check plugin’s help to figure out how to use that option.
  2. You may edit the file assets/css/lumiere.css file to customize the layout according to your taste. In order to keep your stylesheet changes through Lumière! updates, you will need to download an unminified lumiere.css from the Lumiere GIT repository, and after editing it, just put into your WordPress current template folder (a child theme, preferably, as it will get deleted by a template update otherwise). This way, your stylesheet modifications will be kept through Lumière!’s updates.

Advanced

  1. If you do not want Lumière to add any link (in the case you are only looking for information displayed in widget and inside posts), search for the option located in “General options -> Advanced -> Remove popup links?” and select “yes”. Links opening a popup (both in widget and posts) will not be be available anymore.
  2. Should you want to display automatically a widget according to the post’s title, just switch on the “Auto title widget” option located in “General Options -> Advanced -> Auto title widget” in the plugin admin options. Make sure you added a Lumière widget in “Appearence – Widgets”. Usefull for blogs exclusively dedicated to movie reviews, where all posts’ titles are named after movie’s titles. You can prevent a post from displaying the widget by ticking in the post edition’s the Lumiere option “Deactivate auto title widget for this post”.
  3. You may want to include a custom page in your blog that includes all your movie related articles. Have a look there : Lost highway’s movies reviews. Should you want to do the same, check Lumière’s help in your administration interface.
  4. Taxonomy pages and popups URLs can be edited according to your tastes. In advanced general Lumière options, you may want to modify the URL starting with ‘lumiere’ for taxonomy pages. Make sure to refresh your “rewriting rules” when adding new taxonomy (visit in your admin interface the page Permalink Settings (/wp-admin/options-permalink.php)
  5. Should your blog be dedicated to TV shows, podcasts or videogames only, it is possible to change Lumière’s search behaviour to retrieve exclusively those. In advanced general Lumière admin options, look for ‘Search categories’.
  6. Many more options are offered, just take a look at the options and how-to pages!

ہرہک دے سوال

How to use the plugin?

You can find further explanation about how to use the features of Lumière! in the dedicated page of the plugin settings. After installing Lumière!, take a look at the section “Lumière! help”.

Can I suggest a feature/report a bug regarding the plugin?

Of course, pay a visit to the Lumière! Movies home or GIT repository. Do not hesitate to share your comments, glitches and wishes. The plugin does more or less what I need but users have helped me improve Lumière! a lot.

I want to get rid of those links that open a popup!

Look at “General Options -> Advanced -> Misc -> Remove all links?” and switch the option to “yes”. Links will not be displayed anymore, both for the “widget” (inside posts) and external links (like popups).

I want to keep data forever on my disk/server

There are two ways:
1/ Use the automatized refresh of the cache function, a feature that will ensure that you cache is up to date forever by refreshing you current movie/people cache every two weeks. Go to “Cache management -> Cache general options -> Cache automatized functions” and tick “Cache auto-refresh” option. Selecting this option will remove the time expiration of the cache, which will be automatically set to forever.

2/ Keep the cache forever without refreshing it. Go to “Cache management -> Cache general options -> General options” and click on “never” in “Cache expire” to keep forever the downloaded data from IMDb. This means that changes made on IMDb will not be reflected anymore in your cache. Should you have selected that option, you can still delete/refresh any specific movie you want in the cache options. In most cases, previous option “Cache auto-refresh” should be prefered.

Is it possible to add several movies to sidebar/widget and inside my post?

Although one widget only can be added per post, should you use the “auto widget” feature, you may display up to two movies on you sidebar: one automatically created according to your post’s title, one you would have manually added in the sidebar (metabox post options).

Inside your posts, you can insert as many movies blocks as you want, there is no limitation.

How to integrate Lumière with Polylang plugin?

If Polylang is installed, new features for taxonomy are added, such as a dropdown form for selecting the languages in taxonomy pages (such as https://yourblog.com/lumiere-director/stanley-kubrick/). Once you select which to data to turn into taxonomy, you must activate the very same taxonomy in Polylang Settings -> Custom post types and Taxonomies -> Custom taxonomies as your activated Lumière taxonomies.

Is Lumière! compatible with Classic Editor plugin?

If for some reason your are using Classic editor to get back the pre-5.8 WordPress editor interface, you will find all Lumière editing tools adapted to your interface.

Is Lumière! compatible with Classic Widgets plugin?

If for some reason your are using Classic Widgets to get back the pre-5.8 WordPress widget interface, you will find all Lumière editing tools adapted to your interface.

Is Lumière! AMP compliant?

It should be compliant with AMP WordPress plugin installed. You may see some changes in the layout and obviously the apparence will change. Popups will be removed and they will be displayed in a new page, in conformity with AMP standards.

Is Lumière! CSP compliant? (for developpers)

Content Security Policy (CSP) is a webserver based security avoiding injections to your pages. It greatly improves the security of your website.

Although it’s difficult to make WordPress fully CSP compliant, Lumière is fully CSP compliant both for the admin and the frontend interfaces. Neither javascripts nor stylesheets are directly added inside HTML tags, and the plugin uses the standard WordPress system to add scripts and stylesheets.

In order to add a CSP nonce, it is advised to use the standard ‘wp_script_attributes’ and ‘wp_inline_script_attributes’ hooks to inject your nonces into scripts, or use a regex WordPress buffer technique to inject the style nonces.

Can I change the size of the poster pictures?

Sure thing, just untick ‘Display only thumbnail’ in general admin options, untick “Display only thumbnail” and insert the size you want (in pixels) for the picture.

Can I change the size of the popups?

Sure thing, just fill in the width and heigth in general admin options.

Can I change the color themes of the popups or inside the posts?

Sure thing, just select one of the theme available in general admin options, either in ‘plain page’ or ‘popup’ sections.

Can I add or remove the data details, such as director or year of release?

Sure thing, you can also modify the order of these details. Just take a look at data management options.

How does the plugin complies with Privacy Policy, such as the GDPR?

No data is sent to IMDb about end users. The website host does its own queries to the IMDb, without knowing who is visiting it.

Only the website owner is known from the IMDb, and must comply with the IMDb privacy policy
No data about the end user is sent to any other third party, so Lumière! is GDPR compliant. A short paragraph can be accessed in your admin privacy policy page, which can be added to your own privacy policy page.

When accessing people/movie popups nothing is shown, a “404 Not Found” is thrown

If you get a “404 Not Found” when accessing pages like “/lumiere/person/?mid=0000040”, it is most certainely due to a webserver’s misconfiguration. Make sure to add to .htaccess the following option, at the beginning of the file:

Options Includes

This value is supposed to be included by default in your Apache configuration. You can take a look at how to edit .htaccess.

Incompatiblity

Lumière is incompatible with Echo RSS Feed Post Generator, a predator plugin. If you installed it, you won’t be able to use Lumière. Any plugin that is meant to build fake automatized blogs, will be added to that red list.

Known issues

  • none.

ریویو

جولائی 26, 2024 2 replies
Listing thousands of movies on my website can be quite a task, but this plugin has been a game-changer. It not only saves me valuable time to focus on other aspects but also enhances the visual appeal of my posts. When I encountered a minor issue (which, admittedly, was my own fault), tech support responded swiftly and provided amazing assistance. I wholeheartedly recommend this plugin for any website dealing with IMDB movie entries.
سارے 2 ریویو پڑھو

Contributors & Developers

“Lumiere Movies” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

“Lumiere Movies” has been translated into 2 locales. Thank you to the translators for their contributions.

“Lumiere Movies&#8221 دا آپݨی زبان وچ ترجمہ کرو۔

ڈیویلپمنٹ وچ دلچسپی ہے؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تبدیلی لاگ

An recent list of changes is available on GIT.

Major changes:

4.1

Popup spinners to make you visitors wait, nicer popup layouts, faster taxonomy pages display, better support of Polylang if it’s an AMP page. Fixed longstanding bugs.

More flexibility for the auto title widget users: You can now prevent a post from displaying the auto title widget by ticking in the post edition’s the Lumiere option “Deactivate autowidget for this post”.

[…]

4.0

Added new automatized refresh of the cache function, a cool feature that will ensure that you cache is up to date forever! Fixed also the taxonomy system, it now creates proper links towards taxonomy pages (ie: https://yourblog.com/lumiere-director/stanley-kubrick) within widgets/into the posts sections, with the appropriate language. Taxonomy for items (ie: genre) is now displayed for all items found. Added the general advanced option to add an extra delay when querying the IMDb website. Data downloading from imdb website is retried 3 times before giving up. Fixed bug in plugin activation, layout in admin data options position, improved Content security policy standards and compatibility with HTML 4.1, PHP 8.0, PHP 8.3. Banning bots is now executed before doing any IMDb search or display, avoiding cache creation (and 504 HTML errors when calling IMDb website!). Improved the comments in admin sections. Under the hood, the admin option pages have been cleaned and rewrote.

And much more! This is a major new version, more stable and safer, extensively tested before the release.

[…]

3.0

  • Major update, plugin vastly rewritten. Name IMDb Link Transformer changed to Lumière!. Should be Content Security Policy (CSP) compliant. Too many changes to be listed. Check the changelog.