Search Results for 'crop'
-
AuthorSearch Results
-
April 17, 2010 at 6:02 am #73885
In reply to: Avatar Upload Issues
6005809
InactiveJust tried disabling/re-enabling. Group avatar upload still broken. Crop image dialog points here:
And now I can’t find the image at all.
I really want to use BuddyPress but this simple functionality is broken. Makes me wonder.
EDITED: Tried doing it again. Deleted old groups, made a new one. Crop image dialog points to:
But it’s actually hosted here:
April 16, 2010 at 2:51 pm #73805In reply to: BuddyPress and WordPress 3.0
ajohnson
MemberI am running it off a sub-folder in WP 3.0. I have been for a long time but the most recent upgrade broke my avatars. It looks as if the image uploads correctly for me, but doesn’t pull it in to crop. The path it try’s is:
http://www.website.com/sub-folder-blog/blogs.dir/2/files/avatars/1/avatar.jpg
when it should be
http://www.website.com/wp-content/blogs.dir/2/files/avatars/1/avatar.jpg
Any ideas on what I should try to change? I’ve already tried:
if ( !$path = get_option( 'upload_path' ) )
$path = WP_CONTENT_DIR . '/blogs.dir';
else
$path = ABSPATH . $path;
Thanks!
April 16, 2010 at 4:14 am #73759In reply to: Avatar uploading to wrong folder
Donnacha
ParticipantHi Paul, I trust you have fully recovered from Kilkenny by now.
You mention in trac that you’re not getting much technical detail about each install; as it happens, this problem has cropped up on a BP install on my purely-experimental, not-at-all-production, mucking-about server, you would be very welcome to ssh in as root or login to WHM – EasyApache makes it pretty easy to see what is and is not installed.
I also have that new ServerBuddy server analysis plugin installed, lists various settings and permissions in a pleasing enough manner.
The site where this crops up for me is:
… and, just to be clear, it isn’t a problem for me, this install will be getting wiped anyway, I just thought it might be an interesting and accessible example of the problem in the wild.
So, what’s happening is that the image URLs are missing the “wp-content/” part:
Images are appearing in pages as, for instance,
http://polishplumber.com/uploads/avatars/6/81ed298a2a27464f895c2726bd433478-bpfull.jpg
… when, of course, they should be
http://polishplumber.com/wp-content/uploads/avatars/6/81ed298a2a27464f895c2726bd433478-bpfull.jpg
This is BP 1.2.3 on an MS WP 3.0b1, so, there is no Settings > Miscellaneous to attempt the Full URL path magic trick you suggested above but it is a pretty clean, recently installed CentOS + WHM box, standards settings, it might be useful in figuring out why the paths are getting mangled.
Again, this a purely experimental site and server, I didn’t actually expect to get BP working properly on a beta WP anyway, don’t worry about breaking anything, just let me know if you think it might be useful and want me to send you the passwords.
April 13, 2010 at 1:02 pm #73294In reply to: Avatar Upload Issues
bullitmagnet
MemberI have been having a few problems with the avatars, the only ones that wants to work are the gravatars, which are fine but i want to offer my users something more, there are two questions that i would like to ask. The first is how do i get them to show? i have tried other peoples suggestions but nothing works, i do have GD Lib on the server, as i have used it for other projects so i know that isn’t a problem, what happens is i goto the change avatar part of my profile and try to upload it does upload to /wp-content/uploads/avatars/1 however the crop part dosent show any image at all, and other users have told me that this is happening as well. have you any ideas on how to fix this problem?
Also on a slightly less important note, i would like to change the default avatars that users can select, to fit in more with the theme of my site, is there a way to do this? I have a few created that i would like to use for members to choose from IF i can get this to work.
April 12, 2010 at 10:02 pm #73194In reply to: Image cropping
roosterling
Member—update—
When i upload a image with the dimensions 50 x 50 px it works fine. So the image scaler doesn’t work?
April 12, 2010 at 1:37 pm #72968In reply to: Image cropping
roosterling
MemberPlease take a test on autoedizione.nl
April 12, 2010 at 1:37 pm #73068In reply to: Image cropping
roosterling
MemberPlease take a test on autoedizione.nl
April 12, 2010 at 1:28 pm #72965In reply to: Image cropping
Xevo
ParticipantIsn’t that exactly what’s supposed to happen?
When you zoom out the cropper (taking the picture as a whole) it has to put all those pixels in the tiny image. Which results in a blurry avatar.
April 12, 2010 at 1:28 pm #73065In reply to: Image cropping
Xevo
ParticipantIsn’t that exactly what’s supposed to happen?
When you zoom out the cropper (taking the picture as a whole) it has to put all those pixels in the tiny image. Which results in a blurry avatar.
April 12, 2010 at 10:44 am #72831In reply to: bad avatar urls in new instal
okso
ParticipantI have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg
http://domain.tld/uploads/group-avatars/3/okso_big2.jpg
If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library
Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?
Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url
April 12, 2010 at 10:44 am #72931In reply to: bad avatar urls in new instal
okso
ParticipantI have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg
http://domain.tld/uploads/group-avatars/3/okso_big2.jpg
If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library
Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?
Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url
April 12, 2010 at 10:43 am #72830In reply to: Avatar Upload Issues
okso
ParticipantI have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg
http://domain.tld/uploads/group-avatars/3/okso_big2.jpg
If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library
Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?
Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url
April 12, 2010 at 10:43 am #72930In reply to: Avatar Upload Issues
okso
ParticipantI have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg
http://domain.tld/uploads/group-avatars/3/okso_big2.jpg
If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library
Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?
Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url
April 10, 2010 at 2:30 am #72628Diesel Laws
Participant1. To be honest, I am not sure how I could have done that if I did. I am pretty sure I installed it all normally then created a new blog (as the main blog for latest updates etc) but the main website should still be on blog 1. EDIT: Just checked and my main website blog is installed on ID 1.
2. Yes, in that folder it is cropping correctly, and the above Screenshots have been uploaded to the website and they too have been cropped in the /wp-content/blogs.dir/1/files directory.
Unfortunately it looks like we are back to square one! Thanks for the ongoing help mercime. Did you want a chance to dig around my ftp?
April 9, 2010 at 6:46 pm #72574In reply to: new version of BuddyPress Rate Forum Posts
snark
ParticipantThanks @dweanus, that solved the problem. However, I just noticed a new one crop up: In the Forum topics list view, a topic’s rating number is not showing up in the Ratings column on any of the sub-pages, only on the first page. You can see at Wordlab — http://www.wordlab.com/forums/ — you might see a couple topics on the first page with ratings listed in the Ratings column, but if you click on the subsequent pages, you won’t see any, even though some topics have been rated.
April 9, 2010 at 4:35 pm #72556@mercime
ParticipantThese things come to mind
1. Did you move BP installation from blog_id_1 to blog_id_2 during development or was your BP installed in blog_id_2 at the onset? I came across some cases like that while browsing online. Will have to search for those … just scanned over the info because those issues were not relevant to my installs, but what I recall is moving some folders in server and some DB manipulations.
2. GD Library – when you upload images in posts/pages, does your install generate the 150px x 150px and 300px x 300px etc?
Check if wp-content/blogs.dir/1/files/2009/12/ has original-image.jpg, original-image-150×150.jpg, original-image-300×300.jpg … because if it’s not generating thumbnails in regular media upload in posts/pages, then that might be the reason why it’s not cropping in your install and you might want to contact your hosting about GD library
April 9, 2010 at 12:22 pm #72524Diesel Laws
ParticipantThis may have something to do with it?
My uploads for the avatars are automatically going into
/wp-content/uploads/avatars (and then the number for the user)
all my other photos uploaded to the blogs go into
wp-content/blogs.dir/1/files
April 9, 2010 at 12:17 pm #72522Diesel Laws
ParticipantThe avatar folders are there and the main picture I upload is being saved in there, but it is not creating different sizes. On the page itself it is showing at this point SCREENSHOT- http://freelancerunplugged.com/files/crop-problems.jpg
So for some reason, the whole cropping function is not even working. And I have tried it by disabling all the plugins except for buddypress and it still does the same thing.
This morning I Automatically upgraded to the latest wordpress and latest Buddypress using the auto update buttons. I don’t really want to re-upload the whole thing again due to the time it takes and also (as it was just upgraded this morning) I do not believe it will change the current outcome. Unless you disagree then I will do it all again.
The main blog folder (which is number 2) is now 777 and re-uploading a new picture did the same thing. Picture shows up in the FTP area, but no crops and the page shows the SCREENSHOT again – http://freelancerunplugged.com/files/crop-problems.jpg
Apart from the glitch with the avatar not showing up to crop, I feel this is an issue that a lot of other people are facing but instead of fixing it they delete/ reinstall everything. And Im not really able to do that as the website has a few hundred poeple on it.
April 9, 2010 at 9:22 am #72508@mercime
Participant@Diesel Laws, you’re right. There is no Miscellaneous settings in WPMU because avatar uploads go to
e.g. BP in main blog_id_1
wp-content/blogs.dir/1/files/avatars/ plus folders for user 1/ 2/ 3/ etc. and
wp-content/blogs.dir/1/files/group-avatars/ plus folders for group 1/ 2/ 3/ etc.
Can you see if your avatars and group-avatars folders were created in the /files/ folder?
If they have been created, can you see the images uploaded as avatars in the 1/ 2/ 3/ etc folders inside avatars and group-avatars folders?
If not, you might want to check folder permissions in your server, if 755 does not work then try 777 at /files/ folder. If that still doesn’t work, CHMOD 777 the /1/ folder
In addition to the thread https://buddypress.org/forums/topic/avatar-upload-issues ,
you could also deactivate all plugins and change to default theme, then re-upload BuddyPress via FTP or cpanel. Then activate BuddyPress plugin and bp-default theme and see if uploading avatar works.
April 9, 2010 at 8:30 am #72503Diesel Laws
ParticipantAs I stated in my first post I dont’t have Miscellaneous settings on WPMU!
Also, please note that I do not have access to MISCELLANEOUS in the Settings area due to using WPMU.
Just to clarify visually:
April 9, 2010 at 8:06 am #72501Gianfranco
ParticipantGo to 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.

