For some reason my profile field modifications are not showing in the postbit/postbit legacy templates.
I removed joined date and added a new custom "field5" but neither removal of joined date or the new field are showing.
Any ideas why? Am I editing the wrong template? I did the change to both postbit and postbit legacy in my custom default template.
Here is my updated piece of code I am using:
PHP Code:
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<b>Member Info</b>
<vb:if condition="$post['field2']"><div class="post_field"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></div></vb:if>
<vb:if condition="$post['age']"><div class="post_field"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></div></vb:if>
<div class="post_field"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div><br />
<b>Character Info</b>
<vb:if condition="$post['field5']"><div class="post_field"><dt>Name</dt> <dd>{vb:raw post.field5}</dd></div></vb:if>
<vb:if condition="$post['field6']"><div class="post_field"><dt>Class</dt> <dd>{vb:raw post.field6}</dd></div></vb:if>
<vb:if condition="$post['field7']"><div class="post_field"><dt>Server</dt> <dd>{vb:raw post.field7}</dd></div></vb:if>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>Test</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
--------------- Added [DATE]1332930020[/DATE] at [TIME]1332930020[/TIME] ---------------
Nevermind now it seems to be working, maybe it was cached? Or there is a var/counters you need to rebuild when you modify this?
--------------- Added [DATE]1332930926[/DATE] at [TIME]1332930926[/TIME] ---------------
OK I found that for origional poster the changes are not being displayed, for others the changes are shown. It must be due to the conditionals. Any help on this?