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. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
11-04-2013, 11:25 AM | #1 |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
cam api
Hey looking for bongacams api script to list the cams on my page .. help?
what u think of 1:37 ratio ..is okay ?
__________________
automatic exchange - paxum , bitcoin,pm, payza . daizzzy signbucks caution will black-hat black-hat your traffic ignored forever :zuzana designs
|
11-04-2013, 03:03 PM | #2 |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 246
|
Here is simple code should be working if you get JSON from bcams
Code:
<style> body { background:#F2F2F2; margin:0; padding:0} a { text-decoration:none} .div { float:left;width:180px;height:auto;position:relative; margin:0; padding:0} .div img { width:100%; display:block; height:auto} .div span { padding:2px; text-decoration:none;position:absolute; bottom:0; left:0; right:0; height:22px; line-height:22px; font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFF; background:rgba(0,0,0,0.6)} </style> <?php $data = file_get_contents('JSON_URL'); $decode = json_decode($data, true); foreach($decode as $d) { if($d['status'] == true){ echo '<div class="div">'; echo '<a href="'.$d['chat_url'].'">'; echo '<img src="'.$d['profile_images']['thumbnail_image_big_live'].'" />'; echo '<span>'.$d['username'].'</span>'; echo '</a>'; echo '</div>'; } } ?> |
11-04-2013, 04:34 PM | #3 |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
looks great thank u i appreciated ..is it possible to integrated this with pagination?
for example total 25 cams and like 5 every row u saved my day
__________________
automatic exchange - paxum , bitcoin,pm, payza . daizzzy signbucks caution will black-hat black-hat your traffic ignored forever :zuzana designs
|
11-05-2013, 02:32 AM | #4 |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
|
11-05-2013, 06:44 AM | #5 |
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Montreal
Posts: 3,989
|
you shouldn't call such an api on evey page load ... this is just retarded programming right there. You think they will ejoy all the requests once you get a million page views a day?
just my 2 cents
__________________
free sex videos |
11-05-2013, 10:01 AM | #6 |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
hello jimbo , arena18 helped me with that code ... like u see its simple but very helpful i think is a good start . million page views a day?
|
11-05-2013, 02:23 PM | #7 | |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 246
|
Quote:
and about milion pageviews, with 1 milion pageviews i will open my own cam studio ... |
|
11-05-2013, 10:00 PM | #8 |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
tnxxx that exactly what i was looking for , arena18 i tried and search web but its really hard to find pagination for this , can u help me with a bit of code ?
|
11-06-2013, 07:01 AM | #9 | |
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Montreal
Posts: 3,989
|
Quote:
not only you wont hog the api server but you will also give faster response to your users. noone wants to wait 10 seconds for your page to load. So much for trying to give advice to people. They throw knifes at you... instead of setting up a cronjob. its so simple an Indian would probably do this for you for 1$.
__________________
free sex videos |
|
11-06-2013, 01:54 PM | #10 |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 246
|
I will make simple script for you tonight, with pagination and caching...
|
11-06-2013, 04:17 PM | #11 |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 246
|
Im make something for you, now you have jQuery pagination with lazy load images, and also with caching
Here is demo http://wptuber.biz/cams/ Download: http://www.4shared.com/zip/Mpy69lJc/cams.html Open a config.php and edit this Code:
$api_url = 'http://bongacash.com/tools/promo.php?c=xxx&type=api&api_type=json';// You JSON Version - api $cams = '25';// number of cams per page $cache_time = '600';// define how long you want to keep the file in seconds. $title = 'Free Cams'; // Add meta decription for your page $description = 'Live Cam sex'; // Add meta decription for your page $site_url = 'http://wptuber.biz/cams/'; // URL of your site |
11-06-2013, 05:41 PM | #12 | ||
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
Quote:
Quote:
Woohoo arena18 i didn't expect it will look as good your work is 10/10 i'm going to try this out
__________________
automatic exchange - paxum , bitcoin,pm, payza . daizzzy signbucks caution will black-hat black-hat your traffic ignored forever :zuzana designs
|
||
11-06-2013, 05:54 PM | #13 |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 246
|
Make sure that cached folder have read/write permission
|
11-06-2013, 06:18 PM | #14 |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
arena18 i dont know how to thank u are Good programmer and also helpful ..
|
10-04-2014, 01:05 PM | #15 |
Registered User
Industry Role:
Join Date: Oct 2014
Posts: 74
|
hey, how can i get a script like this ? i searched a lot , for a script to show embed cams from bongacams and chaturbate , can anybody point me in some direction ?
|
04-24-2016, 05:08 AM | #16 |
Registered User
Industry Role:
Join Date: Apr 2016
Location: Europe
Posts: 14
|
arena18
please reuplod script |
05-20-2016, 03:53 AM | #17 |
Registered User
Industry Role:
Join Date: May 2010
Location: Europe
Posts: 48
|
Can someone re-upload the scrip with pagination? Link is not working anymore.
Thanks!
__________________
The Best converting Web Cam Affiliate program>> |
05-20-2016, 04:56 AM | #18 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
|
You can use adulttemps's version is way better full responsive and you can customize it ! The link to the dowload page is here : https://github.com/hillipino/BongaCash-API
__________________
Make Money With: Chaturbate |
05-20-2016, 02:24 PM | #19 |
Registered User
Industry Role:
Join Date: Apr 2016
Location: Europe
Posts: 14
|
@Andreweb
I am interested to take a look at this script on JSON adn in hillipino is XML script |
05-21-2016, 01:28 AM | #20 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
|
Ok I got it ! Unfortunately I never had that script , but the code is above , starting from that is not hard to make a simple page I will try build a simple example starting from that and I'll post it here !
__________________
Make Money With: Chaturbate |
05-21-2016, 01:58 AM | #21 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
|
Ok as I promise here is a simple sample of page without pagination starting from arena18's code ! It took me 5 minutes to make it ! Is just a test page to see how it works ! Bonga JSON SITE SAMPLE !
__________________
Make Money With: Chaturbate |