View Full Version : How show profile fields on threadbit, and all that other pages?
azn_romeo_4u
10-13-2010, 08:10 AM
Is it possible? I tried doing $$bbuserinfo[fieldx] and it works, but the only problem is it shows your info. How do I show info of other people who filled in their profile fields?
Lynne
10-13-2010, 01:52 PM
There are articles about this. Try looking in the articles forums.
azn_romeo_4u
10-13-2010, 05:33 PM
Which one exactly? I'm not really sure which keywords to search for here.
Lynne
10-13-2010, 08:34 PM
"profile" "postbit" "field" Try whatever you want. Or, go look in the forum.
azn_romeo_4u
10-14-2010, 09:41 PM
I'm looking to add some profile fields into forumdisplay.php and threaddisplay.php. I don't see any guides on that. Atleast not searching right.
azn_romeo_4u
10-18-2010, 03:12 PM
Do you know the answer?
Lynne
10-18-2010, 05:19 PM
I have no idea what it is you want to do, so I don't know where to point you. How about an image with you showing us what you want.
azn_romeo_4u
10-19-2010, 12:07 AM
You don't know, but you told me to go look in those forums?
You know custom profile fields right? How do I make them show up in forumdisplay.php or threaddisplay.php
Lynne
10-19-2010, 02:01 AM
You can have custom profile fields or either the person viewing the page, or the person who wrote the thread, or who is the last poster in a forum, or so many things. But, OK, I'll assume it's the simplest which is the user viewing the page. Use $bbuserinfo['fieldx']
azn_romeo_4u
10-19-2010, 04:15 PM
The person that created the thread.
Lynne
10-19-2010, 07:23 PM
If you are talking about the person listed in the Last Post By column, then you will need to write a plugin that gets the fieldx for that person since that information is not available by default (only the username/userid is available there since it is cached).
If you are talking about in the threadbit template, then if you look at the template, you'll see the variable used is called $thread, so you may want to try thread.fieldx . If that doesn't work, it may be that the info isn't available and you will need to write a plugin to get the information for the user.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.