[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!
Anti-Spam Guide
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)
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10475
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by _Vinny_ »

bigredclaygeorgia wrote: Wed Mar 01, 2017 10:29 pmThis would work for 3.2 right? I am converting from mybb to phpbb would this plugin work?
[3.1][3.2][DEV] Youtube Videos Gallery
doelle4
Registered User
Posts: 12
Joined: Wed Oct 19, 2016 6:26 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by doelle4 »

When i activate the Gallery Extension i see this Error Screen:
Whats wrong? I need the Gallery for http://kopterforum.at..

"Allgemeiner Fehler
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_sample.php
LINE: 43
CALL: phpbb\db\driver\factory->sql_multi_insert()
FILE: (not given by php)
LINE: (not given by php)
CALL: dmzx\youtubegallery\migrations\youtubegallery_sample->insert_sample_data()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 591
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 538
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 361
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 216
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 199
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: 179
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
dmzx
Registered User
Posts: 861
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by dmzx »

doelle4 wrote: Fri Mar 03, 2017 12:37 pm When i activate the Gallery Extension i see this Error Screen:
Whats wrong? I need the Gallery for http://kopterforum.at..

"Allgemeiner Fehler
SQL ERROR [ mysqli ]
Looks like you have already the table(s) in your database, check if they are in.
Contact me on dmzx-web.net
doelle4
Registered User
Posts: 12
Joined: Wed Oct 19, 2016 6:26 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by doelle4 »

I have this 3 Categories in the Database:

phpbb_video MyISAM 1 KB 0 B
phpbb_video_cat MyISAM 2 KB 0 B
phpbb_video_cmnts MyISAM 1 KB 0 B

But i am a Newbie, i dont understand why. I use ónly a "Video" BBCode , thats all but BBcodes not use the Database or ?

Greetings Hans
Alden20
Registered User
Posts: 5
Joined: Sat Feb 25, 2017 11:19 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by Alden20 »

Hi.

In Group Permissions, in Setting Permissions I have added the permissions "Can view videos" and "Can view Video Gallery" for Guest user. However when I enter in the forum as Guest user I don't see the Video Gallery. Is it necessary to active any other thing in order to Guest user can see the Video Gallery?

Regards.
User avatar
dmzx
Registered User
Posts: 861
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by dmzx »

Alden20 wrote: Sun Mar 05, 2017 12:54 am Hi.

In Group Permissions, in Setting Permissions I have added the permissions "Can view videos" and "Can view Video Gallery" for Guest user. However when I enter in the forum as Guest user I don't see the Video Gallery. Is it necessary to active any other thing in order to Guest user can see the Video Gallery?

Regards.
viewtopic.php?p=14667346#p14667346
Contact me on dmzx-web.net
doelle4
Registered User
Posts: 12
Joined: Wed Oct 19, 2016 6:26 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by doelle4 »

What should I do to get the gallery to run?
My Users want this Feature.
please help

Greetings Hans
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10475
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by _Vinny_ »

doelle4 wrote: Sun Mar 05, 2017 8:59 pm What should I do to get the gallery to run?
My Users want this Feature.
please help

Greetings Hans
Had you previously installed video gallery?
doelle4
Registered User
Posts: 12
Joined: Wed Oct 19, 2016 6:26 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by doelle4 »

Youtube Gallery have Data Bank Failure when i want activate it.
I can´t delete the Extension Work Data (=phpbb Failure + white Screen), i can´t activate the Extension (Data Bank Failure Screen) and i can´t delete the Extension Directory (Php write Missing composer.json)

I have tried to delete the Directory but then comes "composer.josn is missing" Failure.
When upload the Directory new compelete (=reinstall) then i see the old Working Data´s and its not possible to erase them.

A Big Problem ... :-(
System: Phpbb 3.1.9 Version with Eles Style an a lot of working Extensions

Greeting Hans
doelle4
Registered User
Posts: 12
Joined: Wed Oct 19, 2016 6:26 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by doelle4 »

I want try this Extension, it works not and my Forum have now Bug :(
I can´t activate it and can´t deinstall it, always Errors. Very fine..
User avatar
wads24
Registered User
Posts: 685
Joined: Fri Jun 10, 2005 4:44 am
Name: James

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by wads24 »

It would be a great feature to be able to just add a Youtube channel to display all the videos for that channel.

Is there a way to not allow duplicate videos to be posted?


Thanks for the consideration. I love this extension!
Thanks in advance for a reply.
doelle4
Registered User
Posts: 12
Joined: Wed Oct 19, 2016 6:26 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by doelle4 »

Extension makes Problem in my Forum.
I can´t deinstall the Extension and i can´t activate the Extension - BIG PROBLEM !!
Caution: It could also arise with you a permanent error which can no longer be remedied

Failure:
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: 150
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: 591
CALL: call_user_func_array()

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

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

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

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 199
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: 179
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
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by noth »

please How do you get the "LAST 6 VIDEOS" on index page FOR GUESTS?

This works perfectly for your Registered Users

The minute you LOG OUT it's gone

and YES there are permissions! You can get the Guests Forum Permissions to show VIEW Videos

and they DO WORK to a limited degree but as far as the Index Page display is concerned NO EFFECT! :o any solution Thanks 8-)
User avatar
dmzx
Registered User
Posts: 861
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by dmzx »

noth wrote: Thu Mar 23, 2017 9:11 am please How do you get the "LAST 6 VIDEOS" on index page FOR GUESTS?

This works perfectly for your Registered Users

The minute you LOG OUT it's gone

and YES there are permissions! You can get the Guests Forum Permissions to show VIEW Videos

and they DO WORK to a limited degree but as far as the Index Page display is concerned NO EFFECT! :o any solution Thanks 8-)
viewtopic.php?p=14667346#p14667346
Contact me on dmzx-web.net
doelle4
Registered User
Posts: 12
Joined: Wed Oct 19, 2016 6:26 pm

Re: [3.1][3.2][DEV] Youtube Videos Gallery

Post by doelle4 »

Gallery works now, i have clear (manual delete) the "phpbb_video_cat" Entry in SQL Data Bank.

But ist it possible to to make a Description /Title Form Field ?

Greetings Hans

Return to “Extensions in Development”