Home / template
Name Modified Size InfoDownloads / Week
Parent folder
content.php 2019-07-26 5.8 kB
footer.php 2019-07-26 11.9 kB
header.php 2019-07-26 2.3 kB
style.css 2019-07-26 7.9 kB
Totals: 4 Items   27.9 kB 0

Chaturbate affiliate API script

About TinyCB

TinyCB is a small Chaturbate affiliate script (written in PHP) that you can deploy on your server. What it does is, it downloads Chaturbate's XML API feed on your own server and uses that file to parse the models on your website. This script comes with a default template (mobile ready). To change the default template, it is recommended to have some basic knowledge about HTML / CSS / PHP.

Furthermore, TinyCB should be easy to setup (no programming knowledge required). All values are predefined in the edit.php file.

Tinycb is specifically created to work as the front end for a Chaturbate whitelabel however. It's not manditory, and also runs without.

Setup

  1. Sign up at Chaturbate
  2. Download and unzip the archive here.
  3. Change edit.php accordingly.
  4. Upload all files to your server.
  5. Make sure chaturbate.xml is writable.

NOTE: Tested script with PHP7 and works.

NOTE: It is recommended to set display_errors=Off in your php.ini file. Alternatively, if you don't have access to php.ini you can turn off error reporting by adding error_reporting(0); to index.php or php_flag display_errors off to your htaccess file.

Cache and speed

This script makes use of a very simple xml caching method. It pré downloads the feed from Chaturbate and then saves it to a local xml file on your server. There's no need to setup any cron jobs etc. The script is very light weight and should run with minimal system specifications however. Because of Chaturbate's ever growing API feed I recommed using an SSD and fairly decent processor to keep pages loading fast.

Features

The script is currently divided into 4 categories. Features cams, female cams, male cams, and transsexual cams. All rooms are provided with Chaturbate's theater mode. I've chosen for this mode because it had the best results for mobile devices. The script works most optimal by using Chaturbate's white label in the back end (this is optional but recommended).

Vuukle

TinyCB make use of Vuukle. Vuukle is a free online commenting system similar to disqus. Using a comment system has multiple benifits in either community building and or SEO. Users that enter a model's room are able to either leave a comment or review. Using Vuukle is not manditory but I do recommend it.

Signing up for Vuukle is easy and fast. All you need is an API key and paste it in the edit.php file.

Model info US date: 07/26/2019 - EU date: 26-07-2019

  • Added some model info below the cam content.
  • Added the option to add a logo.
  • Tracking code now works properly.

For the future

For the script in its current state, I'm planning to create different types of templates so people can switch between those. There is also a rework planned for the script in which I'm planning to implement a simple CMS, more features and possibly a plugin for Wordpress.

Twitter

Follow me on twitter.com/TinyCB_ to stay updated for further updates of the script (or a complete rework).

License

TinyCB is released under the MIT license.

Copyright (c) TinyCB

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Source: readme.md, updated 2019-07-26