Another update of the DLE Kodik module has been released with minor fixes for automatically populating movie websites from the Kodik database. In this version, the manual search now includes the values for LGBT (Yes/No) and Camrip (Yes/No). Also added is the display of the release year value. Now, information about Kinopoisk ($kp_id) will only be displayed if the Kinopoisk value is not empty. Some styles for manual search have been slightly adjusted.
Installation:
1. Before installation, the mandatory categories must be available or created:
- Movies
- Series
- Cartoons
- Anime
- Anime Series
*for anime sites - only anime and anime series.
2. Install the plugin in the DLE admin panel at /admin.php?mod=plugins - "upload plugin".
3. Upload the engine folder with its contents.
4. Upload the file xfields.txt from the archive to engine/data or use your own (the mandatory condition is the presence of fields kinopoisk_id, imdb_id, shikimori_id for anime, mdl_id for dramas, and kodik_id - with exactly these field names).
Important: when auto-populating, duplicate checking is performed - by the NAME of the fields kinopoisk_id, imdb_id, shikimori_id, mdl_id, and kodik_id. The main condition is the presence of these fields with exactly these names. If the fields are named differently - do not delete your field. First, create a field, for example, kinopoisk_id, and then in PHPMyAdmin, execute the query to transfer the Kinopoisk IDs to this field:Also for kodik_id:
UPDATE dle_post SET xfields = REPLACE(xfields, 'YOUR XFIELD NAME', 'kinopoisk_id');
UPDATE dle_post SET xfields = REPLACE(xfields, 'YOUR XFIELD NAME', 'kodik_id');
5. Configure the tabs with additional fields and categories in the module.
6. Enter your API Token from the Kodik database.
7. For grabbing and auto-adding anime/movies and TV shows via cron, set up and run the crons from the "cron.txt" file.
Done!
If the module is configured but automatic addition of movies/TV shows does not work, then go to the cron link on your website /engine/kodik/grab.php.
Общий рейтинг: 0
Всего оставлено 0 комментариев• DLE Version: 13.x-16.x
• PHP Version: 7.1-8.1
• Scheduler: Cron