vuiveclub
08-02-2007, 10:00 PM
This little modification shows user's e-mail for Admins and moderators in Postbit
If this user allow other members to send email messages, you will able to send email via sendmessage.php,
if not, you'll have to send via outlook express
Find in template Postbit/Postbit_legacy:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
Above Add:
<!-- USEREMAIL / www.vuiveclub.net -->
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">
<if condition="$post['showemail']"> <div>$vbphrase[email]: <a href="sendmessage.php?do=mailmember&u=$post[userid]"/>$post[email]</a></div>
<else /><div>$vbphrase[email]: <a href="mailto:$post[email]"/>$post[email]</a></div>
</if>
</if>
<!-- USEREMAIL / www.vuiveclub.net -->
If this user allow other members to send email messages, you will able to send email via sendmessage.php,
if not, you'll have to send via outlook express
Find in template Postbit/Postbit_legacy:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
Above Add:
<!-- USEREMAIL / www.vuiveclub.net -->
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">
<if condition="$post['showemail']"> <div>$vbphrase[email]: <a href="sendmessage.php?do=mailmember&u=$post[userid]"/>$post[email]</a></div>
<else /><div>$vbphrase[email]: <a href="mailto:$post[email]"/>$post[email]</a></div>
</if>
</if>
<!-- USEREMAIL / www.vuiveclub.net -->