GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Sell and Buy Forum (https://gfy.com/forumdisplay.php?f=35)
-   -   New version of Chaturbate Whitelabel (https://gfy.com/showthread.php?t=1127008)

adulttemps 11-25-2013 02:16 AM

New version of Chaturbate Whitelabel
 
Demo http://adultwpthemes.com/whitelabelv3/
Download http://www.adultwpthemes.com/2013/11/cb-whitelabel-v3/

enjoy

Andreweb 11-25-2013 02:28 AM

It looks very nice but I'm wonder why those WL are so slow?

adulttemps 11-25-2013 02:32 AM

It parses the entire feed, was thinking about doing a version that actually writes the cams to a db to speed things up. Just to lazy.

boyrev 11-25-2013 04:22 AM

Here, some code to assist lethargy

PHP Code:

<?php

// notes: $username - your mysql username
//        $password - your mysql password
//        $db - name of your database 

$handle_db1 mysql_connect("localhost",$username,$password,true) or die(mysql_error()); 
mysql_select_db($db,$handle_db1) or die(mysql_error());


// notes: UUUUUUUU is your chaturbate username
//        PPPPPPPP is your chaturbate encoded password (you can get this from the cb alert emails)
 
$g='http://chaturbate.com/accounts/autologin/?username=UUUUUUUU&password=PPPPPPPP%3D&next=%2Faffiliates%2Fapi%2Fonlinerooms%2F%3Fformat=json%26wm=lmzR4';

$f file_get_contents($g);

if(!
function_exists('json_decode')) die('Your host does not support json');
$feed json_decode($f);

$rs mysql_query("truncate table datain");
for(
$i=0$i<count($feed); $i++){
    
$sql = array();
    foreach(
$feed[$i] as $key => $value){
        
$sql[] = (is_numeric($value)) ? "`$key` = $value\n" "`$key` = '" mysql_real_escape_string($value) . "'\n";
    }
    
$sqlclause implode(",",$sql);
    
$rs mysql_query("INSERT INTO datain SET $sqlclause");
}


/*
Notes:

Table structure for datain:

CREATE TABLE `datain` (
`username` VARCHAR( 64 ) NOT NULL ,
`seconds_online` INT( 10 ) NOT NULL ,
`spoken_languages` VARCHAR( 128 ) NOT NULL ,
`display_name` VARCHAR( 64 ) NOT NULL ,
`num_users` INT( 5 ) NOT NULL ,
`chat_room_url` VARCHAR( 128 ) NOT NULL ,
`gender` VARCHAR( 1 ) NOT NULL ,
`age` INT( 2 ) NOT NULL ,
`recorded` VARCHAR( 16 ) NOT NULL ,
`current_show` VARCHAR( 16 ) NOT NULL ,
`iframe_embed_revshare` VARCHAR( 256 ) NOT NULL ,
`birthday` DATE NOT NULL ,
`image_url` VARCHAR( 128 ) NOT NULL ,
`location` VARCHAR( 128 ) NOT NULL ,
`block_from_states` VARCHAR( 256 ) NOT NULL ,
`block_from_countries` VARCHAR( 256 ) NOT NULL ,
`iframe_embed` VARCHAR( 256 ) NOT NULL ,
`chat_room_url_revshare` VARCHAR( 128 ) NOT NULL
) ENGINE = InnoDB;

*/


adulttemps 11-28-2013 12:12 AM

Thanks , for those of you who prefer bonga cams: http://www.adultwpthemes.com/2013/11...ms-whitelabel/


All times are GMT -7. The time now is 12:13 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123