Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Username Email Protection Plugins Details »»
Username Email Protection Plugins
Version: 1.1, by minorgod minorgod is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.2 Rating:
Released: 11-02-2006 Last Update: 12-11-2006 Installs: 13
Uses Plugins
Code Changes Is in Beta Stage  
No support by the author.

Username Email Protection plugin for vBulletin 3.6.x is a set of plugins by Brett Brewer to obfuscate any usernames that contain email addresses, so that everything after the "@" symbol will be stripped out of the displayed name in the vBulletin frontend. This should help keep your users who use their email address as their login name from falling victim to spammers.

================================================== ==========
Release Notes
================================================== ==========

This product was developed on vBulletin 3.6.0 and appears to still work
fine on v3.6.4. Please let me know if you have any problems or discover that I've missed any places where a username should be obfuscated and I will write additional plugins to address it.

================================================== ==========
IMPORTANT PRE-INSTALLATION INSTRUCTIONS
================================================== ==========

Before you install the product XML file, you'll need to add one hook to your showthread.php file. I have requested that this hook be added to the official vBulletin release, but have no idea if they will add it or not. The hook may be unnecessarry if there's another way to rewrite the javascript array with existing hooks, but I haven't found a better way so far. Feel free to improve this mod if you can and let me know about it, rather than forking this product.

================================================== ==========
Open: /showthread.php
================================================== ==========
Find:

PHP Code:
// get list of usernames from post list
    
$userjs '';
    foreach (
$userarray AS $userid => $username)
    {
        if (
$userid)
        {
            
$userjs .= "pu[$userid] = \"$username\";\n";
        }
    } 
================================================== ==========
Change to:

PHP Code:
// get list of usernames from post list
    
$userjs '';
    foreach (
$userarray AS $userid => $username)
    {
        
//product-username_email_protection hook added by Brett Brewer
        
($hook vBulletinHook::fetch_hook('showthread_user_js_create')) ? eval($hook) : false;
        if (
$userid)
        {
            
$userjs .= "pu[$userid] = \"$username\";\n";
        }
    } 
================================================== ==========
End of file modifications
================================================== ==========

Just upload the changed file to your server and install the product-username_email_protection.xml file via the Plugins & Products control panel in the admin cp.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-12-2006, 04:07 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by minorgod
I'm not sure I understand what you are asking, but if you clarify, I will be happy to look into it. Is there a specific page that email addresses are still showing up on? If you give me an example I will try to find the right place to add another plugin for it.
infact im asking for something similar for vb3.6.3

Quote:
EMail Address Obfuscator v1.0.2
https://vborg.vbsupport.ru/showthread.php?t=97704
any idea for that?
Reply With Quote
  #13  
Old 12-12-2006, 05:19 PM
minorgod's Avatar
minorgod minorgod is offline
 
Join Date: Aug 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.1 released. Added plugins to obfuscate email addresses of logged in users on forumdisplay.php and showthread.php pages.
Reply With Quote
  #14  
Old 02-04-2007, 03:22 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its just working if mail id found at user name specialy @ found...
but nor woorking on full mail id .
Reply With Quote
  #15  
Old 02-05-2007, 02:32 PM
minorgod's Avatar
minorgod minorgod is offline
 
Join Date: Aug 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zia View Post
its just working if mail id found at user name specialy @ found...
but nor woorking on full mail id .
Is that a question?
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03781 seconds
  • Memory Usage 2,249KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete