Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 May 2012, 20:49
flyrib flyrib is offline
 
Join Date: Sep 2009
Thumbs up How do I show a custom profile field

Hello, How do I get custom profile field to show up under the username when they post?

I've just added a new mandatory profile field that members have to fill in. But how can I make this field is always visible in posts, showing under their username?

thank you in advance
Reply With Quote
  #2  
Old 06 May 2012, 20:58
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
There's an article on how to do this: http://www.vbulletin.org/forum/showthread.php?t=250418 . (It's a vb4 article but I believe it will still work if you use vb3 template syntax).

The short answer is that if your profile field is text or single selection (menu or radio button), then you just need to put $post[fieldX] in your postbit or postbit_legacy template.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread.
Reply With Quote
  #3  
Old 06 May 2012, 23:15
JacquiiDesigns's Avatar
JacquiiDesigns JacquiiDesigns is offline
 
Join Date: Dec 2008
Location: In a cloud of smoke...
Real name: Jacquii Cooke
Hmmm - I don't think vB 4.x syntax will work with vB 3.x
The following code may be of help though:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

where "X" is the number of your new custom field.

HTH

J.
__________________
Call For Submissions. Come share your poetry & writing at JPiC Forum.
JPiC Forum For Writers | Celebrating Diversity With The Typed Word

Last edited by JacquiiDesigns : 06 May 2012 at 23:16. Reason: edited mistake... code should be correct now...
Reply With Quote
  #4  
Old 06 May 2012, 23:43
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by JacquiiDesigns View Post
Hmmm - I don't think vB 4.x syntax will work with vB 3.x
You're right, that's why I mentioned that you'd need to use vb3 template syntax. I wanted to point out the article anyway because if you want to use a multiple selection profile field it gets a little more complicated.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread.
Reply With Quote
  #5  
Old 07 May 2012, 05:40
flyrib flyrib is offline
 
Join Date: Sep 2009
thank you for your answers, should be a lot of people that have done this with their forums right? Will try this code during the day.
Reply With Quote
  #6  
Old 07 May 2012, 05:45
JacquiiDesigns's Avatar
JacquiiDesigns JacquiiDesigns is offline
 
Join Date: Dec 2008
Location: In a cloud of smoke...
Real name: Jacquii Cooke
Originally Posted by kh99 View Post
You're right, that's why I mentioned that you'd need to use vb3 template syntax. I wanted to point out the article anyway because if you want to use a multiple selection profile field it gets a little more complicated.
Ah okay...
Just as an FYI - here's a list vB 3.x template conditionals. I've bookmarked it and have used it as a resource dozens of times. Should be helpful

J.
__________________
Call For Submissions. Come share your poetry & writing at JPiC Forum.
JPiC Forum For Writers | Celebrating Diversity With The Typed Word
Reply With Quote
  #7  
Old 10 May 2012, 02:08
Xp.Warrior Xp.Warrior is offline
 
Join Date: Mar 2012
Use This Coding

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And [fieldX] Clear X And write Your Field Number
And Use This Code In Your admincp --> Styles & Templates --> Search in Templates --> postbit_lagacy And Add This Coding Where You Want To Look
i Hope This Is Usefull For You
Reply With Quote
  #8  
Old 10 May 2012, 17:55
JacquiiDesigns's Avatar
JacquiiDesigns JacquiiDesigns is offline
 
Join Date: Dec 2008
Location: In a cloud of smoke...
Real name: Jacquii Cooke
Originally Posted by Xp.Warrior View Post
Use This Coding

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And [fieldX] Clear X And write Your Field Number
And Use This Code In Your admincp --> Styles & Templates --> Search in Templates --> postbit_lagacy And Add This Coding Where You Want To Look
i Hope This Is Usefull For You
Um- You copy/pasted part of my post as if it's new information how...?

J.
__________________
Call For Submissions. Come share your poetry & writing at JPiC Forum.
JPiC Forum For Writers | Celebrating Diversity With The Typed Word
Reply With Quote
  #9  
Old 11 May 2012, 00:55
Xp.Warrior Xp.Warrior is offline
 
Join Date: Mar 2012
Originally Posted by JacquiiDesigns View Post
Um- You copy/pasted part of my post as if it's new information how...?

J.
admincp --> Styles & Templates --> Search in Templates --> postbit_lagacy And Add This Coding This Is New Information
Reply With Quote
  #10  
Old 11 May 2012, 16:08
JacquiiDesigns's Avatar
JacquiiDesigns JacquiiDesigns is offline
 
Join Date: Dec 2008
Location: In a cloud of smoke...
Real name: Jacquii Cooke
oh. okay.
Thanks
__________________
Call For Submissions. Come share your poetry & writing at JPiC Forum.
JPiC Forum For Writers | Celebrating Diversity With The Typed Word
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom profile field as textarea / show single profilefield via button Harvey vBulletin 2.x Full Releases 21 18 Dec 2002 16:17

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 00:28.

Layout Options | Width: Wide Color: