• Just wanted to explain the issues I am having with the latest version of this great plugin.

    1. I had to manually upload the plugin as it was missing a few files from the templates folder. Once I manually uploaded the plugin, the Line 422 error message disapeared.

    2. Sign up for the YouTube API was pretty simple. Just made sure I Enable the YouTube Data API and then added under the credentials area, Public API access and chose Server Key. I then copied the API key provided and paster that in the widgets area for the YouTube API Key. That fixed that.

    3. Now I’ve put in my channel id of UCTifhHi3SSt_om6C3IAay6w which the full link is working of https://www.youtube.com/channel/UCTifhHi3SSt_om6C3IAay6w
    Once I input this and check my front page https://www.techwiz.com.au I get an error without any number or code and the link simply points to https://www.youtube.com/channel/ . It’s like the link is not ammending the user id.

    So it’s still not working for me. I’m looking through the PHP for a solution, but haven’t found one yet. If anyone else has an idea, or the developer can shed some light on this, that would be great ??

    https://www.ads-software.com/plugins/youtube-channel-gallery/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter techwiz.com.au

    (@techwizcomau)

    OK. So playlists work but channel user id doesn’t. For now I’ll use Playlist until the USER ID problem is fixed.

    Thread Starter techwiz.com.au

    (@techwizcomau)

    Randomly getting this error on the front page too:

    Fatal error: Cannot use object of type WP_Error as array in /home/techwiz/public_html/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 615

    It still doesn’t work for me.
    I both tried the server side Api key and the client key, and i keep having the error message.
    i managed to show the error number to track the problem and this is a 403error.

    Hi techwiz.com.au,

    I am looking all of your posts from the time plugin stopped working. You are really doing a great job by letting us know whats happening. As of now I understand that you are some how able to make this work, Could you please share the “youtube-channel-gallery.php” and what ever files you made changes to crack this issue.

    Thank you

    Techwiz what this error stated below. String(158)?

    string(158) “https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=UU47XN5bhLTBH5TRFyKaUpKg&maxResults=18&key=youtubeapikey

    (i removed my api key in the last part)

    Oxizee, that is not an error, it is the shortcode displaying something that it should not be displaying (like debug output).

    To fix the string(xxx) error I commented out line 612 of youtube-channel-gallery/youtube-channel-gallery.php. The developer must have forgot to remove it after testing.

    //(var_dump($ytchag_feed_url);

    I’m getting a similar output as “Oxizee” above my main video except it starts with:

    string(152)”https://www.googleapis.com/youtube/v3/playlistItems? … etc.

    if it’s not an error, how do we get rid of this? Is this an error in the plug-in’s code?

    @newmedia: That is working for now, until the author fixed it. Thanks!

    @newmedia: Big thanks from me too, saved me a bunch of debugging!

    Author uploaded a new version where he removed the debug info. Now only if he fixes the select video in player thingy, i am happy.

    Thread Starter techwiz.com.au

    (@techwizcomau)

    Just letting everyone know, I haven’t really been looking over the code at all, but another user discovered a way to get the complete user uploads. The way the did it was to change the type to a PLAYLIST and change the UC from he start of the channel id to UU. What this does is gives you an automatically generated playlist based on all the channels uploads. My guess is UC stands for User Channel and UU stands for User Uploads. That will get everyone started with a Channel Uploads list anyway. From what I can see in the code though, the issue could lie around the following code:

    Line 608 : $ytchag_link_url = 'https://www.youtube.com/channel/' . $ytchag_id;

    Line 616 : $content= '<div class="vmcerror">' . sprintf( __( 'Message from server: %1$s. Check in YouTube if the id <a href="%2$s">%3$s</a> belongs to a %4$s. To locate the id of your %4$s check the <a href="https://www.ads-software.com/extend/plugins/youtube-channel-gallery/faq/">FAQ</a> of the plugin.', 'youtube-channel-gallery' ), $response_message, $ytchag_link_url, $ytchag_user, $ytchag_feed ) . '</div>';

    %2$s is the pointer for the variable $ytchag_link_url but when I check the link, it doesn’t append the channel id although the variable $ytchag_user does contain the channel id. If someone wants to play with it, maybe giving the variable $ytchag_link_url the value of $ytchag_user may fix it, but the fix described above works for me for the time being. Hope this helps some other people.

    @techwiz.com.au

    I am kind of confused. So for example let’s say i want to use the following Youtube Channel for the Plugin: https://www.youtube.com/user/IGNentertainment . So i have to change the Video feed type from uploaded by a user(which doesent seem to work atm) to Playlist. So far so good. The Channel Name is: IGNentertainment.
    Now where exactly do i find that UC & UU that you mentioned?
    Can you please explain it with an example?

    Thread Starter techwiz.com.au

    (@techwizcomau)

    I found the channel id from going to one of their videos and hovering over the channel name (IGN). This is what I got.

    https://www.youtube.com/channel/UCKy1dAqELo0zrOtPkf0eTMw

    So for this example I would use UUKy1dAqELo0zrOtPkf0eTMw

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Problems with Version 2.0.0’ is closed to new replies.