Tube Ace for WordPress Theme & Plugin Now Available!

Documentation > Installation

1. (Trial Users Only) Make sure you have the correct ionCube Loader installed on your server. Most web hosts have them installed by default. ionCube Loaders are free if you need to install them on your server. If you receive an error similar to the one below, the ionCube loader is not installed on your server:

Site error: the file /admin/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

We recommend Certified Hosting for web hosting which has all required server software installed.

2. Create the MySQL database to store the Tube Ace data. This can be done in cPanel if you have this on your hosting account.

Click the MySQL Databases Icon on the cPanel Main Page as below:
CPanel MySQL Databases

On the next page, create the new database as shown below:
Create New MySQL Database

Open configs.php in a text editor. Set the values for:

$admin_password = "ADMINPASS";
$sql_server = "localhost";
$sql_username = "useSameFTPusername";
$sql_password = "useSameFTPpassword";
$sql_db = "DatabaseNameAsCreatedInStepAbove";

3. Upload all files to desired home directory. Keep directory structure the same (usually /public_html directory).

4. Create the following directories in home directory and set chmod permissions to 0777:

/avatars
/cache
/cache/mobile
/thumbs
/thumbs/mobile
/uploads
/uploads/mobile

5. Go to http://www.yoursite.com/tubeace-admin/install.php in your web browser and Complete Installation.

6. Access the Tube Ace Admin at http://www.yoursite.com/tubeace-admin/ and Add Videos.

7. Modify Admin Settings to your desire.

8. Modify Templates to your desire.

9. Setup cron job to tabulate view counts for videos:

If you are counting video views you should setup a cron job for admin/tabulate_views.php to execute every 15 minutes or as frequently you wish to tabulate the view counts for videos. You will need to enter the admin password in the cron command URL.

example cron command:
curl http://www.yoursite.com/tubeace-admin/tabulate_views.php?p=adminpassword

10. Setup cron job for XML feed parser.

If you are using XML feeds you should setup a cron job for admin/parse_xml_feeds.php to execute every 15 minutes or as frequently you wish to parse the xml feeds. You will need to enter the admin password in the cron command URL.

example cron command to parse all online feeds:
curl http://www.yoursite.com/tubeace-admin/parse_xml_feeds.php?p=adminpassword&feed=all

To parse a single XML feed (id #3) the command would be:
curl http://www.yoursite.com/tubeace-admin/parse_xml_feeds.php?p=adminpassword&feed=3

11. Setup cron job for Prune Searches.

If you are logging searches and tag clicks you should setup a cron job for admin/prune_searches.php to execute as frequently as you wish to prune searches and tag clicks for videos. You will need to enter the admin password in the cron command URL.

example cron command:
curl http://www.yoursite.com/tubeace-admin/prune_searches.php?p=adminpassword

12. Setup cron job for Switch Users Offline.

example cron command:
curl http://www.yoursite.com/tubeace-admin/switch_offline.php?p=adminpassword

13. Setup cron job for Prune Messages.

example cron command:
curl http://www.yoursite.com/tubeace-admin/prune_messages.php?p=adminpassword

14. Submit your XML Sitemap to Google and other search engines.

The XML Sitemap file is located at: http://www.yoursite.com/xml_sitemap.php