Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Pagination Not Working Properly

wordpress tubepress-pro youtube

  • Please log in to reply
8 replies to this topic

#1 arowls

arowls

    Member

  • Members
  • PipPip
  • 14 posts

Posted 19 July 2013 - 09:46 PM

Hello, I have the Pro version installed on a beta site and am having issues with the pagination not lining up with the actual number of results, and if you click on the number greater than what is there it breaks the gallery.

 

 

Using Shortcode in content:

http://new.3blindmic...ss_search=roman

 

Using php to call shortcode in template:

http://new.3blindmic.../roller shades/

 

http://new.3blindmic.../shades-blinds/

 

Please advise.



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 20 July 2013 - 06:59 PM

arowls,

 

Would you please enable tubepress debugging from WP Settings > Tubepress > Advanced

 

That will help us see what's happening behind the scenes.

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 arowls

arowls

    Member

  • Members
  • PipPip
  • 14 posts

Posted 20 July 2013 - 07:04 PM

done



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 20 July 2013 - 07:22 PM

arowls,

 

Unfortunately, I'm still not able to see any debug output from your site.  When you checked the box to enable the debugging, did you make sure to press the "Save" button?

 

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 arowls

arowls

    Member

  • Members
  • PipPip
  • 14 posts

Posted 20 July 2013 - 07:29 PM

Doh!



#6 arowls

arowls

    Member

  • Members
  • PipPip
  • 14 posts

Posted 23 July 2013 - 01:33 PM

Debugging is turned on and I have confirmed it is printing the debug info with tubepress_debug=true

 

Please advise.



#7 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 23 July 2013 - 04:11 PM

I investigated this today and found what appears to be a bug on YouTube's end. Currently you have the video sort order (WP Admin > Settings > TubePress > Feed > Order videos by) set to "view count." If you set the sort order to anything except "relevance", you'll only see a tiny subset of the actual videos available. Please try setting the sort order to "relevance" and you should see all of your videos with working pagination.

 

If you can confirm that this workaround works, I'll file a bug report with YouTube.

 

Thanks!



#8 arowls

arowls

    Member

  • Members
  • PipPip
  • 14 posts

Posted 23 July 2013 - 05:09 PM

OK, this fixed the issue in MOST cases, but for some reason, the second example given above (http://new.3blindmic...-shades/roller/) still breaks if you click on "5".

 

I confirmed it works on other pages with pagers = 5 (http://new.3blindmic.../shades-blinds/) so maybe there is something specific about the query on the page above that is causing it to add the 5th pager when there is no 5th page.

 

In any event, I think it is safe to say there is a bug with YouTUbe's API.



#9 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 23 July 2013 - 05:48 PM

I was filing a report with YouTube, and in the process I think I found the actual problem. I didn't really notice before that in your shortcodes you were using a query, e.g.

tagValue="Motorized Blinds and Shades"

This explains why the "relevance" sort order is the only one that really works. The YouTube API reference is fuzzy on what happens if you are searching and do not use "relevance" as the sort order. Assuming it meets your requirements, I would just stick with this workaround.

 

 

 

for some reason, the second example given above (http://new.3blindmic...-shades/roller/) still breaks if you click on "5".

 

Could you double-check that this is broken? I tested it a few times and it seems to work normally...