View Full Version : Add required user profile fields only viewable by admins
I would like to add three required user profile fields and have them only viewable by admins. (vB version 2.2.3.)
I would also like the three additional required fields to be displayed directly below the username field on the registration form.
I would really appreciate any help anyone can give me. I am a neophyte. Thanks.
scsa20
05-18-2002, 04:36 AM
I don't know what vB 2.2.3 is like but it's probly the same as 2.2.5...anyways, go to User Profile Fields and click Add. Fill it out and when you get to Field required?, check Yes and that field well be required, now to hide it, look for Field hidden on Profile? (should be right below the field required one) and click Yes (that'll hide it on the profile ;)). to add something from the field, you have to find out the field id is then go into your postbit template and add $post[field#] (remember to replace # with the field ID Number (which can be found when you put your mouse over the edit button for editing the field, look at the status bar and you should see something like fieldid=# ;)) ;)) hope this helps ;)
tubedogg
05-18-2002, 04:49 AM
Actually go to User Profile Fields, but the rest is correct.
scsa20
05-18-2002, 05:36 AM
oh, your right, probley copyed the wrong one :rolleyes:
Thanks for your help. :) I?ve got it right up to adding $post[profilefield=#] in the postbit template. Where do I add it on the template?
Chris M
05-18-2002, 07:47 PM
Wherever you want it to appear!
Satan
scsa20
05-18-2002, 08:25 PM
Originally posted by Wow
Thanks for your help. :) I?ve got it right up to adding $post[profilefield=#] in the postbit template. Where do I add it on the template?
lol, it's not $post[profilefield=#] it's $post[field#] ;)
Chris M
05-18-2002, 09:16 PM
Lol...
I thought I noticed that mistake...
Satan
$post[field#] Thanks. :)
I added the user profile field. Field required? Yes. Field hidden on profile? Yes. Field Editable by the user? No. But nothing appears on the registration form. How do I get the input field to show up on the registration form? I would like it to be a required input like username, password and email. I looked at the registeradult template but can?t figure it out.
I would like the input field to only be viewable on the registration form when the user registers. After that only admins can see the data with the cp.
yea.. u dont need to edit any template.. when someone registered they'll be forced too fill it in.. and in ur admin cp.. click users - find type there name and scroll down to the bottom too see what they got.. no need for a template edit
The input fields are not showing up on the registration form. Any ideas?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.