Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: FireDitto - toukokuu 13, 2014, 04:38:33 AP

Otsikko: Custom Profile Fields - Usergroup View/Edit permissions
Kirjoitti: FireDitto - toukokuu 13, 2014, 04:38:33 AP
Hi, So...

What I would like to be able to do, is determine what Membergroups are given access to each Custom Profile Field. Eg;

Membergroup A has options:
Favourite Month
Favourite Colour
Last book read:

Membergroup B has options:
Favourite Colour
Last book read
Last movie watched

Ideally; in the Custom Profile Field creation it would have the:
Display Settings - as is
Input Settings - as is
Advanced Settings - as is
Usergroup Settings
  Allow Edit: - this one would allow you to select which membergroups the option applies to for editing.
  Allow View: - this one would be who can see the option in the profile/board/etc.




Has someone the means/time to do this, or something similar?
Otsikko: Re: Custom Profile Fields - Usergroup View/Edit permissions
Kirjoitti: Arantor - toukokuu 13, 2014, 08:45:15 AP
It is a huge amount of work to actually get right.
Otsikko: Re: Custom Profile Fields - Usergroup View/Edit permissions
Kirjoitti: FireDitto - kesäkuu 13, 2014, 09:22:07 IP
Well, I didn't think it would be easy.
Otsikko: Re: Custom Profile Fields - Usergroup View/Edit permissions
Kirjoitti: Arantor - kesäkuu 13, 2014, 09:36:57 IP
It's borderline a rewrite of the system.