User Tools

Site Tools


Writing /home/user/smartcj.com/wiki/data/cache/e/e1a666e6086067fc20210ab628e24d92.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/user/smartcj.com/wiki/data/cache/e/e1a666e6086067fc20210ab628e24d92.metadata failed
en:tube_import

Differences

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

Link to this comparison view

Next revision
Previous revision
en:tube_import [2014/01/29 18:32] – external edit 127.0.0.1en:tube_import [2018/02/27 06:57] (current) – external edit 127.0.0.1
Line 7: Line 7:
  
 ===== Creation of tube-like site with in 15 minutes ===== ===== 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 -> 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]] +  * Rotation - Groups create categories (groups) for your site. Amount of categories is unlimited.  
-  * Check Tube section in rotation settings [[TS Rotation Settings]] +  * Each group has a section called TubeImport where you have to add  keywords [[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]] +
  
-----+That's it :)
  
 +At this point SmartCJ should start adding galleries from tube sites.
  
 List of tube sites we can parse at present time: List of tube sites we can parse at present time:
en/tube_import.1391020362.txt.gz · Last modified: by 127.0.0.1