View Full Version : User Fields
DirtyDan 16th November 2003, 06:41 PM How do you make a user field show up under the users location? We made a custom user field and we want to display it under the user's avatar in their posts. Any help with this would be greatly appreciated.
Dan
Daniel C 16th November 2003, 06:56 PM If I remember correctly it is $user[field#] replace the # with the id for that field..... but I'm not 100% sure on this.
DirtyDan 16th November 2003, 07:05 PM I really new to Vbulletin , sorry to be a pain but where is that code located?
Daniel C 16th November 2003, 07:24 PM postbit template
DirtyDan 16th November 2003, 08:11 PM Thanks I got it :D
Ryan65 16th November 2003, 09:05 PM If you have it..can you help me get it?
Floris 16th November 2003, 09:55 PM After having made a custom profile field, in the admin control panel check the fieldid it has.
then goto the style manager and from the group for postbits, goto the template postbit_userinfo and open it.
Anywhere where you want to put your custom profile field; type:
$post[field5]
Replace the number 5 with the profile field id that you had to remember earlier.
Ryan65 16th November 2003, 10:30 PM Ok. I got that working. How can i make it if they dont feel in the info in there profile it wont be displayed?
Floris 16th November 2003, 11:12 PM With a conditional I think.
<if condition="$post['field5']">Whatever: $post[field5] <Br /></if>
Daniel C 16th November 2003, 11:24 PM Floris just gave you the correct code for it :D only because he beat me to it :p
DirtyDan 16th November 2003, 11:28 PM I just came back on, you guys work fast around here :eek:
Floris 16th November 2003, 11:41 PM I just came back on, you guys work fast around here :eek:
I didn't sleep in the last 24 hours, I have to reply to everything I read. Not because I want to, but because I like to. :D *right*
Daniel C 17th November 2003, 12:15 AM LMAO... I try to post productivly around here.... and I also try to reply to EVERY thread like floris here does :D
*is helpful*
Floris 17th November 2003, 12:44 AM LMAO... I try to post productivly around here.... and I also try to reply to EVERY thread like floris here does :D
*is helpful*
Being helpful is more important then having the biggest postcount.
I am just glad we (community) can help you with your questions.
Ryan65 17th November 2003, 12:48 AM You help me out alot here. I have a good style comming along.
Floris 17th November 2003, 01:00 AM You help me out alot here. I have a good style comming along.
I am glad we can help you. Enjoy learning and show us your new style when you are done :)
Ryan65 17th November 2003, 01:08 AM I am glad we can help you. Enjoy learning and show us your new style when you are done :)
I do plan on it. I may enter in the postbit competition. Im currently using vB 2.3.2 and Im working on making it look just like vB 3.0.0
Floris 17th November 2003, 01:47 AM Great, can't wait to get your submission :)
Ryan65 17th November 2003, 01:48 AM More than likely I wont win..but Ill enter.
Floris 17th November 2003, 01:49 AM Who knows :) You just might, it never hurts to try though :)
Ryan65 17th November 2003, 01:51 AM True. Its not due untill Nov. 30 so Ill proabally enter it that day. That way I get to work on it longer..
Floris 18th November 2003, 02:45 PM True. Its not due untill Nov. 30 so Ill proabally enter it that day. That way I get to work on it longer..
Small advice, do it a day sooner - then I can give it more time to look at :)
|