- 
	
	andrew__k posted on the forum topic Unable to upload in the group BuddyPress Media: 14 years, 8 months ago @TheArtofBalance Add this line to the beginning of the function… print_r($file);…to print the actual structure of the array you’re getting. That’s how I saw the structure wasn’t what the code assumed it was. Either you’re getting a known structure, and it has the right content (filename with accepted extension), or not. Unless there’s yet a […]
- 
	
	andrew__k posted on the forum topic Unable to upload in the group BuddyPress Media: 14 years, 8 months ago @TheArtofBalance I realize now that you may have interpreted my code as a replacement for the entire file. I’ve added the following warning to my original post: THIS IS A FRAGMENT OF THE FILE, meant to replace the broken implementation of the ‘bp_core_check_avatar_type’ function ONLY. Don’t replace the whole file with this! 
- 
	
	andrew__k posted on the forum topic Unable to upload in the group BuddyPress Media: 14 years, 8 months ago @TheArtofBalance It seems like part of your post is missing/truncated? All I see is a function name, file path, and line number, no actual error message. @foxly I don’t like it either, but I have a customer who wants the site to be functional yesterday, and there are no plugin hooks that I’m aware of for changing […] 
- 
	
	andrew__k posted on the forum topic Unable to upload in the group BuddyPress Media: 14 years, 8 months ago Yes, I just uploaded a new group avatar, with that code, here: http://bikeweekradio.com/forums 
- 
	
	andrew__k posted on the forum topic Unable to upload in the group BuddyPress Media: 14 years, 8 months ago Sorry, I’m not very familiar with Twitter, I was confused by the fact that the content wasn’t about WordPress/BuddyPress. I thought it was tweets from random users, I was wrong. @foxly Thanks for the explanation, the problem stated in the OP is the only one I’ve seen (I have no multisite projects). I assumed it would […] 
- 
	
	andrew__k posted on the forum topic Unable to upload in the group BuddyPress Media: 14 years, 8 months ago That link works, but requires a Twitter account. Don’t have one, not interested right now. In any case, I just thought I’d submit my fix, and I don’t know of any better place to do it. It’s a very critical bug and the fix is simple, unless I’m missing something here. 
- 
	
	andrew__k posted on the forum topic Unable to upload in the group BuddyPress Media: 14 years, 8 months ago @foxly Are you guys having trouble coming up with a fix, or is it just a workflow/deployment/release issue? I have the latest versions of WordPress and BuddyPress on a live site, and this fixes it for me. THIS IS A FRAGMENT OF THE FILE, meant to replace the broken implementation of the ‘bp_core_check_avatar_type’ function ONLY. Don’t […] 
- 
	
	andrew__k joined the group BuddyPress Media 14 years, 8 months ago 
	@andrew_k-1
	Not recently active