Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-24-2012, 05:35 PM   #1
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
chaturbate api/whitleabel

I thoght is was suposed to be % but stats seem to be recording $1 instead.

Not happy.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 05:37 PM   #2
porno jew
Too lazy to set a custom title
 
Industry Role:
Join Date: Nov 2006
Posts: 10,166
Quote:
Originally Posted by DVTimes View Post
I thoght is was suposed to be % but stats seem to be recording $1 instead.

Not happy.
look on the bright side. you made a dollar.
porno jew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 05:38 PM   #3
anexsia
Confirmed User
 
anexsia's Avatar
 
Industry Role:
Join Date: May 2010
Posts: 5,735
Quote:
Originally Posted by porno jew View Post
look on the bright side. you made a dollar.
anexsia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 05:41 PM   #4
VenusBlogger
So Fucking Banned
 
Industry Role:
Join Date: Nov 2011
Posts: 1,540
why are there so many threads and people talking about chaturbate? What's so special about them? just wondering...

is it not better a niche paysite with revshare? really wondering...

or are they perfect to do money with e-whoring/cookie stuffing and thus so many webmasters use that trick?
VenusBlogger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:05 PM   #5
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,048
Use the "iframe_embed" instead of "iframe_embed_revshare".

They are both in the API results.
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:17 PM   #6
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
Quote:
Originally Posted by EddyTheDog View Post
Use the "iframe_embed" instead of "iframe_embed_revshare".

They are both in the API results.
Quote:
<?php
function site_vars(){
///////////////////Change affiliate id below to yours and trackingid to whatever you would like to show in stats////////////////
$affiliateid="HNwJw"; //
$trackingid="hr8m"; //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$sitevar['affid']=$affiliateid;
$sitevar['track']=$trackingid;
return $sitevar;
}
function get_current_dir(){
$base=str_replace($_SERVER[DOCUMENT_ROOT], "", $_SERVER[SCRIPT_FILENAME]);
$base2=str_replace(basename($_SERVER[PHP_SELF]), "" ,$base);
$directory=str_replace("/admin/", "", $base2);
$directory=str_replace("/", "", $directory);
if ($directory){
$url="http://".$_SERVER[SERVER_NAME]."/".$directory."/";
}else{
$url="http://".$_SERVER[SERVER_NAME]."/";
}
return $url;
}
function get_cams($affiliateid, $trackingid){
$cams = new SimpleXMLElement('http://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm='.$affiliateid.'', null, true);
foreach($cams as $cam){
if($cam->gender=="f"){
//if(@GetImageSize($cam->image_url)){
$FemaleCamArr['username'][]=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?track=$trackingid", $cam->chat_room_url);
$FemaleCamArr['chaturl'][]=$cam->chat_room_url;
$FemaleCamArr['imageurl'][]=$cam->image_url;
//}
}elseif($cam->gender=="m"){
//if(@GetImageSize($cam->image_url)){
$MaleCamArr['username'][]=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?track=$trackingid", $cam->chat_room_url);
$MaleCamArr['chaturl'][]=$cam->chat_room_url;
$MaleCamArr['imageurl'][]=$cam->image_url;
//}
}elseif($cam->gender=="c"){
//if(@GetImageSize($cam->image_url)){
$CoupleCamArr['username'][]=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?track=$trackingid", $cam->chat_room_url);
$CoupleCamArr['chaturl'][]=$cam->chat_room_url;
$CoupleCamArr['imageurl'][]=$cam->image_url;
//}
}else{
//if(@GetImageSize($cam->image_url)){
$MiscCamArr['username'][]=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?track=$trackingid", $cam->chat_room_url);
$MiscCamArr['chaturl'][]=$cam->chat_room_url;
$MiscCamArr['imageurl'][]=$cam->image_url;
//}
}
}
$NewCams['Female']=$FemaleCamArr;
$NewCams['Male']=$MaleCamArr;
$NewCams['Couple']=$CoupleCamArr;
$NewCams['Misc']=$MiscCamArr;
return $NewCams;
}
function cams_count($carr, $gender){
if($gender=="f"){
$Count=count($carr['Female']['username']);
}elseif($gender=="m"){
$Count=count($carr['Male']['username']);
}elseif($gender=="c"){
$Count=count($carr['Couple']['username']);
}else{
$Count=count($carr['Misc']['username']);
}
return $Count;
}
function Show_Cams($CamArray, $gender, $rows, $maxnum, $rand, $showusername, $linkusername, $linkimage, $tablewidth, $imgborder, $imgheight, $imgwidth){

if(!$rows){
$rows=5;
}
if($imagewidth && !$imgheight){
$imgheight='';

}
if(!$imgwidth){
$imgwidth='180';
}
if($gender=="f"){
$FemaleCamCount=cams_count($CamArray, $gender="f");
$arrcount=$FemaleCamCount;
$gentype="Female";
}elseif($gender=="m"){
$MaleCamCount=cams_count($CamArray, $gender="m");
$arrcount=$MaleCamCount;
$gentype="Male";
}elseif($gender=="c"){
$CoupleCamCount=cams_count($CamArray, $gender="c");
$arrcount=$CoupleCamCount;
$gentype="Couple";
}else{
$MiscCamCount=cams_count($CamArray, $gender="misc");
$arrcount=$MiscCamCount;
$gentype="Misc";
}
if($maxnum){

if($maxnum > $arrcount){
$maxnum=$arrcount;
}
}
if (!$maxnum){
$maxnum=$arrcount;
}

$i=0;
$returnhtml='<table width="'.$tablewidth.'%">';
$position = 1;
while($i <= $maxnum ){
if($position == 1){$returnhtml.= "<tr>";}


if ($rand==true){
if ($usedrand==false){
//populate array with 0-maxnum
$var = range(0, $maxnum);
shuffle($var);
$usedrand=true;
}
$rn = array_rand($var);
$username= $CamArray[''.$gentype.'']['username'][$rn];
$chaturl= "viewcam.php?id=$username";
$imageurl= $CamArray[''.$gentype.'']['imageurl'][$rn];
unset($var[$rn]);

}else{
$username= $CamArray[''.$gentype.'']['username'][$i];
$chaturl= "viewcam.php?id=$username";
$imageurl= $CamArray[''.$gentype.'']['imageurl'][$i];
}
if($showusername==true && $linkusername==false){
$linknamecode=$username."<br>";
}
if($showusername==true && $linkusername==true){
$linknamecode='<a href="'.$chaturl.'">'.$username.'</a><br>';
}
if($linkimage==true){
$linkimagecode='<a href="'.$chaturl.'">';
}else{
$linkimagecode='';
}
if($imgborder==true){
$bordercode='border="1"';
}else{
$bordercode='';
}
if($imageurl && $username){
$returnhtml.='<td align="center">'.$linknamecode.''.$linkimagecode.' <img src="'.$imageurl.'" width="'.$imgwidth.'" height="'.$imgheight.'" '.$bordercode.' ></a></td>'.$tblinfo;

if($position == $rows){$returnhtml.= "</tr> "; $position = 1;}else{ $position++;}

}
$i++;
$end = "";
if($position != 1){
for($z=($rows-$position); $z>0 ; $z--){
$end .= "<td></td>";
}
$end .= "</tr>";
}


}//if
////////////end function
$returnhtml.= $end."</table> ";
return $returnhtml;
}
function show_camview($hostname){
$hostname = strip_tags($hostname);
$sitevars=site_vars();
$affiliateid=$sitevars['affid'];
$trackingid=$sitevars['track'];
$books = new SimpleXMLElement('http://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm='.$affiliateid.'', null, true);
foreach($books as $book) // loop through our books
{
$name=$book->username;
if($book->gender=="f"){
$fhosts[]=$book->username;
}
$mostpopularhost=$fhosts[0];
if($name == $hostname){
$online="yes";
$imageurl=$book->image_url;
$imgembed='<img src="'.$book->image_url.'" width="1" height="1" />';
}
}
if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/Jrvi/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{

$iframe="<b>$hostname Is Currently Offline!</b><br><br><b>You Are Now Viewing The Most Popular Live Cam <br><br>
<iframe src='http://chaturbate.com/affiliates/in/NxHf/$affiliateid/?track=$trackingid&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";

}
return $iframe;
}
?>
i am using the white label thing.

