tube import requirements

dcoderk
Posts: 70
Joined: Sat Mar 25, 2017 8:30 am

tube import requirements

Post 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?
email: dcoderk at yahoo (dot) com
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: tube import requirements

Post by admin »

What version of the script do you use ?
Don't forget to run script update
dcoderk
Posts: 70
Joined: Sat Mar 25, 2017 8:30 am

Re: tube import requirements

Post by dcoderk »

version 2
email: dcoderk at yahoo (dot) com
dcoderk
Posts: 70
Joined: Sat Mar 25, 2017 8:30 am

Re: tube import requirements

Post 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 :)
email: dcoderk at yahoo (dot) com
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: tube import requirements

Post 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
Don't forget to run script update
dcoderk
Posts: 70
Joined: Sat Mar 25, 2017 8:30 am

Re: tube import requirements

Post 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?
email: dcoderk at yahoo (dot) com
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: tube import requirements

Post by admin »

Did you add galleries ?
Don't forget to run script update
dcoderk
Posts: 70
Joined: Sat Mar 25, 2017 8:30 am

Re: tube import requirements

Post 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
email: dcoderk at yahoo (dot) com
dcoderk
Posts: 70
Joined: Sat Mar 25, 2017 8:30 am

Re: tube import requirements

Post by dcoderk »

on my site url i got this


Content not found page
email: dcoderk at yahoo (dot) com
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: tube import requirements

Post by admin »

rotation - list thumbs

do you see galleries ?
Don't forget to run script update
Post Reply