php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#236403 - 02/15/03 01:13 PM [6.2] Multiple Identity Detector
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097

   [6.2] Multiple Identity Detector to Del.icio.us Add to del.icio.us
  Digg [6.2] Multiple Identity Detector Digg it
Hal9000 suggested this. It's a simple modification to detect users with more than one login. As each new login is detected a PM will be sent to all administrators with information on the multiple identity users. <br /> <br /> <br />Update: Cookie uses configured expiration time and does not expire in 24 hours. Also, there is no on the number of identities tracked per user. As each new identity is used it is reported. <br /> <br /> <br />File's attached. <br /> <br />Happy Hunting. It's open season. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br /> <br />UPDATED: 4-15-03 by JoshPet - Added a step to expire the cookies for Admins. Otherwise, even though the cookie isn't set if you are an Admin, you get one when you use the "become this user feature". So as soon as you become 2 users... you start getting "Multiple Identity Detected" PMs out the ying yang. This update will prevent that. <img src="/forum/images/graemlins/smile.gif" alt="" /> Hope JustDave doesn't mind me updating his code. <img src="/forum/images/graemlins/wink.gif" alt="" />


Attachments
69034-MultipleIdentityDetector2.0.txt (291 downloads)



Edited by JoshPet (04/16/03 12:05 AM)
_________________________
~Dave
ChattersOnline.com

Top
#236404 - 02/15/03 01:15 PM Re: [6.2] Double Identity Detector [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Good work Dave... except there's no file. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />You have been a busy beaver tonight. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#236405 - 02/15/03 01:17 PM Re: [6.2] Double Identity Detector [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I deleted it because one of the brackets didn't line up. Call me picky. LoL <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />PS it should be there now and looking good. LoL


Edited by JustDave (02/15/03 01:17 PM)
_________________________
~Dave
ChattersOnline.com

Top
#236406 - 02/15/03 01:25 PM Re: [6.2] Double Identity Detector [Re: sjsaunders]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Just a note, this is installed here and we know who you are...<br /><br />LoL just kidding...<br /><br /><br />maybe...<br /><br /><br />LoL <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#236407 - 02/15/03 01:36 PM Re: [6.2] Double Identity Detector [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
We have ways of making you talk. Muhahahaha <img src="/forum/images/graemlins/smirk.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#236408 - 02/15/03 02:01 PM Re: [6.2] Double Identity Detector [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Cool one I tested and works perfectly. <br /> <br />JustDave is da man!! <img src="/forum/images/graemlins/applause.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#236409 - 02/15/03 02:46 PM Re: [6.2] Double Identity Detector [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Very <img src="/forum/images/graemlins/cool.gif" alt="" /> !<br /><br />Thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#236410 - 02/15/03 03:12 PM [6.2] Multiple Identity Detector [Re: sjsaunders]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
hehe... updated it already. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#236411 - 02/15/03 04:18 PM Re: [6.2] Multiple Identity Detector [Re: sjsaunders]
chillin Offline
Journeyman

Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
this is soooo sweet. i know my inbox will be fillin up monday morning.<br /><br />is it just me or is it harder to track down multiple users via IP in threads than it was in classic...?
_________________________
i see threads people
http://www.chinooktc.com

Top
#236412 - 02/15/03 04:44 PM Re: [6.2] Multiple Identity Detector [Re: kwalenta]
Hal9000 Offline
Journeyman

Registered: 11/04/02
Posts: 120
Only couple of hours have passed and you made this mod <br />Thaaanks

Top
#236413 - 02/15/03 04:52 PM Re: [6.2] Multiple Identity Detector [Re: dlhanso]
chillin Offline
Journeyman

Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
works wonderfully JustDave, thanks again
_________________________
i see threads people
http://www.chinooktc.com

Top
#236414 - 02/15/03 05:02 PM Re: [6.2] Multiple Identity Detector [Re: kwalenta]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Using IIP you can match users that have the same IP address by using wild cards * in place of the . <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#236415 - 02/15/03 09:54 PM Re: [6.2] Multiple Identity Detector [Re: sjsaunders]
Mudpuppy Offline
Journeyman

Registered: 08/16/02
Posts: 113
Loc: Sin City
I've installed this and it works -- I just found out that two sisters who post on my board must share a computer.<br /><br />Now that I know this -- and get reminded everytime one of them logs on -- is there any way to exclude member numbers from this check?

Top
#236416 - 02/15/03 10:16 PM Re: [6.2] Multiple Identity Detector [Re: jbiz]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
As long as they don't clear their cookies the PM's will stop. If there is no cookie one is set with the current user number. Even if you log out this cookie will remain. If they log back in under a new user the new number is added to the cookie and a PM is sent. Now that the cookie has two numbers stored it will take a 3rd new number for it to send another PM.<br /><br />I'm not sure which would be better for an ignore feature. Something from the configure file in the admin area where user numbers could be stored or to create a whole new field in the user's table and set a flag value to ignore the users with the field set.
_________________________
~Dave
ChattersOnline.com

