kenshin83
18-06-2011, 11:31 AM
Cho mình hỏi trước khi mình thêm vào các thông tin của thành viên thì nó vẫn còn cái RANK phân loại
Code trước khi thêm trường thông tin
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
nhưng khi thêm trường thông tin cho thành viên thì nó mất đi cái RANK của mình, giờ mình thêm code ra sao để nó hiện lại cái RANK
Code khi thêm trường thông tin
<dl class="userinfo_extra">
<vb:if condition="$post['field5']"><div class="eti_postbit">Họ tên : {vb:raw post.field5}</div></vb:if>
<vb:if condition="$post['field4']"><div class="eti_postbit">Nghề nghiệp : {vb:raw post.field4}</div></vb:if>
<vb:if condition="$post['field10']"><div class="eti_postbit">Ðến từ : {vb:raw post.field10}</div></vb:if>
<vb:if condition="$post['field7']"><div class="eti_postbit">Giới tính : {vb:raw post.field7}</div></vb:if>
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
Code trước khi thêm trường thông tin
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
nhưng khi thêm trường thông tin cho thành viên thì nó mất đi cái RANK của mình, giờ mình thêm code ra sao để nó hiện lại cái RANK
Code khi thêm trường thông tin
<dl class="userinfo_extra">
<vb:if condition="$post['field5']"><div class="eti_postbit">Họ tên : {vb:raw post.field5}</div></vb:if>
<vb:if condition="$post['field4']"><div class="eti_postbit">Nghề nghiệp : {vb:raw post.field4}</div></vb:if>
<vb:if condition="$post['field10']"><div class="eti_postbit">Ðến từ : {vb:raw post.field10}</div></vb:if>
<vb:if condition="$post['field7']"><div class="eti_postbit">Giới tính : {vb:raw post.field7}</div></vb:if>
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>