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

Custom Field In Thread List Item

Discussion in 'Styling and Customization Questions' started by Russ, May 9, 2013.

  1. Russ

    Russ Well-Known Member

    How would I go about making this work for the template thread_list_item (if I can)

    I'm awful with this kind of stuff :D.

    Mod: http://xenforo.com/community/resources/country-flags.806/

    The code would be like this to show in the message template:

    <img src="/styles/default/xenforo/clear.png" class="flag flag-{$user.customFields.country}" alt="{$user.customFields.country}" />
    Anyway of changing that to allow for the thread_list_item, $thread.something something_need_help
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Custom fields of the thread author are not available to that template. An addon is required.
    Russ likes this.
  3. Russ

    Russ Well-Known Member

    Bummer thanks Jake.

Share This Page