GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Embed Live Cams script (https://gfy.com/showthread.php?t=1151340)

cybermike 11-04-2014 08:13 AM

Yeah just need to figure out why the script plugin cron stopped working.. maybe because the nomoneyinporn domain is dead?

sarettah 11-04-2014 08:15 AM

Quote:

Originally Posted by cybermike (Post 20277457)
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 11-04-2014 08:45 AM

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 11-04-2014 09:51 PM

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.

funnytimecpl 11-05-2014 01:55 PM

Quote:

Originally Posted by sarettah (Post 20277397)
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 ?:)

sarettah 11-06-2014 12:36 AM

Quote:

Originally Posted by funnytimecpl (Post 20279251)
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.

funnytimecpl 11-06-2014 06:23 AM

Yeah. Thanks for sharring this:) do you have knowlodge on building a TGP site?

sarettah 11-06-2014 06:58 AM

Quote:

Originally Posted by funnytimecpl (Post 20279880)
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............


:helpme

.

funnytimecpl 11-06-2014 08:09 AM

Oh. I'm gonna try my luck in a new post

karolinaboy 11-17-2014 01:09 PM

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?

sarettah 11-17-2014 01:19 PM

fiddy embedded cam scripts.

Quote:

Originally Posted by karolinaboy (Post 20292905)
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?

They are both using chaturbates feed, whether they are using the same script or not is a guess. It does appear to be very similar to what I have seen with the nomoneyinporn free script.

One is showing thumbs and one is missing them because they are refreshing at different rates. The nncuteteenagers version seems to be set to a longer time between refreshes of the db then the fttube version is.



.

funnytimecpl 11-17-2014 01:29 PM

it's the same script, only it has different settings, I use pagination , and he is using isotope .
I like how he did it , "featured webcam , what other are watching , newest webcam performer" nice work .

Andreweb 11-20-2014 01:47 PM

Quote:

Originally Posted by karolinaboy (Post 20292905)
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?

fftube is using a php script and the other one is an wordpress site using an pluging that's the difference between them !

karolinaboy 11-20-2014 04:40 PM

Quote:

Originally Posted by Andreweb (Post 20296725)
fftube is using a php script and the other one is an wordpress site using an pluging that's the difference between them !

Thanks.

I found this Chaturbate WordPress script in a search.
Is this the same one?
www.sexplugins.com/plugins/wp-chaturbate-plugin

Do you or anyone else know of any other Chaturbate WordPress plugin that will post the cams on the site?

CPA-Rush 11-20-2014 05:21 PM

damn why i clicked the link :(

CPA-Rush 11-20-2014 05:26 PM

ABP tool block the video embed on chaturbate version unlike the bonga one.

funnytimecpl 11-20-2014 06:27 PM

Quote:

Originally Posted by Andreweb (Post 20296725)
fftube is using a php script and the other one is an wordpress site using an pluging that's the difference between them !

you are right :) just saw the source code , I could swear that it's the same script :)

Quote:

Originally Posted by CPA-Rush (Post 20296944)
ABP tool block the video embed on chaturbate version unlike the bonga one.

hmmm... do you know where i can find a bonga cams similar script ?:) thanks

CPA-Rush 11-20-2014 07:01 PM

Quote:

Originally Posted by funnytimecpl (Post 20297007)
you are right :) just saw the source code , I could swear that it's the same script :)


hmmm... do you know where i can find a bonga cams similar script ?:) thanks

i run the script on my site :pimp , there is standard version not patched/improved ..which mean no pagination its too slow too,the other one with link to offline model + pagination and load very fast .

the second option i played with it myself and paid for it also $$ :)

Andreweb 11-21-2014 01:19 AM

Quote:

Originally Posted by karolinaboy (Post 20296898)
Thanks.

I found this Chaturbate WordPress script in a search.
Is this the same one?
www.sexplugins.com/plugins/wp-chaturbate-plugin

Do you or anyone else know of any other Chaturbate WordPress plugin that will post the cams on the site?

No is not the same one , that was a pluging from nomoneyinporn.org , this one is also a good plugin and easy to setup I just started a site with it and works fine here is the link to see it in the action Live Sex Cams

funnytimecpl 11-27-2014 05:07 PM

anybody know how to do this ?

if online show my room and some text , else show Best Converting Tour and some text .

really apreciated if getting any help .

funnytimecpl 02-06-2016 10:32 AM

I wanted to make a new thread, but since my question it's related to this one, maybe it's best to keep it here.

If anywone uses k33n's uploaded script for chaturbate embed cams, was wondering if anybody solved the 404 error google sees when a user is offline ?

In webmaster tools i see a lot of 404 errors , when google crawls the site and some users are offline.

sarettah, Andreweb, anybody ? :)
Cheers.

pornuploader 02-06-2016 11:55 AM

Quote:

Originally Posted by funnytimecpl (Post 20243776)
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 :)


