XF 2.2 Outputting custom user field info in widget

EchoRomeo

Active member
I'm messing around with changing how user info displays in this widget (you can see it on the bottom right of my website at permittingtalk.com, if you like). In particular, I want to output user-specific custom user field content instead of the user title info that the widget is currently coded to output. I figured out that the portion of code below is where I need to target but can't figure out what code to use to target the custom fields I want outputted.

Inspired by this thread, I used the code circled below, but that doesn't do anything in my case. Specifically, I want to call the Location_of_Interest.state and Location_of_Interest.city variables. I tried dumping all variables in the widget but couldn't find these custom variables, so maybe they're just not available?

1718593850321.webp

I appreciate any help anyone may be able to provide!
 
Back
Top Bottom