![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#51 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Are you still coding? sheesh.
Dammit. 50 dumb questions. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#52 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
What's wrong with your eye?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#53 |
So Fucking What
Industry Role:
Join Date: Jun 2007
Location: USA
Posts: 6,289
|
ever thought about changing your name, I always think you are a girl
__________________
Our site is coming soon. It will be one of the best ever! I know so. Brian and Penny |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#54 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
Sorry about that. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#55 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
I am always coding. Always behind on everything.
I had a fairly major cataract removed about 3 weeks ago. Was caused by a reaction to a drug we think. Quote:
,
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#56 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Where did your username come from?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#57 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
I lived in Buxton, NC for about 4 years. Buxton is on Cape Hatteras and while there I started my first company which was a graphic arts company called Hatteras Designs.
Sometime in the early 90's when I needed a unique user name for swbell I had one of my business cards in front of me and I proceeded to type Hatteras in backwards which is sarettah. I have used it since then. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#58 | |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#59 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Off for Friday night fun.
Every Friday several friends and I get together and do this: I am one of the guys on guitar who is sitting. Not the lead, that's Billy. I am on the left of the screen. Big old ugly sucker. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#60 | |
Living The Dream
Industry Role:
Join Date: Jun 2009
Location: Inside a Monitor
Posts: 19,490
|
Quote:
![]()
__________________
My Affiliate Programs: Porn Nerd Cash | Porn Showcase | Aggressive Gold Over 90 paysites to promote! Skype: peabodymedia |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#61 |
Confirmed User
Industry Role:
Join Date: May 2013
Posts: 1,526
|
Fucking great
I have to admit....Their is great comedy and wit on this forum
After a long day of work, nothing like a good laugh anyway, I had a jewish Dilemma today Ham on Sale But I bought anyway Peace
__________________
Label Dollars-Top Converting Games |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#62 | |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
|
Quote:
![]()
__________________
Make Money With: Chaturbate |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#63 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Eye is great
![]() I am back today though and trying to figure out what all to tell you about this stuff. Camfoxes was originally created as an example of an xml driven site in answer to someone's question. Simple Chaturbate XML Example is the original incarnation just showing a simple xml parse and display of the chaturbate models. This is the code that is in there: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="PSPad editor, www.pspad.com"> <title>Simple Chaturbate XML Example</title> <script type="text/javascript"> function loadit(urlin, userin, chaturl) { currshow.innerHTML='Currently Showing: ' + userin + ' <input type=button value=Close onClick="currshow.innerHTML=\'\';currshow.style.display=\'none\';"><br><a onClick="currshow.innerHTML=\'\';currshow.style.display=\'none\';" target=_blank href="' + chaturl + '"><iframe frameborder=0 scrolling="no" src="' + urlin + '" height="440" width="503"></iframe><br>Click Here To Join The Chat!</a>'; currshow.style.display='block'; scroll(0,0); } </script> <style> body{text-align:center;} .main{width:100%;text-align:center;} .pushdown {width:800px;float:left;margin:auto;} .colhd {width:200px;float:left;} .telem {height:250px;} .spacer {height:20px;} #currshow {float:none;display:none;width:500px;height:540px;text-align:center;margin:auto;} </style> </head> <body> <div class="main"> <h2>Chaturbate XML Example</h2> <?php $userlist = simplexml_load_file('https://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm=XXXXX'); if(empty($userlist)) { die('Danger Will Robinson...xml load failed...aborting'); } $fcnt=0; foreach ($userlist as $user) { if($user->gender=='f') { $fcnt++; } } $itemcnt=intval($fcnt/6); if($fcnt/6-$itemcnt>0) { $itemcnt++; } $colcnt=0; $itmcnt=0; foreach ($userlist as $user) { if($user->gender=='f') { if($itmcnt==0 || $itmcnt==$itemcnt) { $colcnt++; if($itmcnt>0) { ?> </div> <?php } if($colcnt==2) { ?> <div class="pushdown"> <div name="currshow" id="currshow" ></div> <?php } if($colcnt==6) { ?> </div> <?php } ?> <div name=col' . $colcnt . ' id=col' . $colcnt . ' class="colhd"> <?php $itmcnt=0; } $itmcnt++; $iframe=substr($user->iframe_embed,strpos($user->iframe_embed,'http')); $iframe=substr($iframe,0,strpos($iframe,"'")); ?> <div class="telem"> Host: <?php echo substr($user->username,0,20); ?><br> <img src="<?php echo $user->image_url; ?>" onClick="loadit(<?php echo "'$iframe','$user->username','$user->chat_room_url'"; ?>);"><br> Time on line: <?php echo number_format($user->seconds_online/60,2); ?> minutes<br> Language(s) spoken: <?php echo substr(trim($user->spoken_languages),0,18); ?><br> <?php if(substr_count(strtolower($user->location),'http')==0 && substr_count(strtolower($user->location),'@')==0) { ?> Location: <?php echo substr(trim($user->location),0,18); ?> <?php } ?> </div> <div class="spacer"></div> <?php } } ?> </div> </div> </body> </html>
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#64 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
The load and parse of the xml feed in there is:
Code:
$userlist = simplexml_load_file('https://chaturbate.com/affiliates/api/onlinerooms/? format=xml&wm=XXXXX'); if(empty($userlist)) { die('Danger Will Robinson...xml load failed...aborting'); } foreach ($userlist as $user) { Do something here } $userlist = simplexml_load_file('https://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm=JkjyU'); If we don't get anything back then lets just kill the routine if(empty($userlist)) { die('Danger Will Robinson...xml load failed...aborting'); } Otherwise we read through the list of nodes returned and do something with the information: foreach ($userlist as $user) { Do something here } So, that is a basic parse. There are other ways to pull this off. I usually use a curl routine to grab the xml feed. I do that because with curl I can control the connection timeout and process timeout. You could also use a file_get_contents to open the file and then load it to a simplexml object. The main thing is that you want to get the data from the xml feed into the simplexml object to make it easier to read by just being able to loop through it. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#65 | |
So Fucking What
Industry Role:
Join Date: Jun 2007
Location: USA
Posts: 6,289
|
Quote:
__________________
Our site is coming soon. It will be one of the best ever! I know so. Brian and Penny |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#66 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
|
Thank you for the answer ! You rock
![]()
__________________
Make Money With: Chaturbate |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#67 |
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 92,988
|
Don't have any questions ...
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller Buy Traffic Spots on a High-Quality Network 1 Year or Lifetime — That’s Right, Until the Internet Explodes! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#68 |
Living The Dream
Industry Role:
Join Date: Jun 2009
Location: Inside a Monitor
Posts: 19,490
|
I question your lack of questions...
__________________
My Affiliate Programs: Porn Nerd Cash | Porn Showcase | Aggressive Gold Over 90 paysites to promote! Skype: peabodymedia |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#69 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
Here are a couple of threads with some good discussions regarding accessing the xml feed and caching it in order to speed up a site: https://gfy.com/webmaster-q-and-fucki...light=camfoxes https://gfy.com/webmaster-q-and-fucki...light=camfoxes .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#70 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Coding coding coding.
Listening to some Lou Reed this morning to get started ![]() .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#71 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
|
Starting from what you gave me I played a bit to see if I can make something and I created this page : http://www.webfreecams.info/Sample/ , ofcourse I'll take it down its just a sample to understand how it works , but starting from that I want to build something custom , I will try to grab cams from more sponsors in a single site , I hope I will succed , I will start after the Hollydays and I will share the results ! Thanks again !
__________________
Make Money With: Chaturbate |
![]() |
![]() ![]() ![]() ![]() ![]() |