EvilLS1 |
04-17-2003 10:00 PM |
[mini-hack] Hidden profile fields viewable by admins & mods IN profile.
I decided to add a couple of custom profile fields that I'd like to keep hidden from regular members.
When adding a new field in the admin control panel it says:
Quote:
Field hidden on Profile? - Field only viewable by admins and mods
|
But I've found that it doesn't work as expected. The hidden field still can't be viewed by admins & mods when they click on someones profile.. To view the field you have to click on user options and then login to the control panel, which is more trouble than its worth IMO.
This mini-hack will fix that. It will allow admins, mods and supermods to view the hidden fields IN the profile. The fields will remain hidden for regular users.
Very simple hack (1 file edit).
|