[CDB] Youtube Videos Gallery

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
doulis
Registered User
Posts: 14
Joined: Mon Apr 16, 2012 2:11 am

Re: [DEV] Youtube Videos Gallery

Post by doulis » Wed Apr 27, 2016 2:15 am

I cant see any SUBMIT button to create a new video..

all permissions are enabled and API KEY its ok!


Image
adult photo sharing

User avatar
Ralfik
Registered User
Posts: 3
Joined: Sat Feb 13, 2016 5:50 pm

Re: [DEV] Youtube Videos Gallery

Post by Ralfik » Wed Apr 27, 2016 2:34 pm

Есть ли русский язык для последней версии? Очень жду. Расширение супер.

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25194
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [DEV] Youtube Videos Gallery

Post by Paul » Wed Apr 27, 2016 3:03 pm

Ralfik, please keep in mind this is a English only forun
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

CCRoiDanton
Registered User
Posts: 35
Joined: Thu Oct 18, 2012 11:17 pm

Re: [DEV] Youtube Videos Gallery

Post by CCRoiDanton » Tue Jun 07, 2016 8:35 am

I just upgraded to the latest version 1.0.2 (from 1.0.0) and got errors after re-enabling the extension. I run the latest phpBB 3.1 (3.1.9). I cannot enable the extension anymore. Also downgrading to 1.0.0 does not work anymore with a different error when enabling.

Can you help me?

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry '1' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_video_cat (video_cat_id, video_cat_title) VALUES (1, 'Uncategorized')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 650
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 377
CALL: phpbb\db\driver\driver->sql_multi_insert()

FILE: [ROOT]/ext/dmzx/youtubegallery/migrations/youtubegallery_install.php
LINE: 155
CALL: phpbb\db\driver\factory->sql_multi_insert()

FILE: (not given by php)
LINE: (not given by php)
CALL: dmzx\youtubegallery\migrations\youtubegallery_install->insert_sample_data()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 322
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 202
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 185
CALL: phpbb\db\migrator->update_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 80
CALL: phpbb\db\migrator->update()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 187
CALL: phpbb\extension\base->enable_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 177
CALL: phpbb\extension\manager->enable_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()

User avatar
Nosfe
Registered User
Posts: 4
Joined: Mon Apr 13, 2015 9:24 am

Re: [DEV] Youtube Videos Gallery

Post by Nosfe » Wed Jun 08, 2016 11:03 am

Salut,

Il serai bien d'ajouter un système de permissions pour les catégories, et encore mieux avoir la possibilité d'envoyer les vidéos depuis sont PC.

Vu qu'il n'existe pour le moment aucune autre Galerie Vidéo. ;)

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [DEV] Youtube Videos Gallery

Post by RMcGirr83 » Wed Jun 08, 2016 11:15 am

Paul wrote:please keep in mind this is a English only forun
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

sploinker
Registered User
Posts: 15
Joined: Thu Mar 09, 2006 4:27 am

Re: [DEV] Youtube Videos Gallery

Post by sploinker » Tue Jun 14, 2016 7:03 pm

This extension blew up my ACP panel with the following error in the header. I have followed all the installation instructions, the API key, all to the letter. I have disabled the extension, deleted the associated data, and removed the extension and I sill get the below error:

Code: Select all

Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR) in /home/trante2/public_html/test1/testphpbb/includes/functions_module.php(472) : eval()'d code on line 1

Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR) in /home/trante2/public_html/test1/testphpbb/includes/functions_module.php(472) : eval()'d code on line 1

Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR) in /home/trante2/public_html/test1/testphpbb/includes/functions_module.php(472) : eval()'d code on line 1
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 134: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions_module.php(472) : eval()'d code:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 134: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions_module.php(472) : eval()'d code:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 134: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions_module.php(472) : eval()'d code:1)
    
I also can no longer delete my cache. I get a spinning circle indicating its working then just goes away with no confirmation to delete the cache. Any ideas?

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Youtube Videos Gallery

Post by dmzx » Tue Jun 14, 2016 7:16 pm

Strange not seen this before.
What version of phpBB you use?
Try to delete the files in the cache directory manual but not .htaccessand index.htm
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

sploinker
Registered User
Posts: 15
Joined: Thu Mar 09, 2006 4:27 am

Re: [DEV] Youtube Videos Gallery

Post by sploinker » Tue Jun 14, 2016 8:24 pm

I'm on 3.8 but upgraded to 3.9 to see if it would correct the issue. I was getting the same errors as others as well when trying to post videos, etc. it worked great other than the errors and after half a day messing with it to get it to work I gave up and just uninstalled it. I'll try to remove manually and let you know what happens.

sploinker
Registered User
Posts: 15
Joined: Thu Mar 09, 2006 4:27 am

Re: [DEV] Youtube Videos Gallery

Post by sploinker » Tue Jun 14, 2016 9:05 pm

Manual clear did not work.


UPDATE:
I found the problem and it was NOT your code. Apparently while messing around I managed to turn off "hide errors" function set in php.ini so it was showing all errors. Upon looking at the log these errors have been around for a month which I have now resolved. Apologies for thinking it was your code and not my dumb @$$! In any case, installing this on 3.8 still results in the aforementioned errors.