Then change “bp-core-avatars.php” line 389:
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;It fixes the problem.
Source: https://buddypress.org/forums/topic/avatar-upload-issues/page/2
This is really something that need be fixed with the next release.
April 9, 2010 at 7:48 am #72496In reply to: new version of BuddyPress Rate Forum Posts
snark
Participant@dweanus — I have noticed an error that has cropped up using Rate Forum Posts: a user’s karma display gets stuck at some arbitrary number and stops incrementing. However, when you click on “Groups” tab sub-menu in the user profile — /members/username/groups/ — and only that page, the correct karma value is displayed. You can see it in action on wordlab.com, where my (“snark”) karma value is stuck at 18p — http://www.wordlab.com/members/snark/activity/ — except on the Groups sub-page, where it shows the correct value of 157p — http://www.wordlab.com/members/snark/groups/. I tried deactivating and re-activating the plugin, but the problem persisted.
April 9, 2010 at 6:36 am #72489Diesel Laws
ParticipantI have just deactivated all plugins, reset to default theme and tried again. Same issue as the screenshot.
What should I have in my rewrite file?
April 9, 2010 at 5:11 am #72483modemlooper
ModeratorHave you tried using the default theme? I notice to you have a ton of javascript files being loaded. Conflict?
April 8, 2010 at 11:47 am #72341In reply to: Skeleton Key: Login as any user plugin
Mike Pratt
Participant@xezo that is correct. I thought he was talking about access to all profile fields for edit/delete, for which you do have access via the extra Admin bar menus created by BP for admins. Those are the ones I use all the time (fixing avatar crop screw ups, as an example)
So, from that perspective, the only use for Skeleton Key would be for additional stuff introduced by less that robust plugins, no?
-
AuthorSearch Results