User Tools

Site Tools

Translations of this page:

Sidebar

Documentation index

tube_import

Tube Import

You can create a tube-like site within 15 minutes. That's really easy.

Actually there are 2 types of content for tube-like sites: embed content and external galleries\movies. External galleries\movies is a type of content that is viewed at external site (regular gallery), embed content is a content that is hosted at external server BUT can be viewed within your pages (embeded into your page). With SmartCJ you can create any type of content.

Creation of tube-like site with in 15 minutes

These sites are created based on SmartCJ internal rotation engine.

  • Rotation → Settings switch rotation on (Rotation = On)
  • Rotation - Groups create categories (groups) for your site. Amount of categories is unlimited. Make sure you setup thumb's size (Thumb Settings) and TubeImport section TS Group Settings
  • Check Tube section in rotation settings TS Rotation Settings
  • Copy (!) scj/cgi/index.php and scj/cgi/common.php to the root of your domain.
  • Create at the root of your domain .htaccess (Note, if you use nginx or lighttpd - ask your admin to setup rewrite rules for you). Copy rules from New Rotation Step By Step
  • Settings - CJPages: type PATH (not URL, but PATH !!!) to scj/tube/index.php
  • Rotation - CMS Pages: edit templates TS Templates. Make sure you have rot_in.php (as image) and SmartCJ include in EACH template
<!--SCJ_INCLUDE-->
  • Add to common.php following line (you can copy it from Rotation - CMS Pages)

if (!defined('BASE_DIR')) define('BASE_DIR', '/FULL_PATH_TO_/scj/');

  • Note, there are 3 locations of common.php: at the root if your domain, scj/cgi and scj/tube. Make sure you add this line to all comon.php

That's all :)

From this point you should see your tube site with default design.

once you've setup your own design you haму to switch on cache. Default cache time is 1 second, to set cache time to 10 minutes add to EACH common.php following like

if (!defined('CACHE_TIME')) define('CACHE_TIME', 600);

note, 600 - cache lifetime in seconds. You can change it in anyway you like it.

Default templates Tube Default Templates


List of tube sites we can parse at present time:

  • 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
tube_import.txt · Last modified: 2014/01/29 18:05 (external edit)