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 10-05-2014, 03:14 AM   #1
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Embed Live Cams script

Hello,
Can anybody help me with some advice or a script?

I'm trying to make a embed live cam site , but can't find a script to call API from chaturbate , bongacams , etc.

What I tryed : Wordpress with detube theme and all import plugin. I got , cams from chaturbate , but thats it , only chaturbate , and when a user enters, most of the time chat girls are offline , setted up cron jobs , but still no luck.

What i'm trying to do : megacams.me ( best example ) , livebitches.net, vetocam.com

only at the end to add personal blog , advices , affiliate links , etc. to make an extra buck beside camming.

Hope I will get some help around here
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2014, 03:36 AM   #2
HerPimp
Confirmed User
 
HerPimp's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Earth
Posts: 1,197
He is not using wordpress, looks like bootstrap.

You can keep it simple, make subdomains and point it at their dns.
__________________
HerPimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2014, 03:37 AM   #3
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
I can do that , but the point in making a site like that is so I can make some extra bucks from affiliates
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2014, 01:42 AM   #4
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Nobody else?
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2014, 12:23 PM   #5
xxxtubers
Confirmed User
 
xxxtubers's Avatar
 
Industry Role:
Join Date: Jun 2012
Location: Earth
Posts: 152
The script of livebitches.net was around a while ago but couldn't find it anymore in google. I would like to have the script of vetocam.com looks cool.
__________________
Best Webcam Affiliate Cam Traffic Profits
xxxtubers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2014, 10:38 PM   #6
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
livebitches.net is made with a free script that was on nomoneyinporn.org but now the website is down for weeks ! I saw a wordpress plugin in the past somewhere on internet but I don't remember where !
__________________
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 10-10-2014, 11:11 PM   #7
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
Hi, i believe i still have a copy of nomoneyinporn script in my pc, but im not home until monday afternoon.I'll check this thread again when i get home and if you still need it i'll mail it to you.

Last edited by k33n; 10-10-2014 at 11:15 PM..
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2014, 03:02 AM   #8
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Quote:
Originally Posted by k33n View Post
Hi, i believe i still have a copy of nomoneyinporn script in my pc, but im not home until monday afternoon.I'll check this thread again when i get home and if you still need it i'll mail it to you.
hi,
can you mail it to me too ?

[email protected]
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2014, 09:59 AM   #9
xxxtubers
Confirmed User
 
xxxtubers's Avatar
 
Industry Role:
Join Date: Jun 2012
Location: Earth
Posts: 152
k33n can you send me a copy as well, please?

[email protected]
__________________
Best Webcam Affiliate Cam Traffic Profits
xxxtubers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2014, 02:41 PM   #10
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
ok...i'll upload it on a server for anyone to download it.
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-11-2014, 03:52 PM   #11
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
HERE IT IS

I've added a README file too.
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2014, 12:05 AM   #12
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
wow, thanks , hope this work for me , if you need a fan sign let me know
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2014, 12:41 PM   #13
Presnus
Confirmed User
 
Industry Role:
Join Date: May 2011
Posts: 1,087
Megacams.me is my site. This is custom build and not a easy to setup script.
Presnus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2014, 01:16 PM   #14
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
You have a nice site, can you share??? :d
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2014, 04:06 AM   #15
Presnus
Confirmed User
 
Industry Role:
Join Date: May 2011
Posts: 1,087
Quote:
Originally Posted by funnytimecpl View Post
You have a nice site, can you share??? :d
Should I also give my money ?
Presnus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2014, 04:26 AM   #16
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Only if you have a lot
Can't blame me for trying. Anyway nice site.
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2014, 02:22 PM   #17
karolinaboy
Pimping ain't easy.
 
karolinaboy's Avatar
 
Industry Role:
Join Date: Jan 2014
Location: Down the street by the pay phone.
Posts: 255
Quote:
Originally Posted by Presnus View Post
Should I also give my money ?
Why not? Sharing is caring...
karolinaboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2014, 10:33 AM   #18
Presnus
Confirmed User
 
