Page 1 of 1

User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 10th, 2011, 12:56 pm
by OutThisLife
Hey,

I've been trying to find a solution for this. I'd like to add the ability to upload a user photo on the registration page and the edit-profile page. I'm currently posting the forms onto wp pages themselves via shortcode.

How can I do this? I read a bit about the user photo plugin, but that didn't do anything. :roll:

Thank you,
Talasan Nicholson

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 10th, 2011, 10:21 pm
by Cristián Lávaque
You may find something for that here https://wordpress.org/extend/plugins/se ... p?q=avatar

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 10th, 2011, 10:29 pm
by OutThisLife
I've tried the plugin "user photo" to no avail. Not sure how s2member would call those?

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 11th, 2011, 10:50 am
by OutThisLife
Anything?

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 11th, 2011, 2:09 pm
by Cristián Lávaque
Cristián Lávaque wrote:You may find something for that here https://wordpress.org/extend/plugins/se ... p?q=avatar

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 11th, 2011, 3:48 pm
by OutThisLife
Cristián Lávaque wrote:
Cristián Lávaque wrote:You may find something for that here https://wordpress.org/extend/plugins/se ... p?q=avatar


Okay. I have gone through and tried to use these, but they don't work when utilizing the shortcode that s2 provides. I have a page for: edit profile, registration, login, etc -- I need the upload form to show on both the edit profile page and the registration page. I can't show the backend.

Any solutions?

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 12th, 2011, 5:10 pm
by OutThisLife
Bump.

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 13th, 2011, 2:28 am
by Cristián Lávaque
Look in this file /wp-content/plugins/s2member/includes/classes/profile-in.inc.php. There are a few hooks you could try using to edit the template.

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 13th, 2011, 1:58 pm
by Jason Caldwell
Thanks for bringing this thread to my attention.

Sorry, no. This is not currently supported by s2Member or s2Member Pro, not as of version 110710 anyway. We do have plans to add this feature in a future release, but until then, you will need to add custom code of your own into the source code for s2Member, or using a Hook/Filter provided by s2Member, or possibly with the use of another plugin that can work together with s2Member.

At this time, I'm not aware of another plugin that provides a feature that integrates specifically with s2Member in the way you're describing. However, WordPress itself does provide this Template Tag in support of Gravatars: http://codex.wordpress.org/Function_Ref ... get_avatar

Reference site:
http://en.gravatar.com/

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: July 13th, 2011, 2:08 pm
by OutThisLife
Thanks. I've added code to read the type="file" call to one of the hooks, and simply handled the file upload on post on my end. The only problem I'm having now is how to pass it through registration, but I'm sure I'll figure it out!

Thank you again.

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: August 2nd, 2011, 2:44 am
by jeansuhas
Hi,

I am trying to integrate gravatar file upload during registration and during profile modification (front end).

Have you find any solutions guys?

Regards

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: August 26th, 2011, 2:00 pm
by skinnytires
Has anyone tried this (or similar) plugin which has a sidecolumn widget that you could put on the side column of the s2member-created profile (or any page) -- and bypass the need to do any s2member integration?
http://wordpress.org/extend/plugins/add-local-avatar/

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: August 26th, 2011, 2:23 pm
by skinnytires
Actually I just tried Simple Local Avatars and it added to the s2member front-facing site. The plugin says you can crop -- but I don't see that functionality... my image's proportions are distorted... but it's a step in the right direction...

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: September 3rd, 2011, 11:24 pm
by antseo
I would also like to see this feature built into s2member or pro version which I would buy. something that integrates with the s2member shortcode profile and displays next to each blog comment.

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: September 11th, 2011, 9:46 pm
by arthomas
skinnytires wrote:Actually I just tried Simple Local Avatars and it added to the s2member front-facing site. The plugin says you can crop -- but I don't see that functionality... my image's proportions are distorted... but it's a step in the right direction...


I Installed that plugin, but its not showing up in the front end login-welcome-page, Can you expand on how you did it, please?

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 26th, 2012, 3:39 pm
by aliferis
has this been resolved ?

I cannot find this feature (to create file uploads in member profiles)

I really need it for my membership site

happy to pay for pro of course - planning to anyway for the paypal pro

joe

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 26th, 2012, 3:51 pm
by antseo
yes, just go here... http://wordpress.org/extend/plugins/add-local-avatar/ and download it, then go to Peter Sterling's page and buy the sidebar widget for like $5. Then use the widget logic plugin to place that widget on the page that serves up the s2member profile page.

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 26th, 2012, 3:59 pm
by aliferis
thanks for that - looks pretty good work around but I want members to be able to add different file types (not just an image)

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 26th, 2012, 4:04 pm
by aliferis
docs
pdfs

would do

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 26th, 2012, 4:08 pm
by aliferis
can someone help me hack s2 ?

what if I use a Custom field plugin like ACF ?

Thats a brilliant plugin, in itself that provides shortcodes and template tags for custom fields

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 27th, 2012, 4:20 am
by aliferis
bump

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 27th, 2012, 12:40 pm
by antseo
Here is that url for that sidebar widget... http://www.sterling-adventures.co.uk/bl ... rs-plugin/

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 27th, 2012, 12:53 pm
by aliferis
thanks for that but it only solves my problem as far as images are concerned (and not in the way I need anyway) - I could use this for custom profile pic but still need a solution for user to upload files to their profile - so people browsing a users profile can download their files

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 27th, 2012, 1:07 pm
by antseo
Maybe using a combination of something like ...

http://wordpress.org/extend/plugins/members/
http://wordpress.org/extend/plugins/easy-ftp-upload/
http://wordpress.org/extend/plugins/widget-logic/

You may have to fiddle with the php a little to get it to work the way you want to.

Also, on that sidebar widget I mentioned above, you could adjust it the html and php code to accomplish what you need.

Re: User Photo on Registratoin &&/|| Edit Profile

PostPosted: January 27th, 2012, 1:21 pm
by aliferis
thanks for all that. I'll take a closer look. Not good at php but can hack bits up