[2.0.13] Posted email js

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
7
70%
Very Good
2
20%
Good
0
No votes
Fair
0
No votes
Poor
1
10%
 
Total votes: 10

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28890
Joined: Sat Aug 16, 2003 7:36 am

[2.0.13] Posted email js

Post by Extensions Robot »

MOD Name: Posted email js
Author: lcn
MOD Description: Modify the email autolinking so that it writes a small javascript that prints the email address. This will mask the address from spambots which do not interpret javascript.
Also the mod masks the @ in email addresses when quoting a message using the quote button.


MOD Version: 1.0.3 (Updated 04/08/05)

Download File: phpBB-mail_js_1.0.3.mod
mods overview page: View
File Size: 3460 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:29 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

MOD Validated/Released

Notes:
This MOD makes it so that email addresses are displayed using javascript. Spam bots don't read javascript so they won't get the email address.
»»EDDY««
Registered User
Posts: 220
Joined: Mon Jun 02, 2003 10:14 am
Location: Poland/Slupsk
Contact:

Post by »»EDDY«« »

wGEric wrote: This MOD makes it so that email addresses are displayed using javascript. Spam bots don't read javascript so they won't get the email address.

JS or unicode;)
Make a Tiny URL in excellent domain heh.pl


cooling system & water cooling
User avatar
MHobbit
Former Team Member
Posts: 4761
Joined: Thu Mar 18, 2004 5:32 pm
Location: There and Back Again

Post by MHobbit »

Nice little functional MOD here. :) I installed it at my site.
Former phpBB MOD Team member
No private support is offered.
"There’s too many things to get done, and I’m running out of days..."
hanzoff
Registered User
Posts: 2
Joined: Mon Oct 18, 2004 4:19 pm

Post by hanzoff »

nice mod :lol:
i installed it too, lets see how it works
rubo77
Registered User
Posts: 30
Joined: Wed Nov 13, 2002 3:20 pm

Post by rubo77 »

there is something missing in this mod:

the email spiders still find all emails in the posts, cause there is the
quote - Button on every post and in the textarea the email can be read by the spiders in its original normal form
if you want to pm me, please contact "spacetrace", my new useraccount
_________________

www.spacetrace.com - cool multiplayer online game
lcn
Registered User
Posts: 18
Joined: Wed Aug 27, 2003 11:10 am

You are right!

Post by lcn »

Thanks rubo77, I overlooked that one. :roll:
I've uploaded version 1.0.3 of the mod with a fix for that today. It will appear in the when it's approved (hopefully) :wink:
lcn
Registered User
Posts: 18
Joined: Wed Aug 27, 2003 11:10 am

and the code....

Post by lcn »

Seems like it takes some time to get the new version approved. Thats ok, they are probably occupied preparing the first beta release of Olympus. :D
What I did was to modify posting.php a little bit. Seems o be working for me at least.

Here's the code at your own risk....

Code: Select all

#
#-----[ OPEN ]-----------------------------------------------------------------
#

posting.php

#
#-----[ FIND ]-----------------------------------------------------------------
#  

$message = preg_replace('/\:(([a-z0-9]:)?)' . $post_info['bbcode_uid'] . '/s', '', $message);
 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

$message = preg_replace('/([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)?[\w]+)/i', '\\1 (at) \\2\\3',$message);

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

MOD Updated to version 1.0.3
See first post for Download Link
h-o
Registered User
Posts: 43
Joined: Sun Mar 14, 2004 6:52 pm

Post by h-o »

hi,

first of all: thanks for this great MOD :-)

But there is another little error, namely when trying to edit a post with a quote.


Usually, it appears:

[quote="user"]text[/quote]


But with MOD version 1.0.3, the bbcode UID appears in the text area:

[quote:7e6a437d31="user"]text[/quote:7e6a437d31]


We hope, this little error can be removed :-)

ciao
h-o
SeraphicGate
Registered User
Posts: 207
Joined: Tue Dec 23, 2003 6:54 am

Post by SeraphicGate »

Where is the link to version 1.0.3? The link in the first e-mail takes you to version 1.0.1. I'm already using 1.0.1, but I want to upgrade to the newest one. Please fix this, thanks.
h-o
Registered User
Posts: 43
Joined: Sun Mar 14, 2004 6:52 pm

Post by h-o »

SeraphicGate wrote: The link in the first e-mail takes you to version 1.0.1.

No, the first version number wasn't updated.

Code: Select all

## MOD Title: Posted email js
## MOD Version: 1.0.1
[..]
##   2005-01-05 - version 1.0.3
##      - Fixed email showing in quote....
:-)

ciao
h-o
SeraphicGate
Registered User
Posts: 207
Joined: Tue Dec 23, 2003 6:54 am

Post by SeraphicGate »

Ah, I see. I just was looking at the mod version, lol.[/list]
lcn
Registered User
Posts: 18
Joined: Wed Aug 27, 2003 11:10 am

Post by lcn »

h-o wrote: hi,

first of all: thanks for this great MOD :-)

But there is another little error, namely when trying to edit a post with a quote.


Usually, it appears:
user wrote:text



But with MOD version 1.0.3, the bbcode UID appears in the text area:

[quote:7e6a437d31="user"]text[/quote:7e6a437d31]


We hope, this little error can be removed :-)

ciao
h-o


I don't get this error on my board. I'll do some testing on a fresh install to see if i can reproduce it.

.lcn
lcn
Registered User
Posts: 18
Joined: Wed Aug 27, 2003 11:10 am

Can't reproduce...

Post by lcn »

I can't reproduce this on a fresh install or on my modified board.
My mod doesn't touch the username variable.

Try a fresh copy of posting.php and apply the patch again.
Post Reply

Return to “[2.0.x] MOD Database Cleanup”