Administration of STXtube
A fresh installed STXtube will have 0 to 200 videos published. To proceed with customizing your STXtube, go to your administration panel. (yourdomain.com/stxtube/admin).
User Guide
Video Publishing
STXtube will get video feeds from their sponsors and add them to own DB. Right now, there is over 4000 video and its growing 100 per weekly.
- To get all videos, go to Fetching Module.
- Click fetch
- Wait until it's finished updating database.
- Done.
You can publish videos on your tube page with Cycling Module. STXtube will grab some video's from your video pool and publish. STXtube will also select videos in RANDOM order, so your tube always have unique video index page.
- To publish some, go to Cycling Module.
- Enter amount of videos to be published.
- Select Cycling Method.
- Click Cycle.
- Done.
Selecting Tube Niche & Channels
You can easily setup a niche-based tube by playing with Categories and Channels Modules. STXtube will work with only 'enabled' videos. So you can have your own content niches by disabling some.
- To disable channels, go to Channels Module.
- Check sites that you don't want to display.
- Click 'Apply Mass Action' button
- Select disable.
- Now, you've removed these sites from your tube. You can simply re-enable to undo.
- To disable categories, go to Categories Module.
- Check categories
- Click 'Apply Mass Action' button
- Select disable.
- Now all videos (including sites) in that category will be disappeared from your tube. You can simply re-enable to undo.
Sponsor Programs Setup
You should identify your sponsor webmaster account to STXtube for starting making cash.
- Go to System Modules / Program's Config, click one of the programs that you want to use.
- To find out right values for you, go to sponsor's webpage. For example
http://www.sextronix.com*
- If you don't have any account sign-up for webmaster account
- Login to webmaster's area.
- Go to Resource Tools, click 'STXTube' page**
- Read «B) Program Configuration» on the page.
- You can disable the whole program if you don't what their videos. For example, you can disable the 'gaytronix' program if you want a straight tube.
- If program is disabled, you don't have to fill-in your webmaster id for that sponsor program, their sites will not get promoted anyway.
* Current sponsor pages:
** STXtube Configuration Page links:
Automating Cycling / Fetching / Backups
There is cron scripts for each process. Simply go to System Modules / Settings and click Crontab. All information you need is there.
Also if you are using our Free Hosting Server check this
post.
Banners Setup
Integrated banners will activated by default.
- If you don't want banners of a particular site, simply disable the channel of that site via Channels Module. You can do it same for category and programs.
- You can also disable integrated banners and use your own banner system to do that:
- Go to Banners module.
- Disable it.
- Click save.
- Prepare your banner code, and paste it on a file named list_banner.tpl. Remember, with default themes STXtube only supports vertical banners with most 160 pixel wide. Example:
<a href="http://www.18passport.com" target="_blank">
<img border="0" src="http://www.sextronix.com/banners/18passport.com/160-600.jpg" width="160" />
</a>
- Upload list_item.tpl to your theme directory. (under /templates). Default theme on STXtube installation is 'grizzybear'.
Changing Theme & Color Schemas
- Go to View and Looks / Themes and Colors module.
- Select theme and color from list.
- Click save. Your tube's face is changed.
Customization / Making your own Theme
- FTP to your hosting, and download files under '/templates'
- Select a alphanumeric*** new name for your theme, and rename one of the theme you want to edit.
- Open template.ini file
- Fill-in id for your previously choosen name. You can also change one line description, name if you like.
- Upload renamed directory to /templates
- Go to View and Looks /Themes and Colors module and select your new theme from the list. Click save.
- Now, you can change whatever necessary in your templates without touching default ones.
- You can do most customization work via editing media/css.css file. It contains all the colors and image informations.
- All *.tpl files are like HTML. See
http://www.smarty.net for more details.
*** Only letters and digits, no spaces/special chars. See
Wiki Alphanumeric
Installing Google Analytics to your site
- Open your footer.tpl from your theme folder (/templates/dgirl/footer.tpl, replace dgirl with your chosen theme)
- Place your google analytics code before </body> tag:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-0000000-0");
pageTracker._trackPageview();
} catch(err) {}
</script></body>
- Put {literal} in the begining, and {/literal} at the end of the script you've just copied, so final look will be:
{literal}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-0000000-0");
pageTracker._trackPageview();
} catch(err) {}
</script>
{/literal}</body>
- Do not forget to change UA-0000000–0, this should be replaced by your google analytics site id.
- If you've secured your /templates/c/ folder and files before, you need to make them webserver-writable again to let the webserver overwrite new compiled templates over old ones.
Modules Manual
Info
Complete modules definitions will be here soon
@todo