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.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 04-29-2015, 07:20 AM   #1
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
BongaCams API-Help please

Hello,
i am trying to show cams from bonga with their api xml,but i can't load thumbnail images.I call any tag from xml with ex:$cam->embed_chat_url,except profile images.
Code:
<a href="' . BASEHREF . 'cam/' . $cam->username . '" title=""><img src="' .$cam->profile_images. ' " alt="' . $cam->display_name . '" width="180" height="148" /></a>
This is what i get from this line

Code:
<a href="http://mydomain.com/cam/Kisulka22" title=""><img src=" " alt="Kisulka22" height="148" width="180"></a>
As you can see username and display_name works fine but profile_images doesn't show any url to src.I know it's because profile_images is an element that has 6 sub-elements

profile_images

profile_image
thumbnail_image_big
thumbnail_image_medium
thumbnail_image_small
thumbnail_image_big_live
thumbnail_image_medium_live
thumbnail_image_small_live

and each sub-element have a different url,but i dont know how to call the sub-element that i want.I know it should be something like profile_images(thumbnail_image_small).Can anyone help me please?
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-29-2015, 01:30 PM   #2
CPA-Rush
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->profile_images->thumbnail_image_big_live .

__________________

automatic exchange - paxum , bitcoin,pm, payza

. daizzzy signbucks caution will black-hat black-hat your traffic

ignored forever :zuzana designs
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-30-2015, 01:09 AM   #3
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
Thanks!
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
profile_images, sub-element, call, thumbnail_image_small, thumbnail_image_medium, thumbnail_image_big_live, element, profile_image, sub-elements, thumbnail_image_big, url, but, want.i, thumbnail, load, images.i, tag, xml, xml, but, api, api-help, cams, bonga, profile, images, bongacams



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.