Hi people!
I have added more information to the postbit_legacy template:
PHP Code:
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>$vbphrase[posts]: $post[posts]</div>
<br>
<if condition="$post['field3']"><div><b>Besturingssysteem</b>: $post[field3]</div></if>
<if condition="$post['field5']"><div>Gewenste moeilijkheidsgraad antwoorden (1-5):<br> $post[field5]</div></if>
<br>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
As you can see I use the custom profile fields 'besturingsystseem' and 'gewenste .. etc..'.
But I want to add another field. That's not the problem as you understand. The problem is I only want to show that field to the authorized persons. So I made the field, I set it to "private", "not searchable", and "no show on members list".
The field isnt Editable by User.
I gave my moderators permission to view the whole user profile.
What I want to do is: make a private profile field, only editable by mods/smods.
Now my real question: I want to show this field directly in the thread. So I think I will use:
PHP Code:
<if condition="$post['field5']"><div><b>Private field</b>: $post[field3]</div></if>
.
But will other people see this text then? And the content of it?
Because it's a private field I guess they (=other members) don't see the content but still see the text I put in the postbit. How can I prevent this?