1st thumb of the category by CTR

SpyCam
Posts: 736
Joined: Fri Oct 26, 2012 9:52 am

1st thumb of the category by CTR

Post by SpyCam »

I want to make a template with just handpicked/hardcored categories to be show on them, and I want to show best CTR thumbs for these categories.

This is what i try to use:

<thumb group=teen order=ctr num=1><li><a href="/popular/teen/1.html" title="Teens"><img src="<!--THUMB_URL-->" alt="Teens" /><font>Teens</font></a></li></thumb>

But this doesn't show correct thumbs

Question: how do I make the thumbs to be 1st thumb of the category by CTR?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: 1st thumb of the category by CTR

Post by admin »

<thumb group=teen order=ctr num=1><li><a href="/popular/teen/1.html" title="Teens"><img src="<!--THUMB_URL-->" alt="Teens" /><font>Teens</font></a></li></thumb>

But this doesn't show correct thumbs
so what thumb does it show ?
Question: how do I make the thumbs to be 1st thumb of the category by CTR?
there's no way to set thumb to be the first one by ctr caz thumbs' ctr constantly changes. If you what to show particular thumb - just hardcode it into template.
Don't forget to run script update
SpyCam
Posts: 736
Joined: Fri Oct 26, 2012 9:52 am

Re: 1st thumb of the category by CTR

Post by SpyCam »

admin wrote:so what thumb does it show ?
http://lazymike.com/scj/tube/?content_i ... 77842fe07c
take a look at the categories thumbs below the video. Click on 1920 or 1930, see that thumbs of these categories don't exist in these categories

for some reason only thumbs from http://www.lazymike.com/popular/vintage/1.html are shown, all thumbs by order...
admin wrote: there's no way to set thumb to be the first one by ctr caz thumbs' ctr constantly changes. If you what to show particular thumb - just hardcode it into template.
I mean current best by CTR thumb, at that time, it surely changes, i want thumbs to change as well
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: 1st thumb of the category by CTR

Post by admin »

Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: 1st thumb of the category by CTR

Post by admin »

If you use

<thumb group=teen order=ctr num=1>

at content page - scripts adds properties of current gallery (sponsot id\ tag \ model )
That's the way 'related videos' works

You can create a page with that content and include it into gallery template
Don't forget to run script update
SpyCam
Posts: 736
Joined: Fri Oct 26, 2012 9:52 am

Re: 1st thumb of the category by CTR

Post by SpyCam »

I will try that
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: 1st thumb of the category by CTR

Post by admin »

Ok
Don't forget to run script update
SpyCam
Posts: 736
Joined: Fri Oct 26, 2012 9:52 am

Re: 1st thumb of the category by CTR

Post by SpyCam »

Putting the same content to new template and including the template into the custom gallery template has exactly same result:
thumbs are shown only from the main group the gallery belongs to

This is the code of the included template:

Code: Select all

<ul class="thumbs">
<thumb group=1920 order=ctr num=1><li><a href="/popular/1920/1.html" title="1920s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1920s Porn" /><font>1920s Porn</font></a></li></thumb>
<thumb group=1930 order=ctr num=1><li><a href="/popular/1930/1.html" title="1930s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1930s Porn" /><font>1930s Porn</font></a></li></thumb>
<thumb group=1940 order=ctr num=1><li><a href="/popular/1940/1.html" title="1940s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1940s Porn" /><font>1940s Porn</font></a></li></thumb>
<thumb group=1950 order=ctr num=1><li><a href="/popular/1950/1.html" title="1950s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1950s Porn" /><font>1950s Porn</font></a></li></thumb>
<thumb group=1960 order=ctr num=1><li><a href="/popular/1960/1.html" title="1960s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1960s Porn" /><font>1960s Porn</font></a></li></thumb>
<thumb group=1970 order=ctr num=1><li><a href="/popular/1970/1.html" title="1970s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1970s Porn" /><font>1970s Porn</font></a></li></thumb>
<thumb group=1980 order=ctr num=1><li><a href="/popular/1980/1.html" title="1980s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1980s Porn" /><font>1980s Porn</font></a></li></thumb>
<thumb group=1990 order=ctr num=1><li><a href="/popular/1990/1.html" title="1990s Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="1990s Porn" /><font>1990s Porn</font></a></li></thumb>
<thumb group=antique order=ctr num=1><li><a href="/popular/antique/1.html" title="Antique Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="Antique Porn" /><font>Antique Porn</font></a></li></thumb>
<thumb group=blue-films order=ctr num=1><li><a href="/popular/blue-films/1.html" title="Blue Films"><img src="<!--THUMB_URL-->" class="t_img" alt="Blue Films" /><font>Blue Films</font></a></li></thumb>
<thumb group=classic order=ctr num=1><li><a href="/popular/classic/1.html" title="Classic"><img src="<!--THUMB_URL-->" class="t_img" alt="Classic" /><font>Classic</font></a></li></thumb>
<thumb group=hairy order=ctr num=1><li><a href="/popular/hairy/1.html" title="Hairy"><img src="<!--THUMB_URL-->" class="t_img" alt="Hairy" /><font>Hairy</font></a></li></thumb>
<thumb group=historic-porn order=ctr num=1><li><a href="/popular/historic-porn/1.html" title="Historic Porn"><img src="<!--THUMB_URL-->" class="t_img" alt="Historic Porn" /><font>Historic Porn</font></a></li></thumb>
<thumb group=retro order=ctr num=1><li><a href="/popular/retro/1.html" title="Retro"><img src="<!--THUMB_URL-->" class="t_img" alt="Retro" /><font>Retro</font></a></li></thumb>
<thumb group=vintage order=ctr num=1><li><a href="/popular/vintage/1.html" title="Vintage"><img src="<!--THUMB_URL-->" class="t_img" alt="Vintage" /><font>Vintage</font></a></li></thumb>
</ul>
This is test URL:
http://www.lazymike.com/video/lesbian-h ... cache=true

PS: all the groups you see there, except Hairy (which for some reason shows correct thumb), are smaller sub-niches of vintage, so vintage group has all of the vintage galleries, and the other ones have just a smaller portion, like only 1920, 193, etc. But they have different #1 thumbs by CTR anyways, so these should be shown correctly I believe.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: 1st thumb of the category by CTR

Post by admin »

You have to create a separate page (rotation - page) and just include that part as INCLUSE_TEMPLATE ... caz this way it just pastes that template into this place

Ie that template should be processed outside\with that gallery template and shouldn't be affected by content_page template during creation.
Don't forget to run script update
Post Reply