2007-03-06, 06:03 PM
Hiya folks, I'm trying to get a custom profile field to show up in the postbit_author_user template, but it's not working.
My custom profile field is named Faction, I starting a forum-based roleplaying game, and is a simple select box with a few choices to it. The template variables to get the value of this field haven't been working.
I have tried all these:
What am I doing wrong?
Also, if I have a field for a link to the person's profile topic, how would I show that as an icon beside a post using the template system?
Overall I would like more documentation of the templates system, since searching and reading numerous topics hasn't helped me all that much.
My custom profile field is named Faction, I starting a forum-based roleplaying game, and is a simple select box with a few choices to it. The template variables to get the value of this field haven't been working.
<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}<br />
{$post['useravatar']}<br />
{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_group} {$usergroup['title']}<br />
{$lang->postbit_joined} {$post['userregdate']}<br />
{$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}<br />
{$post['fidfaction']}<br />
</span>
I have tried all these:
{$post['fidfaction']}<br />
{$post['fidFaction']}<br />
{$post['Faction']}<br />
{$post['faction']}<br />
But none return the value of the custom faction field.What am I doing wrong?
Also, if I have a field for a link to the person's profile topic, how would I show that as an icon beside a post using the template system?
Overall I would like more documentation of the templates system, since searching and reading numerous topics hasn't helped me all that much.