1
Peekay
VideoTube. pagination problem
  • 2009/2/6 3:11

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


VideoTube 1.84
Xoops 2.0.16
PHP4 + MySQL 3.23.58
Firefox and IE

I know I'm running this module using an older XOOPS version, but can anyone (or tank) replicate this issue?

1) Select a low video-per-page number in prefs, e.g. 4.

2) Add 4 videos.

3) Allow a second XOOPS user to add a video.

In the module's 'Main' screen I correctly get the pagination controls, but selecting page '2' for example gives me a row of several icons (see below).

Resized Image

When I have more than 4 videos from the same user this doesn't seem to happen.

I can see that the script references a generic XOOPS pagination class, so do you think this is the result of me using an old XOOPS version, or is it a module glitch?

Any advice would be welcome.
A thread is for life. Not just for Christmas.

2
Peekay
Re: VideoTube. pagination problem
  • 2009/2/6 13:59

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


O.K., ignore the 'second user' comment above. The problem appears to be the number of movies allowed per page.

For example, I have set the max movies per page preference to '7' (one large movie and 6 thumbnails underneath).

If I add '8' movies (triggering the page-nav) the graphical navigation fails as shown above. If I select 'numbers' for navigation, the link on the second page fails.

If I add '9' movies it works fine.

-- Edit --

I changed the max movies value to '4' and the same thing happens if I add '5' movies.
A thread is for life. Not just for Christmas.

3
Peekay
Re: VideoTube. pagination problem
  • 2009/2/28 17:58

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Tiny bump
A thread is for life. Not just for Christmas.

4
tank1955
Re: VideoTube. pagination problem
  • 2009/2/28 23:32

  • tank1955

  • Module Developer

  • Posts: 276

  • Since: 2007/9/7 1


Sorry Peekay I missed this post the first time. It may have to do with my code. When reaching the last page I look to see how many videos are to be displayed. If there is only one remaining then I step the start display count back one so there is one thumbnail and the playing video to display. There is a chance the page_nav class doesn't like this. I will do some checking and see if I can correct it.

5
Peekay
Re: VideoTube. pagination problem
  • 2009/3/1 0:28

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Thx for looking at that Tank1955. It'll be one of those logic puzzles sent to annoy you just when you think everything works!
A thread is for life. Not just for Christmas.

Login

Who's Online

352 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 352


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits