As the battle between spam-bot smarts and countermeasures (Fight the spam registration bots!) rages on, success is only assured with a layered security approach and unfortunately, until the next spam-bot upgrade. Building on the proven track record of defender-uk's excellent "Active members Only" mod, User Shield is your last line of defence when countermeasures have been bypassed, integrating enhancements along with a simple management filtered list for non-activated members.
Originally included with Restrict Username v1.1.6 [BETA] minus the management filtered list, I quickly realized when preparing the next release of Restrict Username v1.1.7 [BETA] that the installation template was approching 2200 lines, and that in itself would discourage quite a few board owners to try it. By doing it this way, User Shield's installation template is now approximately 800 lines and Restrict Username is approximately a more manageable 1500 lines.
Code: Select all
##############################################################
## MOD Title: User Shield
## MOD Author: Wo1f < N/A > (J. C. Woof) N/A
## MOD Description: Hides usernames and corresponding profile data from all except the Administrator until activated. Manage (activate or delete) non-activated members from the memberlist.
## MOD Version: 1.1.7d
##
## Installation Level: Easy
## Installation Time: ~ 10 Minutes
## Files To Edit: 11,
## index.php,
## memberlist.php,
## profile.php,
## admin/admin_board.php,
## includes/functions.php,
## includes/usercp_viewprofile.php,
## language/lang_english/lang_admin.php,
## language/lang_english/lang_main.php,
## templates/subSilver/index_body.tpl,
## templates/subSilver/memberlist_body.tpl,
## templates/subSilver/admin/board_config_body.tpl.
## Included Files:
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## - Ability to turn ON or OFF all features of this mod through the ACP.
## - Hides username references and profile data until activated - from guests, registered users and moderators.
## For Administrators only:
## - Ability to fetch from the Index or Memberlist a filtered list of "non-activated" registered users.
## - Ability to manage "non-activated" registered users through this filtered list (activate or delete in bulk).
## Additional MOD information:
## - Released for, and tested on, phpBB2 v2.0.21 [subSilver].
## - Tested on FF 1.5, Opera 8.5 and IE 6.
## - Numerous installations with EasyMOD version 0.3.0 were successful and took on average less than 30 seconds.
## - This mod is based on " defender-uk's " excellent "Active members Only" mod.
## - Ty! :) http://www.phpbb-amod.co.uk/
## - It includes proposed fixes/enhancements by CJ Greiner, ChrissySkyking and BlueRook.
## - Support is offered through this mod's release thread at phpbb.com.
## Available languages:
## - English
## Beta testers:
## - cherokee red
##############################################################
## MOD History:
##
## 2006-06-16 Version 1.1.7d
## - Modified non-activated delete code to clean the "groups" and "user_groups" tables properly
## - Changed estimated installation time to 10 minutes
## - Released as [RC3] User Shield and submitted to the MODS DB as User Shield v1.2.1 for validation
## 2006-05-26 Version 1.1.7c
## - Minor code adjustments in memberlist.php to comply with phpBB standards
## - Released as [RC2] User Shield and submitted to the MODS DB as User Shield v1.2.0 for validation
## 2006-05-22 Version 1.1.7b
## - Minor miscellaneous wording adjustments (language/lang_english/lang_admin.php)
## - Released as [RC1] User Shield
## 2006-05-10 Version 1.1.7a
## - Renamed Hide Username to User Shield (Suggested by shakey_1 - Ty!)
## - Minor miscellaneous wording adjustments
## - Default memberlist sort method (column) when in "non_active only" mode now visually identifiable
## 2006-04-20 Version 1.1.7
## - First release as a stand alone mod (Re: Restrict Username)
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
- User Shield is first and foremost a spam deterrent mod with the specific purpose of making your board useless in helping spammers improve their popular search engine rankings. It does this by hiding username and profil data from all, except the administrator, until they are activated (in the case of legitimate new members) or deleted (in the case of despised spam-bots). This requires for greater efficiency, that "Enable account activation" be set to "Admin" in the ACP.
It also shields your regular members and moderators from potentially offensive material (username, location, signatures and website) and does it seamlessly.
When countermeasures are behind the curve so to speak, administrators may have to deal with a larger number of non-activated registration entries. User Shield offers a quick and efficient management list for such cases, enabling bulk deletion for a proper and satisfying disposal of spam-bot filth or bulk activation (for a fast growing and spam free community ).
- Ability to turn ON or OFF all features of this mod through the ACP
- Hides username references and profile data until activated - from guests, registered users and moderators
- Ability to fetch and display from the Index or Memberlist a filtered list of "non-activated" registered users - for admins only
- Ability to manage (activate or delete in bulk based on selected users) "non-activated" registered users through this filtered list - for admins only
- Index - Who is Onilne ... for "Guests" (stealth - Memberlist and linked member profils are accessible only when logged in)
- Index - Who is Online ... for "Users or Moderators" (stealth - "non-activated" member references and profils are hidden, also in the Memberlist)
- Index - Who is Online ... for "Admins" (includes a quick link to the "non-active" filtered list, as displayed by screen capture No.5)
- Memberlist "Non-active only" pull-down list item for admins. (filter)
- Memberlist "Non-active only" list for admins. (filtered)
- None
- user: tEsTuSEr
- password: tEsTuSEr
I consider User Shield v1.1.7d [RC3] very stable on my test board, as a Release Candidate. It has been tested (by more than a few board owners) via "Restrict Username v1.1.6 [BETA] minus the "non-active" filtered list which is a new addition.
Installation with EasyMOD is strongly recommended.
[RC3] User Shield - Not available anymore.
- Archive content (user_shield_rc3_v1_1_7d.zip)
- install_user_shield_rc3_v1_1_7d.txt
- install/update_config_rc3_v1_1_7d.php
- modx/install_user_shield_rc3_v1_1_7d.xml
- modx/modx.subsilver.en.xsl
- The installatioin package includes the new ModX format. If anyone chooses to install User Shield using this method, please let me know of any issues you might encounter.
Wolf
Note: Anyone interested in translating the language files are welcome to do so. Just let me know.
Edit #6
- Approved and released by the MOD Team
- Support will be offered in this MODs Release thread located here:
- [2.0.21] User Shield
- Review the MODS History section above for changes since initial release.
- Released as [RC3] User Shield
- Submitted to the MODS DB as User Shield v1.2.1 for validation
Note: Version v1.2.0 was canned before validation and replaced by v1.2.1 at my request.
Edit #4
- Review the MODS History section above for changes since initial release.
- Released as [RC2] User Shield
- Submitted to the MODS DB as User Shield v1.2.0 for validation
Edit #3
- Changed subject line to read [RC1] User Shield
Edit #2
- Review the MODS History section above for changes since initial release.
- Released as [RC1] User Shield
Edit #1
- Review the MODS History section above for changes since initial release.
- Modified User Shield's role description to represent it more accurately in the 1st paragraph.
- Minor description adjustments in the 2nd paragraph.
- Added a demo board.
- Final BETA in preparation for a MODS database submittal.