forum.coppermine-gallery.net
Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: sharpo on August 24, 2018, 04:38:29 pm
-
Some years ago I used the plugin in my 1.5 gallery. I did try the latest version in my 1.6 test could not batch add the files.
Has anybody tried it with 1.6 yet? For me, an easy alternative would be to replace the youtube image with an ordinary one, with a link to the video from the description field. Not sure how many images would need replacing, maybe dozens or hundreds - oh dear!!!!
Sharpo
-
It will need to be updated for CPG 1.6.x.
-
Thanks, explains why I couldn't get it to work.
Sharpo.
-
I just had a quick look at the plugin and I was able to add you .youtube file to the gallery when changing one line. Open admin.php (index.php?file=remote_videos/admin), find
if (mysql_result(cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_FILETYPES']} WHERE extension = '{$filetype}'"),0) == "0") {
and replace with
if (cpg_db_result(cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_FILETYPES']} WHERE extension = '{$filetype}'"),0) == "0") {
Then, you need to open the plugin's configuration and click "Apply changes".
-
After porting the plugin to cpg1.6.x I noticed it has already been ported by Ron and added to our Git repository ::)
However, I made some maintenance changes and created a plugin announcement thread (http://forum.coppermine-gallery.net/index.php/topic,79474.0.html). You can download the cpg1.6.x compatible plugin there.