Forum Replies Created

Viewing 15 replies - 1 through 15 (of 159 total)
  • Plugin Author Eric

    (@k2eric)

    Which version of TubePress are you using? And what exactly breaks when you switch the language to French?

    Could you double check the shortcode that you have in use on that page? It looks to me like you’re using this:

    [tubepress thumbHeight='105' thumbWidth='145' resultsPerPage=8playerLocation="shadowbox"theme="readmore"]

    Please make sure that you have quotes around each value, and that there’s spaces between the options:

    [tubepress thumbHeight='105' thumbWidth='145' resultsPerPage="8" playerLocation="shadowbox" theme="readmore"]

    We always recommend that you use WordPress’s “Text” editor.

    It looks to me like it’s only showing three due to your settings at WP Admin > Settings > TubePress > Thumbnails. What does it say in the “Thumbnails per page” field?

    Hi David,

    You can always put TubePress into debugging mode by adding ?tubepress_debug=true to the end of any URL on your site. e.g.

    http://vype.com/houston/?tubepress_debug=true

    The output is pretty verbose, but it lets me see that you are requesting each gallery page to have 3 videos and TubePress is skipping 2 of them because “Access to this video was restricted by its owner.” This means that the owner of the videos has either restricted syndication or the videos themselves are private. In your case, it appears to be the latter. For instance the second video in the gallery *would* be

    https://www.youtube.com/watch?v=bWwlayMEIvo

    but it’s private. Are you the owner of the videos or can you contact the owner? Really the only way around this right now is to make the videos in the feed public; YouTube doesn’t offer a way for us to pull back only public videos.

    Plugin Author Eric

    (@k2eric)

    Glad that it’s worked out! Thanks for using TubePress and let us know what else we can do for you.

    Plugin Author Eric

    (@k2eric)

    Thanks for your question and your report. As of now this isn’t user-configurable but I’d like to fix that for the future.

    For now, though, you should be able to manually make the following changes to trick TubePress into using something other than curl_multi_exec().

    OPTION 1

    Try this first as it requires the fewest code changes. Edit wp-content/plugins/tubepress/vendor/puzzlehttp/puzzle/src/main/php/puzzle/Client.php and add a single line at line 75. The full constructor should look like this:

    public function __construct(array $config = array())
        {
            $this->configureBaseUrl($config);
            $this->configureDefaults($config);
            $this->configureAdapter($config);
            if (isset($config['emitter'])) {
                $this->emitter = $config['emitter'];
            }
            $this->adapter = new puzzle_adapter_StreamAdapter($this->messageFactory);
        }

    OPTION 2

    Option 1 might not work, depending on your server’s configuration. Instead of puzzle_adapter_StreamAdapter, try puzzle_adapter_curl_CurlAdapter instead. Same file and location as Option 1:

    public function __construct(array $config = array())
        {
            $this->configureBaseUrl($config);
            $this->configureDefaults($config);
            $this->configureAdapter($config);
            if (isset($config['emitter'])) {
                $this->emitter = $config['emitter'];
            }
            $this->adapter = new puzzle_adapter_curl_CurlAdapter($this->messageFactory);
        }

    Unless you are running PHP 5.5, you’ll also need to comment out line 137 of wp-content/plugins/tubepress/vendor/puzzlehttp/puzzle/src/main/php/puzzle/adapter/curl/CurlAdapter.php:

    //curl_reset($handle);

    Apologies for the hackiness, but this should get you up and running until I can write a more elegant solution. Please give the above a try and let us know how it works for you. Thanks!

    Plugin Author Eric

    (@k2eric)

    This has been resolved in TubePress 4.0.3. You can download the free trial from here or TubePress Pro from here.

    Plugin Author Eric

    (@k2eric)

    Hi Freeadresse,

    Thanks for the tip! I have switched my language to something other than English and am now able to reproduce the issue. Please stand by for an update as I search for the fix.

    Cheers,

    Eric

    Plugin Author Eric

    (@k2eric)

    TubePress is fully tested and working with WP 4.0 and 4.1. What trouble are you experiencing? It’s also useful to post a link to your site, if possible.

    Plugin Author Eric

    (@k2eric)

    Well, if the characters aren’t present in the Text Editor, then something else on your site (probably another plugin or perhaps your theme) is mangling the text by the time TubePress parses it. If I were you I would try disabling your plugins one-by-one until the problem goes away. Or maybe try switching to another theme temporarily.

    Hope that helps?

    Plugin Author Eric

    (@k2eric)

    Looks like a few “unusual” characters have made their way into the shortcode. Screenshot from your site: https://imgur.com/oxDzhLt

    The solution is to use WordPress’s Text Editor (as opposed to the Visual Editor) as shown here. Edit the shortcode with the Text Editor to make sure that it contains only double quotes around each term.

    Does that make sense?

    Plugin Author Eric

    (@k2eric)

    Please post a link to a page that demonstrates the problem and we’ll take a look.

    Plugin Author Eric

    (@k2eric)

    There are a few issues here. First, your shortcode looks slightly malformed. You have

    [tubepress mode="tag" tagValue="occupytheology" playerLocation="popup"paginationAbove="true" thumbHeight='94.5'tubepress resultsPerPage="30"thumbWidth='122' orderBy="newest" length="false" views="false" description="true" descriptionLimit="20"]

    you’ll want to change that to

    [tubepress mode="tag" tagValue="occupytheology" playerLocation="popup" paginationAbove="true" thumbHeight='94.5' resultsPerPage="30" thumbWidth='122' orderBy="newest" length="false" views="false" description="true" descriptionLimit="20"]

    Notice we’re fixing a few spacing issues and removing some extraneous text. Next, in my testing the pagination is showing up above your videos. Screenshot:

    View post on imgur.com

    There are some style issues due to your theme that you might want to fix (i.e. the “stars” showing up next to each number).

    Finally, I think the “No matching videos” issue is actually due to what appears to be a bug in the YouTube API. Here’s a temporary fix that you can perform on TubePress 4.0.0.RC3. Open up

    wp-content/plugins/tubepress/src/add-ons/youtube_v2/classes/tubepress/youtube2/impl/media/FeedHandler.php

    with your favorite text editor and comment out line 399. i.e. change it from

    $query->set(self::$_URL_PARAM_ORDER, 'published');

    to

    //$query->set(self::$_URL_PARAM_ORDER, 'published');

    This is likely a spurious bug on YouTube’s end, but for now this will get your videos working again. Give it a try and let us know?

    The existing version of tubepress.js relies on being able to “find itself” in the DOM in order to calculate a path.

    We are prepping to release TubePress 4.0.0 which does not rely on this relatively fragile calculation. So the solution for BWP Minify users running TubePress 3.x.x users is to simply *not* include TubePress in minification. TubePress 4.x.x users should have no problem doing so.

    Plugin Author Eric

    (@k2eric)

    Go to WP Admin > Settings > TubePress > Feed. What is the value of the option “Maximum total videos to retrieve”? You’ll want to se that to zero (0).

Viewing 15 replies - 1 through 15 (of 159 total)