The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Additional field in profile
Is there a EASY hack or just simple coding to make a couple addtional fields for a users profile.
See my admins profile: Donna Administator I want to add another field under Adminstrator so members can put "Happy New Year", a real name, basically whatever they want. How would I do this? |
#2
|
|||
|
|||
AdminCP > User Profile Field > Add New User Profile Field
That will give you a code like "$field8", you would then have to edit one of the templates (postbit possibly) and add that field wherever you want it to show up. SVT |
#3
|
|||
|
|||
Okay, I found the field7 in post bit legacy, but how to I make it show up under the Primary user title as shown in my post.
Sorry, a newbie! |
#4
|
|||
|
|||
AdminCP > Styles & Temp > Style Manager > Edit Template > Postbit Templates > postbit ("postbit legancy" depending on which you are using)
If you want to post it under the user's name find Code:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> Code:
<if condition="$post['field7']">$post[field7]</if> SVT |
#5
|
|||
|
|||
This code is what my post pit legacy looks like <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['field7']">$post[field7]</if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> This is my post bit template <if condition="$post['usertitle']"><div class="smallfont">"$userinfo[field7]"$post[usertitle]</div></if> <if condition="$post['field7']">$post[field7]</if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> $template_hook[postbit_userinfo_left] One of them is wrong. What did I do? --------------- Added [DATE]1199112640[/DATE] at [TIME]1199112640[/TIME] --------------- I know what I did wrong. Thank you very much!!!! |
#6
|
|||
|
|||
Glad it worked out for you.
SVT |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|