Multiple Identity Detector Old mod by JustDave ported to 7.02 by chillin. This mod uses a cookie to track user id logins from a single computer. Thus if a person logs into your site using the same browser on the same computer with two or more user id's you'll get a Private Topic with the details.
Install Follow the one step in the attached text file. BE SURE TO MODIFY THE CONFIG OPTIONS inside the text file before copying into your live site. These configs determine who gets sent the Private Topic.
PHP Code
#################### ## CONFIG OPTIONS ## ## EDIT THESE !! ## #################### $admins = array(31,2998,4214); //array of user numbers to send PT to $sender = 2998; //user number of PT creator #################### ## END CONFIG ## ####################
Last edited by Gizmo; 09/07/200812:14 AM. Reason: 7.3 Compat
Not to sure yet but I have noticed a few things happening with this mod. First thing is I am not receiving all notifications, a few have been sent duplicate at the same time. Also I have received twice now a that moderator shared the same login as 2 other members. Now when I get that notification, I immediately go and look at each users last on ip(mind you I did this as soon as the notice came in)So to get notified that all three shared the account it had to have been within moments of each other, thats why I checked the last on ip. When I do check the ip the all come back to each members location. If they shared and was all within moments of each other wouldn't the last on ip's match?
LOL, thanks Giz I knew that. Just trying to show whats going on. The fact that none are the same tells me it's not fully working under 7.1.1 I know this was written for 7.0.2 but may need to be tweeked a bit:D
I received a backup of the guys computer who ran our site before he passed. Stupidly I went through it and deleted all the old one also stemming from classics. I know I had a brain fart
I'm using 7.1 right now, and I'm getting this notice despite the fact that one of the members is banned. So, is this checking login attempts, or actual logins?
Works good with 7.3 I have it running without a problem but you need to make alterations to the code in the file called "html.inc.php" instead of the original "ubbthreads.inc.php"
Looks like Rick moved the cookie code to this file
First off, thanks to everyone who contributes Great stuff like this! The coding is beyond me and I am thrilled for the added functionality that you guys are providing!
It would be great if: 1- Could enter some member #'s that could be excluded. I have my Admin account and then a generic account that I use to check permissions on user groups. I don't need to see the alert when I am the one logging in.
2- Could check IP #'s as well. If a user logs in using different browsers, or if they clear their cookies then it may not trigger the alert. I know IP #'s could change, but if they are quickly logging in under two names I would suspect they would still have the same IP#
I don't know if either of these are even possible, but thought I would throw them out as possible enhancements.
Again, thanks to those who have taken their time to come up with these! If there is a PayPal donation I could make for your efforts I would love to...just let me know the paypal account to send it to! Mark
It would be great if: 1- Could enter some member #'s that could be excluded. I have my Admin account and then a generic account that I use to check permissions on user groups. I don't need to see the alert when I am the one logging in.
In the config options, add a new array to store the allowed mulitple IDs:
PHP Code
$multi_id_allow = array(1, 2); // array of multiple Uid's allowed
Note the lack of space characters in the string "$this->ubbt".
When doing Mods, you need to be willing to look a little harder.
I did as you apparently did and searched for the whole string from the text file. When that did not find a match, I started doing a search for "ubbt_setcookie" and found what was needed.
I have this Mod working fine.
Remember for 7.3x you are looking in "html.inc.php".
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.