Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to get Custom Profile Field in header template
mdb Offline
Junior Member
**
Posts: 27
Joined: May 2012
Post: #1
How to get Custom Profile Field in header template
Hey guys,
I was wondering how to get a users custom profile field from the header template. I've tried $userfields but that didn't work. Any ideas?

Cheers!
05-24-2012 06:17 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: How to get Custom Profile Field in header template
Try using {$mybb->user['fidX']} for the logged in user (maybe you need to sanitize it).

05-25-2012 02:32 AM
Find all posts by this user Quote this message in a reply
mdb Offline
Junior Member
**
Posts: 27
Joined: May 2012
Post: #3
RE: How to get Custom Profile Field in header template
(05-25-2012 02:32 AM)RateU Wrote:  Try using {$mybb->user['fidX']} for the logged in user (maybe you need to sanitize it).

Hmm, I was sure I tried that but apparently I didn't haha. Thanks so much RateU, that worked perfectly Biggrin
05-25-2012 04:58 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: