Mod Name / Version: Multiple Identity Detector 3.2
Description: This modification uses a cookie to track users that login using different usernames. (Or users sharing the same computer). When a duplicate identity is detected, a PM is sent to all Admins notifying you of the duplicates.
JustDave is the original brains behind this. JoshPet updated it to 3.1 which adds the Usernames to the body of the PM as well as the user number.
I just updated it for 6.5
Working Under: UBB.Threads 6.5
Mod Status: Finished
Any pre-requisites:
Author(s): JustDave
Date: 12/10/04
Credits: JoshPet
Files Altered: ubbt.inc.php
New Files: none
Database Altered: no
Info/Instructions: Modify ubbt.inc.php as instructed. Edit the language strings in that code if desired.
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
I'd like to know how I can have another one of my Moderators, who I've granted a few more options but he's not an Admin, to receive the same emails this code outputs when it detects multiple identities?
I have users whom I know legitimately share the same computer, so I don't want to receive a PM each time they switch over. This small change to the mod hopefully prevents that from occuring.
I haven't tested this extensively yet, but I created an array for users whom I deem as "ok". Then a simple check to see if that user appears in the array, and if so, skip the multiple identity processing.
## Find:
if (!empty($user['U_Number']) && $user['U_Status'] != "Administrator") {
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.