Remote videos plugin, should it work or does it need amending for 1.6? Remote videos plugin, should it work or does it need amending for 1.6?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Remote videos plugin, should it work or does it need amending for 1.6?

Started by sharpo, August 24, 2018, 04:38:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sharpo

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
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

ron4mac


sharpo

Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Αndré

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".

Αndré

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. You can download the cpg1.6.x compatible plugin there.