Welcome to Geeklog Saturday, January 18 2020 @ 07:12 am EST

Geeklog Forums

Upload User Photo for Admin Only

Status: offline


Forum User
Registered: 15/11/03
Posts: 64

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


Site 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 EST. The time is now 07:12 am.

  • 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