PDA

View Full Version : plugin - Replace email addresses in posts


jugo
13 Sep 2005, 17:55
This Plugin Simply Replaces any email address in a post with a message.

I have "Email Address Removed for Security"

You can change it by editing the plugin.

To install simply go to the Plugins Manager and Import the XML.

Thanks for clicking "INSTALL"

:nervous:

UPDATE: Ignores email addresses in PMs.
UPDATE: Changes the link to send a PM to the user (Does NOT check wether user has "allow PMs" set or not...maybe later).

theArchitect
14 Sep 2005, 00:50
Nice idea. Only problem is that it also removes e-mail addresses from PMs too.

Once you have fixed this you will have yourself an install.

Also, could you please amend it to replace the e-mail with a link to send the member who posted a PM instead?

At the moment all it does is to create an e-mail with the To address of the replacement text.

jugo
14 Sep 2005, 03:37
Nice idea. Only problem is that it also removes e-mail addresses from PMs too.

Once you have fixed this you will have yourself an install.

Also, could you please amend it to replace the e-mail with a link to send the member who posted a PM instead?

At the moment all it does is to create an e-mail with the To address of the replacement text.

I will work on the PM issue. :rolleyes:

BUT, the problem with replacing the email to a link to PM the poster is that the email address being posted may not necessarily be that of the poster. :ermm:

Marboosh.Net
16 Sep 2005, 02:32
Cool

Nice Plug


Marboosh Clicks Install

-=Sniper=-
16 Sep 2005, 13:24
nice,

suggestion maybe a addon which converts the emails to images instead?

Acers
16 Sep 2005, 19:13
am trying this code...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


i am trying to make it hide emails in nntp forums.
and it ain't working. It is not hiding any mail address. the coditional looks ok is it?

Marboosh.Net
19 Sep 2005, 23:27
how can i make it replace email addresses in signature ?


Regards
Marboosh

Xajel
16 Oct 2005, 08:22
how can i make it replace email addresses in signature ?


Regards
Marboosh


me too wanna same thing :ermm:

Kihon Kata
17 Oct 2005, 23:46
me too wanna same thing :ermm:

I want to use this, but does this still remove emails from PMs also?

StarBuG
20 Oct 2005, 12:42
What about replacing an email like

User@domain.com with User <at> domain [.] com

the replace variables could either be rotated with different ones or could be defined via the ACP

Wired1
20 Oct 2005, 16:24
The hack itself is just an ereg_replace. If it was more customizable, e.g. you could whitelist certain email addresses so they would NOT be removed, then it would be a better tool IMHO.

AtoZ
25 Oct 2005, 05:35
I haven't had time to upgrade to 3.5 yet... but I need to replace email addresses. Since I'm using 3.0.6 and don't have plugins, is there a place I can put this code to do the same thing?

jugo
25 Oct 2005, 20:12
What about replacing an email like

User@domain.com with User <at> domain [.] com

the replace variables could either be rotated with different ones or could be defined via the ACP


I can work on something like this. It was meant as a simple way to do the task. i think it would be useful to have some option. When I have time i'll definitely add ore to it.

jugo
25 Oct 2005, 21:38
Nice idea. Only problem is that it also removes e-mail addresses from PMs too.

Once you have fixed this you will have yourself an install.

Also, could you please amend it to replace the e-mail with a link to send the member who posted a PM instead?

At the moment all it does is to create an e-mail with the To address of the replacement text.


You got what you wanted...finally took the time to mod it...gownload the updated file...

Thanks for the idea.

BeatificFaith
03 Dec 2005, 06:47
This works great! Thank you so much :) .

harry_5
06 Dec 2005, 14:43
Thanx!

jugo
06 Dec 2005, 14:54
how can i make it replace email addresses in signature ?


Regards
Marboosh

I guess youc an add the plugin to the hook that parses the signatures...i'll find it and upload it.

mashim2000
13 Dec 2005, 01:26
hi,

great plugin !

thank you very much ...

I think this plugin does not work on the following:
- signature
- thread print
- post new reply : when you click "Post Reply" button .. the page opened shows the posts .. butt the emails is not replaced !

can you kindly update the plugin, so it can works on the specified areas !.

Respectively
Mashim2000

AWI
15 Dec 2005, 09:57
Thx jugo, great little feature. Installed on 3.5.2 and no problems.

dinodonk
25 Aug 2006, 03:06
is it working for 3.6.0??

adwade
20 Sep 2006, 06:31
is it working for 3.6.0??

Ditto, as I'm wondering exactly the same thing?

Ian Cunningham
18 Oct 2006, 20:56
Is there any way to make this work with 3.0.0?

peterska2
18 Oct 2006, 23:25
Is there any way to make this work with 3.0.0?

No however there are some modifications available for 3.0.x

http://www.vbulletin.org/forum/showthread.php?t=79402
http://www.vbulletin.org/forum/showthread.php?t=83128

Those should help or point you along the right direction

Ian Cunningham
19 Oct 2006, 10:41
Thanks Kerry-Anne (from another Mancunian!) - I've seen those two already, but they aren't quite as good as this one unfortunately as they don't apply to any e-mail address within the message body (only ones using the e-mail button or mailto link).

Is there anywhere I could use the ereg_replace code in some of the /include php files to do the same job (basically bypassing the 3.5.0 plugin system to apply it to 3.0.0).