[MODDB] User Shield

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Wo1f
Registered User
Posts: 2039
Joined: Fri Jan 28, 2005 3:20 am

[MODDB] User Shield

Post by Wo1f »

Greetings all!

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
##############################################################
Benefits
  • 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 :wink: ).
Features
  • 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
  1. Index - Who is Onilne ... for "Guests" (stealth - Memberlist and linked member profils are accessible only when logged in)
    Image
  2. Index - Who is Online ... for "Users or Moderators" (stealth - "non-activated" member references and profils are hidden, also in the Memberlist)
    Image
  3. Index - Who is Online ... for "Admins" (includes a quick link to the "non-active" filtered list, as displayed by screen capture No.5)
    Image
  4. Memberlist "Non-active only" pull-down list item for admins. (filter)
    Image
  5. Memberlist "Non-active only" list for admins. (filtered)
    Image
Known remaining issues
  • None
Demo Board - Not available anymore.
  • user: tEsTuSEr
  • password: tEsTuSEr
Download

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)
    1. install_user_shield_rc3_v1_1_7d.txt
    2. install/update_config_rc3_v1_1_7d.php
    3. modx/install_user_shield_rc3_v1_1_7d.xml
    4. 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.
Thank you for reading. All feedback and suggestions welcomed!
Wolf

Note: Anyone interested in translating the language files are welcome to do so. Just let me know.



Edit #6
  1. Approved and released by the MOD Team
  2. Support will be offered in this MODs Release thread located here:

    • [2.0.21] User Shield
    [/url]
[/size]Edit #5
  1. Review the MODS History section above for changes since initial release.
  2. Released as [RC3] User Shield
  3. 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.
[/size]
Edit #4
  1. Review the MODS History section above for changes since initial release.
  2. Released as [RC2] User Shield
  3. Submitted to the MODS DB as User Shield v1.2.0 for validation
[/size]
Edit #3
  1. Changed subject line to read [RC1] User Shield
[/size]
Edit #2
  1. Review the MODS History section above for changes since initial release.
  2. Released as [RC1] User Shield
[/size]
Edit #1
  1. Review the MODS History section above for changes since initial release.
  2. Modified User Shield's role description to represent it more accurately in the 1st paragraph.
  3. Minor description adjustments in the 2nd paragraph.
  4. Added a demo board.
  5. Final BETA in preparation for a MODS database submittal.
[/size]
Last edited by Wo1f on Fri Jul 14, 2006 6:45 pm, edited 6 times in total.
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Post by Elias »

Nice MOD!
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
Wo1f
Registered User
Posts: 2039
Joined: Fri Jan 28, 2005 3:20 am

Post by Wo1f »

Hi EY and thank you!

Let me know how things go for you, I want to hear about it. The good, the bad and the ugly, if any. :lol:

Regards,
Wolf
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Scotland
Name: Kenny Cameron
Contact:

Post by stickerboy »

Nice job. i'll give it a whirl on my test board as soon i get some spare time. i'll let you know hos it fairs :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

Very Nice MOD!
Wo1f
Registered User
Posts: 2039
Joined: Fri Jan 28, 2005 3:20 am

Post by Wo1f »

@cherokee red
Thanks mate and looking forward to hear about the results of your tests. Going to go EasyMOD or manual?

Let me know,
Wolf


@evil<3
Thanks for the good words! Will you be test driving it also?

Regards,
Wolf
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Scotland
Name: Kenny Cameron
Contact:

Post by stickerboy »

i'll do both if i have the time :wink:
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Wo1f
Registered User
Posts: 2039
Joined: Fri Jan 28, 2005 3:20 am

Post by Wo1f »

Great stuff, you rock!! 8)
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

I might have a manual install later... (if i have time) :)
Wo1f
Registered User
Posts: 2039
Joined: Fri Jan 28, 2005 3:20 am

Post by Wo1f »

Allright eviL<3, let me know what you think if you do find the time. Thanks for the help.

Regards,
Wolf :wink:
JBosman
Registered User
Posts: 117
Joined: Sun Apr 30, 2006 10:01 pm
Location: The Netherlands
Contact:

Post by JBosman »

Is it also possible to integrate this mod with the profile mod installed?
Wo1f
Registered User
Posts: 2039
Joined: Fri Jan 28, 2005 3:20 am

Post by Wo1f »

Hi JBosman!

I'm not quite sure which mod you're referring to, but if you can provide either a link to said mod, or the author's name (so I can search for it) then I'm willing to take a look at it.

Regards,
Wolf
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Scotland
Name: Kenny Cameron
Contact:

Post by stickerboy »

Hey Wolf. just tested on an easymod install.
i've got a few MODs running on my test board, but this went fine - no errors. EasyMod also did the SQL for me (it usually does anyway, but i though you might want to know). I use v0.3.0 beta :)

Don't have time for a manual install, but I assume it wol work great. btw, i love the config you added to the memberlist for activating users. That's brillaint :D

Good luck for releasing it
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Wo1f
Registered User
Posts: 2039
Joined: Fri Jan 28, 2005 3:20 am

Post by Wo1f »

That's very good news cherokee red and thanks for taking the time to take it for a test drive. I did make an effort to make it "existing mod friendly" when using EasyMOD, so it's nice to hear that it worked out for you. Pretty quick eh! :wink:

Glad you like the addtion in the memberlist, and if you do decide to install it on your live board, let me know how it behaves over time.

Best regards,
Wolf
JBosman
Registered User
Posts: 117
Joined: Sun Apr 30, 2006 10:01 pm
Location: The Netherlands
Contact:

Post by JBosman »

Hi Wolf, this is the mod I am refering to. http://www.phpbb.com/phpBB/viewtopic.php?t=150925
Locked

Return to “[2.0.x] MODs in Development”