====== Tube Import ====== You can create a so-called "CJ tube" in 15 minutes. Tube Import is a function that allows you to automatically fill your site with content from other tubes. The first part of this page is almost identical to [[Tube Sites]], however it won't hurt to repeat. What is a CJ tube: it's a normal CJ, with the only difference that you link not to regular galleries, but to pages of tubes with movies. There are 3 options for making money from such sites: - The tubes themselves pay for traffic - Traffic sale - Other income in the form of dating, banners etc There are 2 types of content for a CJ tube: "embed" and regular galleries. Regular galleries - these are movies that are played on the tube's own site, i.e. the surfer watches the movie on the tube's own site. "Embed" is when the tube allows you to display the movie directly on your own site, while the movie is hotlinked from the tube's server. In this option you have the ability to insert your own advertising on the movie page and in general keep the entire site in one style. SmartCJ allows you to build a gallery simultaneously with any type of content. ===== Creating a site in 10 minutes. ===== Creating such a tube is implemented based on the built-in SmartCJ rotation. * Rotation -> Settings You need to enable the rotation engine Rotation = On * Rotation - Groups Create categories (groups) of your CJ tube. There can be unlimited number of categories. You need to configure thumbnail sizes (Thumb Settings) and the TubeImport section [[TS Group Settings]] (**the Filter Keywords field is most important, it must be filled**) and the Tube section in rotation settings [[TS Rotation Settings]] * Place SmartCJ index.php on the domain root (**from scj/cgi**) (+of course common.php) and .htaccess as follows (If you use nginx or lighttpd - ask the admin to enter these rules in its config, as they don't read .htaccess on their own) RewriteEngine On RewriteCond %{QUERY_STRING} ^(.+)$ RewriteRule ^gallery/(.*)/(.*)/index.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&content_id=$2 [L] RewriteRule ^gallery/(.*)/(.*)/index.html$ /scj/tube/?content_id=$2 [L] RewriteRule ^gallery/(.*)/(.*)/$ /scj/tube/?content_id=$2 [L] RewriteRule ^gallery/(.*)/(.*)/([0-9]{1,2}).html$ /scj/tube/?content_id=$2&item_id=$3 [L] #slug galleries RewriteCond %{QUERY_STRING} ^(.+)$ RewriteRule ^gallery/([^/]+)/index.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1 [L] RewriteRule ^gallery/([^/]+)/index.html$ /scj/tube/?slug=$1 [L] RewriteRule ^gallery/([^/]+)/$ /scj/tube/?slug=$1 [L] RewriteRule ^gallery/([^/]+)/([0-9]{1,2}).html$ /scj/tube/?slug=$1&item_id=$2 [L] RewriteCond %{QUERY_STRING} ^(.+)$ RewriteRule ^category/([^/]+)/$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_to_cookie=true&skip_sell=true&group_name=$1&order=ctr [L] RewriteRule ^category/([^/]+)/$ /scj/tube/index.php?group_name=$1 [L] RewriteRule ^category/([^/]+)/([^/]+)/([^/]+)/$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_to_cookie=true&skip_sell=true&group_name=$1&order=$2&page=$3 [L] RewriteCond %{QUERY_STRING} ^(.+)$ RewriteRule ^category/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_to_cookie=true&skip_sell=true&group_id=$1&order=$3&page=$4 [L] RewriteRule ^category/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/index.php?group_id=$1&order=$3&page=$4 [L] RewriteRule ^tag/(.*)/$ /scj/tube/index.php?tag=$1 RewriteRule ^search/(.*)/(.*)/(.*)/(.*)/$ /scj/tube/index.php?search_type=$1&search=$2&order=$3&page=$4 RewriteRule ^action/(.*)/(.*)/$ /scj/tube/index.php?action=$1&action_params=$2 [L] RewriteRule ^action/(.*)$ /scj/tube/index.php?action=$1 [L] RewriteRule ^go/(.*)/$ /scj/tube/?action=sponsor&sponsor_slug=$1& [L] RewriteRule ^search_log/(.*)/$ /scj/tube/?search_log=all&page=$1& [L] RewriteRule ^sponsor/(.*)/$ /scj/tube/?sponsor_slug=$1&force_template=sponsor_page [L] RewriteRule ^sponsor_galleries/(.*)/(.*)/$ /scj/tube/?sponsor_slug=$1&page=$2&force_template=sponsor_list [L] RewriteRule ^models/$ /scj/tube/?force_template=model_list [L] RewriteRule ^models/(.*)/$ /scj/tube/?force_template=model_list&model_first_letter=$1 [L] RewriteRule ^model/(.*)/(.*)/(.*)/$ /scj/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3 [L] RewriteRule ^model/(.*)/$ /scj/tube/?model_slug=$1&force_template=model_galleries [L] RewriteRule ^report/(.*)/$ /scj/tube/?content_id=$1&force_template=content_report [L] * Settings - CJPages: specify ABSOLUTE PATH (not URL, but PATH!!!) to scj/tube/index.php (for example /usr/home/vasya/domain.com/scj/tube/index.php) * Rotation - CMS Pages: edit templates [[TS Templates]]. That's it :) From this moment everything should work. List of tubes that the script can parse at the moment: * redtube.com * keezmovies.com * pornotube.com * porntelecast.com * xhamster.com * tube8.com * xvideos.com * shufuni.com * empflix.com * tnaflix.com * youporn.com * hardsextube.com * youjizz.com * deviantclip.com * moviegator.com * youhot.com * foxytube.com * bigtube.com * mofosex.com * slutload.com * porntown.com * pornhost.com * pornrabbit.com * 4tube.com * spankwire.com * drtuber.com * adultrium.com ===== Tube Import Sponsors ===== If you use Tube Import you can add sponsors by tube names for example xvideos.com, porntelecast.com etc (it's important that the tube domain is specified in the Site field) and then when adding a gallery it will be assigned the corresponding sponsor. If a sponsor with this name doesn't exist, for the added gallery the sponsor will be specified from the field Rotation - Groups - Tube Import - Set Sponsor. This is only relevant for Tube Import.