Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Multiple Identity Detector 3.1

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. I updated to 3.1 which adds the Usernames to the body of the PM as well as the user number.

Working Under: UBB.Threads 6.3-6.4

Mod Status: Finished

Any pre-requisites: none

Author(s): JustDave

Date: 02/03/04

Credits: JoshPet for updates

Files Altered: ubbt.inc.php

New Files: none

Database Altered: none

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.
Attachments
107001-MultipleIdentityDetector3.1.txt (0 Bytes, 185 downloads)

Sponsored Links
Joined: Jan 2004
Posts: 79
Power User
Power User
Joined: Jan 2004
Posts: 79
Can I make it so I don't get emails about the moderators along with the admin.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
If you want to exclude moderators, change that first bit to this:
Code
<br />	 if (($user['U_Status'] == "Administrator") || ($user['U_Status'] == "Moderator")) {<br />         setcookie("{$config['cookieprefix']}IDstack",'',time()-846000,"{$config['cookiepath']}");<br />

Joined: Jan 2004
Posts: 79
Power User
Power User
Joined: Jan 2004
Posts: 79
thanks.

Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
Josh,

I installed this hack the other day and something isn't exactly right it seems. We have a couple who recently married and thus are using one computer, instead of two, to access the Board. Thus this hack correctly identified them as two users with the same IP/cookie. BUT.... the PM was sent to THEM and not to the Administrators. []http://www.the-highway.com/Smileys/rofl.gif[/]

Well, I was rather surprised when I received a PM from this user asking me what that crazy PM was all about. So, what can I do to fix this problem where the PM is being sent to the wrong party?

Jeff


Artificial Intelligence is no match for natural stupidity!
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Hrm...

I'm using this on serveral sites. No problems.

Are you sure neither one of them is is an administrator.

SELECT U_Status
FROM w3t_Users
WHERE U_Number = xxxxx


I don't know how that can happen, unless the send_message function in your ubbt.inc.php has also been modified.

Here's the line from this mod that sends the PMs:

$this -> send_message($user['U_Number'],'',$Subject,$msg,'ADMIN_GROUP');

It sends the PMs to the "ADMIN_GROUT".

So if anything else in your ubbt.inc.php file has been altered, you might want to start with a clean copy. This mod doesn't actually do the sending of the PM or determine who it's sent to. Threads does that - it uses built in threads functionality to do that with the send_message function.

Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
[]I don't know how that can happen, unless the send_message function in your ubbt.inc.php has also been modified.[/]
Well, if YOU don't know how it can happen.... and no this hack is the only one that has been added to the ubbt.inc.php file, then I surely don't know.

I'm simply reporting what has happened. If you would prefer I didn't report any such anomalies with any of your hacks, just say the word and I'll keep silent.

Jeff


Artificial Intelligence is no match for natural stupidity!
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, I dunno. When you make a new admin or moderator or ban someone - does this user get those PMs too? It's the same mechinism?

Did you check their status with the query I posted above?

I'd worry about a problem with those user records or their U_Status being incorrectly set - like I said, this mod has been around for a couple of years. And I've not seen any bugs with threads and other people getting the admin PMs.

You'd need to probably add some logging or debugging code into the send_message function in ubbt.inc.php to see what might be wrong with the private message code.

Daine #268608 02/11/2004 1:07 PM
Joined: Jun 2000
Posts: 190
Enthusiast
Enthusiast
Joined: Jun 2000
Posts: 190
Josh,

The problem seems to be with ME and not the hack, as everything in the code is fine. It was simply my ignorance in knowing HOW this hack actually worked; e.g., the form of the PM that is sent to the Administrator(s). What I found confusing was the username in the "Sender" field of the PM. I assumed that this user had sent the PM to me asking me why she got that strange message. []http://www.the-highway.com/Smileys/stupidme.gif[/]

So, I checked with my other Administrator and found out that she had also received this same PM and also assumed it was from the user, whose username appeared in the "Sender" field. And she too replied to this now even more confused user as if she had sent the PM. Further investigation showed that the user never received the PM (obvious to me now) I received and never sent a PM asking about it.

Thus, the hack is working as it should and I have learned something new. []http://www.the-highway.com/Smileys/blushing.gif[/]

My apologies for taking up your time with this as it was all due to my ignorance.

[]http://www.the-highway.com/Smileys/sorry2.gif[/]

Jeff


Artificial Intelligence is no match for natural stupidity!
Tachyon #268609 02/11/2004 2:07 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
LOL

No problem.... it had me baffled. Yeah, I guess I should say, the PM comes from the user - to the administrators.

Sponsored Links
Daine #268610 04/24/2004 10:57 AM
Joined: Sep 2003
Posts: 19
Newbie
Newbie
Offline
Joined: Sep 2003
Posts: 19
Here's a weird one. Using this mod, and it works like a charm. Til I got this PM:

From: **DONOTDELETE**

I seem to have multiple personalities using ID numbers (2513) and **DONOTDELETE**(1) sharing the same computer. Who am I? Seeking professional help, please advise! Is that Jerry? Who are those people? Where do they come from? No soup for you! and you! and you!

I think 2513 was deleted, which is why there's no name, and I have no idea what the **DONOTDELETE**(1) is.

HELP?!? What's going on here. Is somebody scamming their way in, after previously being banned or something?

webwalker #268611 04/24/2004 10:17 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
**DONOTDELETE**(1) is the Super User Admin Account and CAN'T BE DELETED. Well it can but its NOT wise

234234 #268612 04/25/2004 10:11 AM
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Just ignore these messages send from the donotdelete user.

-Fusion- #268613 05/05/2004 10:11 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, sometimes it gets triggered from an anonymous user (or user not logged in)

Daine #268614 05/06/2004 2:05 AM
Joined: Mar 2004
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2004
Posts: 118
This is ver useful: by the date & time of this PM message you will see who was anonymous


Kind regards,
PaNTerSan
Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
I installed this hack and for several days it worked fine. But the last two days I got dozens of messages, always containing the same two UserIDs. Every two or three seconds the message is generated.

Seems like while this particular user is active, every click generates a new message.

How can this happen?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Maybe he/she isn't what they pretend to be?

Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
But this should generate one message instead of many. The message is always the same, the two IDs never change (example): "I seem to have multiple personalities using ID numbers lala(555) and blah(888) [...]"

Joined: Mar 2004
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2004
Posts: 118
[]Maze said:
Every two or three seconds the message is generated.

Seems like while this particular user is active, every click generates a new message.

How can this happen? [/]
This is because user has some kind of anty spyware program which deletes cookies whenever they are created. So, ubbt thinks there is no cookie and creates the cookie again. But it is instantly removed. This happens whenever user click on a link anywhere in threads.

Send a pm to user to ACCEPT your cookies or ban him


Kind regards,
PaNTerSan
Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
Ah, this makes sense. Thanks for the info!

I think the easiest ways is to delete his account

Joined: Sep 2003
Posts: 67
Power User
Power User
Joined: Sep 2003
Posts: 67
Is there a way of altering this great mod so that moderators get the email as well?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Change this line:

$To = "ADMIN_GROUP";


To this:

$To = "A_M_GROUP";


Then it goes to all admins & mods.

Joined: Oct 2002
Posts: 105
ehm Offline
Journeyman
Journeyman
Offline
Joined: Oct 2002
Posts: 105
Hi,
I install the hack today, and try it loging from the same computer as a 2 different users (test1 and test2).
I used each user for about 10 minutes, sending messages in both, but never received neither error, nor the warning e-mail neither on my Admin account, nor on my Moderator account
Any help?

Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
I guess you also use the same browser for your admin account? Try to use a different browser (eg if you currently use IE, try Firefox or Opera) to play around with two user accounts.

Joined: Sep 2003
Posts: 67
Power User
Power User
Joined: Sep 2003
Posts: 67
Brilliant, thanks Josh. (Only just seen your reply!).

Joined: Oct 2002
Posts: 71
Power User
Power User
Offline
Joined: Oct 2002
Posts: 71
Does this work on 6.5?

Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
I will also need this mod for 6.5

Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
so does it work on 6.5 ?

Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
Probably. Try it out and report.

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
So... has anyone tried it on 6.5 yet?

Or do I have to be the first one?

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
I don't think that you will encounter any problems with this looking at the code. It should work on 6.5 as well.


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, 6.5 is fine.

Joined: Sep 2003
Posts: 67
Power User
Power User
Joined: Sep 2003
Posts: 67
Sorry, thought I'd said (put it on mine ages ago) as Josh says - this works fine on 6.5.

Joined: Oct 2002
Posts: 105
ehm Offline
Journeyman
Journeyman
Offline
Joined: Oct 2002
Posts: 105
Josh,
I was a heavy user for this mod at version 6.3.
Now I'm missing it on 6.5. Are you planning to upgrade it soon?

Thank you

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Updated for 6.5 See this post


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
This works on 6.5

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]dimopoulos said:
Updated for 6.5 See this post [/]

Whoops - thanks Nikos.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)