PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page

#1 2006-01-07 16:40:24

CodeXP
Member
Registered: 2005-02-27
Posts: 18

Group Change Security MOD 1.2

Code:

##
##
##        Mod title:  Group Change Security MOD.
##
##      Mod version:  1.2
##   Works on PunBB:  1.2.x (Tested on 1.2.6 -> 10)
##     Release date:  2006-01-08
##           Author:  Öyvind A. Sörensen (oyvind.andre.sorensen@gmail.com)
##
##      Description:  Adds an additional security check when trying to 
##                    add/remove a user to/from the administrator or
##                    moderator groups.
##
##   Affected files:  config.php
##                    profile.php
##
##       Affects DB:  Yes
##                    Adds 3 columns to the users table, and adds a value
##                    to your config table
##
##            Notes:  This mod adds a security check when trying to add/remove
##                    moderators or administrators. It will mail a
##                    random 128 character verification key to the e-mail
##                    adresses specified in the config.php file, after
##                    asking to change groups.
##                    It will only be valid for the time specified in the
##                    configuration file (default: 300 sec.) and only for the
##                    requested usergroup requested (meaning if you wanted to
##                    add a user to the moderator group, the key is *only*
##                    valid for said group. You can't add a user to the admin
##                    group with a key requested for adding/removing a user
##                    to/from the moderator group)
##                    If the key don't get verified within that period, if the
##                    key generated for another user group, or if an invalid 
##                    key gets entered, the user will stay within
##                    his/her current user group.
##
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download here

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.