Hello everyone, i hope this is simple and not a waste of your time. Currently, it is not possible to allow a certain user group, like global moderators, to manage the content of users' custom profile fields. There is an option for admins to do it. What i would like, is to allow my global mods to go to a persons profile and click on or off a checkbox custom field i have on my forum. Is there ANY way to rig this in the forum code? I know a little PHP, enough to implement changes like this for my forum, but not enough to know where/what to do on my own. Any and all help is very much appreciated!
Unless your using a Mod for profiles, there is a permission setting you can set to allow for editing other members forum profile. That permissions is under Moderate the Entire Forum > edit other people's profile options. Not sure if a Mod for profile's would affect that permission or not.
That's correct, but it DOES NOT allow you to edit custom profile fields (not using a mod, no). The only way you can set up custom profiles is to be editable by the account owner, or a full admin. Even a global moderator with the permission set to edit a user's profile CANNOT edit a custom profile field. This is, of course, what i want to remedy.
Maybe, anyone? :-\
I just tried on a test forum and it works...
I gave the moderator the permission "Edit additional profile settings" => "own" and "any" and I was able to edit custom profile fields of anyone else.
That's damned odd, because that permission is checked for my global mods and they most definately CAN NOT edit custom profile fields. Only true administrators (or anyone with the permission Administrate forum and database) can do it. How is your custom field set up? This has to be a field that IS NOT editable by the member, but IS editable by global mods. Meaning it can ONLY be edited by Mods/Admins, but is viewable by everyone.
Oh...yups...I think I was using the wrong user at the time...sorry for the confusion.
Not sure about the consequences, but you can link that option to the profile_extra_any permission (that IMHO it would make much more sense...) doing a couple of changes.
if (!allowedTo('admin_forum') && $area != 'register')
if (!allowedTo('profile_extra_any') && $area != 'register')
then in Profile-Modify.php:
if ($row['private'] != 0 && !allowedTo('admin_forum') && ($memID != $user_info['id'] || $row['private'] != 2) && ($area != 'register' || $row['show_reg'] == 0))
if ($row['private'] != 0 && !allowedTo('profile_extra_any') && ($memID != $user_info['id'] || $row['private'] != 2) && ($area != 'register' || $row['show_reg'] == 0))