Support > cpg1.6 miscellaneous
Remote videos plugin, should it work or does it need amending for 1.6?
(1/1)
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
ron4mac:
It will need to be updated for CPG 1.6.x.
sharpo:
Thanks, explains why I couldn't get it to work.
Sharpo.
Α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
--- Code: ---if (mysql_result(cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_FILETYPES']} WHERE extension = '{$filetype}'"),0) == "0") {
--- End code ---
and replace with
--- Code: ---if (cpg_db_result(cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_FILETYPES']} WHERE extension = '{$filetype}'"),0) == "0") {
--- End code ---
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.
Navigation
[0] Message Index
Go to full version