Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Email, MSN and Yahoo adresses as GD Images Details »
Email, MSN and Yahoo adresses as GD Images
Mod Version: 1.00, by corn (Member) corn is offline
Developer Last Online: Jun 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 3
Released: 15 Jun 2005 Last Update: Never Downloads: 1
Not Supported  

First of all, I'm not sure if this is a hack or a template mod.
so, if its placed wrong, please advise.
this is my first 'hack', so be nice

My forum members were complaining about the load of spam they received after the emailaddresses were publicly viewable.
We wouldn't use the secure mail function, because the users wanted to see eachothers mail addresses.


Installation:
Create a file called email.php.
It must contain the following lines of code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

or use the one attached.

in the attached .zip, you can find a email.png file.
put the files in your forum root dir.

Go to the AdminCP and open the MEMBERINFO template, and search for
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace that with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

also in the MEMBERINFO template, search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace that with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Go to the Phrase manager, and search for showemail variable.
you will find the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

thats all

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	01.jpg
Views:	138
Size:	38.5 KB
ID:	27113   Click image for larger version

Name:	02.jpg
Views:	185
Size:	53.1 KB
ID:	27114  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 15 Jun 2005, 12:18
tamarian tamarian is offline
 
Join Date: Oct 2001
First of all, I'm not sure if this is a hack or a template mod.
so, if its placed wrong, please advise.
this is my first 'hack', so be nice
This is a hack, and a very good one
Reply With Quote
  #3  
Old 15 Jun 2005, 12:26
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Was trying to do this a while back

Good job
You can probably apply this to any email address posted as well by amending the functions_bbcode.php in your includes folder.
Reply With Quote
  #4  
Old 15 Jun 2005, 12:49
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
IMHO this does not make much sense, as the eMail address is still in the HTML and can be processed automatically by spammers.
If you really want to do this (which isn't worth it) you might want to use smth. like the attached script.
Attached Files
File Type: php email.php (2.4 KB, 13 views)
Reply With Quote
  #5  
Old 15 Jun 2005, 13:37
jugo jugo is offline
 
Join Date: Feb 2004
Very nice Kirby.
__________________
NovaWarfare.com - Bringing back the Game - http://www.NovaWarfare.com

Website Hosting - Game Server Hosting - http://www.freaks-network.com
Teamspeak Status Block for vBAdvanced / PHP-Nuke / php Include

PM me if you need hacks installed or simple template modifications...I'm cheap..
Reply With Quote
  #6  
Old 15 Jun 2005, 14:03
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by KirbyDE
If you really want to do this (which isn't worth it) you might want to use smth. like the attached script.
I think obfuscating emails is really worth it, if that's what you meant?

And as always, great job with the code recommendations

One issue, I think, that might be a problem with both versions is the image caching. As it's called email.png and browsers will often cache this, and one will end up sending emails to the wrong members

I'd call the image something like this,

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

or with a random string as a cache buster.
Reply With Quote
  #7  
Old 15 Jun 2005, 14:21
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Originally Posted by tamarian
I think obfuscating emails is really worth it, if that's what you meant?
I meant that, but as said it's IMHO not worth it the processing overhead, aus you can simply turn off displaying eMails.

I'd call the image something like this,

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Erm ... for this to work you would need tohse image-userid.png files on your servers HD
The users browser never gets to see this email.png, however if you want to prevent caching (which should only be an issue when a user changes his eMail) you can add No-Cache Headers.
Reply With Quote
  #8  
Old 15 Jun 2005, 15:19
tamarian tamarian is offline
 
Join Date: Oct 2001
Originally Posted by KirbyDE
I meant that, but as said it's IMHO not worth it the processing overhead, aus you can simply turn off displaying eMails.
That won't work, as it would fail the original requirement

My forum members were complaining about the load of spam they received after the emailaddresses were publicly viewable.
We wouldn't use the secure mail function, because the users wanted to see eachothers mail addresses.
Erm ... for this to work you would need tohse image-userid.png files on your servers HD
The users browser never gets to see this email.png, however if you want to prevent caching (which should only be an issue when a user changes his eMail) you can add No-Cache Headers.
What would be best, IMHO, and eliminate some of the overhead, is to be able to generate the image without calling a new php file.

Is this doable? Can it be done in a plugin through a hook? And be able to show the image on the fly?
Reply With Quote
  #9  
Old 15 Jun 2005, 15:23
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
This is the vB 3.0.x section, so there are no Plugins/Hooks

Well, doing this without creating the images on the fly means you must create them when the user enters/changes his emai/msn/yahoo - and store them somewhere for later retrival (either in the database or on disk).
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:52.

Layout Options | Width: Wide Color: