Conversation
This is required for current version of buddypress.
This is required for file upload to be successful as buddypress changed it from 'profile-form-data' to 'your-profile'
|
I'm afraid this change only applies in your case, because the id of the form when you use buddypress defaults is "profile-edit-form" so if in your case it's "your-profile", this is probably because the theme you are using have changed this. |
|
I believe that's not the case. Here's source code reference from buddypress version 2.0 and 2.1 |
|
Ummm, I understand now, you are editing profile using wordpress admin and I was editing using public pages... So this is why I don't see the same form. Well, it's not usual to do this, this is because nobody see this error until today...xD. Thanks! |
|
That's spot on. I never tried to upload from the public pages! Thanks for solving the issue so quickly. |
* Image and File upload was not working when editing extended profile inside wordpress admin. Thanks to sakibmoon! * #14 git-svn-id: http://plugins.svn.wordpress.org/buddypress-xprofile-custom-fields-type/trunk@1030095 b8457f37-d9ea-0310-8a92-e5e31aec5664
File and image upload doesn't work in current version. I found the reason for that is the form name. I have edited it from 'profile-form-edit' to 'your-profile'.
I am working in wordpress 3.9.1 with buddypress version 2.1.1 and version 2.0.4 of this plugin. Just by changing this my file and plugin upload worked flawlessly.
DIsclaimer: This is my first time working with Buddypress and Buddypress-xprofile-custom-fields-type. I submitted change which works for me and me only. I didn't test with previous versions or anything.