Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 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 1363 times)

0 Members and 1 Guest are viewing this topic.

sharpo

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

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) my main gallery was started in January 2006.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 926

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

sharpo

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 210
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) my main gallery was started in January 2006.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15527
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: 15527
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.016 seconds with 21 queries.