Code for total number of tube videos in db?

Post Reply
xxxtreme
Posts: 6
Joined: Sun Nov 18, 2012 12:11 am

Code for total number of tube videos in db?

Post by xxxtreme » Tue Mar 05, 2013 5:35 pm

I would like to add a piece of code reflecting the total number of tube videos in the db on my index page. Is this possible? If yes, what would be the code to obtain this?

admin
Site Admin
Posts: 26945
Joined: Wed Sep 10, 2008 11:43 am

Re: Code for total number of tube videos in db?

Post by admin » Tue Mar 05, 2013 7:09 pm

Do you have any thumbs at your index page except category thumb ?
Have you done script update ?

xxxtreme
Posts: 6
Joined: Sun Nov 18, 2012 12:11 am

Re: Code for total number of tube videos in db?

Post by xxxtreme » Tue Mar 05, 2013 7:19 pm

No, only category thumbs. The site is: http://www.tubenator.com

admin
Site Admin
Posts: 26945
Joined: Wed Sep 10, 2008 11:43 am

Re: Code for total number of tube videos in db?

Post by admin » Tue Mar 05, 2013 7:53 pm

Basically - no, sorry

But you have 2 options:

1. output any amount of thumbs at index page + navigation and you'll get TOTAL_ITEMS tag
2. or you can just write any number, nobody really cares about that number and nobody's gonna count galleries there. This way you'll save as bit of your server performance caz it won't count actual amount
Have you done script update ?

xxxtreme
Posts: 6
Joined: Sun Nov 18, 2012 12:11 am

Re: Code for total number of tube videos in db?

Post by xxxtreme » Wed Mar 06, 2013 1:32 am

Thanks for your reply...
I have been able to work my way around the problem thanks to your answer: I created a row of thumbs + navigation at the bottom of the index page, but made them invisible for surfers.
That way I have been able to insert the TOTAL_ITEMS tag at the top of my index page

admin
Site Admin
Posts: 26945
Joined: Wed Sep 10, 2008 11:43 am

Re: Code for total number of tube videos in db?

Post by admin » Wed Mar 06, 2013 1:49 am

Great, that was option 1 :)
Have you done script update ?

Post Reply