vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   need clickable text user email link (https://vborg.vbsupport.ru/showthread.php?t=72383)

btappan 12-01-2004 04:55 PM

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

btappan 12-01-2004 10:48 PM

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>

Andreas 12-01-2004 11:11 PM

For privacy and spam reasons i'd strongly recommend NOT to show email-adresses.

btappan 12-02-2004 12:12 AM

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>


All times are GMT. The time now is 08:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01106 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete