Version: 1.1, by minorgod
Developer Last Online: Oct 2009
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.
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.
// 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.
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