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
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 05-07-2016, 09:05 PM   #51
adulttemps
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Brentwood,TN Heredia, Costa Rica
Posts: 320
do you have an actual cron job setup to run cron.php however often you want to update?
__________________
Hillipino Money with Cams
adulttemps is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-08-2016, 03:11 AM   #52
Freedoom
Confirmed User
 
Industry Role:
Join Date: Feb 2006
Posts: 2,742
Quote:
Originally Posted by adulttemps View Post
do you have an actual cron job setup to run cron.php however often you want to update?
Yes every 30 minutes. Also I run the cron.php by myself and it doesn't update
__________________
Get $10 In Crypto VISA card
Freedoom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-08-2016, 05:48 AM   #53
Panty Snatcher
eat a peach for Hours
 
Industry Role:
Join Date: Aug 2013
Posts: 540
30 minutes is too long

try every 3 - 5 minutes
Panty Snatcher is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-08-2016, 06:06 AM   #54
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
If you want to just cache the current XML of online models ...

PHP Code:
<?php
//debugging comment out when done
error_reporting(E_ALL);
ini_set('display_errors''1');
//cache the working XML file locally

$sFileName './name.xml';
$iCurrentTime time();
$iFiletime filemtime($sFileName);
         if (
$iFiletime $iCurrentTime 120) {
             
$data file_get_contents('http://URL_here');
 
$fp fopen($sFileName'w+'); 
             
fwrite($fp$data); 
             
fclose($fp); 
         }    
///load cached xml file

$xml  simplexml_load_file("name.xml");

//You do the rest :OP{...}

?>
Works with PHP 5 untested with PHP 7*
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-08-2016, 06:21 AM   #55
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,585
Quote:
Originally Posted by Freedoom View Post
Yes every 30 minutes. Also I run the cron.php by myself and it doesn't update
If it is not updating from both cron and running from the browser then you probably have a permissions problem with the folder that the xml file is being written to.

If it will write when you run cron from the browser then make sure to delete the file before you try to update it from the cron. If the file was created from a run from the browser then the run from cron might not be able to delete the file created from the run from browser, again because of permissions issues.

.
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-10-2016, 07:06 AM   #56
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
Bonga API script. I have problem. The Male cams are not showing. All other works ok. But no cams for Male is working. The XML file do contains Male cams.
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-10-2016, 07:14 AM   #57
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
Quote:
Originally Posted by Freedoom View Post
Yes every 30 minutes. Also I run the cron.php by myself and it doesn't update
Check your error log file after you try manual running cron.php. there you can see if there is a problem.
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-10-2016, 09:08 AM   #58
adulttemps
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Brentwood,TN Heredia, Costa Rica
Posts: 320
updated the bonga script, had a typo on the male category
__________________
Hillipino Money with Cams
adulttemps is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-10-2016, 10:54 AM   #59
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
Quote:
Originally Posted by adulttemps View Post
updated the bonga script, had a typo on the male category
Thank you
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-11-2016, 01:37 AM   #60
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
Quote:
Originally Posted by adulttemps View Post
@keen - checkout v2.1 I changed up the directory structure a bit but the functions are pretty much the same.

Just keep in mind some of the models put fake ages so the categories wont be 100% accurate.

https://github.com/hillipino/Chaturbate-API
Thank you man! It's working great
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-14-2016, 06:39 AM   #61
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
Quote:
Originally Posted by adulttemps View Post
updated the bonga script, had a typo on the male category
Are you going to do more API scripts for other cam sites too?
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2016, 08:32 PM   #62
adulttemps
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Brentwood,TN Heredia, Costa Rica
Posts: 320
Probably, list off other ones that have the XML feeds and I'll take a look. I have ACWM on my list as of now.
__________________
Hillipino Money with Cams
adulttemps is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2016, 05:34 AM   #63
j3rkules
VIP
 
j3rkules's Avatar
 
Industry Role:
Join Date: Jul 2013
Posts: 22,104
Quote:
Originally Posted by adulttemps View Post
Probably, list off other ones that have the XML feeds and I'll take a look. I have ACWM on my list as of now.
It would be great if you could add Xlovecam as well.
j3rkules is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2016, 05:13 AM   #64
saimonyz
Registered User
 
saimonyz's Avatar
 
Industry Role:
Join Date: Apr 2016
Location: Europe
Posts: 14
Prompt inexpensive hosting for this script
__________________
BomCams.NET PearCams.COM
saimonyz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2016, 08:16 AM   #65
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,422
Quote:
Originally Posted by saimonyz View Post
Prompt inexpensive hosting for this script
A cloud VPS from DigitalOcean will be fine ! Also if you want a shared hosting you can try HawkHost , I had NMIP script instaled there and it worked with no problem ! If you want here you'll find reviews of 3 hosting that I use : Hosting
__________________
Make Money With: Chaturbate
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2016, 09:47 AM   #66
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
I have a script error:

Warning: DOMDocument::load(): Empty string supplied as input in /home/xxx/public_html/domain.xyz/includes/functions.php on line 298

Any idea?
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-22-2016, 02:07 PM   #67
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
bump, if anyone know
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-23-2016, 05:51 AM   #68
Kafka
Confirmed User
 
Kafka's Avatar
 
Join Date: Oct 2002
Location: Holland
Posts: 466
Try loadHTMLFile('your_html')
Kafka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-28-2016, 03:22 AM   #69
saimonyz
Registered User
 
saimonyz's Avatar
 
Industry Role:
Join Date: Apr 2016
Location: Europe
Posts: 14
help please

Code:
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag thumbnail_image_medium_live line 2 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live&gt;//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag profile_images line 2 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live&gt;//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag online_models line 2 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live&gt;//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag online_models line 2 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live&gt;//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
[24-Aug-2016 14:55:06 America/Chicago] PHP Fatal error:  Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/domain/public_html/includes/functions.php:36
Stack trace:
#0 /home/domain/public_html/includes/functions.php(36): SimpleXMLElement->__construct('/home/domain/...', 0, true)
#1 /home/domain/public_html/includes/templates.php(174): get_banner()
#2 [internal function]: tpl_home(Array)
#3 /home/domain/public_html/classes/arix.class.php(59): call_user_func('tpl_home', Array)
#4 /home/domain/public_html/index.php(39): axl_Core->start()
#5 {main}
  thrown in /home/domain/public_html/includes/functions.php on line 36
Code:
[25-Aug-2016 02:00:01 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
[25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
[25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
[25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
[25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
__________________
BomCams.NET PearCams.COM
saimonyz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-26-2016, 08:09 AM   #70
menxzy
Confirmed User
 
menxzy's Avatar
 
Industry Role:
Join Date: Dec 2015
Posts: 76
Hello everyone,
Just Install chaturbate api v2.1 but ive got some problem and i dont have knowledge in php, so please help my questions:
1. i want only show male cams only. the problem is in related cam show show all cams (mostly girls and couple). how to edit _solo.php to make sure only male showing in related.

2. how to check if my cron is working?
3. in chaturbate site we can browse model base tags. is possible to use tags instead age / hd/news etc?

sorry for my english, hope everyone understand what i mean.
menxzy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-28-2016, 07:29 PM   #71
Firestarter30
Confirmed User
 
Industry Role:
Join Date: Sep 2010
Location: The Land Of Gods
Posts: 167
Quote:
Originally Posted by menxzy View Post
Hello everyone,
Just Install chaturbate api v2.1 but ive got some problem and i dont have knowledge in php, so please help my questions:
1. i want only show male cams only. the problem is in related cam show show all cams (mostly girls and couple). how to edit _solo.php to make sure only male showing in related.

2. how to check if my cron is working?
3. in chaturbate site we can browse model base tags. is possible to use tags instead age / hd/news etc?

sorry for my english, hope everyone understand what i mean.
change
PHP Code:
get_cams AFFIDTRACK$gender=''THUMB_CNT ); 
to
PHP Code:
get_cams AFFIDTRACK$category 'm'THUMB_CNT ); 

For cronjob, open terminal and type
crontab -u yourusername -e

/1 * * * * /usr/bin/php absolute-location-that-cron.php-resides > absolute-location-of-chaturbate.log 2>&1
(downloads the xml every minute)

Im not using the tags , so i dont know.
Firestarter30 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-01-2016, 03:15 PM   #72
menxzy
Confirmed User
 
menxzy's Avatar
 
Industry Role:
Join Date: Dec 2015
Posts: 76
Quote:
Originally Posted by Firestarter30 View Post
change
PHP Code:
get_cams AFFIDTRACK$gender=''THUMB_CNT ); 
to
PHP Code:
get_cams AFFIDTRACK$category 'm'THUMB_CNT ); 
Thank you its working. i just test on shared hosting and got suspend. not sure that because chaturbate api or my other wordpress site. i will transfer to my vps after got unsuspend

Quote:
For cronjob, open terminal and type
crontab -u yourusername -e

/1 * * * * /usr/bin/php absolute-location-that-cron.php-resides > absolute-location-of-chaturbate.log 2>&1
(downloads the xml every minute)

Im not using the tags , so i dont know.
sorry i dont understand the exact full command example cron location is domain.com/includes/cron.php
but for now i use wget command
menxzy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2016, 10:49 AM   #73
menxzy
Confirmed User
 
menxzy's Avatar
 
Industry Role:
Join Date: Dec 2015
Posts: 76
Hi guys,

Please help how to change domain.com/cam/usercam become domain.com/usercam.

Also is there people install this script on nginx server?

thanks
menxzy 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

Tags
code, chaturbate, data, api, php, specific, topic, modelxxx, age, language, root, finish, display, page, model, custom, script, site, building, coding, trubble, figuring, recieive, xml, feed



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.