Welcome to Geeklog Sunday, August 25 2019 @ 08:54 pm EDT

Geeklog Forums

Upload User Photo for Admin Only


Status: offline

lestat

Forum User
Chatty
Registered: 15/11/03
Posts: 64
Hello,

I looked around for the correct template that allows users to upload their own photo...I'm sure its userphoto.thtml under the preferences folder. I wanted to add this function to the admin/user/edituser.thtml so only admins can have this functionality for each user.

I added that code to the edituser.thtml and it doesn't upload the photo. Am I using the wrong code?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
I'm afraid it's not that simple - you would also need all the PHP code that handles the photo upload (in usersettings.php).

bye, Dirk

All times are EDT. The time is now 08:54 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content