• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Listing all values for all members of a custom user field on a page

#1
Hey everyone,

First time posting, I tried searching for this but I probably wasn't getting the right keywords to find it.

Basically I'm wanting to list all values entered in the custom field OriginID onto a page. I am assuming that with the right xencode I could simply place it in the page template html section and it would all appear.. Then I could format it how I wish.

Problem is, while I'm familiar with how to call a custom field for each user I'm not sure how to do it for all. Could someone please help me with the code.

Cheers
 

Jake Bunce

XenForo moderator
Staff member
#2
You can run a query on the database to fetch that information:

http://xenforo.com/community/threads/costum-fields.22017/#post-277061

Displaying these results on a page node requires creating a callback function. If you are a programmer then Kier posted some good video tutorials here:

http://xenforo.com/community/threads/editing-templates-and-defining-a-callback-for-pages.7226/

Otherwise you can post a request for some one to write this for you:

http://xenforo.com/community/forums/add-on-requests.35/