new_rotation_step_by_step
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| new_rotation_step_by_step [2019/08/12 13:05] – [New Rotation Step By Step] admin | new_rotation_step_by_step [2026/03/21 10:11] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== New Rotation Step By Step ====== | ====== New Rotation Step By Step ====== | ||
| - | Basically any site consists of at least 2 pages: index (with list of thumbs or list of categories or both) and X pages with list of thumbs for each category. You can also have galleries created by SmartCJ (Demo [[http:// | + | A modern rotation system that meets current needs. |
| + | This rotation is built on the old system but lets you quickly build multi-niche, | ||
| - | ===== Basics ===== | + | Most multi-niche sites have 4 core pages: index, category thumb list, content page (video or gallery), and optionally a search page. With SmartCJ, you can launch such a site in 15 minutes. |
| - | Basically there are 2 types of galleries: embedded | + | Extended versions add user registration, |
| - | + | ||
| - | ===== Setup ===== | + | The system is extremely flexible. You can create almost any site type with it. |
| - | * Rotation -> Settings turn it on ( Rotation | + | ===== Basic Concepts ===== |
| - | * Rotation - Groups : Create groups (categories, | + | |
| - | * Copy (!!! copy, not move, do not delete source) to the root of your domain index.php and common.php from scj/cgi | + | |
| - | * Create .htaccess at the root of your domain (**NOTE** If you use nginx or lighttpd - ask admin to add those rules to config file) and add rewrite rules [[tcms_install|Install]]. Those rewrites are for version 2.X (TCMS) | + | |
| - | * Settings - CJPages: type PATH (not URL, you need PATH!!!) to scj/ | + | |
| + | There are two main content types for tube CMS: | ||
| - | ===== Old Rewrites for version 1.X ===== | + | **External galleries** - Content from sponsors (like FHG) that lives on their servers. Clicking links external galleries is an external redirect. |
| - | < | + | **Embedded galleries** - Content played directly on your site (like any tube site). The video stays on your domain; no external redirects. |
| - | RewriteEngine On | + | |
| - | RewriteCond %{QUERY_STRING} ^(.+)$ | + | |
| - | RewriteRule ^gallery/(.*)/(.*)/ | + | |
| - | RewriteRule ^gallery/(.*)/(.*)/ | + | |
| - | RewriteRule ^gallery/(.*)/(.*)/$ /scj/tube/? | + | |
| - | RewriteRule ^gallery/ | + | |
| - | #slug galleries | + | You can use both types. SmartCJ can also convert sponsor |
| - | RewriteCond %{QUERY_STRING} ^(.+)$ | + | |
| - | RewriteRule ^gallery/ | + | |
| - | RewriteRule ^gallery/ | + | |
| - | RewriteRule ^gallery/ | + | |
| - | RewriteRule ^gallery/ | + | |
| - | RewriteCond %{QUERY_STRING} ^(.+)$ | + | ===== Engine Setup ===== |
| - | RewriteRule ^category/ | + | |
| - | RewriteRule ^category/ | + | |
| - | RewriteRule ^category/ | + | |
| - | RewriteCond %{QUERY_STRING} ^(.+)$ | + | |
| - | RewriteRule ^category/ | + | |
| - | RewriteRule ^category/ | + | |
| - | RewriteRule ^tag/(.*)/$ / | + | * Go to Rotation → Settings and enable the rotation engine |
| - | RewriteRule ^search/(.*)/(.*)/(.*)/(.*)/$ /scj/tube/index.php? | + | * Go to Rotation - Groups and create site categories. You can create unlimited categories. |
| - | RewriteRule ^action/(.*)/(.*)/$ /scj/tube/index.php? | + | |
| - | RewriteRule ^action/(.*)$ / | + | * Verify that your rewrite rules are configured |
| - | RewriteRule ^go/(.*)/$ / | + | ===== Adding content ===== |
| - | RewriteRule ^search_log/ | + | |
| + | All galleries are DYNAMIC—no physical directories or files are created on your server. Gallery links are virtual; the script generates them on the fly. This is convenient because if you change advertising, | ||
| - | RewriteRule ^sponsor/ | + | See [[New Rotation Content]] for details. |
| - | RewriteRule ^sponsor_galleries/ | + | |
| - | RewriteRule ^models/$ / | + | After adding content, your site will have galleries. Next, move to [[New Rotation Templates]] to customize appearance. |
| - | RewriteRule ^models/(.*)/$ / | + | |
| - | RewriteRule ^model/ | + | |
| - | RewriteRule ^model/(.*)/$ / | + | |
| - | RewriteRule ^report/ | ||
| - | |||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | **That' | ||
| - | |||
| - | |||
| - | **Nginx ReWrites** | ||
| - | |||
| - | < | ||
| - | |||
| - | #old style | ||
| - | if ($args) { | ||
| - | rewrite ^/ | ||
| - | } | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | |||
| - | #style 2.0 | ||
| - | if ($args) { | ||
| - | rewrite ^/ | ||
| - | } | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | |||
| - | if ($args) { | ||
| - | rewrite ^/ | ||
| - | } | ||
| - | rewrite ^/ | ||
| - | if ($args) { | ||
| - | rewrite ^/ | ||
| - | } | ||
| - | rewrite ^/ | ||
| - | |||
| - | if ($args) { | ||
| - | rewrite ^/ | ||
| - | } | ||
| - | rewrite ^/ | ||
| - | |||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | |||
| - | rewrite ^/go/(.*)/$ / | ||
| - | rewrite ^/ | ||
| - | |||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | |||
| - | rewrite ^/models/$ / | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | rewrite ^/ | ||
| - | |||
| - | rewrite ^/ | ||
| - | |||
| - | </ | ||
new_rotation_step_by_step.1565615109.txt.gz · Last modified: by admin
