vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   plugin - Replace email addresses in posts (https://vborg.vbsupport.ru/showthread.php?t=96195)

jugo 09-12-2005 10:00 PM

plugin - Replace email addresses in posts
 
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 09-13-2005 10:50 PM

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 09-14-2005 01:37 AM

Quote:

Originally Posted by theArchitect
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:

iSpanish 09-16-2005 12:32 AM

Cool

Nice Plug

Marboosh Clicks Install

-=Sniper=- 09-16-2005 11:24 AM

nice,

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

Acers 09-16-2005 05:13 PM

am trying this code...
PHP Code:

if (in_array($foruminfo['forumid'], array(35,71,73,74,75,76,77,78,79,80,81,82,83))){ 
$this->post['message'] = ereg_replace('[A-Za-z0-9]([A-Za-z0-9._]*[A-Za-z0-9]|())@[A-Za-z0-9]([A-Za-z0-9.\-]*[A-Za-z0-9]|())\.[A-Za-z]+'' - Email Address Removed for Security -'$this->post['message']);


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?

iSpanish 09-19-2005 09:27 PM

how can i make it replace email addresses in signature ?

Regards
Marboosh

Xajel 10-16-2005 06:22 AM

Quote:

Originally Posted by Marboosh.Net
how can i make it replace email addresses in signature ?


Regards
Marboosh


me too wanna same thing :ermm:

Kihon Kata 10-17-2005 09:46 PM

Quote:

Originally Posted by Xajel
me too wanna same thing :ermm:

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

StarBuG 10-20-2005 10:42 AM

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


All times are GMT. The time now is 07:17 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.01007 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete