[RSS Feed/News] Accessing custom user table fields in the XF2 template

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
We have a few custom fields added to our xf_user table. They contain information that's updated in the database via systems outside of XF2.

However, I want to be able to display them in the XF2 template. EG: We have a field called "user_roll" added to the xf_user table.

I'd assume we could access it in the template via something like: {$xf.visitor.user_roll} however doing that doesn't show any values.

Is there something I'm missing? We used to be able to display this info in XF1 without...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom