Page 1 of 1

Code for total number of tube videos in db?

Posted: Tue Mar 05, 2013 5:35 pm
by xxxtreme
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?

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

Posted: Tue Mar 05, 2013 7:09 pm
by admin
Do you have any thumbs at your index page except category thumb ?

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

Posted: Tue Mar 05, 2013 7:19 pm
by xxxtreme
No, only category thumbs. The site is: http://www.tubenator.com

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

Posted: Tue Mar 05, 2013 7:53 pm
by admin
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

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

Posted: Wed Mar 06, 2013 1:32 am
by xxxtreme
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

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

Posted: Wed Mar 06, 2013 1:49 am
by admin
Great, that was option 1 :)