User Tools

Site Tools


new_rotation_hints

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
new_rotation_hints [2017/06/12 12:46]
admin [Suggestions Based on logged searches]
new_rotation_hints [2017/06/12 12:51] (current)
admin [Suggestions : Based on regular search]
Line 841: Line 841:
 </​code>​ </​code>​
  
 +
 +
 +
 +===== Site with main niches =====
 +
 +Let's say we'd like to create a site with 3 main niches and X additional.
 +
 +Main niches: general (id 1) , gay (2) and shemale(3)
 +and for example 100 niches like '​teen'​ (id 4), amateur (id 5) and so on
 +
 +It's pretty obvious that if somebody wants to see '​general'​ - then he doesn'​t want to see the rest (niches 2 and 3) so we need kind of a general filter here.
 +
 +That's why all gallery belong to at least 2 groups: (1 2 or 3) and (4 or 5 for example). ​
 +
 +When we show content we can limit galleries to a certain range , let's say a surfer wants to see teens and general only:
 +
 +  /?​group_id=4&​skip_group_id=2,​3
 +  ​
 +If he wants to see teen but gay we exclude groups 1 and 3
 +
 +  /?​group_id=4&​skip_group_id=1,​3
 +
 +The same works for search by tag
 +
 +  /?​tag=...&​skip_group_id=1,​3
 +
 +
 +**Category thumbs**
 +
 +Settings - System Thumbs we can setup category thumbs for each main niches
 +
 +In this example we need 3 sets: for each niche 1 2 and 3. When we select category thumb (ie best thumb for this category) we need to exclude other 2 niches, and here's a field for it  : Skip group ids, comma separated ​
 +
 +So let say for niche 1 (general) we don't want to see thumbs from 2 and 3 - so we add 2,3 into that field.
 +
 +We we output category thumbs we can specify the set we want to show
 +
 +  <​category num=1-10 set_id=2 ​
 +  ​
 +Note what you can pass set id in URL like /?set_id=2
 +
 +  <​category num=1-10 set_id=GET_set_id ​
 + 
 +Note that some category thumb sets might miss galleries for some specific groups so we can add min_gallery_count filter to skip empty groups ​
 +
 +<​category num=1-10 set_id=GET_set_id min_gallery_count=1
  
new_rotation_hints.txt ยท Last modified: 2017/06/12 12:51 by admin