[buddypress-dev] Avatar upload

C Daniel c_daniel2002 at yahoo.com
Wed Jul 9 23:46:39 GMT 2008


Well I feel kinda bad,

I noticed that you sent me trunk file example, I have upgraded the x-profile to trunk, now the avatar uploads.


So, I will now need to redo some stuff, but probably forget about the ticket because it was tag version???

Chris


--- On Wed, 7/9/08, Andy Peatling <andypeatling at automattic.com> wrote:

> From: Andy Peatling <andypeatling at automattic.com>
> Subject: Re: [buddypress-dev] Avatar upload
> To: buddypress-dev at lists.automattic.com
> Date: Wednesday, July 9, 2008, 3:51 PM
> On 9-Jul-08, at 3:34 PM, C Daniel wrote:
> 
> > Here is the whole thing from my activate.php, this is
> first page.
> >
> >
> ----------------------------------------------------------
> > <form
> action="http://mysite.com/wp-activate.php?key=20b4c0bad223e23b&amp;cropped=true
> 
> > " method="post">
> > <input type="hidden"
> name="slick_avatars_action"
> value="crop" />
> > <input type="hidden"
> name="action" value="slick_avatars"
> />
> > <input type="hidden"
> name="nonce" value="74a00ed6c8" />
> > <input type="hidden"
> name="orig"
> value="/var/www/vhosts/mysite.com/ 
> >
> httpdocs/wp-content/blogs.dir/14/files/2008/07/anne.jpeg"
> />
> 
> Filesystem paths should not be coming out here, I'll
> fix this, but  
> that isn't the problem.
> 
> 
> > <p>Please select the area of your photo you
> would like to use for  
> > your avatar(50px x 50px).</p>
> > <div id="crop-v1"
> class="crop-img">
> > <img
> src="/wp-content/blogs.dir/14/files/2008/07/anne-181x250.jpg"
>  
> > width="181" height="250"
> border="0" alt="Select the area to
> crop"  
> > id="crop-v1-img" /></div>
> 
> The image paths do not include the
> http://domain.com/username/ part...  
> so the permissions on the image are failing. Try copying
> the path,  
> adding the http://domain.com/ onto the start, then pasting
> it into  
> your browser URL bar. The picture should show up.
> 
> This is where the domain should be set:
> http://trac.buddypress.org/browser/trunk/bp-xprofile/bp-xprofile-avatars.php#L368
> 
> Although this seems to work for me, I'm thinking the
> get_usermeta is  
> not working for you. This will need to be looked into. Can
> you log a  
> ticket in trac?
> 
> A quick fix for now would be to just hard code your URL
> into there.  
> I'll fix this ASAP, or if anyone else wants to
> investigate, please go  
> ahead. :)
> 
> Thanks
> Andy
> 
> >
> >
> >
> >
> > --- On Wed, 7/9/08, Martin
> <martin at thrive-magazine.com> wrote:
> >
> >> From: Martin <martin at thrive-magazine.com>
> >> Subject: RE: [buddypress-dev] Avatar upload
> >> To: buddypress-dev at lists.automattic.com
> >> Date: Wednesday, July 9, 2008, 1:43 PM
> >> I just tried adding a new avatar to the site
> I'm
> >> developing on and appear to
> >> have a slightly different problem.
> >>
> >> Can you do a view source of the avatar crop page
> and find
> >> the line that
> >> starts with <div
> >> class="wrap"><h2>Your
> Avatar</h2>?
> >>
> >> What src do the image tags have on that line?
> >>
> >> Hope this makes sense,
> >>
> >> Martin
> >>
> >> -----Original Message-----
> >> From: buddypress-dev-bounces at lists.automattic.com
> >>
> [mailto:buddypress-dev-bounces at lists.automattic.com] On
> >> Behalf Of C Daniel
> >> Sent: Wednesday, July 09, 2008 3:25 PM
> >> To: buddypress-dev at lists.automattic.com
> >> Subject: [buddypress-dev] Avatar upload
> >>
> >> I am still having issues with this.
> >>
> >> The images are in the blogs.dir, permissions are
> good - ok
> >>
> >> I can see the reference in the source of html on
> >> activate.php - ok
> >>
> >> Image is represented by grey box the size of my
> uploaded
> >> image with the crop
> >> box in the middle. - not ok
> >>
> >> I am configured as subdirectory, no problems with
> any other
> >> part of process.
> >> Any ideas? I am current with code.
> >>
> >> image attached has example
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> buddypress-dev mailing list
> >> buddypress-dev at lists.automattic.com
> >>
> http://lists.automattic.com/mailman/listinfo/buddypress-dev
> >
> >
> >
> > _______________________________________________
> > buddypress-dev mailing list
> > buddypress-dev at lists.automattic.com
> >
> http://lists.automattic.com/mailman/listinfo/buddypress-dev
> 
> _______________________________________________
> buddypress-dev mailing list
> buddypress-dev at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/buddypress-dev


      


More information about the buddypress-dev mailing list