Vincent
  • Male
  • Durban
  • South Africa
  • Advanced Coder
Share on Facebook MySpace

Vincent's Discussions

How to properly resize thumbnails using the php api
5 Replies

 I noticed that you can append the width and height you wan the image to be to the src urlhttp://very/long/foo?width=150&height150 what if i wanted to show the images the same way the ning site…Continue

Started this discussion. Last reply by Vincent Jun 23, 2011.

Ning PHP API connection issue
4 Replies

The curl connection on the NingAPI returns the #"7" error code every time I try to connect to my network I'm think it might be caused by the fact that my offices are behind a proxy.I tried adding…Continue

Tags: issue, api, php

Started this discussion. Last reply by Vincent Jun 22, 2011.

Help connecting through a proxy to my ning netwwork - PHP API

Hi all, The curl connection is returning the #7 error number.I think its because my offices use a proxy so it might be blocking the connection somehow.do you have any idea how i can fix this. I did…Continue

Started Jun 10, 2011

 

Vincent's Page

Latest Activity

Vincent replied to Vincent's discussion How to properly resize thumbnails using the php api
"Either way, its better than not getting a response, when you feel like you banging your head to a wall..."
Jun 23, 2011
Chris replied to Vincent's discussion How to properly resize thumbnails using the php api
"Ah, Phil got there before me!"
Jun 23, 2011
Chris replied to Vincent's discussion How to properly resize thumbnails using the php api
"just specify one dimension if you don't want to crop e.g.   ....?width=150 or ......?height=200"
Jun 23, 2011
Vincent replied to Vincent's discussion How to properly resize thumbnails using the php api
"Thank Phil, Some solutions are just painfully obvious when you're still trying to get on your feet.   Cheers Vincent  "
Jun 23, 2011
Phil McCluskey replied to Vincent's discussion How to properly resize thumbnails using the php api
"Hi Vincent, You can apply just a width or just a height, and the image will be resized to maintain its aspect ratio. If you want to crop, you can apply a height and width and specify the crop parameter:  &crop=1:1 Thanks, Phil"
Jun 23, 2011
Vincent posted a discussion

How to properly resize thumbnails using the php api

 I noticed that you can append the width and height you wan the image to be to the src urlhttp://very/long/foo?width=150&height150 what if i wanted to show the images the same way the ning site does, where portrait images aren't squashed to say 150 * 150 but rather are resized as on the ning site. Or maybe do i need to apply some aspect ratio maths to the actual width and height of the image.See More
Jun 23, 2011
Vincent replied to liyamahendra4's discussion Ning API using PHP to retrieve list of Photos
"Hey guys im also trying to retrieve photos for a specific user And honestly Im struggling... being a new Ning user and all ...(sigh)   I'd appreciate if possible from you guys, a php code snippet. I read the information in the links that…"
Jun 22, 2011
Vincent replied to Vincent's discussion Ning PHP API connection issue
"I got it working, um turns out if i pass the url of my network like a ziss mynetwork.ning.com it fails bit if i ass it my network name it works. i just didnt read the instructions properly.   peeeuuuu...."
Jun 22, 2011
Vincent replied to Vincent's discussion Ning PHP API connection issue
"I dont know what changed but all of a sudden im getting this output from my browser:   {"success":false,"reason":"Not Found:…"
Jun 21, 2011
Vincent replied to Vincent's discussion Ning PHP API connection issue
"Hi Devin,   Thanks for the response. I made the curl call from the command line and got the result as you predicted.   Since this means that my NingApi.php file is incorrectly configured I'll paste the configuration portion of the…"
Jun 21, 2011
Devin replied to Vincent's discussion Ning PHP API connection issue
"Vincent, if I understand you correctly, you have tried connecting directly to the Ning API and by using a proxy connection? curl error #7 translates to "Failed to connect() to host or proxy." This implies that you can't see the Ning…"
Jun 20, 2011
Vincent posted a discussion

Ning PHP API connection issue

The curl connection on the NingAPI returns the #"7" error code every time I try to connect to my network I'm think it might be caused by the fact that my offices are behind a proxy.I tried adding this code to the curl connection code but it still returns "a connection failed error". curl_setopt($ch, CURLOPT_TIMEOUT, self::CURL_TIMEOUT);curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);curl_setopt($ch, CURLOPT_PROXY, "proxy address");curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);  Any help is…See More
Jun 20, 2011
Vincent posted a discussion

Help connecting through a proxy to my ning netwwork - PHP API

Hi all, The curl connection is returning the #7 error number.I think its because my offices use a proxy so it might be blocking the connection somehow.do you have any idea how i can fix this. I did try adding this code below the $ch = curl_init(); line of the call method. curl_setopt($ch, CURLOPT_TIMEOUT, self::CURL_TIMEOUT);curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);curl_setopt($ch, CURLOPT_PROXY, "proxy_address");curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);curl_setopt($ch,…See More
Jun 10, 2011
Vincent replied to Ben Plowman's discussion New Version Of The Ning API PHP Library Now Live
"H,   The curl connection is returning the #7 error number. I think its because my offices use a proxy so it might be blocking the connection somehow. do you have any idea how i can fix this.   I did try adding this code below the $ch =…"
Jun 9, 2011
Vincent is now a member of Build
Jun 8, 2011

Profile Information

Programming Skill Level
Advanced Coder
Website
http://www.zigzag.co.za

Comment Wall

  • No comments yet!

You need to be a member of Build to add comments!

Join Build

 
 
 

Blog Posts

Getting Started

Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments

A Note on API Pricing

Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments

Welcome to Build!

Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment

Ning Status

© 2024   Created by Build Team.   Powered by

Badges  |  Report an Issue  |  Terms of Service