Jump to content

How to make profile fields visible in topics only for admin?

Featured Replies

Posted

Hi,
what can I do to show one profile field under users avatars on topic view which should be visible only for admins? Something like "internal customer rating", it can not be visible for any users. So I need something like this:

temp.png.2eb1ca8f32518cdc62265f5c80d1ef54.png

But visible for admin on topic view. Is there any option to do it via themes etc.?

Bes reagrds,
Damon

There is no built in option to do this - you can probably accomplish it just by editing your template bits though to add some permission checks while outputting the custom field data.

  • Author

@bfarber, it will be easier to show in topic view: profile fields visible only for AdminCP or to use normal profile fields and hide it for other users that admin?

22 hours ago, DamonT said:

Hi,
what can I do to show one profile field under users avatars on topic view which should be visible only for admins? Something like "internal customer rating", it can not be visible for any users. So I need something like this:

temp.png.2eb1ca8f32518cdc62265f5c80d1ef54.png

But visible for admin on topic view. Is there any option to do it via themes etc.?

Bes reagrds,
Damon

 

  • Author

@Adriano Faria, yes I know your plugin and I have it, but I don't know how to config it for such usage. I sent you private message with question about configuration but I didn't get any reply since September 😞

It's easy enough:

Screenshot.png.4e33d8871734831be9996a673

In the ALLOWED GROUPS, select groups who can fill the field.

In the VISIBLE TO, select groups who can view the field, in your case, Admins.

  • Author
2 minutes ago, Adriano Faria said:

In the ALLOWED GROUPS, select groups who can fill the field.

So in my case it shoulde be set to admin? I don't want to give users ability to edit this field.

Yes and if you don't want member to edit, then use the core permission MEMBER CAN EDIT VALUE?, two fields above mine.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.