Page 1 of 4

tube import requirements

Posted: Wed Mar 29, 2017 3:16 pm
by dcoderk
where I can see this page or file

Rotation - CMS Pages: edit templates TS Templates. Make sure you have rot_in.php (as image) and SmartCJ include in EACH template


do i need to create that rot_in.php?

Re: tube import requirements

Posted: Wed Mar 29, 2017 3:22 pm
by admin
What version of the script do you use ?

Re: tube import requirements

Posted: Wed Mar 29, 2017 3:31 pm
by dcoderk
version 2

Re: tube import requirements

Posted: Wed Mar 29, 2017 3:36 pm
by dcoderk
and if I setup all these requirements
will I able to see the site with sample content?

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 :)

Re: tube import requirements

Posted: Wed Mar 29, 2017 3:44 pm
by admin
I see, it was written for version 1.x
For 2.x you don't need to add rot_in and so on

Re: tube import requirements

Posted: Wed Mar 29, 2017 3:47 pm
by dcoderk
so I guess everything is set
after what next?
will the tube site work after that setting?
will I able to see a sample content?

Re: tube import requirements

Posted: Wed Mar 29, 2017 4:01 pm
by admin
Did you add galleries ?

Re: tube import requirements

Posted: Wed Mar 29, 2017 4:06 pm
by dcoderk
yes

here's the result

Specials

Added: 100, Dupes: 0
1 galleries missed check filter and was NOT added


is that correct?

what I will do next?
because the content is not showing on the site

Re: tube import requirements

Posted: Wed Mar 29, 2017 4:08 pm
by dcoderk
on my site url i got this


Content not found page

Re: tube import requirements

Posted: Thu Mar 30, 2017 6:12 am
by admin
rotation - list thumbs

do you see galleries ?