View Full Version : view only user profile field
tasman
06-04-2002, 05:45 PM
I need a field in user profiles that to the user is view only.
in Edit User Profile Fields there is the option: Field Editable by the user? yes/no - but If no, user can not see the field.
I want the user to see it, but not be able to edit it. Entry into the field will be performed by site admin.
TIA
scsa20
06-04-2002, 08:18 PM
what you do is make the option for "Field Editable by the user?" to no then in the postbit, add $post[fieldid#] (where the pund (#) sign is, replace it with the field id)
hopes this works for you
tasman
06-04-2002, 10:26 PM
thanks for the speedy reply...
I've been searching and searching for the postbit - I see templates with that name but not one for user profile. Can you tell me which one I need to change.
thanks again
Chris M
06-05-2002, 01:45 AM
No no...
The posbit template is the template that shapes and constructs a post...
Erm...Not quite sure what you would do...
Satan
scsa20
06-05-2002, 03:35 AM
oh, you want the getinfo template then
then make a custom feild and choose
editable? no
required? no
viewable? yes
tasman
06-05-2002, 09:40 AM
Each of the following is a Yes/No
Field required?
- Require field to be filled during registration.
- Does not apply if you select Yes to Hidden below
Field hidden on Profile?
- Field only viewable by admins and mods
- User will still be able to change it
Field Editable by the user?
- If no, field is only viewable by admins and mods
- If no, user cannot edit or view this field
There does not see to be any combination that will display a view only field in the user profiles.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.