Industry Role:
Join Date: May 2011
Posts: 1,087
Quote:
Originally Posted by funnytimecpl View Post
Only if you have a lot
Can't blame me for trying. Anyway nice site.
True :-) Thanks!
Presnus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-24-2014, 04:22 AM   #19
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Quote:
Originally Posted by k33n View Post
HERE IT IS

I've added a README file too.

Thank you again k33n , that script did the job !
work in progress demo : fttube.com
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-24-2014, 05:36 AM   #20
MrTrollkien
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Location: Germany
Posts: 2,360
Quote:
Originally Posted by funnytimecpl View Post
Thank you again k33n , that script did the job !
work in progress demo : fttube.com
MrTrollkien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-24-2014, 08:34 AM   #21
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
Glad i could help
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-24-2014, 09:55 PM   #22
karolinaboy
Pimping ain't easy.
 
karolinaboy's Avatar
 
Industry Role:
Join Date: Jan 2014
Location: Down the street by the pay phone.
Posts: 255
Quote:
Originally Posted by k33n View Post
Glad i could help
Check your e-mail when you get a chance.
karolinaboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-25-2014, 01:47 AM   #23
PornDiscounts-V
Confirmed User
 
PornDiscounts-V's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: L.A.
Posts: 5,740
I can make you something like that. But you'd have to pay me $1000.
__________________
Blog Posts - Contextual Links - Hardlinks on 600+ Blog Network
* Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net
PornDiscounts-V is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-25-2014, 03:15 AM   #24
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Quote:
Originally Posted by vvvvv View Post
I can make you something like that. But you'd have to pay me $1000.
Thanks for the offer, but as you can see from demo posted, with help from k33n i was able to do it alone.
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-25-2014, 11:14 AM   #25
karolinaboy
Pimping ain't easy.
 
karolinaboy's Avatar
 
Industry Role:
Join Date: Jan 2014
Location: Down the street by the pay phone.
Posts: 255
Quote:
Originally Posted by funnytimecpl View Post
Thanks for the offer, but as you can see from demo posted, with help from k33n i was able to do it alone.
Better than the $1000 offer. Your site looks good.
karolinaboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-25-2014, 01:36 PM   #26
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Thanks karolinaboy
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-26-2014, 05:01 PM   #27
karolinaboy
Pimping ain't easy.
 
karolinaboy's Avatar
 
Industry Role:
Join Date: Jan 2014
Location: Down the street by the pay phone.
Posts: 255
Quote:
Originally Posted by k33n View Post
Glad i could help
I followed the instructions in the read me file. But, my cams aren't showing.
karolinaboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-26-2014, 07:00 PM   #28
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
Quote:
Originally Posted by karolinaboy View Post
I followed the instructions in the read me file. But, my cams aren't showing.
Do you have adblocker running by any chance?

That will block them I do believe. Other than that, I don't know.

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2014, 08:57 AM   #29
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
Check the error file
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2014, 10:27 AM   #30
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
Quote:
Originally Posted by k33n View Post
Check the error file
Lol. yeah that works too. duh on me ;p

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2014, 11:59 AM   #31
cybermike
Confirmed User
 
Join Date: Jan 2002
Location: Ny
Posts: 4,092
Quote:
Originally Posted by Andreweb View Post
livebitches.net is made with a free script that was on nomoneyinporn.org but now the website is down for weeks ! I saw a wordpress plugin in the past somewhere on internet but I don't remember where !
I have a blog with his script but it seems to be broken now.. the thumbnails for the chat rooms don't want to load for some reason

Anyone figure out how to fix his script? Maybe the cron isn't working anymore.. have to manually import the feed to fix it but it doesn't last very long
__________________
Hey surfers how about some The Best Porn Sites
cybermike is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2014, 04:47 PM   #32
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
my script works just fine , and I use k33n's "read me " file . see the error log .
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2014, 04:51 PM   #33
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Oh I see now , I have some errors too , but sorted them out with an php.ini file and this:
error_reporting(E_ALL ^ E_NOTICE);

and the errors :

