Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: comfort_eagle on December 21, 2009, 12:25:55 PM

Title: Custom Fields
Post by: comfort_eagle on December 21, 2009, 12:25:55 PM
This is on RC2 by the way....

If you give someone permissions to edit users Profile Options;  the ones designated viewable by users, editable by admin only;  do not show up for them.

I want my user members designated to be allowed to edit profiles... to be able to see these fields to edit them. 

How do I make a profile field that can't be edited by the user... but also isn't admin only?




I guess a clearer question would be... how do I add more privacy options to custom fields?
Title: Re: Custom Fields
Post by: Arantor on December 21, 2009, 03:15:17 PM
A major overhaul of the privacy system and permissions systems, ultimately, would be the required answer here.

First step would be adding a new permission, then modifying all the checks in all the areas this impacts (which is surprisingly numerous IIRC). It's not a quick job at all.
Title: Re: Custom Fields
Post by: comfort_eagle on December 21, 2009, 03:24:05 PM
sounds like fun... I guess I better get started.
Title: Re: Custom Fields
Post by: Arantor on December 21, 2009, 03:25:10 PM
Are you familiar with PHP and just want a little bit of guidance, or want someone to talk you through every change that needs to be made?