vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - DevEmail - changes [Email] bbcode to an image (https://vborg.vbsupport.ru/showthread.php?t=155168)

Developer 08-13-2007 10:00 PM

DevEmail - changes [Email] bbcode to an image
 
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:
PHP Code:

return "<a href=\"mailto:$rightlink\">$text</a>"

replace it with:
PHP Code:

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

Code:

                        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/showthrea...=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

Quote:

Originally Posted by Neo_obs (Post 1317084)
EDIT:

if used with this hack https://vborg.vbsupport.ru/showthrea...=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:

Code:

<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;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]

X-or 09-22-2012 06:41 AM

Is there a version without php code edit? I never edit php files, too troublesome during updates.


All times are GMT. The time now is 10:47 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.01053 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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