Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 02:44 pm EST

Geeklog Forums

Upload User Photo for Admin Only


Status: offline

lestat

Forum User
Chatty
Registered: 11/15/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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/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
 Quote

All times are EST. The time is now 02:44 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