PDA

View Full Version : how to retrieve profile field on forum display page?


Khashyar
08-16-2005, 08:45 PM
Hi Everyone,

I am trying to call up and display a profile field (where the user selects a color for their username font) on the forum display and forum home pages...

Basically, I installed the color user hack (which, within a thread, displays a poster username in color). (It uses the "postbit" template)

That hack works great, but I also want to have the usernames displayed in color on the home page, as well as on the forum display pages.

I already have a specific userfield where the users can choose a color (let's say, "field10."

So, how do I show this field10 on the display and home pages of a VB 2.3.4 board?

Do I need to change the forumdisplay.php file?

I tried to add $bbuserinfo[field10] in the forumdisplaybit template, but it did not work (it doesn't call up the user field).

I need to call up that "field10" so that I can add that to a font color value.

Thank you for your help with this.

Khashyar