The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
need clickable text user email link
i am using this in my postbit:
<if condition="$bbuserinfo[userid]"> <if condition="$post[email]">$post[email]</if> <else /></if> this displays the poster's email address. Is there anyway to make this into a clickable mailto: link that is just text (no buton background)? Thanks |
#2
|
||||
|
||||
i got it:
<if condition="$bbuserinfo[userid]"> <if condition="$post[email]"><a href="mailto:$post[email]"><span class="smallfont">$post[email]</span></a></if> <else /></if> |
#3
|
||||
|
||||
For privacy and spam reasons i'd strongly recommend NOT to show email-adresses.
|
#4
|
||||
|
||||
my site is a paid subscription site and the address only shows to registered users, I'm confident this will ensure that email addresses don't show up in the wrong hands. Also I modified it further so that if the user chooses not to recieve email from other members, the address will not be shown.
<if condition="$show['emaillink']"> <if condition="$bbuserinfo[userid]"> <if condition="$post[email]"><a href="mailto:$post[email]"><span class="smallfont">$post[email]</span></a></if> <else /></if> <else /></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|