[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!
Ideas Centre
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
Nikola
Registered User
Posts: 284
Joined: Fri Jun 12, 2015 11:47 am
Name: Nikola

Re: [DEV] Youtube Videos Gallery

Post by Nikola »

Lack of permission for every category. Eg; shift+click groups you want to post videos in a certain category and ones you don't want but they can still see it and comment on it. Thanks for considering.
"What would happen if the autism gene was eliminated from the genetic pool?

You would have a bunch of people standing around in a cave, chatting and socializing and not getting anything done."

- Dr. Temple Grandin, A Personal Look at Autism and Asperger's Syndrome.
User avatar
dmzx
Registered User
Posts: 865
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [DEV] Youtube Videos Gallery

Post by dmzx »

NikolaCR wrote:Lack of permission for every category. Eg; shift+click groups you want to post videos in a certain category and ones you don't want but they can still see it and comment on it. Thanks for considering.
The permissions are for an group not for a category in the gallery.
Contact me on dmzx-web.net
MarieNatalie
Registered User
Posts: 46
Joined: Tue May 05, 2015 1:19 pm
Location: Athens Greece
Name: Maria

Re: [DEV] Youtube Videos Gallery

Post by MarieNatalie »

MarieNatalie wrote:Hello, Thank you very much for this nice ext
Would you please tell if and how can upload to gallery a you tube play list?

Thanks in advance
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10476
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: [DEV] Youtube Videos Gallery

Post by _Vinny_ »

MarieNatalie wrote:
MarieNatalie wrote:Hello, Thank you very much for this nice ext
Would you please tell if and how can upload to gallery a you tube play list?

Thanks in advance
That's not possible.
MarieNatalie
Registered User
Posts: 46
Joined: Tue May 05, 2015 1:19 pm
Location: Athens Greece
Name: Maria

Re: [DEV] Youtube Videos Gallery

Post by MarieNatalie »

Thanks a lot
jurgis
Registered User
Posts: 11
Joined: Mon May 18, 2015 7:15 pm

Re: [DEV] Youtube Videos Gallery

Post by jurgis »

Thanks for extension. I have few suggestions.

How about option to show latest videos/most viewed on index page?
Example:
Image

Maybe also ratings (members can rate videos)?

P.S. Option to hide links would be also nice to have.
User avatar
Fast_Eddie
Registered User
Posts: 260
Joined: Tue Jun 09, 2015 8:32 pm
Name: Ed

Re: [DEV] Youtube Videos Gallery

Post by Fast_Eddie »

Really cool ext.!!!! Would very much like to use this on my board. When installed on a test board I get this error above the header.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/youtubegallery/controller/youtubegallery.php on line 147: file_get_contents(https://www.googleapis.com/youtube/v3/videos?id=&key=ttownunderground-1018&type=video&part=snippet): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5235: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5235: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5235: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
Is there a way to fix this?
Thanks for a very cool ext!
You didn't set up your Google Public API key:
BTW: yes, I set up a key. And everything is working great. except the error above the header
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10476
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: [DEV] Youtube Videos Gallery

Post by _Vinny_ »

Fast_Eddie wrote:Really cool ext.!!!! Would very much like to use this on my board. When installed on a test board I get this error above the header.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/youtubegallery/controller/youtubegallery.php on line 147: file_get_contents(https://www.googleapis.com/youtube/v3/videos?id=&key=ttownunderground-1018&type=video&part=snippet): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5235: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5235: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5235: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
Is there a way to fix this?
Thanks for a very cool ext!
You didn't set up your Google Public API key:
BTW: yes, I set up a key. And everything is working great. except the error above the header
Be sure that your server supports allow_url_fopen, if so turn it on.
User avatar
Fast_Eddie
Registered User
Posts: 260
Joined: Tue Jun 09, 2015 8:32 pm
Name: Ed

Re: [DEV] Youtube Videos Gallery

Post by Fast_Eddie »

Be sure that your server supports allow_url_fopen, if so turn it on.

Hi vinny, So i was messing around with the test board today and broke it by mistake. So after doing a fresh install I decided to give the youtube ext. another try (this time with my style installed) And bad news, still
got the same error above the header. And thats after i checked with host about url_fopen and it's active. So I don't know? BTW: It looks very good in my style (proDVGFX)
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10476
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: [DEV] Youtube Videos Gallery

Post by _Vinny_ »

Fast_Eddie wrote:Hi vinny, So i was messing around with the test board today and broke it by mistake. So after doing a fresh install I decided to give the youtube ext. another try (this time with my style installed) And bad news, still
got the same error above the header. And thats after i checked with host about url_fopen and it's active. So I don't know? BTW: It looks very good in my style (proDVGFX)
Getting Google API key for using with YouTube <- follow the steps in this video to properly get your key.
User avatar
Fast_Eddie
Registered User
Posts: 260
Joined: Tue Jun 09, 2015 8:32 pm
Name: Ed

Re: [DEV] Youtube Videos Gallery

Post by Fast_Eddie »

Ok Vinney, followed that video, and did get a different key than i had before, still got the same error above the header, but the key was different. part of the error was differfent

Code: Select all

file_get_contents(https://www.googleapis.com/youtube/v3/videos?id=&key=***********************************************=video&part=snippet
I edited out the actual key because I don't know if something like that is safe to post
Should i try another install with the correct key?
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10476
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: [DEV] Youtube Videos Gallery

Post by _Vinny_ »

Fast_Eddie wrote:Ok Vinney, followed that video, and did get a different key than i had before, still got the same error above the header, but the key was different. part of the error was differfent

Code: Select all

file_get_contents(https://www.googleapis.com/youtube/v3/videos?id=&key=***********************************************=video&part=snippet
I edited out the actual key because I don't know if something like that is safe to post
Should i try another install with the correct key?
PM me your key please.
User avatar
Fast_Eddie
Registered User
Posts: 260
Joined: Tue Jun 09, 2015 8:32 pm
Name: Ed

Re: [DEV] Youtube Videos Gallery

Post by Fast_Eddie »

PM me your key please.
sent: and ty! :)
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10476
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: [DEV] Youtube Videos Gallery

Post by _Vinny_ »

Fast_Eddie wrote:
PM me your key please.
sent: and ty! :)
I get this from your key:

Code: Select all

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "keyInvalid",
    "message": "Bad Request"
   }
  ],
  "code": 400,
  "message": "Bad Request"
 }
}
To generate a key correctly, follow exactly the same steps of the video I posted earlier.
User avatar
Fast_Eddie
Registered User
Posts: 260
Joined: Tue Jun 09, 2015 8:32 pm
Name: Ed

Re: [DEV] Youtube Videos Gallery

Post by Fast_Eddie »

Hello Vinny,
Ok i walked away from this for a bit out of frustration and decided to give it another go. So i generated another key (going step by step with the video) got my new key and plugged it into the test board and got the error.
Would i need a fresh install of phpbb before i try the new key?

Return to “Extensions in Development”