View Full Version : User profile fields - how to display?
Fulla
06-02-2009, 04:26 PM
I basically created a new profile field, but not sure how to get it to display for a User under his name in the actual forums.
Here's a pic, to further clarify:
https://vborg.vbsupport.ru/external/2009/06/156.jpg
Where it has join date, location, posts, I'd like to add my new field I created in there.
Any help, would be greatly appreciated, thx
Lynne
06-02-2009, 04:58 PM
search "profile*" or"postbit*" in "articles" "titles only" and you should find an article about adding profile fields to the postbit.
Fulla
06-02-2009, 08:17 PM
Ok, managed to get alot more info, sort of know what I'm doing now.
The profile field I created however is 'Multiple-Selection Menu'
So, requesting help on the code, in postbit_legacy. Just copying a previous field, such as join date, didn't work, I assume because of the menu. The only way I can get it working is like this:
<if condition="$post['field5']=='1'">Favourite Hero: Astral Mage</if>
<if condition="$post['field5']=='2'">Favourite Hero: Jungle Rogue</if>
There are 24 options/fields in the menu, I don't mind copying pasting the above 24 times & manually putting it in, but just wondering if there's an easier more efficient way?
Here is an example, of it being displayed:
https://vborg.vbsupport.ru/external/2009/06/155.jpg
Lynne
06-02-2009, 09:16 PM
This thread over on vb.com should help you out with that. - How To Add A Profile Field To The Postbit (http://www.vbulletin.com/forum/showthread.php?t=108785)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.