[02-Nov-2014 23:47:55 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/index.php on line 30
[02-Nov-2014 23:47:55 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/index.php on line 34
[02-Nov-2014 23:47:55 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/index.php on line 34
[02-Nov-2014 23:47:55 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/includes/templates.php on line 16
[02-Nov-2014 23:47:55 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/includes/functions.php on line 89
[02-Nov-2014 23:47:56 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/index.php on line 30
[02-Nov-2014 23:47:56 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/index.php on line 34
[02-Nov-2014 23:47:56 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/index.php on line 34
[02-Nov-2014 23:47:56 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/includes/templates.php on line 16
[02-Nov-2014 23:47:56 UTC] PHP Notice: Undefined index: arg1 in /home/DOMAIN/public_html/fttube/includes/functions.php on line 89
[02-Nov-2014 23:47:56 UTC] PHP Notice: Undefined index: arg2 in /home/DOMAIN/public_html/fttube/includes/functions.php on line 609
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2014, 12:47 AM   #34
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
My site is working just fine ! I also use k33n's variant of scrip ! U need to check you error file !
__________________
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 11-03-2014, 01:17 AM   #35
Goethe
So Fuckin' Bored
 
Industry Role:
Join Date: Nov 2014
Location: Across the Universe
Posts: 1,077
Looks very interesting.
Goethe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2014, 03:20 PM   #36
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
i think they updated the code , i cant see cams on my site , not a single cam on any site that i know that uses this script anyone here made it work ?
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 05:24 AM   #37
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
It's Chaturbate's fault.The script works fine,but sometime chaturbate's xml feed doesn't load.If you check their site during that time,you will see they have problems too like cams not loading or site not loading at all.After they recover your site will recover as soon as your local xml gets updated.
The only errors i know of are :
PHP Code:
[04-Nov-2014 11:04:56 UTCPHP Fatal error:  Call to undefined function rand_thumbs() 
PHP Code:
[04-Nov-2014 08:28:38 UTCPHP Warning:  call_user_func() expects parameter 1 to be a valid callback, function 'tpl_404' not found or invalid function name in /home/livesexp/public_html/classes/arix.class.php on line 134 
but since they do not affect the site that much,i decided to postpone solving them until i finish other modifications i want to make.Anyway it's a huge task for me because im a beginner in programming.

And..it's more like Sarettah's version since he was the one that helped me with speeding up the script.
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 07:08 AM   #38
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
Quote:
It's Chaturbate's fault.The script works fine,but sometime chaturbate's xml feed doesn't load.If you check their site during that time,you will see they have problems too like cams not loading or site not loading at all.After they recover your site will recover as soon as your local xml gets updated.
Quote:
Originally Posted by k33n View Post
And..it's more like Sarettah's version since he was the one that helped me with speeding up the script.

Hey, just saw this.

If you are using the stuff we worked up in the other thread (https://gfy.com/showthread.php?t=1148389) then the easy fix is to not overwrite the local xml file if you do not get a good page back.

so in the section that we did up earlier we already check to see if we got nothing back, but the problem is that we might get something back but it is not the right something (404 error, 500 error, etc):

$flname="/server file path/filename";
$url="xml url";
$data=file_get_contents($url);
if(!empty($data))
{
file_put_contents($flname,$data);
}
else
{
echo "Did not get a file back<br>\n";
}

So, we need a way to check and see if we got the right something back. If you take a look at the raw cb xml file you will see that they have the data encapsulated in a "resource" tag (<resource>...</resource>):

<resource>
<is_new>False</is_new>
<iframe_embed>
<iframe src='http://chaturbate.com/affiliates/in/Jrvi/JkjyU/?track=embed&room=sexydea&bgcolor=white' height=528 width=850 style='border: none;'></iframe>
</iframe_embed>
<display_name>Dea</display_name>
....................
</resource>

So, we can check to see if we got a valid return by checking to see if there are resource tags in what we got back.

An easy way to do this is to use the substring count function (substr_count(haystack, needle)) and only rewrite the file if the resource tag is there.

if (substr_count($data,'<resource>')>0)
{
file_put_contents($flname,$data);
}

So the effect would be when we get a good file return we write the new file. When we do not get a good file return we keep the old file and show whatever is in there.

Now, this works if just chaturbate goes down but their cdn is still working. It will NOT show images if the cdn is down.

So the code would look like this:

$flname="/server file path/filename";
$url="xml url";
$data=file_get_contents($url);
if(!empty($data))
{
if (substr_count($data,'<resource>')>0)
{
file_put_contents($flname,$data);
}
}
else
{
echo "Did not get a file back<br>\n";
}


One disclaimer. This works fine up until cb changes the xml feed and gets rid of the resource tag ;p

Hope that helps

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 08:02 AM   #39
cybermike
Confirmed User
 
Join Date: Jan 2002
Location: Ny
Posts: 4,092
Are we talking about the same chaturbate plugin?

I have it running on this domain http://www.nncuteteenagers.com/ (yeah I know shitty domain.. was a deadtoplist)

Seems to only have working thumbnails for a little bit after manually importing the thumbnails..
__________________
Hey surfers how about some The Best Porn Sites
cybermike is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 08:07 AM   #40
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
Quote:
Originally Posted by cybermike View Post
Are we talking about the same chaturbate plugin?

I have it running on this domain http://www.nncuteteenagers.com/ (yeah I know shitty domain.. was a deadtoplist)

Seems to only have working thumbnails for a little bit after manually importing the thumbnails..
At nmip there were 2 cb scripts. One was a wp plugin (which I guess u are using) and 1 was a stand alone.

The script k33n is using is the stand alone.

I have never looked at the plugin version so I don't have any input to offer on that.

Sorry about that.

Edited in: took a look at your site and I would guess that your thumbnails are not showing because your feed is not updating.

So the issue would be with cron or however your updates are supposed to occur (as you have already figured out by your manually updating of the feed).

The thumbs are only live in the cdn while the host is online. If they are offline they show the default gray image, or at least that is what my experience has been.

Hope that helps some.

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 08:13 AM   #41
cybermike
Confirmed User
 
Join Date: Jan 2002
Location: Ny
Posts: 4,092
Yeah just need to figure out why the script plugin cron stopped working.. maybe because the nomoneyinporn domain is dead?
__________________
Hey surfers how about some The Best Porn Sites
cybermike is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 08:15 AM   #42
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
Quote:
Originally Posted by cybermike View Post
Yeah just need to figure out why the script plugin cron stopped working.. maybe because the nomoneyinporn domain is dead?
I would have to see the code. In the stand alone I do not remember any calls to nmip.

I might have the plugin code in my dl folder, not sure. If I get a chance I will take a glance.

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 08:45 AM   #43
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
I do have a copy of the wp plugin from nmip.

In the setup.txt file it states that the update is scheduled to go every 30 minutes. That is probably too long of a wait between updates.

I run camfoxes.com on a 5 minute update and even then I end up with some dead cams at times.

So, you probably want to change that. I am not sure if it is a setting available in the admin dashboard or if it is hardcoded in there.

Right now I have to go make some money, I will try to revisit this later.

Hope that helps

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-04-2014, 09:51 PM   #44
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
I took a look through the plugin files and there is no call to nomoneyinporn. There are 2 footer links, 1 for the nmip twitter and 1 for the rss feed. there is nmip in the plugin title and then it appears a couple of times in comments.

So, nmip not being operational is not an issue.

Cybermike, have you ever deactivated the plugin? I did see that if it is deactivated that the update will be removed from the schedule.

I am not an expert on wp so I am not sure of how everything in plugins work. i do see the code that adds it to the schedule in the plugins index.php. I assume that code gets run at activation time but if there is an install routine and an activation routine then I am not sure what gets run when.

Someone more well versed in WP than I am might be able to answer that.

That is all I have so far. Sorry it is not a better answer for you.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-05-2014, 01:55 PM   #45
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Quote:
Originally Posted by sarettah View Post
Hey, just saw this.

If you are using the stuff we worked up in the other thread (https://gfy.com/showthread.php?t=1148389) then the easy fix is to not overwrite the local xml file if you do not get a good page back.

so in the section that we did up earlier we already check to see if we got nothing back, but the problem is that we might get something back but it is not the right something (404 error, 500 error, etc):

$flname="/server file path/filename";
$url="xml url";
$data=file_get_contents($url);
if(!empty($data))
{
file_put_contents($flname,$data);
}
else
{
echo "Did not get a file back<br>\n";
}

So, we need a way to check and see if we got the right something back. If you take a look at the raw cb xml file you will see that they have the data encapsulated in a "resource" tag (<resource>...</resource>):

<resource>
<is_new>False</is_new>
<iframe_embed>
<iframe src='http://chaturbate.com/affiliates/in/Jrvi/JkjyU/?track=embed&room=sexydea&bgcolor=white' height=528 width=850 style='border: none;'></iframe>
</iframe_embed>
<display_name>Dea</display_name>
....................
</resource>

So, we can check to see if we got a valid return by checking to see if there are resource tags in what we got back.

An easy way to do this is to use the substring count function (substr_count(haystack, needle)) and only rewrite the file if the resource tag is there.

if (substr_count($data,'<resource>')>0)
{
file_put_contents($flname,$data);
}

So the effect would be when we get a good file return we write the new file. When we do not get a good file return we keep the old file and show whatever is in there.

Now, this works if just chaturbate goes down but their cdn is still working. It will NOT show images if the cdn is down.

So the code would look like this:

$flname="/server file path/filename";
$url="xml url";
$data=file_get_contents($url);
if(!empty($data))
{
if (substr_count($data,'<resource>')>0)
{
file_put_contents($flname,$data);
}
}
else
{
echo "Did not get a file back<br>\n";
}


One disclaimer. This works fine up until cb changes the xml feed and gets rid of the resource tag ;p

Hope that helps

.

Thank you , you guys rock !
by the way what did you mean " This works fine up until cb changes the xml feed and gets rid of the resource tag" cant we use other tag if they change the xml tags ?

one more thing , can you guys share that wordpress plugin ?
Do you have something for bongacams or any othere cams that use affiliates codes ?
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-06-2014, 12:36 AM   #46
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
Quote:
Originally Posted by funnytimecpl View Post
cant we use other tag if they change the xml tags ?
Yes, if they change the feed then you would have to look at something else in the feed to see if it is a valid return. That is whaat I meant

Quote:
one more thing , can you guys share that wordpress plugin ?
http://www.madspiders.com/nmip/nmpChaturbate.zip

That is the original wordpress plugin that was on nomoneyinporn. I have nothing to do with it, just had a copy that I downloaded because someone asked me to take a look at it.

At present I do not have one for bonga or any other sponsors that is any kind of shape to be shared. Sorry about that.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-06-2014, 06:23 AM   #47
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Yeah. Thanks for sharring this do you have knowlodge on building a TGP site?
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-06-2014, 06:58 AM   #48
sarettah
I'll make you famous
 
Industry Role:
Join Date: Oct 2002
Posts: 13,935
Quote:
Originally Posted by funnytimecpl View Post
Yeah. Thanks for sharring this do you have knowlodge on building a TGP site?
I have all sorts of knowledge on everything. Some good, some bad ;p But there are plenty of folks around here with much more expertise then me in TGP, also Cams for that matter, and traffic and SEO and basic web functionality and and and and............




.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-06-2014, 08:09 AM   #49
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
Oh. I'm gonna try my luck in a new post
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2014, 01:09 PM   #50
karolinaboy
Pimping ain't easy.
 
karolinaboy's Avatar
 
Industry Role:
Join Date: Jan 2014
Location: Down the street by the pay phone.
Posts: 255
So, right now I am looking at
www.fttube.com
www.nncuteteenagers.com

Do these two sites have the same script?

Why are all the video thumbnails showing on fttube and not all are showing on nncuteenagers?
karolinaboy 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



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.