profile ids to profile names
Jamroom Developers
All you need to do is feed that value into a jrCore_list call for the jrProfile module - i.e. in your template (assuming it is being called in a jrCore_list call):
{capture name="template" assign="tag_tpl"}
{literal}
{foreach $_items as $item}
{$item._profile_id}: {$item.profile_name}
{/foreach}
{/literal}
{/capture}
{jrCore_list module="jrProfile" search="_profile_id in `$item.tag_id`" template=$tag_tpl limit=10}
So the first part (everything between capture and /capture) basically is defining a small template - this will be shown ONCE for EVERY ITEM in the following jrCore_list call. You pass that little template into the jrCore_list call by saying:
template=$tag_tpl
the other pertinent part is this:
search="_profile_id in `$item.tag_id`"
This says "only return profiles whose _profile_id is IN the list contained in $item.tag_id - which when expanded would look like:
search="_profile_id in 1,2,3,12,32"
Hope this helps!
updated by @brian: 12/02/14 11:09:21AM