vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Replacing emails with images (https://vborg.vbsupport.ru/showthread.php?t=161496)

ORiON_JNFN 10-30-2007 11:49 AM

Replacing emails with images
 
I need a code to replace 10 company email adresses to a picture with that emailadress on it when people post it.
I have made the pictures, but I can't find a way to code it.
I tried to use bbcode for it, but thats a bit to hard for my members to remember :erm:
All other emails except those 10 can just be posted as a normal text.
So for an example, when I type info@ourcompany.nl it should change to http://www.jnfn.nl/forum/images/email/company.png

Lynne 10-30-2007 03:43 PM

I wonder if you can use replacement variables to do this?

ORiON_JNFN 10-31-2007 11:22 AM

Well figured it out, an email will now be replaced with http://image.url/picture.png
Just it will post that code instead of an image, untill you click on the code in advage posting mode.
Somehow VB won't accept it as bbcode untill you click on it.


All times are GMT. The time now is 11:13 PM.

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.01006 seconds
  • Memory Usage 1,710KB
  • 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
  • (3)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