Skip Navigation

[Resolved] Image upload on user profile on the front end of a membership site

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Caridad 9 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#277393
Screenshot_1_22_15__1_02_AM.jpg

I am trying to: let members upload a profile photo from the front end of the site

I visited this URL: can't be viewed without login

I expected to see: when clicking the 'upload' button, i should get to choose an image

Instead, I got: nothing happens.

I've got a lot going on on this site. The other profile fields work fine, just not the image upload.

#277584

Are there any error messages in the Console tab?

Would you like to share access details? I have marked your next reply as private.

#278849

I have confirmed this problem on my local server and I'm looking into a solution.
I will get back to you shortly about this.

Regards
Caridad

#278851

You must have used a few lines of code to get the profile picture showing there.

I have tested with this little modification, in functions.php for your theme:

add_action('init', 'types_tml_fix');
function types_tml_fix() {
	if (!defined( 'WP_ADMIN' )) define( 'WP_ADMIN', true );
    require_once WPCF_EMBEDDED_ABSPATH . "/admin.php";
}

Regards
Caridad

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.