Thanks for responding!

UPDATE:
Got it all working perfectly.

User avatar
Galandas
Registered User
Posts: 731
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: [DEV] Youtube Videos Gallery

Post by Galandas » Wed Jun 22, 2016 9:31 am

Italian translation, regards ;) here download --->
Last edited by Galandas on Fri Mar 31, 2017 3:54 pm, edited 1 time in total.
English is not my native language My CDB Contributions My RC extensions

User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Youtube Videos Gallery

Post by noth » Fri Jul 15, 2016 6:27 pm

I had the 0.1.3 version of this EXT

decided the 1.0.2. looked good so disabled 0.1.3. took out the 0.1.3 files, placed 1.0.2 files instead

enabled 1.0.2 ext

this is the result

Code: Select all

SQL ERROR [ mysql4 ]

Duplicate entry '1' for key 'PRIMARY' [1062]

SQL

INSERT INTO w2phpbb_video_cat (video_cat_id, video_cat_title) VALUES (1, 'Uncategorized')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 650
CALL: phpbb\db\driver\mysql->sql_query()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 377
CALL: phpbb\db\driver\driver->sql_multi_insert()

FILE: [ROOT]/ext/dmzx/youtubegallery/migrations/youtubegallery_install.php
LINE: 155
CALL: phpbb\db\driver\factory->sql_multi_insert()

FILE: (not given by php)
LINE: (not given by php)
CALL: dmzx\youtubegallery\migrations\youtubegallery_install->insert_sample_data()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 322
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 202
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 185
CALL: phpbb\db\migrator->update_do()
so it seems if you want to upgrade from an early version you will have to delete all your data first :( which is a shame, is that the only solution here?


and now when I try and go back to the 0.1.3 version I can't even do that, I get this
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/class_loader.php on line 160: require(./../ext/dmzx/youtubegallery/migrations/youtubegallery_install.php): failed to open stream: No such file or directory

Fatal error: require(): Failed opening required './../ext/dmzx/youtubegallery/migrations/youtubegallery_install.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/ma/windsorsafaripark.org.uk/phpbb/class_loader.php on line 160

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [DEV] Youtube Videos Gallery

Post by Volksdevil » Fri Jul 15, 2016 10:34 pm

Is there any way I can change the extensions 'video' path to 'videos'? My website already has a folder 'video'. I'm getting a blank white page with
403 Access Denied. If this is in error, please contact support.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
Austeyr
Registered User
Posts: 22
Joined: Thu Jun 23, 2016 5:48 am
Location: Australia
Name: Randell Monaghan
Contact:

Re: [DEV] Youtube Videos Gallery

Post by Austeyr » Sat Jul 16, 2016 1:57 am

Great Ext.. but first thing i noticed is it's not responsive...
ive searched all the files and i can't make sense of where to change it from px to %


How do i make the video on the view video page become responsive so it fits to screen on mobile devices i'd be happy with some hack em up job so it works.
Last edited by Austeyr on Sat Jul 16, 2016 2:29 am, edited 1 time in total.
My phpBB Forum Oxaus Community Forum.
It's more than just a forum. you need to see this.

My Sons phpBB Forum Happy Forum.
He's only 6 Months Old. World's Youngest Webmaster ?

Fav Quote :
The only thing necessary for the triumph of evil is that good men do nothing.
~
Edmund Burke

User avatar
Austeyr
Registered User
Posts: 22
Joined: Thu Jun 23, 2016 5:48 am
Location: Australia
Name: Randell Monaghan
Contact:

Re: [DEV] Youtube Videos Gallery

Post by Austeyr » Sat Jul 16, 2016 2:11 am

Austeyr wrote:Great Ext.. but first thing i noticed is it's not responsive...

ive searched all the files and i can't make sense of where to change it from px to %


How do i make the video on the view video page become responsive so it fits to screen on mobile devices i'd be happy with some hack em up job so it works.

Here's my own little hack and slash job to get it to work it's not pretty at all lol


Go to
ext/dmzx/youtubegallery/controller/admin_controller.php

Find

Code: Select all

'video_width'						=> array('lang' => 'ACP_VIDEO_WIDTH', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'append' => ' ' . $this->user->lang['PIXEL']),
Replace With

Code: Select all

'video_width'						=> array('lang' => 'ACP_VIDEO_WIDTH', 'validate' => 'string', 'type' => 'text:4:4', 'explain' => true, 'append' => ' ' . $this->user->lang['PERCENT']),
Go To

ACP Admin > Extensions > Youtube Gallery Settings

Notice now the px has been removed from the end of the width field.

In the width field paste

100%

Demo Of Responsive Video : http://sabaai.org/forum/video?mode=view&id=1




This is a very dirty hack can developer come up with a cleaner fix please everything must be responsive these days or you might as well not have a website. Mobile is the future.
My phpBB Forum Oxaus Community Forum.
It's more than just a forum. you need to see this.

My Sons phpBB Forum Happy Forum.
He's only 6 Months Old. World's Youngest Webmaster ?

Fav Quote :
The only thing necessary for the triumph of evil is that good men do nothing.
~
Edmund Burke

Locked

Return to “Extensions in Development”