Welcome, Guest. Please Login or Register.
November 25, 2024, 11:24:03 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Only admin can change user avatars « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Only admin can change user avatars  (Read 5123 times)
robichamp
Noobie
*
Posts: 1


I'm a llama!

Only admin can change user avatars
« on: February 25, 2004, 04:45:28 PM »
Reply with quote

hi

what code do i have to alter when i only want the admin to see (and change) the pics in the avatar list. a normal user should not be able to change it himself. the "i have my own pic" thing should also be away.

i dont know much about php.... the only thing i know so far is, it must be in profile.php and there at this "if ($allowpics)........" somewhere i have to add "if ($settings[7] == 'Administrator')", but i dont know where, all my tries failed :(

i hope someone can help me
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Only admin can change user avatars « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.058 seconds with 21 queries.