Search Results for 'crop'
-
AuthorSearch Results
-
May 15, 2010 at 1:25 am #78240
nessradio
ParticipantSo in my case I find the problem of why “upload avatar” doesn’t work.
It’s because of the BuddyPress Template pack plugin. When I use the bp default theme everything works perfectly.
When I use any wordpress theme that I made compatible with BuddyPress using the plugin bp Template pack I find exactly the same problem: Avatar Upload, private message, register… all of that doesn’t work… as soon as you click on the button “Submit” or “Crop” you go back to the same page and nothing happen?! It’s like the information wasn’t given at all…
There is a conflict somewhere that I can’t find!
Any Ideas???[EDIT] Ok I solved the problem!!!
Ok so if none of the solution you have in this topic works for you it’s probably because you have a conflict between a js script in your default theme and a js script in your wordpress theme… take a minute tu disable all the js action in your wordpress theme ton test if it’s coming from there…May 14, 2010 at 9:26 pm #78224Psyber
ParticipantGo to admin side of your blog then click from left menu Settings -> Miscellaneous Settings — I don’t think this menu is available in WordPress MU, am I missing something?
May 14, 2010 at 6:02 pm #78182theBestProgrammers
ParticipantGo to admin side of your blog then click from left menu Settings -> Miscellaneous Settings
Set “Store uploads in this folder” to “wp-content/uploads”.
Set “Full URL path to files” to the REAL FULL PATH of your uploads. e.g “http://yoursiteblog/wp-content/uploads”Go to wp-content/plugins/buddypress/bp-core/bp-core-avatars.php
Then change bp-core-avatars.php line 389Replace:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;With:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;
else $path = ABSPATH . $path;Note: Take care for quotes you must remove and again add by yourself, otherwise you will get Warning: Division by zero …
Hope it will work perfectly for image upload and crop issue.May 14, 2010 at 5:56 pm #78180theBestProgrammers
Participant@nessradio and @psyber I am repeating all steps gain in detail mentioned by @gian-ava
Go to admin side of your blog then click from left menu Settings -> Miscellaneous Settings
Set “Store uploads in this folder” to “wp-content/uploads”.
Set “Full URL path to files” to the REAL FULL PATH of your uploads. e.g “http://yoursiteblog/wp-content/uploads”Go to wp-content/plugins/buddypress/bp-core/bp-core-avatars.php
Then change bp-core-avatars.php line 389Replace:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;With:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;
else $path = ABSPATH . $path;Note: Take care for quotes you must remove and again add by yourself, otherwise you will get Warning: Division by zero …
Hope it will work perfectly for image upload and crop issue.May 14, 2010 at 5:42 pm #78178In reply to: Avatar Cropping Problem
Psyber
ParticipantI have the same problem, I am experiencing exactly what you described triv, and while I am running a custom child theme, I do have all the default divs in place.
May 14, 2010 at 5:37 pm #78177Psyber
ParticipantI have the same issue, although I haven’t attempted a code fix yet. I am running a custom child theme with BP 1.2.3.
May 14, 2010 at 3:04 pm #78155nessradio
ParticipantI’ve got a similar problem and I tried all the solution present in this topic but none of them worked…
Please have a look to my Topic to help me:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/impossible-to-upload-image-on-change-avatar-and-album-upload-picture-and-cant-send-private-message/#post-54071Thx All
May 14, 2010 at 10:31 am #78136nessradio
ParticipantTo be more precise:
– When I upload a pic to change my avatar: I see my pic with the crop function but as soon as I click on “crop” it brings me back to the upload page. When I go to the upload file on my FTP I can find the pic I just uploaded.– When I upload a pic to my album: When I click to “Upload picture” it brings me back directly to the same page without doing anything and when I go to my upload file on my FTP I can’t find the pic I tried to upload.
– When I send a private message: I compose the message with all the information. When I click on “send” it brings me back to the “compose” section… it’s like I never wriht one. When I go to the “Sent Message” section I don’t see any message sent…
any idea of what is goin on?
May 14, 2010 at 9:21 am #78128andij
MemberThis worked a treat for me!
If you need to find your “Full URL path to files” you can find your DOCUMENT_ROOT by using phpinfo(); and adding “wp-content/uploads” to the end.
e.g:
Store uploads in this folder “wp-content/uploads”
Full URL path to files “/home/ACCOUNT/public_html/wp-content/uploads”How can I create a phpinfo.php page? Try this link:
http://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3FBe aware that copying the code directly from @gian-ava will copy the wrong type of single quotes as @shaista points out above.
To check that your image is being uploaded take a look in /public_html/wp-content/uploads/group-avatars on your server
May 9, 2010 at 11:50 pm #77396theBestProgrammers
ParticipantMay 8, 2010 at 10:19 pm #77267In reply to: Activity stream blog post thumb nails
cavamondo
ParticipantThe default size for activity stream thumbnails is 100px in height, and then the width is dynamic proportioned changed according to the image size of the picture your using for thumbnail. Either you have to define the image size/proportions when you initially upload a picture to the article (Do this via the “media” menu where you can define the different sizes for images to be generated when you upload them for an article. Or else you need to find a thumbnail app that will create thumbnails .. the build in feature will only scale not crop. Proportion is the issue .. keep the image ratio same on all pictures, if you wish to only use the build in image handler.
May 7, 2010 at 11:08 am #77055In reply to: Activity stream blog post thumb nails
cavamondo
ParticipantWith CSS …
Aply an “img” style to the div=”id” in wich the image is displayed. In the “img” class, you can define the size you wish the img to be displayed. The loop doesnt crop the image, it just scales it .. you can define the proportion and sizes in the CSSMay 6, 2010 at 7:22 pm #76971loomz
MemberI having the same problem mentioned above
…if anyone can, plz provide some help…May 6, 2010 at 6:12 am #76886In reply to: Crop tool not working
Paul Wong-Gibbs
KeymasterPlease answer https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/when-asking-for-support/ to help us help you
May 5, 2010 at 11:19 am #76742In reply to: Avatars not working for any buddypress website..
LPH2005
ParticipantIn the meantime, you might be able to use avatars if you upload rectangular shaped images and crop at that point. At least that works on my BP installation.
May 5, 2010 at 9:10 am #76739Leonardo
Participant@gian-ava
yes i get error to when i did the changes….
Warning: Division by zero in /hsphere/local/home/mahzouni/mahzouni.com/appfactory/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 390but awatars work… :S
May 5, 2010 at 5:05 am #76728In reply to: Avatars not working for any buddypress website..
r-a-y
KeymasterMay 4, 2010 at 5:04 am #76548kippnkatie
Member@gian-ava
I pasted in your changes. My avatars work but now I am getting this error on my blog
Warning: Division by zero in /home/bethelbc/bethelbaptistkalamazoo.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 393May 4, 2010 at 3:11 am #76535In reply to: can’t change avatars
Suzette
ParticipantI had the same problem but finally got it solved. I had to do 2 things:
1 – go into “settings>miscellaneous” and fill in the “full URL path to files” so it will be example http://yourdomainname/wp-content/uploads
2 – requires editing the php coding in the file bp-core-avatars.php in BuddyPress. You can find this file by going into “plugins>editor”. On the right side, there is a drop down box labelled “select plug-in to edit”. Change this default selection from Asimet to BuddyPress and press “select”. The list of files beneath will change. Scroll down to “buddypress/bp-core/bp-core-avatars.php” and select it.
The changes need to be down on lines 389 & 390, it’s down near the end of the page. (I used copy/paste in MS Frontpage editor to find the line number close to “function bp_core_avatar_upload_path() {“) You’ll be replacing the 2 lines with 3 lines. ** Use the WordPress editor to make the changes to copy/paste the lines once you find them **Replace:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;With:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;
else $path = ABSPATH . $path;See this post for the solution https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/avatar-cropping-after-upload-image-and-cropper-dont-appear-fails/
May 2, 2010 at 1:01 am #76318In reply to: Avatar Upload Issues
Mark
ParticipantTemporary fix? Open bp-core-avatars.php and around line 288 you should see the following:
$bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, $bp->avatar_admin->image->dir );
Replace it with:
$bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL . ‘/wp-content’, $bp->avatar_admin->image->dir );
…this is presuming you’re having issues with image uploads on an MS site where you get as far as cropping without seeing an image. If you’re on an MS site and you can’t get that far because of an unknown error, (object of class WP_Error can not…) you first need to apply changeset 2124 (https://trac.buddypress.org/changeset/2124) just to see the proper error, then back to bp-core-avatars.php and find around line 266:
if ( getimagesize( $bp->avatar_admin->original ) > BP_AVATAR_ORIGINAL_MAX_WIDTH )
$bp->avatar_admin->resized = wp_create_thumbnail( $bp->avatar_admin->original, BP_AVATAR_ORIGINAL_MAX_WIDTH );…and replace it with:
$orig_dimensions = getimagesize( $bp->avatar_admin->original );
/* Resize the image down to something manageable and then delete the original */
if ( $orig_dimensions[0] > BP_AVATAR_ORIGINAL_MAX_WIDTH || $orig_dimensions[1] > BP_AVATAR_ORIGINAL_MAX_WIDTH )
$bp->avatar_admin->resized = wp_create_thumbnail( $bp->avatar_admin->original, BP_AVATAR_ORIGINAL_MAX_WIDTH );
This is what I’ve done to fix the problem on my install of WP 3.0 and BuddyPress 1.2.3, your mileage may vary.
May 1, 2010 at 12:35 am #76228In reply to: Avatar Upload Issues
jay
ParticipantHi, im not sure if people have tried testing on different hosts with different results??
2 hosts one works one doesn’t- its so weird, is this a godaddy problem?
working: http://www.intelioum.com/buddypress/members/ (see there is a avatar there)
not working: http://eyemagine.info/buddypress/
user and pass for eyemagine(feel free to check it out): u: tester p: 123456
you successfully sign in, it asks for you to upload a pic but later it just stalls and goes blank.
what i noticed is that on my server the images are uploaded although the crop function ect never works.
Would be great if someone has a fix- please let me know
April 30, 2010 at 5:14 pm #76162In reply to: Avatar Upload issue
jay
Participanti have the same problem- funny thing is that i have it set up on 2 servers one works one doesnt- its so weird, is this a godaddy problem?
working: http://www.intelioum.com/buddypress/members/ (see there is a avatar there)
not working: http://eyemagine.info/buddypress/
user and pass for eyemagine(feel free to check it out): u: tester p: 123456
you successfully sign in, it asks for you to upload a pic but later it just stalls and goes blank.
what i noticed is that on my server the images are uploaded although the crop function ect never works.
April 30, 2010 at 6:15 am #76111In reply to: Avatars Uploading Problem
ARiFUR RAHMAN
Participanti need help! some one help me! my user can’t upload any kind of avatars and cropping,
April 29, 2010 at 2:51 pm #75957ajaxmac
ParticipantI have found a solution to my problem – but don’t know exactly why these issues arose. I shall elaborate in case anyone else has similar problems:
I have also been experiencing problems with the themes for blogs being all messed up. Regardless of how they were activated – either globally or on a blog-by-blog basis, they never displayed properly. Possible an obscure redirect issue. At the same time I was experiencing the messaging issues for which I started this thread.
I think that these problems cropped up sometime between:
– upgrading from WP MU 2.9.1 > 2.9.2
– upgrading Buddypress 1.2.x > 1.2.3
which were both done manually AND
– trying out a whole buch of plugins that had not been tested (or verified) to work with my versions of BP and WPMU.So I rolled the whole site back – files and mysql to about a month ago – before I upgraded and fucked up my database. Then copied any posts, files, members, activities etc from one database to the other…
So the lessons I learned from the sorry mess is:
– Backup regularly (this goes without saying)
– don’t try out spurious plugins that may damage your install (and lead to days of head-beating-on-wall WTF? moments)Also – running the whole site on Amazon Web Services which gives you cheap access to ubiquitous storage (S3) at insanely low cost. So I run a script that backs up all files and mysql from the site daily and hang the GB that will accrue – because each GB cost something like $0.01 – or something….And this just saved my sanity.
Regards
Ajax
April 27, 2010 at 9:49 pm #75556In reply to: Avatars disappeared after 1.2.3 upgrade!
helpme1
Participantdoesn’t work for me
hi i did everything
it still didn’t workthere were problems

they didn’t show the preview
and therefore There was a problem cropping your avatar, please try uploading it again.
help
-
AuthorSearch Results
