View Full Version : BB Code Enhancements - DevEmail - changes [Email] bbcode to an image
Developer
08-13-2007, 10:00 PM
DevEmail
Initial
Description::.
Changs the [Email] bbcode to an image contains the email for securing your members emails
this hack after a long time dishacking vbulletin ..:)
[Mod Features::.
1-easy yo install
2-works only for valid emails
3-a transparent background to fit your style
4-doesn't save images in filesystem
Disadvantages::.
1-this mod will remove mailto: feature in email links]
Installation::.
1-Import The Plugin.
2-Edit file includes/class_bbcode.php
find:return "<a href=\"mailto:$rightlink\">$text</a>";
replace it with:return "<img src='misc.php?do=email_dev&email=".base64_encode($rightlink)."'>";
History::.
1.0.0 On 14. Aug 2007 Initial Version.
Hack Languages::.
Any Language
Details::.
1 plugin, 0 phrases, 0 options, 0 query, 1 fileedit
shadowevil
08-14-2007, 03:45 AM
first post .... *installed*
FreshFroot
08-14-2007, 04:17 AM
ah! something good and usefull :D thanks a lot for the hack, keep up the good work.
HaMaDa4eVeR
08-14-2007, 05:47 AM
WoOoW
Welcome back to vBulletin hacks....
well done
* * * i n s t a l l e d
FReeSTER
08-14-2007, 06:37 AM
TY Developer, very well done mate and I very well need it this. :) :up:
Neo_obs
08-14-2007, 07:31 AM
although its pointless to do this you could still have the mailto: link enabled by using this
return "<a href=\"mailto:$rightlink\"><img src='misc.php?do=email_dev&email=".base64_encode($rightlink)."'></a>";
EDIT:
if used with this hack https://vborg.vbsupport.ru/showthread.php?t=96195&highlight=replace+email
you can still let people see your email addy but it then creates a link to PM you. So email harvesters don't get your email and people can still contact you in many ways.
Developer
08-14-2007, 07:38 AM
Thanks all ! :),
@ Neo_obs: the maid goal of this hack to stop email collectors who uses scripts to collect emails to make a spam list, so he can read the page source and get the mail from the link ..
Hornstar
08-14-2007, 08:35 AM
Very useful these days. thanks.
Developer
08-15-2007, 07:16 AM
EDIT:
if used with this hack https://vborg.vbsupport.ru/showthread.php?t=96195&highlight=replace+email
you can still let people see your email addy but it then creates a link to PM you. So email harvesters don't get your email and people can still contact you in many ways.
hmmmm, i didn't know this hack but nice addition ..
Developer
08-15-2007, 01:06 PM
Note: if this mod doesn't work with old posts, you have to update counters.
young coder
08-18-2007, 11:13 AM
thanks
belal_najjar
08-18-2007, 11:43 AM
thanx
installed......
nnjj.net
08-18-2007, 08:04 PM
done thanx
LICryptkeeper
08-22-2007, 05:23 PM
I get a 2-4 pixel wide blue rectangle.
I changed the code to this:
<a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow">
<img src='misc.php?do=email_dev&email=".base64_encode($rightlink)."'>
</a>
technically that should work, no?
LICryptkeeper
08-22-2007, 05:26 PM
OHHHHH.
I'm modifying this to use a users email address, not the bbcode.
I cannot change $right to anything else? what if I wanted to rteplace the email with one like $post[email]
Is there a version without php code edit? I never edit php files, too troublesome during updates.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.