Skip to content
Permalink
Browse files

Add files via upload

  • Loading branch information...
TinyCB committed Feb 3, 2019
1 parent 0f1a60f commit 7a05605eea32e643ef2cc132490fa9f65309e121
Showing with 621 additions and 3 deletions.
  1. +25 −0 .htaccess
  2. +1 −1 chaturbate.xml
  3. +39 −0 edit.php
  4. +552 −0 index.php
  5. +4 −2 readme.md
@@ -0,0 +1,25 @@
Order Deny,Allow
Allow from all

ErrorDocument 400 /index.php
ErrorDocument 401 /index.php
ErrorDocument 402 /index.php
ErrorDocument 403 /index.php
ErrorDocument 404 /404
ErrorDocument 500 /index.php
ErrorDocument 501 /index.php
ErrorDocument 502 /index.php
ErrorDocument 503 /index.php

Options -Indexes
DirectoryIndex index.php

RewriteEngine On
RewriteBase /
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2&arg2=$3 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2&arg2=$3&arg3=$4 [NC,L]
AddDefaultCharset utf-8
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ /$1 [R=301,L]

Large diffs are not rendered by default.

@@ -0,0 +1,39 @@
<?php
/*
For this script. It is highly recommended to create a Chaturbate whitlabel on a subdomain seperate from this script.
The script does function without it, however some menu items are pointing towards pages which don't use a tracking code.
If you haven't signed up with Chaturbate yet,
please consider using my affiliate link to sign up with Chaturbate,
and keep me motivated to update this script further with more functionality.
My affiliate link: https://chaturbate.com/in/?track=default&tour=9O7D&campaign=2DLMP
Thank you in advance!
*/
/* Must be set */
define ( 'SITENAME', 'Localhost'); /* Website name*/
define ( 'BASEHREF', 'http://localhost/'); /* Website URL */
define ( 'BASEPATH', 'http://localhost/'); /* Website URL */
define ( 'AFFID', '2DLMP' ); /* Affiliate ID */
define ( 'TRACK', 'TinyCB' ); /* Tracking code */
/* Optional but recommended */
define ( 'GENDERSLUG', 'cams'); /* Gender pages slug (url) */
define ( 'MODELSLUG', 'cam'); /* Model page (single page) slug (url) */
define ( 'SERPTITLEHOME', 'My Title'); /* Title for Google (SERP) (Recommended)*/
define ( 'GENDERTITLE', ''); /* Title for Google gender page (male, female, couples, transsexuals are automatically set)*/
define ( 'MODELTITLE', ''); /* Title for Google model page (single page) (Title starts with example name JaneDoe's...) */
define ( 'SERPDESCHOME', ''); /* Home page description for Google (optional)*/
define ( 'KWSHOME', ''); /* Homepage keywords (obsolete, optional) */
define ( 'WHITELABEL', 'https://chaturbate.com');/* Whitebale URL, no whitelabel? Leave default */
define ( 'VUUKLE', ''); /* If you want VUUKLE as a comment system, leave empty if not. Else get VUUKLE API key and paste it here.*/
define ( 'GOOGLEVALIDATE', ''); /* Google webmaster verification code */
define ( 'MSVALIDATE', ''); /* Bing webmasters verification code */
define ( 'ANALYTICS', 'XX-XXXXXXXXX-X');/* Analytics ID */
define ( 'FOOTERTXT', 'All rights reserved'); /* Footer text */
?>

0 comments on commit 7a05605

Please sign in to comment.
You can’t perform that action at this time.