this is the cams file.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:23 PM   #7
lucas131
¯\_(ツ)_/¯
 
Industry Role:
Join Date: Aug 2004
Posts: 11,475
mucho dinero have luck everyone
lucas131 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:33 PM   #8
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,048
Quote:
Originally Posted by DVTimes View Post
i am using the white label thing.

this is the cams file.
Oh - I thought it was something you had written yourself from the API - I have never seen that file before.
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:34 PM   #9
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
this is rev share for best converting tour.

http://chaturbate.com/affiliates/in/...?track=default

I presime my affiliate id is: HNwJw

I used hr8m as tracking id.

so i presumed it would record rev share (%).

yet all stats record as $1 sign up, except a small few.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:37 PM   #10
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
Quote:
Originally Posted by EddyTheDog View Post
Oh - I thought it was something you had written yourself from the API - I have never seen that file before.
no

i have no idea how to wtite code.

it was somone on this forum posted the code for a whitelabel.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:39 PM   #11
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,048
Quote:
Originally Posted by DVTimes View Post
this is rev share for best converting tour.

http://chaturbate.com/affiliates/in/...?track=default

I presime my affiliate id is: HNwJw

I used hr8m as tracking id.

so i presumed it would record rev share (%).

yet all stats record as $1 sign up, except a small few.
Your affiliate id is HNwJw thats correct but the tracking ID thing is strange.

The way they have set up their (chaturbate) links in general is strange.

Last edited by EddyTheDog; 02-24-2012 at 06:40 PM..
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:39 PM   #12
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
I just wish I could turn off the $1 thing and change it all to rev share.

I do not want the $1 thing at all.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:41 PM   #13
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
?By the way I did email them a day or so ago.

No reply as yet.

Though I did get an email saying email read.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:45 PM   #14
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
Quote:
Originally Posted by EddyTheDog View Post
Your affiliate id is HNwJw thats correct but the tracking ID thing is strange.

The way they have set up their (chaturbate) links in general is strange.
I know.

I just wish rather than having three things, they would do away with $1 and have it all rev share.

Also I wish they would reduce the adverts on the site. It spoils it. And to me this thing is the best thing since slice bread.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:45 PM   #15
keysync
Living the Dream
 
keysync's Avatar
 
