![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#51 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
50 API versions
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#52 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Fiddy not 50 dammit. How long have you been here?
Fucking people can't do nothing right. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#53 |
Richest man in Babylon
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,678
|
I see what u did there to get around adblock. Did you use htaccess? I have gotten this far. I think it's counting.:
RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$ [NC] RewriteRule ^webcams(/.*)?$ https://chaturbate.com$1/?track=&tour=&campaign=WMID |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#54 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
I could tell you what I am doing but then I would have to kill you. Seriously. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#55 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
My 50 is pronounced 'fiddy', tho
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#56 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Looks like both API versions are down
![]() Edited in: and now back up. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#57 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
|
Cams doesn't load on Chrome on your sites(milffoxes.com, dudefoxes), at least not for me. They load fine on Mozilla and on Edge!
__________________
Make Money With: Chaturbate |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#58 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,592
|
Loads here on chrome
__________________
![]() Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#59 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
I wonder what's up with that. Thanks P&J. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#60 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Anybody do anything with this code that they want to show off?
.
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#61 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
I guess that is a no. Well, I finished up what I am going to do with Dudefoxes.com and MILFfoxes.com for now. Put a warning page on them. Mixed some text in there. Still might add an about page to them to get some more text but for the most part they are done. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#62 | |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,592
|
Quote:
![]()
__________________
![]() Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#63 |
I have a plan B
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
|
This is great stuff. I'm going to spend hours fucking around with this because I know nothing and I might accidentally learn something. Thanks for the post.
__________________
CryptoFeeds |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#64 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Here is another little piece.
In the return from the API a count of the number of cams on line that meet your criteria is included. So, if you did not include any gender or tag parameter you would see the total number of cams online at that time. If you included a gender parameter, you would see the total number of cams for that gender. Same for tags. So, even if you are limiting your results by using the limit parameter you get to see the total number of cams that are available for that query. That combined with the limit parameter and the offset parameter allows you to be able to create an effective pagination routine. The total count is the first element in the xml: Code:
<response> <count>9439</count> <results> <resource> <username> ........... for example: camcount=xmlDoc.getElementsByTagName("count")[0].childNodes[0].nodeValue; .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#65 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Anybody interested in a full tutorial on building a site using api feeds?
A beginning to end, step by step type tuttorial? .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#66 | |
Monster Rain
Industry Role:
Join Date: Feb 2004
Location: Mongo
Posts: 4,978
|
Quote:
![]()
__________________
“My Free Cams Affiliate Program by CrakRevenue” |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#67 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
For pagination:
Once you have the camcount it is easy to do pagination. The total number of pages is the total cams divided by the number of cams per page. I am using the number of cams that I am putting on each page as my limit parameter and I have it stored in a var called limit. So, the number of pages is camcount/limit. However, that might not end up being an integer so to use that as the number of pages I use the ceiling function to round up to the nearest whole number. maxpages=Math.ceil(camcount/limit); So I now know how many total pages I have and I can make a pagination widget of some kind so the user can bounce through the pages or go to the page of their choosing. If I know what page we are on then I can use the offset parameter on the api_url to pull the cams for that page. We simply multiply the limit times the page number and we have the offset needed to grab that page of cams and we can then tack the offset parameter on to the url: var offset=limit * pagenum; api_url += '&offset=' + offset; Getting the page number we are on is the harder task here. Javascript does not have a built in function to read the url query string so if we want to use the url to get the next page we have some coding to do in javascript or we can grab the query on the server side in php. I decided to use a different method. I am using an ajax call to grab the next page of data and then just loading it into the cams div. In my pagination widget I set the page number variable to the page selected and then have a call to a function called change_page(). That function loads the page and then moves the browser view back to the top of the page. I could have just used load_page() but I wanted the animation effect of moving the page to the top. I might get rid of that because it is a little distracting to me. In the edit/var section: var pagenum=0; In the pagination widget: onClick="pagenum++;change_page(); (advance the page number by 1 and then change the page to that page number) function change_page() { load_page(); document.getElementById("countdiv").scrollIntoView ({behavior: 'smooth'}); } Hope that helps someone. . |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#68 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
Thanks. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#69 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
oh well. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#70 |
Confirmed User
Join Date: Jul 2004
Posts: 32
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#71 | |
Richest man in Babylon
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,678
|
Quote:
I also had the thought that because the code is so slim it could be incorporated into other sites rather than just standalone. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#72 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
.
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#73 |
Confirmed User
Join Date: Feb 2003
Location: Dreamland
Posts: 1,685
|
Yes for sure, was playing around with a few hours but would love to know how to do more with it!
__________________
HaHaHa |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#74 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
I will be trying to put something together. It will be a little while. I have several clients that have to come first.
.
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#75 |
this & that
Industry Role:
Join Date: May 2005
Location: Beer City
Posts: 5,300
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#76 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
|
Starting from your code I was able to do this website https://couplecams4k.com/ . Of course, it's still a work in progress and for chat rooms, I am still using version 1 of APIs because my coding skills are limited and I wasn't able to figure out how to make them in V2. Thanks again for sharing the code with us!
__________________
Make Money With: Chaturbate |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#77 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
.
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#78 |
Registered User
Industry Role:
Join Date: Sep 2021
Posts: 1
|
Amazing
I am not a programmer and find it difficult to try to learn api's. I am trying to replace generic ads with live CB cams like this and finding this was a Godsend. I'm trying to figure out how to adjust the css for the performer names, when I look at it on mobile they all run together. I would be very grateful if anybody could steer me in the right direction on how to adjust this script so it's readable on any screen size, and where to add other fields like user age and number of users in the room. Anybody have any advice for a slow learner? I spend hours just spinning in circles.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#79 |
Confirmed User
Join Date: Jan 2003
Location: BabeLand
Posts: 1,735
|
Anyone have a complete script to run a site using this code?
![]() Willing to buy.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#80 | |
Confirmed User
Industry Role:
Join Date: Nov 2002
Location: Canada
Posts: 677
|
Quote:
Code:
/* Extra small devices (phones, 600px and down) */ @media only screen and (max-width: 600px) { CSS HERE } /* Small devices (portrait tablets and large phones, 600px and up) */ @media only screen and (min-width: 600px) { CSS HERE } /* Medium devices (landscape tablets, 768px and up) */ @media only screen and (min-width: 768px) { CSS HERE } /* Large devices (laptops/desktops, 992px and up) */ @media only screen and (min-width: 992px) { CSS HERE } /* Extra large devices (large laptops and desktops, 1200px and up) */ @media only screen and (min-width: 1200px) { CSS HERE } |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#81 |
Confirmed User
Industry Role:
Join Date: May 2016
Posts: 557
|
How can I use this script for Wordpress?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#82 |
Confirmed User
Join Date: Feb 2009
Posts: 201
|
As it is, you can't. Anything custom, outside the Wordpress core, can be integrated with the help of plugins. Also is recommended to use the Wordpress way, or you will be getting all sorts of errors and unexpected behaviours.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#83 |
Webmaster
Industry Role:
Join Date: Mar 2007
Location: BP4L - NL/RO
Posts: 16,556
|
Whenever I have AdBlock On, CB disappears to another universe. Even the APIs do not pop up.
__________________
Enroll in the SWAG Affiliate Asian Live Cam Program and get 9 free quality linkbacks from my network! ![]() Wanna see how old school I am? Look at this! ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#84 |
Confirmed User
Industry Role:
Join Date: Nov 2002
Location: Canada
Posts: 677
|
I've seen a couple WP related cam plugins on here already, check those out. I started developing my own recently.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#85 |
VIP
Industry Role:
Join Date: Jul 2013
Posts: 22,112
|
I am pretty sure that he is looking for a free script or plugin.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#86 | |
Confirmed User
Industry Role:
Join Date: Dec 2013
Posts: 273
|
Quote:
Was trying to figure it out a bit, as i do know some programming. Going to play around with the code u posted. Thanks for sharing. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#87 |
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,894
|
this is badass op how do you add pagination? and open cam page?
![]() ![]()
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!! END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#88 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
.
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#89 |
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,894
|
you just can't stop talking shit. i was going to leave it alone...
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!! END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#90 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
You should know enough coding to figure it out. Edited in: take a look at post 67 in this thread, I explain the pagination there. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#91 | |
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,894
|
Quote:
![]() ![]()
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!! END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#92 |
Whale Hunter
Industry Role:
Join Date: Jan 2016
Posts: 936
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#93 |
Registered User
Industry Role:
Join Date: Feb 2022
Posts: 40
|
Just wanted to share my version of the v2 API.
hornyfeed dot com Any input is appreciated. I am also willing to help people in need. Thanks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#94 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
.
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#95 |
Registered User
Industry Role:
Join Date: Feb 2022
Posts: 40
|
That is the domain I have it hosted on. I just used a redirect as I just bought hornyfeed domain yesterday.
EDIT: Trying to point the domain directly to it without a redirect but having some issues. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#96 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
So, I did not go any further once I hit the redirect. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#97 | |
Registered User
Industry Role:
Join Date: Feb 2022
Posts: 40
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#98 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
You have some work to do on the mobile. Pagination is too small, enter link on the adult warning is too small. In your info box you are showing the birthdate. Myself, I would not do that. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#99 |
Registered User
Industry Role:
Join Date: Feb 2022
Posts: 40
|
Thank you for the tips, I will fix those issues and remove the birthday as well. I thought it looked kind off odd having it displayed anyways.
__________________
Cheap VPS/Shared Hosting: RackNerd Discord: Clown#5147 Projects: JuicySluts Website: Clownonymous Other Domains: JuicyBate - HornyFeed - Pimp Ink - Fansily Skills: API/HTML/CSS/JS/PHP/PYTHON |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#100 |
Registered User
Industry Role:
Join Date: Feb 2022
Posts: 40
|
juicysluts.com - My newest touch on the Chaturbate API. Any feedback is appreciated.
Also is there still good money to be made with Chaturbate?
__________________
Cheap VPS/Shared Hosting: RackNerd Discord: Clown#5147 Projects: JuicySluts Website: Clownonymous Other Domains: JuicyBate - HornyFeed - Pimp Ink - Fansily Skills: API/HTML/CSS/JS/PHP/PYTHON |
![]() |
![]() ![]() ![]() ![]() ![]() |