The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I encode this way
[ eamil]______<a href=mailto:" [ /email]_____>email</a> you know every email link show as "email" I want to show their eaddress how can I do? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
this was in a thread up a bit from this one, shows how to use string replacing, etc. you'll have to hack that into the code, as aposed to just adding a new bbcode.
Code:
// do xxx
$text=eregi_replace("\\[url\\]www.([^\\[]*)\\[/url\\]","<a href=\"http://www.\\1\" target=_blank>(hyperlink)</a>",$text);
$text=eregi_replace("\\[url\\]([^\\[]*)\\[/url\\]","<a href=\"\\1\" target=_blank>(hyperlink)</a>",$text);
|
![]() |
|
|