Industry Role:
Join Date: Sep 2011
Location: Murica
Posts: 2,376
if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/Jrvi/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{

Towards the bottom needs to be

if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/9oGW/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{
__________________


keysync is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 06:50 PM   #16
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,048
Quote:
Originally Posted by keysync View Post
if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/Jrvi/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{

Towards the bottom needs to be

if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/9oGW/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{
You beat me to it - I was just looking at that.

DVTimes - You can use anything as the tracking ID BTW.
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 07:01 PM   #17
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
Quote:
Originally Posted by keysync View Post
if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/Jrvi/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{

Towards the bottom needs to be

if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/9oGW/$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528 width=850 style='border: none;'></iframe>";
}else{
hi

great stuff.

i have no idea what any of the code means, it could be chinese for all i would know.
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 07:02 PM   #18
DVTimes
xxx
 
Industry Role:
Join Date: Jun 2003
Location: UK
Posts: 31,544
<?php
function site_vars(){
///////////////////Change affiliate id below to

yours and trackingid to whatever you would like to show in

stats////////////////
$affiliateid="HNwJw";

//
$trackingid="hr8m";

//
//////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////
$sitevar['affid']

=$affiliateid;
$sitevar['track']=$trackingid;
return $sitevar;
}
function

get_current_dir(){
$base=str_replace($_SERVER[DOCUMENT_ROOT], "", $_SERVER

[SCRIPT_FILENAME]);
$base2=str_replace(basename($_SERVER[PHP_SELF]), ""

,$base);
$directory=str_replace("/admin/", "", $base2);
$directory=str_replace

("/", "", $directory);
if ($directory){
$url="http://".$_SERVER

[SERVER_NAME]."/".$directory."/";
}else{
$url="http://".$_SERVER

[SERVER_NAME]."/";
}
return $url;
}
function get_cams($affiliateid, $trackingid){
$cams = new SimpleXMLElement

('http://chaturbate.com/affiliates/api/onlinerooms/?

format=xml&wm='.$affiliateid.'', null, true);
foreach($cams as $cam){
if($cam-

>gender=="f"){
//if(@GetImageSize($cam->image_url)){
$FemaleCamArr['username']

[]=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?

track=$trackingid", $cam->chat_room_url);
$FemaleCamArr['chaturl'][]=$cam-

>chat_room_url;
$FemaleCamArr['imageurl'][]=$cam->image_url;
//}
}elseif($cam-

>gender=="m"){
//if(@GetImageSize($cam->image_url)){
$MaleCamArr['username'][]

=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?

track=$trackingid", $cam->chat_room_url);
$MaleCamArr['chaturl'][]=$cam-

>chat_room_url;
$MaleCamArr['imageurl'][]=$cam->image_url;
//}
}elseif($cam-

>gender=="c"){
//if(@GetImageSize($cam->image_url)){
$CoupleCamArr['username']

[]=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?

track=$trackingid", $cam->chat_room_url);
$CoupleCamArr['chaturl'][]=$cam-

>chat_room_url;
$CoupleCamArr['imageurl'][]=$cam->image_url;
//}
}else{
//if

(@GetImageSize($cam->image_url)){
$MiscCamArr['username'][]=$cam->username;
$cam->chat_room_url=str_replace('?track=default', "?track=$trackingid", $cam-

>chat_room_url);
$MiscCamArr['chaturl'][]=$cam->chat_room_url;
$MiscCamArr

['imageurl'][]=$cam->image_url;
//}
}
}
$NewCams['Female']=$FemaleCamArr;
$NewCams

['Male']=$MaleCamArr;
$NewCams['Couple']=$CoupleCamArr;
$NewCams['Misc']

=$MiscCamArr;
return $NewCams;
}
function cams_count($carr, $gender){
if

($gender=="f"){
$Count=count($carr['Female']['username']);
}elseif

($gender=="m"){
$Count=count($carr['Male']['username']);
}elseif($gender=="c"){
$Count=count($carr['Couple']['username']);
}else{
$Count=count($carr['Misc']

['username']);
}
return $Count;
}
function Show_Cams($CamArray, $gender, $rows,

$maxnum, $rand, $showusername, $linkusername, $linkimage, $tablewidth,

$imgborder, $imgheight, $imgwidth){

if(!$rows){
$rows=5;
}
if($imagewidth && !

$imgheight){
$imgheight='';

}
if(!$imgwidth){
$imgwidth='180';
}
if($gender=="f"){
$FemaleCamCount=cams_count($CamArray, $gender="f");
$arrcount=$FemaleCamCount;
$gentype="Female";
}elseif($gender=="m"){
$MaleCamCount=cams_count($CamArray,

$gender="m");
$arrcount=$MaleCamCount;
$gentype="Male";
}elseif($gender=="c"){
$CoupleCamCount=cams_count($CamArray, $gender="c");
$arrcount=$CoupleCamCount;
$gentype="Couple";
}else{
$MiscCamCount=cams_count($CamArray, $gender="misc");
$arrcount=$MiscCamCount;
$gentype="Misc";
}
if($maxnum){

if($maxnum > $arrcount){
$maxnum=$arrcount;
}
}
if (!$maxnum){
$maxnum=$arrcount;
}

$i=0;
$returnhtml='<table

width="'.$tablewidth.'%">';
$position = 1;
while($i <= $maxnum ){
if($position ==

1){$returnhtml.= "<tr>";}


if ($rand==true){
if ($usedrand==false){
//populate

array with 0-maxnum
$var = range(0, $maxnum);
shuffle($var);
$usedrand=true;
}
$rn

= array_rand($var);
$username= $CamArray[''.$gentype.'']['username'][$rn];
$chaturl= "viewcam.php?id=$username";
$imageurl= $CamArray[''.$gentype.'']

['imageurl'][$rn];
unset($var[$rn]);

}else{
$username= $CamArray

[''.$gentype.'']['username'][$i];
$chaturl= "viewcam.php?id=$username";
$imageurl= $CamArray[''.$gentype.'']['imageurl'][$i];
}
if($showusername==true

&& $linkusername==false){
$linknamecode=$username."<br>";
}
if

($showusername==true && $linkusername==true){
$linknamecode='<a

href="'.$chaturl.'">'.$username.'</a><br>';
}
if($linkimage==true){
$linkimagecode='<a href="'.$chaturl.'">';
}else{
$linkimagecode='';
}
if

($imgborder==true){
$bordercode='border="1"';
}else{
$bordercode='';
}
if($imageurl

&& $username){
$returnhtml.='<td

align="center">'.$linknamecode.''.$linkimagecode.' <img src="'.$imageurl.'"

width="'.$imgwidth.'" height="'.$imgheight.'" '.$bordercode.'

></a></td>'.$tblinfo;

if($position == $rows){$returnhtml.= "</tr> "; $position

= 1;}else{ $position++;}

}
$i++;
$end = "";
if($position != 1){
for($z=($rows-

$position); $z>0 ; $z--){
$end .= "<td></td>";
}
$end .= "</tr>";
}


}//if
////////////end function
$returnhtml.= $end."</table> ";
return $returnhtml;
}
function show_camview($hostname){
$hostname = strip_tags($hostname);
$sitevars=site_vars();
$affiliateid=$sitevars['affid'];
$trackingid=$sitevars

['track'];
$books = new SimpleXMLElement

('http://chaturbate.com/affiliates/api/onlinerooms/?

format=xml&wm='.$affiliateid.'', null, true);
foreach($books as $book) // loop

through our books
{
$name=$book->username;
if($book->gender=="f"){
$fhosts[]

=$book->username;
}
$mostpopularhost=$fhosts[0];
if($name == $hostname){
$online="yes";
$imageurl=$book->image_url;
$imgembed='<img src="'.$book-

>image_url.'" width="1" height="1" />';
}
}
if ($online=="yes"){
$iframe="$imgembed<br><iframe src='http://chaturbate.com/affiliates/in/9oGW/

$affiliateid/?track=$trackingid&room=$hostname&bgcolor=white' height=528

width=850 style='border: none;'></iframe>";
}else{

$iframe="<b>$hostname Is Currently Offline!</b><br><br><b>You Are Now

Viewing The Most Popular Live Cam <br><br>
<iframe

src='http://chaturbate.com/affiliates/in/NxHf/$affiliateid/?

track=$trackingid&bgcolor=white' height=528 width=850 style='border:

none;'></iframe>";

}
return $iframe;
}
?>
__________________
The Affiliate Program
DVTimes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 07:03 PM   #19
ArsewithClass
So Fucking Banned
 
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
Quote:
Originally Posted by DVTimes View Post
hi

great stuff.

i have no idea what any of the code means, it could be chinese for all i would know.
But it's not... it's code
ArsewithClass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-24-2012, 07:14 PM   #20
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
Quote:
Originally Posted by DVTimes View Post
I know.

I just wish rather than having three things, they would do away with $1 and have it all rev share.

Also I wish they would reduce the adverts on the site. It spoils it. And to me this thing is the best thing since slice bread.
I strongly disagree about doing away with the PPF. I enjoy having the choice and would reduce the traffic I send and my future plans significantly if the PPF option as it is now went away. It's what makes them different from others. I agree about some of the ads. I have no issue with whatever they want to do AFTER the surfer signs up on the PPF program but before that I think the focus needs to be kept on getting the surfer to register. For the revshare program ideally there shouldn't be any other ads as that is what revshare is all about.
__________________

You don't like my posts? Put me on ignore or fuck right off. I'll say what I want.

Last edited by signupdamnit; 02-24-2012 at 07:23 PM..
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-26-2012, 05:54 AM   #21
TheSwed
Confirmed User
 
TheSwed's Avatar
 
Join Date: Feb 2004
Location: Sweden.
Posts: 3,483
Quote:
Originally Posted by DVTimes View Post
no

i have no idea how to wtite code.

it was somone on this forum posted the code for a whitelabel.
Do you have a link to that post?
Because cant get it to work for me
TheSwed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.