MyBB Community Forums

Full Version: Another Quick Question!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I have two questions:
1) How would I get a Custom Profile Field for a user inside of a template?
2) This ones is a bit more tricky.
I want to add a <div> element to a post from a user, but this element needs to have a "title" attribute set as a string from the Custom Profile Field, so it can load some AJAX data for the user. How would I do this?
1. Depends where it is. {$post['fidX']} if it's for the postbit, change X to the ID of the profile field; putting it any other templates won't be as easy.
Hmm.

Would making a plugin to load and add the content be easier?