Documentation index
- ReadMe
- Things To Know
-
- Thumbs CMS
- Admin Area
- Traffic Rules
- New Style Rotation
- Custom Galleries
- Tube Sites
- Old Style Rotation
-
Main purpose of this is to start multiply sites with different traders using the same thumbs DB. You can even run those sites on different servers. The process is easy: you create one site (master) and fill it with galleries\thumbs, after that you link other scj sites.
3 Easy steps:
That's all.
Why you should use it:
Limitations:
Common data:
Separate data for each slave:
1 master and several niches You can create a one-niche site using multiniche master site
Slave at other servers
By default slave sites link to galleries at the same domain. Ie we created a custom gallery. Actually it's just a list of content (thumb, big images, movie files and so on). Each domain displays that content using it's own template.
so http://master/gallery/cool/index.html and http://slave/gallery/cool/index.html
will output he same content but using it's own template. And it's good and it is supposed to be this way.
But sometimes you want all slave to link to galleries at master only. First of all you'll try to change links from /gallery/GALLERY_SLUG/index.html?rotation_params to http://master/gallery/GALLERY_SLUG/index.html?rotation_params
It will work but it links straight to master site and slave site won't get rotation info.
There are 2 options
1. Change subtemplate so traffic will go thought slave's out.php
/gallery/GALLERY_SLUG/index.html?<!--THUMB_LINK--> to /scj/cgi/out.php?url=http://master/gallery/GALLERY_SLUG/index.html&link=images/<!--THUMB_LINK-->
2. or change rewrite
RewriteRule ^gallery/([^/]+)/index.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&slug=$1 [L] to RewriteRule ^gallery/([^/]+)/index.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=http://master/gallery/$1/index.html [L]