still are you using detube theme?

AllAboutCams 02-06-2016 12:03 PM

Anyone able to create a script like girlsdocam.com?

Andreweb 02-07-2016 03:27 AM

Quote:

Originally Posted by funnytimecpl (Post 20722777)
I wanted to make a new thread, but since my question it's related to this one, maybe it's best to keep it here.

If anywone uses k33n's uploaded script for chaturbate embed cams, was wondering if anybody solved the 404 error google sees when a user is offline ?

In webmaster tools i see a lot of 404 errors , when google crawls the site and some users are offline.

sarettah, Andreweb, anybody ? :)
Cheers.

I do not use that script anymore , but my opinion is that those 404 errors are not the fault of offline performers because when a performer is offline the page still exist and you get this message : Room is currently offline instead of an online room or of a 404 error , I think those errors appears when a broadcaster deletes his account and you can't do anything about that ! Just my humble opinion !

funnytimecpl 02-07-2016 06:36 AM

thats the thing andreweb, in that script when a performer it's offline I don't get Room is currently offline, it shows only " MORE LIVE CAMS " not an actual error on front , but webmaster tools, when google bot checks my website, I get 404 errors.

well, I'm still with this script on some of my sites , but the rest I use wordpress and the plugin from sexplugins.com

adulttemps 04-18-2016 11:14 PM

You can get the updated script here https://github.com/hillipino/Chaturbate-API

j3rkules 04-19-2016 10:40 AM

Quote:

Originally Posted by adulttemps (Post 20845502)
You can get the updated script here https://github.com/hillipino/Chaturbate-API

Thanks for the link.

:winkwink:

linkhouse 04-19-2016 02:49 PM

Quote:

Originally Posted by adulttemps (Post 20845502)
You can get the updated script here

I think there are something wrong with the script?

The front page works fine. But when I try to click on a cam or a catagory like:

www . mycamsite . com /cams/couple or cam/tightcouple

It say 404 not found.

adulttemps 04-19-2016 08:13 PM

What is your url? Are you running the script from the root dir or a sub folder?

linkhouse 04-20-2016 01:07 AM

The test was in a sub folder. That can be the problem i think. I will test the script in a root or sub domain later today.

adulttemps 04-20-2016 07:23 AM

in a subfolder you will need to modify the htaccess replace index.php with subfolder/index.php

linkhouse 04-20-2016 10:35 AM

Quote:

Originally Posted by adulttemps (Post 20848199)
in a subfolder you will need to modify the htaccess replace index.php with subfolder/index.php


I have tried the script on a domain now. like: www . mycamdomain . com
It loads fine, but when I try to go to a cam like www . mycamdomain . com / cam / hotty

it just reloads the same page but with a new url www . mycamdomain . com / cam / hotty

linkhouse 04-20-2016 11:09 AM

Quote:

Originally Posted by linkhouse (Post 20848490)
I have tried the script on a domain now. like: www . mycamdomain . com
It loads fine, but when I try to go to a cam like www . mycamdomain . com / cam / hotty

it just reloads the same page but with a new url www . mycamdomain . com / cam / hotty


I fix it!
I found a old version of the script and there was the htaccess file:


Order Deny,Allow
Allow from all

Options -Indexes

RewriteEngine On

RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2&arg2=$3 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2&arg2=$3&arg3=$4 [NC,L]

levd 04-20-2016 12:45 PM

linkhouse thanks.
Do you know why if you place a logo instead of the website name the logo disappears when you visit another page?

adulttemps 04-20-2016 01:09 PM

Try using the full link to the image , the paths may be off. If you show me the url i can tell you

levd 04-20-2016 01:15 PM

That fixed it thanks :)

I'm noticing error 1000 in all the cams I'm trying to open.. maybe the api get blocked or something?

adulttemps 04-20-2016 07:48 PM

Try contacting chaturbate, the streams are configured by them. Not sure what that error code means.

adentio99 11-27-2018 05:11 AM

Try xCams turnkey script. It runs on an extremely secure, super-fast, and scalable platform that was created by tech and adult industry veterans, so that anyone can run a top live streaming site.

TFCash 11-27-2018 10:29 AM

Quote:

Originally Posted by adentio99 (Post 22372819)
Try xCams turnkey script. It runs on an extremely secure, super-fast, and scalable platform that was created by tech and adult industry veterans, so that anyone can run a top live streaming site.

adentio99 -

Is business that slow that you thought bumping a post from 2014 was a good idea :321GFY

:1orglaugh:1orglaugh:1orglaugh

adentio99 11-28-2018 05:45 AM

Quote:

Originally Posted by TFCash (Post 22372976)
adentio99 -

Is business that slow that you thought bumping a post from 2014 was a good idea :321GFY

:1orglaugh:1orglaugh:1orglaugh

Trust me still better than yours. :321GFY


All times are GMT -7. The time now is 06:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123