RSS Feed
Knowledgebase
The following is a guide to install the script dependancies on CentOS 5 and 6 as well as CPanel systems. It may work under Centos 7 as well. This guide is for 64bit systems only. If you aren't sure - your system is almost certainly 64 bit unless it is obs...
We recommend setting the following php.ini variables as general security settings on all servers. THESE ARE NOT SPECIFIC TO ANY MECHBUNNY SOFTWARE, BUT RATHER GENERAL SECURITY GUIDELINES. disable_functions = eval,exec,passthru,system,proc_open,popen,cur...
1) Upload all script files to target directory 2) Chmod the following directories to 777 *recursively* (so the directories and everything contained within them) /media/ /cache/ /content/ /csv_photos/ /ftp_content/ /ftp_photos/ /media/ /temp_users_uploads/...
Please make sure that the .htaccess file is in place in the root of your domain (sometimes your ftp client might not upload this file). If it is there and hasn't been tampered with, please have your host make sure that "AllowOverrides All" is set in...
We provide updates to the script free of charge, and always provide an update procedure. You can learn about updates in your admin area's homepage in the news box. If you want us to perform an update for you, we charge for the labour. The exact cost...
To add a watermark to your actual video files, please add the following to your ffmpeg command lines for desktop and mobile. Top left -vf "movie=/full/linux/path/to/watermark.png [watermark]; [in][watermark] overlay=10:10 [out]" Top right -vf "movie=/...
If you load your website and see "error 28 from storage engine", it means your server has run out of disk space on the partition that mysql stores it's databases on. Please contact your host regarding this issue, not us, as we cannot do anything about it.
Please use the following static version of FFMPEG on your server. It has all dependancies already compiled in it. https://mechbunny.com/repo/ffmpeg-release-64bit-static.tar.xz [https://mechbunny.com/repo/ffmpeg-release-64bit-static.tar.xz] For version...
- You can select the 'main thumbnail' for a video by clicking the thumb in existing content or publish queue. - Make sure imagemagick's mogrify command is installed into /usr/bin/mogrify or /usr/local/bin/mogrify. It will vastly improve the thumbnail qua...
You can do this in your admin area by going to content -> existing content and submitting the form with the filters. Once you find the video you are looking for, click the magnifying glass to edit it. You can quickly edit the main thumbnail for a vi...
You can view the log file for the encoder by going to Encoder -> Encoder Log
Please use the support ticket system located at http://support.mechbunny.com.
The video pages are made up of 3 templates. /templates/template.video_header.php /templates/template.video_content.php /templates/template.video_footer.php
You can enable the mobile version of your site by setting the following two variables to true in admin/config.php: $encodeMobile = true; //encode mobile videos $enableMobile = true; //enable mobile version You can also view your mobile site on a ...
The tradepulse documentation states that you must put the following code in your tag: This, however, will cause a php error in the case of the tube script. The tradepulse code will often throw a php error about gzip compression and give you a blank...
Homepage ads are inserted on the templates directly. The homepage is typically made up of 4 templates: template.overall_header.php template.nav.php template.content_item.php (repeating thumbnail) template.overall_footer.php These 4 templates contr...
To make mechbunny login users automatically (when installing behind strongbox), you must apply the following code changes: PLACE THIS CODE IN ADMIN/FUNCTIONS.CUSTOM.PHP (ON OLDER VERSIONS PLACE IT IN ADMIN/DB.PHP NEAR THE TOP AFTER THE MYSQL_CONNECT() P...
The locations and positions of the watermark on the video player are defined in admin/config.php. You must edit this file using a text editor. The variables in question are as follows: $player_show_watermark = 'true'; //show watermark $player_alway...
There are three ways to add photos to the script: 1) User Upload: All photos uploaded by users will end up in the approval queue. 2) Ftp Import: You can upload photo galleries to the ftp_photos/ directory. Each gallery should be in its own directory wit...
There are several ways to add content to the script: 1) User Upload: If user uploading is enabled, anyone who is logged in can visit the upload.php page on the front end of the site. After entering a title, description, and keywords for the video, they a...
You can completely redirect your mobile traffic by using the $redirect_mobile variable in admin/config.php: $redirect_mobile = "http://mobile.example.com"; //set to url of mobile version, otherwise set $redirect_mobile = false; $enableMobile must be...
The script is controlled by a simple templating system using header/footer type system. Most of the relevant template files are located in the templates directory. Below is a listing of the main templates for the script. You may have additional template f...
Each video in the system is assigned to a paysite at the approval queue stage. Paysites can be added by selecting "Paysites->Add Paysite" from the menu. Once there, you enter the paysite name and url. You will also notice several large textboxes here labe...
After a video is deleted, it's cached video page file may still be available for a period of time. This period is dependant on what you have $video_cache_time set to. If you urgently must delete a video page that's cached, you can remove it by delet...
Yes. We are available for custom work on the tube script as well as for completely unrelated, standalone projects. Please contact konrad@mechbunny.com for a quote, or hit us up on ICQ 59416956/Skype mechbunnymedia.
This article is to explain more in depth how the script is put together and how the templating system works. First of all, the most important template is template.content_item.php. It contains the thumbnail block: There is a similar file called templat...
As of 6.0.8, the script supports jpegoptim. This will optimize thumbnails. You can run it on existing thumbnalis like this: 1) SSH in as a user that has permissions for /media/ 2) CD to the media directory 3) Type the following: find -type f -name "*.jpg"...
* You have to be logged in to Your Twitter account. * Go to https://apps.twitter.com/ and click "Create New App", https://scr.hu/MR2Xgr * Fill in form, fields "Website" and "Callback URL" have to start with "http://" or "https://" depending on Your ...
The multilanguage setup on the tube script requires setting dns wildcards and serveralias subdomains in apache. On DNS, you need to set a wildcard dns that points to the same IP address as 'domain.com' On Apache, you need to enter 'ServerAlias *.domai...
The encoder starts up as an apache shell process. If apache is restarted or the server is rebooted, it will uncleanly kill the encoding process which in turn won't be able to report to the admin area that it's no longer running. You can reset your enco...
You can try turning up the cache times in your configuration file located at admin/config.php using a text editor. The variables in question are: $video_cache_time = 300; //video page cache time $overall_cache_time = 5; //cache time for all other...
If your site is completely unresponsive, please contact your webhost. Our working hours are Mon-Fri, 8:00 - 18:00 Central European Time. In case of an after-hours emergency, you can reach us at konrad@mechbunny.com (routed to mobile phone) or try ICQ 5...
Please have your host check your apache error logs to diagnose this problem further. The most common reason is php being installed as a CGI instead of an Apache Handler. The workaround is to remove the following from your .htaccess file: php_flag regi...
- Make sure php is installed as Apache Handler/DSO rather then CGI - Make sure ioncube is newest available version - Make sure php has mysqli extension installed and available - Make sure $basepath is correct in your admin/config.php file
This is invariably a server (most likely disk i/o) or a network issue. Please contact your webhosting company, as there is nothing we can do to help you with this.
* PLEASE NOTE * THIS ARTICLE IS INFORMATIONAL ONLY - WE DO NOT PROVIDE FREE TECHNICAL SUPPORT FOR NGINX - ONLY FOR OUR SOFTWARE. IF YOU WOULD LIKE US TO SET THIS UP FOR YOU, WE CAN DO SO BUT WILL CHARGE FOR THE LABOUR. NGINX CONFIGURATION ---------------...
location / { root /path/to/root/of/domain/; index index.php index.html index.htm; rewrite ^/page([0-9]+).html$ /index.php?controller=index&page=$1; rewrite ^/galleries/(.*)-([0-9]+).html$ /index.php?controller=gallery&id=$2; rewrite ^/video/(.*)-([0-...
THIS IS EFFECTIVE AS OF MECHBUNNY TUBE SCRIPT 6.0.5 To enable Paysite System: 1) Set either CCBill, Epoch, or Other (if additional biller was coded into your installation) postback to true to enable postback script. This will unlock access to the postbac...
If you are hosting at Reflected.net/Swiftwill, please have them do the following for the script to work: (in addition to the standard dependancy install) - in httpd.conf, turn on allowoverrides all (so that mod_rewrite works properly and disabling the p...
To configure the PPC script with your Google Analytics account, you must do the following: 1) Create a Google Developers project as per https://console.developers.google.com/project 2) Create service account under this project, see instructions as per h...
THIS IS EFFECTIVE AS OF MECHBUNNY TUBE SCRIPT 6.0.5 To enable VOD System: 1) Set Vod Tokens to "true" in admin area settings page under Payment Gateway settings. Billers should all be set to "false" - these settings are used for monthly membership sites....
* PLEASE NOTE * THIS ARTICLE IS INFORMATIONAL ONLY - WE DO NOT PROVIDE FREE TECHNICAL SUPPORT FOR NGINX - ONLY FOR OUR SOFTWARE. IF YOU WOULD LIKE US TO SET THIS UP FOR YOU, WE CAN DO SO BUT WILL CHARGE FOR THE LABOUR. If you are using nginx as a proxy ...
In order to activate VR functionality on the tube script (available as of 6.0.8), you must first register at delight-vr's website (https://delight-vr.com/) [https://delight-vr.com/)]. You will receive a piece of javascript code to implement on your site. ...
Our working hours are Mon-Fri, 8:00 - 18:00 Central European Time. In case of an after-hours emergency, you can reach us at konrad@mechbunny.com (routed to mobile phone) or try ICQ 59416956 or skype mechbunnymedia.
There are two cron files currently available in the script (unless you had others added). They are both located in the admin/ directory. cronPublish.php - Each time this is executed, x number of video gets published from the publish queue. In the conf...
There are 2 types of users in the script. Regular Users, and Partners. It is not nessesary to use both. It is simply a way to give certain users more permissions then others (ie. limiting uploading only to 'partner' users and so forth).
You can edit your admin username and password by editing admin/config.php in a text editor. You can also enable ip restrictions for your admin area in this saame spot.
This varies depending on the layout used on your site, but generally speaking these will be in /templates/template.overall_header.php or /templates/template.nav.php.
Pages which display thumbnails, such as newest, most viewed, top rated, and so forth, store their metatags in includes/inc.seo.php. Example from inc.seo.php: case 'mostviewed': $title = 'Most Popular Tube Videos'; $headertitle = 'Most Popular T...
The site name can be edited by opening admin/config.php in a text editor and changing the $sitename variable.
You can edit your general script settings in admin/config.php. The variables are all commented to show what does what.
The most common reason for a video not encoding properly is permissions. Please have your host try running the following command line as root via ssh chmod -R 777 /path/to/your/website/htdocs/media Then try encoding again. If the videos are st...
There is a very wide range of reasons why your site may be running slow. Please contact support for help on this topic, and we will help you debug exactly where the problem lays. The most common reasons for slow site performance is an overloaded ser...
Most popular articles 
 
Newest articles