Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
WPCom Posted July 8, 2016 Posted July 8, 2016 In IPB 3, I was able to use a member data feed and use the variable $r['field_18'] to pull data from a custom profile field to sort members into lists depending on their value. On the new block templates, I am unable to do so. Documentation is almost impossible to find, and was wondering if anyone would know how to do so. Thanks! Code from IPB 3: <foreach loop="$records as $r"> <if test="$r['field_18'] === "1""> <a href="{$r['url']}">{$r['title']}</a> </if> </foreach> Code in IPB 4 (What I think it should be but is not): {{foreach $members as $member}} {$member->link()|raw}{$member['field_28']} {{endforeach}} The code is not exactly what the one before was, but im just trying to output the value of the field at this point.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.