Search Results for 'crop'
-
AuthorSearch Results
-
September 20, 2011 at 1:04 am #120311
In reply to: Avatar Crop Tool Only Shows A Portion Of Avatar
dandanthedan
Member@thelandman hey! thanks for making me realize i had 2 jquerys called in the header..i just deleted the other jquery call and the avatar crop problem is now fixed!
September 7, 2011 at 7:30 am #119693In reply to: Header Background Image
tommyhoang
Member@r-a-y, when you say (YOUR IMAGE URL HERE) do you mean just paste a link to the picture we want? How would i change these codes so that I can simply upload a new header image in dashboard and crop it to a certain size?
i’ve used this tutorial http://buddydress.com/2010/04/custom-header-tutorial-adding-an-image-and-changing-the-size/
but it gets all messed up when i edit my child theme’s default.cssAugust 29, 2011 at 9:39 am #119198In reply to: Avatar Upload Problem During Registration
mattcav
MemberEhi @rbbp22, thank you so much for your work on this.
Well, I’ve tried your solution, but the only thing I get is view the avatar changed after the cropping process (on the registration).
When my user is going to load his profile after the login, the avatar will not displayed (there’ll be the default one).
Seems something wrong in the ‘save’ process.
August 7, 2011 at 9:17 pm #117928In reply to: Avatar Upload Problem During Registration
rbbp22
MemberHi folks
I think I may have found a solution, at least to how I was experiencing it.
I am using wp 3.2.1. and BP 1.2.9 with a bp-default child theme
FIRST the default gravatar image was not showing at all in firefox. I don’t use gravatars on my site and filter them out all together. I applied a filter to
bp_get_signup_avatar
to replace the gravatar.com image with a link to mysteryman directly on my site.SECOND
I think the function
bp_get_signup_avatar_dir_value() in bp-core-templatetags.php
has a bug.
The last line applies the filter.
Code:return apply_filters( ‘bp_get_signup_avatar_dir_value’, $bp->signup->avatar_dir );However, when the user signups up or uploads an avatar $bp->signup->avatar_dir seems to be empty.
There are a few if then else statements that work with $signup_avatar_dir so this seems to be the relevant value to pass along. I changed the last line in the function code to
Code:return apply_filters( ‘bp_get_signup_avatar_dir_value’, $signup_avatar_dir );THIRD
I found that register.php in the theme is lacking a hidden field for the signup avatar directory
The relevant section is: (REF section A)
Code:<h4><?php _e( ‘Your Current Avatar’, ‘buddypress’ ) ?></h4>
<p><?php _e( "We’ve fetched an avatar for your new account. If you’d like to change this, why not upload a new one?", ‘buddypress’ ) ?></p><div id="signup-avatar">
<?php bp_signup_avatar() ?>
</div><p>
<input type="file" name="file" id="file" />
<input type="submit" name="upload" id="upload" value="<?php _e( ‘Upload Image’, ‘buddypress’ ) ?>" />
<input type="hidden" name="action" id="action" value="bp_avatar_upload" />
<input type="hidden" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
<input type="hidden" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
</p><?php wp_nonce_field( ‘bp_avatar_upload’ ) ?>
You’ll notice that the section just below this that handles what the user sees when cropping has an additional hidden field.
Code:<input type="hidden" name="signup_avatar_dir" id="signup_avatar_dir" value="<?php bp_signup_avatar_dir_value() ?>" />I inserted this in the (Section A) that the user sees before and after cropping
August 4, 2011 at 6:46 pm #117693enderandrew
MemberThe theme I’m using had Nivo baked in, and it was interfering with other jquery functions as well. I ripped all references to Nivo out of my theme, and also removed the redundant call to load jquery, especially given it was loading jquery-1.6.2 while WP was loading 1.6.1.
August 4, 2011 at 6:41 pm #117690Paul Wong-Gibbs
KeymasterCool — well done for getting the crop working!
August 4, 2011 at 2:08 pm #117657i_banks
Member…fyi…I do have to remaining issues with BP that I will address later…one is `users can’t log out in Internet Explorer..it’s throwing an error`…and the other is `when you send a personal message to a friend, there’s suppose to be a dropdown of friend avatar’s and that’s throwing an error as well`…
those are my two only other issues…
August 4, 2011 at 2:03 pm #117656i_banks
Member…it was something called “Nivo Slider”…it was for the homepage…I didn’t like it anyway…so I’ll just get another plugin…
thanks a lot everyone…and to you Paul…
August 4, 2011 at 2:01 pm #117654i_banks
MemberSOLVED!
…It was a plugin who’s jQuery code was interfering with the crop’s jQuery…
thanks a lot!!!
August 4, 2011 at 2:01 pm #117653Paul Wong-Gibbs
KeymasterYeah. On the cropper page, it should be loading a jcrop javascript file. Does your theme have both wp_head and wp_footer actions?
August 4, 2011 at 1:52 pm #117651i_banks
Memberalright…
the error message that I’m getting when I check the “error console” is:
`jQuery(“#avatar-to-crop).Jcrop is not a function
http://sociallyaffluent.com/sexyafter30/members/jsmitty/profile/change-avatar/
line: 98`
and it stops there..so whatever this error is it looks like it may be the culprit..
August 4, 2011 at 5:59 am #117631i_banks
Member@ Paul Gibbs
I’m going to do this tomorrow morning (…it’s 1:56am in Atlanta)….thanks for your assistance and I’ll keep you updated…
@ mercime
…thanks as well…I need and conserted effort to resolve this…I’ve come to far and I’m almost done..
August 4, 2011 at 5:54 am #117629i_banks
Memberthanks…this is a fake username and password…
username: jsmitty
password: WinISayonce you login, you’ll see the navigation options in the top right bar underneath the header..”my profile”, “my friends”…etc..
August 4, 2011 at 5:50 am #117626Paul Wong-Gibbs
Keymaster> The image appears in the crop screen, but I don’t get the crop tool. So the image that’s uploaded is the “upper left corner” of the image.
Check your web browser javascript error logs after you do this. Any messages? If not, check your web browser’s logs, too.
August 4, 2011 at 2:59 am #117619@mercime
Participant== Click on “register”…fill out some random information and you’ll see ==
Uh, not many would register. Give a username and password and we can check uploading image using the U/P you provided.August 4, 2011 at 1:55 am #117616i_banks
Memberdoes anyone else have any thoughts on how I can fix this cropping issue?
August 3, 2011 at 9:26 pm #117597In reply to: BuddyPress Compatibility Help
tomcos
Memberoh and uhhh…yea the most annoying issue is my avatars are really small and the cropbox is not fully on the image lol…just a thought
August 3, 2011 at 1:12 pm #117505i_banks
Memberfyi…I think there is something wrong with this forum…the “edit” button doesn’t work and when I try to view other pages, the screen goes blank…
just wanted you to know that…
August 3, 2011 at 1:06 pm #117503i_banks
MemberHere is the link: http://sociallyaffluent.com/sexyafter30
Click on “register”…fill out some random information and you’ll see..(just to give you a visual).
The image uploads and there isn’t anything wrong with the server variables. The only thing that happens is that the “crop screen” doesn’t appear. The image appears in the crop screen, but I don’t get the crop tool. So the image that’s uploaded is the “upper left corner” of the image.
August 3, 2011 at 12:10 pm #117500Paul Wong-Gibbs
KeymasterDoes it upload the image? Does it store it as a temporary file on the server (dump $_FILES)? Do you get to the crop screen? Does the image appear on the crop screen? Does the cropper selection box work / does the preview work?
August 2, 2011 at 12:39 am #117371In reply to: Cropping error, Upload work, but cropping is fail.
@mercime
ParticipantWP/BP versions? Theme used? Is the image you’re uploading smaller than 150px x 150px? Do you have GD library installed in your server?
July 29, 2011 at 11:18 pm #117182In reply to: Can’t Crop Avatar
Tammie Lister
ModeratorHmm guess it may be time then for you to do the old “remove plugins turn one by one on”. I know it can be a pain but that may be required.
July 29, 2011 at 5:54 pm #117168In reply to: Can’t Crop Avatar
junger
Participant@karamtosed
Yeah, I thought that might be the issue, but I tried the new default theme and it didn’t work.
No issues with media uploading.
Could be a plugin, though I think I’ve tested everything that involves JS.
July 26, 2011 at 7:49 pm #116963In reply to: Can’t Crop Avatar
Tammie Lister
ModeratorI don’t get any cropping issues so my first thoughts would be you say you have a version of the default theme from an older BuddyPress install. Can you try the newer version that came with 1.2.9 please? Also do you have any issues with other media uploading say through the media uploader?
July 25, 2011 at 5:56 pm #116898In reply to: Avatar Uploads with incorrect permission level…
webeditor
MemberHey Paul–I just now noticed also that the image that gets uploaded is always incorrectly cropped as well. It seems to be automatically cropping to the bottom right section of all photos (large and small)… Very strange as it was not doing this for months before! Is anyone out there experiencing these same troubles with the avatar uploads? I’ve been experimenting with all the other ways to upload images (through the media uploader, from within posts, as well as using the BP Album+ plugin) and all of them work perfectly. It’s seemingly isolated to the buddypress avatar uploads. Thanks in advance for any advice anyone could give me!
-
AuthorSearch Results