The Arcive of vBulletin Modifications Site. |
|
Display User's Email in Postbit/legacy for Admins and Mods Details »»
|
|||||||||||||||||||||||||||
|
Display User's Email in Postbit/legacy for Admins and Mods
Developer Last Online: Mar 2013
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: HTML Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> HTML Code:
<!-- 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 --> Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
You need the extra ) in your code or it will cause an error installed & working but with the extra )
|
|
#3
|
|||
|
|||
|
because there are 2 '()'
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"> |
|
#4
|
|||
|
|||
|
I too get a 'parse error' without the extra bracket, with two right-sided brackets it seems to work fine.
The error I get is as follows: Parse error: parse error, unexpected ';' in /var/www/vhosts/xxxxxxx.xx/httpdocs/testforum/includes/adminfunctions_template.php(3593) : eval()'d code on line 472 |
|
#5
|
|||
|
|||
|
Edited to default, thanks all for support me!
|
|
#6
|
||||
|
||||
|
Oh, sorry, you were right. I overlooked the first one. It was too late at night here when I was looking at it.
|
|
#7
|
||||
|
||||
|
Great template edit!
Thanx for the sharing ![]() Jacquii. |
|
#8
|
||||
|
||||
|
Thank you vuiveclub
I placed mine in the member info ![]() Install |
![]() |
|
|