Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Remote videos plugin, should it work or does it need amending for 1.6?  (Read 4928 times)

0 Members and 1 Guest are viewing this topic.

sharpo

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 332

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
Logged
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026

It will need to be updated for CPG 1.6.x.
Logged

sharpo

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 332
Re: Remote videos plugin, should it work or does it need amending for 1.6?
« Reply #2 on: August 25, 2018, 02:19:41 pm »

Thanks, explains why I couldn't get it to work.

Sharpo.
Logged
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é

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos plugin, should it work or does it need amending for 1.6?
« Reply #3 on: September 18, 2018, 02:54:19 pm »

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
Code: [Select]
if (mysql_result(cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_FILETYPES']} WHERE extension = '{$filetype}'"),0) == "0") {and replace with
Code: [Select]
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".
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos plugin, should it work or does it need amending for 1.6?
« Reply #4 on: September 18, 2018, 03:31:52 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.