====== Tube Settings ====== Seetings from Rotation - CMS (Tube) - Tube Settings ===== Tube Embeded Switch Rules ===== In rotation settings a new option for selling traffic to tubes. The point is as follows: tubes often give both a direct URL where you can send traffic and get money, as well as embed code that you can spin yourself but don't get paid for. Tubes pay only for unique, so it makes sense to send one surfer there only 1 time, if they click on the gallery again - it makes sense to show them the embedded gallery and monetize it other ways. Besides this, tubes often buy (count) traffic only from certain countries. Therefore, you can enter the following data in settings in format domain|countries (comma separated). for example xhamster.com|US,GB,DE drtuber.com|US,IT,RU and so on For galleries whose source URL contains one of the specified domains the following rule applies: if the surfer hasn't been to this sponsor yet send to external URL, if they have - show embedded gallery. If the domain is not in this list - everything works as before, i.e. the surfer always sees the embedded gallery (if it's of course an embedded gallery). Thus for your own embedded galleries or galleries of some tube that doesn't pay for traffic and accordingly doesn't make sense to send it there, the rule won't apply. PS if country list is not specified - the rule applies to all countries. ===== Pagination Limit ===== With large databases "far" pages in navigation give increased server load, so in the update it was decided to limit pagination to 1000 pages. The surfer is unlikely to really go through 1000 pages to get to the last least clickable ones. This limit can be changed in Rotation - CMS - Settings. ===== Related Thumbs Shift ===== When displaying so-called related thumbs on custom galleries they can be displayed by category (i.e. we display in related for example 10 best thumbs from the same category as the current gallery). In this case all galleries of category A get about the same set of related thumbs. A slightly better situation if related by tags, but there can also be nuances there since by tag there may not be exactly that. In 50 a parameter CMS - Settings : Related Thumbs Shift was added. The point is simple - this is a shift of the set. That is, if for example you specified thumbnails 1-10 when displaying related, then if you set Related Thumbs Shift = 2 it will show the 2nd set (i.e. thumbnails 11-20). The main plus here is. that you can enter for example 1-4 and it will show randomly 1-10, 11-20, 21-30, 31-40. Related Thumbs will get some variety. ===== Redirects ===== **Redirect incoming hits to niche pages ? Based on Referer ** - the script can redirect incoming traffic to the niche page depending on the referrer. BUT for this your category name must be fully contained in the referrer. For example: referrer http://trader.com/test.html, if you have a niche Test (case doesn't matter) then redirect will happen, if the niche is called Big test - no redirect will happen. Search for entries starts from the end, i.e. first test.html is checked for keyword presence, and then the trader domain itself. **Custom Redirects, format: keyword|niche_name** - you have a niche Big test, and you would like to redirect traffic to this niche from referrer http://trader.com/test.html. Then you need to add 'test|Big test' ==== Redirect incoming hits to niche pages ==== Before 50 when redirecting both the trader domain was considered. Sometimes this was a problem, if for example a surfer came from the main domain and you'd like them to go to the index, but they got to some niche because that niche name is in the domain, especially relevant for niches with short names. Since 50 the domain is not considered. But for backward compatibility you can add to common.php $_GET['niche_redirect_by_domain'] = true; - and it will work as before. Besides this a no_redirect option was added. Why this is needed: for example we have 10 categories one of which is - cars, we want it to redirect to all categories by corresponding keywords, except the cars category. For this in custom redirects we add cars|no-redirect ==== No Niche Redirect ==== Problem: the trader's thumbnail is usually taken from the site index, while on many sites there's niche redirect. That is, site 1.com trades with site 2.com. on site 1.com the trader's thumbnail 2.com is taken from the index (2.com/), but 1.com is a multi-niche site and for example in the cars niche there's also a top of traders, which includes 2.com. Surfer clicks on site 1.com/cars page on the top of traders on the thumbnail of trader 2.com and the script sends them to 2.com. On site 2.com the script sees that referrer is 1.com/cars and decides to redirect to niche redirect to 2.com/cars - to show the surfer the same theme. On the page 2.com/cars the thumbnail that the surfer clicked on site 1.com doesn't exist (because the script took it from the index 2.com, not from the page 2.com/cars. This lowers productivity. Task: need that when clicking on regular thumbnails the niche redirect works, but when clicking on the trader top - no. Proposed solution: in the top of traders add to all URLs &nnr=true (or &no_niche_redirect=true same thing) (out.php?member=_MEMBER_1_&nnr=true) - in this case when redirecting to the trader out will add &nnr=true and the surfer will go not to 2.com/, but to 2.com/?nnr=true The script will see this parameter and won't do niche redirect. Minus: extra parameter in URL Plus: should slightly increase external productivity ==== Custom Free Redirect URL ==== There's niche redirect and it has the ability to set custom redirects format: keyword1,keyword2|niche_name. Its limitation was that it would only redirect to existing niches (categories). In 50 the ability was added to redirect to any word that gives a number of interesting opportunities: * For example you can redirect to tags: Custom Redirects : tube Custom Free Redirect URL : http://{DOMAIN}/tag/{NICHE_NAME}/ * Or to search Custom Redirects : tube Custom Free Redirect URL : http://{DOMAIN}/?search={NICHE_NAME} For example, suppose custom redirects contain test|someword. Before version 50, that meant: if the word test appears in the referrer, redirect to the someword category. In version 50 there are two possibilities: if someword exists as a category, redirect to Custom Niche Redirect URL; if it does not exist as a category and Custom Free Redirect URL is set, redirect there instead. ===== Trade by groups ===== Suppose you have a classic multi-niche CJ and want to trade by groups. One option is to add &group=... to the URL, but on a tube CJ with rewrites this is not as clean as it could be. If links normally look like /gallery/cool_gal/index.html, then group-based trading would require something like /gallery/current_group/cool_gal/index.html plus a rewrite change so out receives the group parameter. If that is too cumbersome, there is another option. If you use default rewrites then your category pages have URLs like /category/123/asian/ or just /category/asian/, this means if someone clicks in this category, then on out we can determine in which category the click was made by the referrer, and depending on the category send to different groups of traders. So to use this function you need to: - If you haven't created them yet, create trade groups with names like rotation categories. By the way you can do this in one click in Rotation - Groups (Copy To Trade Groups) - Distribute traders among groups - Rotation - CMS - Tube settings enable the Niche trade option - that's it :) ===== Sell by groups ===== This is similar to Trade by groups, but for traffic selling. By default, Traffic Rules - Traffic Sell might contain a URL such as http://broker.com/?id=your_id, and all traffic from all pages is sold through that URL. But if traffic from /category/japanese/ were sold via http://broker.com/?id=your_id&niche=japanese, the broker could pay a higher rate. To do this, add the {GROUP} parameter to the sell URL, so the URL becomes http://broker.com/?id=your_id&niche={GROUP}. But what if the broker does not have a japanese niche and the closest match is tube_asian? In that case, use the Niche traffic sell field in Rotation - CMS - Tube settings to map your niches to the broker's niches, for example: tube_asian=Japanese,Asian where tube_asian is the broker's niche, and Japanese,Asian are our niches on the site separated by comma. ===== Exclude Current Thumb from 'Related' ===== Custom galleries usually display related galleries. You can choose related items by tags, sponsor, or category. In practice this often means showing, for example, the top 10 galleries from the same sponsor as the current gallery. This option excludes the current gallery from the related list, so it does not appear inside its own top 10. The advantage is that there are no duplicates in the related list; the downside is that the request cannot be cached, which adds some load.