![]() |
Erm... please clarify.
Basically an image created by GD library instead of text. But the mailto: still there? Could do that :) If that is what you want. |
I think there are many possibilities for this good idea :)
I suppose it could be done with or without the mailto - but spiders that search for the mailto: will render that one pointless. Unless, however, no mailto is used - OR - for every symbol used in the address, it is replaced with its ASCII value, which in HTML is in it's raw ASCII format, but when clicked/mouse overed it renders without any javascript.. HTML Code:
<a href="mailto:jimpsed@hellp.com">jimpsed@hellp.com</a> Code:
<a href="mailto:jimpsed@hellp.com">jimpsed@hellp.com</a> This "solution", however, is only good if the spiders are only going through the HTML of a web page - I do not know, though. |
Buro,
Does this hack conflict with other JS? Inserted the code into the functions_bbcodeparse.php (and saved it ;) ), but when testing it nothing shows up, just a blank post. :( Remove the code, email linking returns fine. Tested it on a 3.0.7 modded style and the default (unmodded) style, to no avail. Chris |
Quote:
However... if any prior JavaScript on a page has an error, then subsequent JavaScript may not execute. So I would recommend you find what JavaScript you have that is causing errors and fix that :) You can turn on "Show an alert for each script error" within the Advanced options of IE's Internet Options... or in Firefox turn on the JavaScript console. Once the thing that is causing the error is fixed, then this will work too :) |
this works also in 3.5
you only have to use /includes/class_bbcode.php (instead the functions_bbcodeparse.php). thanks buro9 :) |
Quote:
Do people need me to re-publish this as a 3.5 hack to get the warm fuzzies about it? |
Quote:
I didn?t do that because it is your mod. |
<a href="https://vborg.vbsupport.ru/showthread.php?t=96195&highlight=email+address" target="_blank">https://vborg.vbsupport.ru/showt...=email+address</a>
My Version for vb3.5 - not necessarily email abfusbication (sp?) but it converts the email address into a link to PM the person who posted it. |
Hi, I installed, it works however when someone edits a post the email doesn't show up and this is what appears after saving:
a = unescape('%40');d = unescape('%2e');m = 'mailto:';document.write ... etc. This happens every time somebody edits a post so I can't keep this unless there's a workaround ?? Thanks |
Good point fcherub. I ran into this bug also. I haven't had time to make a fix though. buro9, you up to the challenge?
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|