Support » Plugin: TubePress » 4.0.0.RC3 Pagination still broken

  • just installed version 4.0.0.RC3 by deactivating Version 3.1.6, uploading the install to plugins dir, then activating it. Messed with shortcodes in the widget. using this:
    [theme=”youtube”
    tubepress mode=”tag”
    tagValue=”occupytheology”
    playerLocation=”popup”
    resultsPerPage=”6″
    tubepress
    resultsPerPage=”6″
    thumbHeight=’94.5′
    thumbWidth=’122′
    orderBy=”newest”
    length=”false”
    views=”false”
    description=”true”
    descriptionLimit=”20″
    hqThumbs=”true”
    paginationAbove=”true”
    paginationBelow=”true”]
    Pagination is not showing with above configs…..have seen it appear, with certain other settings, but when it does it shows 17 pages but “No videos found” is result once I advance past about page 3. Any ideas? My site is at http://wp.theoblogical.org and widget titled “My Occupy Videos” is in left sidebar. Pagination presently not showing.

    https://wordpress.org/plugins/tubepress/

Viewing 1 replies (of 1 total)
  • 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?

Viewing 1 replies (of 1 total)
  • The topic ‘4.0.0.RC3 Pagination still broken’ is closed to new replies.