![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
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 ![]() No members have liked this post.
|
|
#2
|
||||
|
||||
|
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. No members have liked this post.
|
|
#3
|
||||
|
||||
|
Hmmm - I don't think vB 4.x syntax will work with vB 3.x
The following code may be of help though:
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 No members have liked this post.
Last edited by JacquiiDesigns : 06 May 2012 at 23:16. Reason: edited mistake... code should be correct now... |
||||
|
#4
|
||||
|
||||
|
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. The following members like this post: JacquiiDesigns
|
|
#5
|
|||
|
|||
|
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.
No members have liked this post.
|
|
#6
|
||||
|
||||
|
Originally Posted by kh99
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 No members have liked this post.
|
|
#7
|
||||
|
||||
|
Use This Coding
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 No members have liked this post.
|
||||
|
#8
|
||||
|
||||
|
Originally Posted by Xp.Warrior
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 No members have liked this post.
|
||||
|
#9
|
|||
|
|||
|
admincp --> Styles & Templates --> Search in Templates --> postbit_lagacy And Add This Coding This Is New Information
No members have liked this post.
|
|
#10
|
||||
|
||||
|
oh. okay.
Thanks ![]()
__________________
▌█▐ Call For Submissions. Come share your poetry & writing at JPiC Forum.
▌█▐ JPiC Forum For Writers | Celebrating Diversity With The Typed Word No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
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 | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 23:00.









