Support Forum

Profile Photo Upload

CF Christian Fasy
Christian Fasy
Member

Hello. Is there a way for the profile photos to be uploaded by members instead of inserting a URL?Screen-Shot-2012-09-30-at-1.49.42-PM.png

36 Answers

New Answer

MP Mr Papa
Mr Papa
Member

yes, if you have the file uploader plugin for sp…  then enable in the options, to use the file uploader instead of url…

CF Christian Fasy
Christian Fasy
Member

Perfect! I’m going to use the profile photos as a kind of mini-gallery so student users can represent themselves as artists by uploading their own images.  Thank you.

CF Christian Fasy
Christian Fasy
Member

Whups. I spoke too soon. As the Admin, I should be able to add images to members’ profiles, shouldn’t I? I added them, and pushed the update button. It added the image to the profile in the editing page, but the image doesn’t show up on the member’s profile. I even signed in as that user, and couldn’t get it to work. However, on my own account profile, it worked just fine.

MP Mr Papa
Mr Papa
Member

well, must admit, never tested it as admin modifying other users profile… yes, that is possible in the standard sp profile to be an admin and modify a user profile… but dont think that was ever thought of in the file uploader plugin… will have to open a ticket to research this further…

MP Mr Papa
Mr Papa
Member

ticket opened… and confirmed the issue…  going to take some special refactoring of the plugin since it originally assumed was always the current user…  forgot about admins on the profile…

CF Christian Fasy
Christian Fasy
Member

So does the plug-in use the machine id to establish the identity of the user? Shouldn’t I be able to sign in as the user whose profile I want to edit, and make changes? 

BR Brandon
Brandon
Member

You should be able to sign in and add as that user. Does he have permission to upload images?

MP Mr Papa
Mr Papa
Member

Machine ID?

Like most wp plugins, it uses the wp user id of the currently logged in user. I just need to update the plugin in this case to use the user id of the profile user.

Not hard, but ripples through bunch of the plugin

CF Christian Fasy
Christian Fasy
Member

Oh. I wondered how it identified a user who hadn’t logged in yet. Because when you arrive on the page, it says ‘hi’ with your username.

BR Brandon
Brandon
Member

Christian Fasy said
Oh. I wondered how it identified a user who hadn’t logged in yet. Because when you arrive on the page, it says ‘hi’ with your username.

The forum uses cookies to identify returning members who have not logged in.

MP Mr Papa
Mr Papa
Member

That is via a cookie. You can turn that off on forum – options – member options if you want.