Top
#236417 - 02/22/03 01:30 AM Re: [6.2] Multiple Identity Detector [Re: sjsaunders]
Hal9000 Offline
Journeyman

Registered: 11/04/02
Posts: 120
Dave in order to limit the number of pm's everytime that recognise a multiple identity, is there any other way to report this?<br />I was thinking of a page or a text file where all the multiple identities will be writen

Top
#236418 - 02/22/03 02:02 AM Re: [6.2] Multiple Identity Detector [Re: sjsaunders]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
<img src="/forum/images/graemlins/shocked.gif" alt="" /> I had no idea this was here. And I WAS going to actually get a few hours of sleep. Thanks Dave! <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />Seriously, thank you. This will really make some of our work easier. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
[:"red"]Lisa[/]

Top
#236419 - 02/22/03 02:45 AM Re: [6.2] Multiple Identity Detector [Re: JacquiL]
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
This is a very cool and needed hack! <br /> <br />One strange result I got: <br /> <br />>From: **DONOTDELETE** <br />>I seem to have multiple personalities using ID numbers 1234 and 1 <br />>sharing the same computer. <br /> <br />How can it happen that some user could login as User #1 DONOTDELETE <br /> <br />Is this a bug in the hack's code or is there a user using some sort of side entrance to threads nobody was aware of yet? - By the way: I have deleted only 2 users. I am pretty sure this one was not amongst them.
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#236420 - 02/26/03 08:32 PM Re: [6.2] Multiple Identity Detector [Re: jbiz]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
[]coy7 said:<br />I've installed this and it works -- I just found out that two sisters who post on my board must share a computer.<br /><br />Now that I know this -- and get reminded everytime one of them logs on -- is there any way to exclude member numbers from this check? [/]<br />I admin on coy's board.... so the repeated duplicate PMs from the sisters were bugging me. <img src="/forum/images/graemlins/grin.gif" alt="" /> They must toss their cookies. <img src="/forum/images/graemlins/tongue.gif" alt="" /> So I tweaked this a bit.<br /><br />So..... Here's how you can ignore certain user numbers:<br /><br />In the original double identity detection code....<br /><br />Where it says:<br /><br />
Code:
<br />         else {<br />            $tempID = ${$config['cookieprefix']."IDstack"};<br />
<br /><br />Change to this:<br />
Code:
<br />         elseif (!stristr(",{$config['allowed_dupes']},","{$user['U_Number']}")) {<br />            $tempID = ${$config['cookieprefix']."IDstack"};<br />
<br /><br /><br />Then go into your config file.... at the very bottom and put this variable into the extra/unknown variable section.<br /><br /><br />$config['allowed_dupes'] = '14,17,13';<br /><br />Between the quotes... put "allowed" duplicate user numbers. Separate them with a comma. What this does... if the user number matches a number on this list, it skips the Private Message send out. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Now if a user on the list has more identities than the what you list, you won't get notified. It basically ignores this user and it's assumed that they are allowed unlimited duplicates. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Hope that helps. <br />Josh <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#236421 - 02/26/03 10:01 PM Re: [6.2] Multiple Identity Detector [Re: Daine]
Mudpuppy Offline
Journeyman

Registered: 08/16/02
Posts: 113
Loc: Sin City
I think the sisters in question login to the board from school, and that's why they share a computer which also dumps cookies on a regular basis. I'm noticing this issue quite a bit with the number of college kids on my board.<br /><br />This fix will really come in handy. There's nothing more disappointing than having a new PM then discovering it's just a "duplicate ID notification" <img src="/forum/images/graemlins/tongue.gif" alt="" />

Top
#236422 - 02/27/03 06:21 AM Re: [6.2] Multiple Identity Detector [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
I think a small change is needed in the code so that user number 15 won't match up to 156. Change this:<br /><br />
Code:
<br />         elseif (!stristr(",{$config['allowed_dupes']},","{$user['U_Number']}")) {<br />            $tempID = ${$config['cookieprefix']."IDstack"};<br />
<br /><br />Into this:<br />
Code:
<br /><br />         elseif (!stristr(",{$config['allowed_dupes']},",",{$user['U_Number']},")) {<br />            $tempID = ${$config['cookieprefix']."IDstack"};<br />
_________________________
/Gardener | Complete list of my mods

Top
Page 1 of 3 1 2 3 >


Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
blaaskaak 2
Cambridge 1
Murphdog 1
MattUK 1
Who's Online
0 Registered (), 23 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
BeyondCompare v3.00
by blaaskaak
09/05/08 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks