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 :) |
He is not using wordpress, looks like bootstrap.
You can keep it simple, make subdomains and point it at their dns. |
I can do that , but the point in making a site like that is so I can make some extra bucks from affiliates :)
|
Nobody else?
|
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.
|
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 !
|
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.
|
Quote:
can you mail it to me too ?:) [email protected] |
|
ok...i'll upload it on a server for anyone to download it.
|
|
wow, thanks , hope this work for me , if you need a fan sign let me know :)
|
Megacams.me is my site. This is custom build and not a easy to setup script.
|
You have a nice site, can you share??? :d
|
Quote:
|
Only if you have a lot :)
Can't blame me for trying. Anyway nice site. |
Quote:
|
Quote:
|
Quote:
Thank you again k33n , that script did the job ! work in progress demo : fttube.com |
Quote:
|
Glad i could help :thumbsup
|
Quote:
|
I can make you something like that. But you'd have to pay me $1000.
|
Quote:
|
Quote:
|
Thanks karolinaboy
|
Quote:
|
Quote:
That will block them I do believe. Other than that, I don't know. . |
Check the error file
|
Quote:
. |
Quote:
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 |
my script works just fine , and I use k33n's "read me " file . see the error log .
|
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 |
My site is working just fine ! I also use k33n's variant of scrip ! U need to check you error file !
|
Looks very interesting.
|
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 ?
|
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:
PHP Code:
And..it's more like Sarettah's version since he was the one that helped me with speeding up the script. :) |
Quote:
Quote:
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 . |
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.. |
Quote:
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. . |
Yeah just need to figure out why the script plugin cron stopped working.. maybe because the nomoneyinporn domain is dead?
|
Quote:
I might have the plugin code in my dl folder, not sure. If I get a chance I will take a glance. . |
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 . |
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. |
Quote:
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 ?:) |
Quote:
Quote:
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. |
Yeah. Thanks for sharring this:) do you have knowlodge on building a TGP site?
|
Quote:
:helpme . |
Oh. I'm gonna try my luck in a new post
|
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? |
All times are GMT -7. The time now is 09:34 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc