vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Multiple account login detector (AE Detector) (https://vborg.vbsupport.ru/showthread.php?t=125871)

MPDev 09-04-2006 10:00 PM

Multiple account login detector (AE Detector)
 
Mod of the Month winner!
Top 10 most installed mods for vB3.6!

Same plug-in found here:

https://vborg.vbsupport.ru/showthread.php?t=107566

There are no differences as this plug-in works with both 3.5 and 3.6 versions of vBulletin.


If you are like me and migrated from .threads, a common modification was an "AE detector", a simple mod that saved a cookie of a history of ids logged into on your site. If someone logged into more than one account, you got a PM letting you know that your site was being accessed from multiple accounts.

Over the years this was very helpful in identifying users who were posting under multiple accounts (alter-egos!) and users who would return after being banned.

You might be wondering why I don't use the vbcookie call - well, thats because on logout all vB cookies are cleared, so we need to store a cookie that is not effected by the login/logout process.

New Installation
1. Add New Product with attached XML
2. Go to vBulletin Options -> AE Multiple Login Detection Settings and set your specific settings.

Time to install: Easy - 2 minutes.

Upgrade
If you installed this as a Plug-in manually, you can delete that plugin and install this Product, just make sure to go into the Options and set them accordingly.

I hope you find this useful and will click INSTALL if you use it; should it prove useful to enough people I can look at making this installation more automated without the need for edits and an Admin Options page.

To upgrade you will want to reimport this XML file and edit your options accordingly.

1.0.3
-----
. Added a check to ensure that users weren't deleted when reporting violations
. added htmlspecialchars_uni call to username

Note: I am unable to get the call to construct_phrase with $vbphrase['multiplelogin_alert'] to work reliably, as such the $message variable is still set manually inside the plug-in and not via the phrase. If anyone has an idea of why this might not always work, I'm all ears.

1.0.2
-----
. Updated to include exclusion groups, users
. Changed so PM is sent by ae sender id

1.0.1
-----
. Released as a Product (thank you PHPGeek2k3 for your help)
. Added option to post to a forum versus send a PM (or both)
. All settings moved into Admin Option

1.0.0
-----
Initial release.

MPDev 09-05-2006 04:13 PM

This is the same plug-in as the one found in the 3.5 forum; just cross-posted here for the benefit of 3.6 users.

If for some reason your userids change - weather you reinstalled, started over or whatever; the best way to avoid getting false reports based on the users old userid is to edit the name of the cookie used by the AE Detector:

In Plugin Manager under the login_verify_success section edit the AE Detector: Login checker plug-in code.

Change each instance of "IDstack" to some new name for the cookie to be used. There are four of them all in the first 21 or so lines of the code.

1. if(isset($_COOKIE['IDstack']))
2. $idstack = $_COOKIE['IDstack'];
3. setcookie("IDstack", $idstack, time()+10368000, "/");
4. setcookie("IDstack", $idstack, time()+10368000, "/");

sola 09-05-2006 05:00 PM

Still as useful as ever.

TCB 09-05-2006 05:25 PM

A treat to install and to use....

Although it's not a completely safe way to keep out annoying people, it really comes in handy. Thanks

Neal-UK 09-05-2006 06:43 PM

This worked very well for me in the past stopping some idiots, so just installed on 3.6.

Excellent, thank you.

henners 09-05-2006 06:58 PM

Sounds really useful, given it an install :)

MentaL 09-05-2006 09:11 PM

You my friend are grade A meat. yum.

Ascor 09-05-2006 10:29 PM

installed and tested, work fine, thank you :)

Phalynx 09-06-2006 07:10 AM

Works great, thanks.

VBUsers 09-06-2006 10:05 PM

awesome and clicked install. good job!

tantawi 09-08-2006 05:35 PM

Essential plug-in, thanks!

Freesteyelz 09-08-2006 05:48 PM

Thank you, MPDev. :)

Keyser S?ze 09-08-2006 06:28 PM

ok well u may know this but the hack version still comes up as 1.03 but here u have it listed as 1.0

ColeEsque 09-08-2006 06:49 PM

Installed.

Thanks!

C:)

mauisun 09-09-2006 02:30 PM

clicked install, very easy import and setup :)
...mauisun

YabbaDabba 09-09-2006 08:59 PM

Found in Options screen:

IS: List of usergroups that to not repot multiple logins sepertated by ","'s

Suggest:
Do not report multiple logins for these usergroups ID's (comma-separated list)

YabbaDabba 09-09-2006 09:47 PM

I suspect it would be better if all phrases were placed in the Phrase library.

An example phrase hardcoded in the xml:
Quote:

$subject = $vbulletin->userinfo['username'] . " tripped AE detector";
Even better would be to give AE its own category in the Phrase library instead of sticking them in the VB category.

Otherwise, very cool!

oberheimhaven 09-11-2006 05:46 PM

Installed 1 m in tested and works 3.6.0 zero hassles

great hack
thxs
MarkAnthony
Musiciansquarters.com
Myspace.com/obeheimhaven

smoknz28 09-11-2006 08:27 PM

Right on....installed. ;)

Thank you for sharing.

Gonzo

YabbaDabba 09-14-2006 04:05 AM

Am I right in believing this can catch users hiding behind proxies (who otherwise don't clear their cookies after every session)?

YabbaDabba 09-14-2006 01:44 PM

Does AED generate a report for every additional (2nd, 3rd, 4th, etc.) identity found? Or does it just identify the first pair of overlapping accounts?

Put another way:
1 - Problem member gets banned
2 - Problem member re-registers
3 - AED spots overlap and generates report
4 - Problem member gets banned again
5 - Problem member re-registers again
6 - Does AED generate another report at this point?

YabbaDabba 09-16-2006 02:41 AM

It seems that the admin userID selected to generate a report thread does so from the computer of the overlapping users. The IP of the overlapping users' computer appears for the admin userID.

Anyway to prevent the IP logging behavior?

Otherwise, using the ID of one of the overlapping users to generate the report thread seems more appropriate.

p.s., neat hack!!

optrex 09-16-2006 10:32 PM

ignore me wrong hack

shoupz 09-17-2006 07:32 AM

installed, testing it out. *clicks installed

dodgeboard.com 09-20-2006 12:37 AM

Sometimes you get a hubby and a wife that both post from the same computer.

What would really be cool is if there was a way to set it to post a usernote to both duplicate registration ID's automatically (john123 = Jane456). That way I dont have to got post a note on there to keep track of dupe registrations.

Another cool feature would be to query for all duplicates; ie: run a report.

I like the hack though!!

MPDev 09-20-2006 11:34 AM

You could add them into the exception list, no?

Nathan2006 09-20-2006 05:44 PM

Thank you MPDev

Install

teedizz 09-27-2006 07:30 AM

For some reason this isnt creating a thread when I KNOW users have more then one userid, anyone explanation as to this may be happening? Im running 3.6.1

Neal-UK 09-27-2006 07:40 AM

If they clear their cookies or use another computer then you wont know. People using dial up are a pain, and those who have more than one ISP.

YabbaDabba 09-28-2006 01:32 PM

Quote:

Originally Posted by YabbaDabba
Does AED generate a report for every additional (2nd, 3rd, 4th, etc.) identity found? Or does it just identify the first pair of overlapping accounts?

Every additional account on that computer generates a new report.

b6gm6n 09-28-2006 02:18 PM

did u know... that this mod is probebley my most useful and important addition to my forums...cheers

-b6

YabbaDabba 09-28-2006 04:34 PM

BUGS?

1 - Please move all the phrases into the Phrase library

2 - Fix the custom phrase bugs
I ended up having to edit the XML file to change phrases there.

3 - Have Report threads indexed in search properly
I have reports sent to a dedicated Mod-only forum with "Index New Posts in Search Engine" set to Y. Usernames are not found when searching this dedicated forum unless I go into admincp and reindex.

4 - Have report threads update the post counts properly
The Bot that generates these threads always has a "0" post count.

5 - Some unintended interaction between PM and thread generation
Had both PM and thread generation set to Y. Everything worked fine for weeks. Changed PM option to N. Threads no longer generated. This was reported as a problem on the AED for 3.5 thread also.


RECOMMEND ADDING A USE TIP TO YOUR ADMIN POST:
1 - Set up a bot account to be the author of any AED threads and PMs.
This will save people a lot of grief as otherwise the admin IP shows up associated with all the overlapping accounts.


POSSIBLE ENHANCEMENTS

1 - Skip user overlaps that have been previously reported
I realize that detecting this on the user's machine is unreliable for cookies, especially if the perp is using different computers and what not. Perhaps AED can detect if an identical post in an existing thread already exists? Or by comparing the userID's in the cookie to a logfile of past matches on the server?

2 - Automatically change new overlapping user's group assignment based on prior account's group
E.g., move new account "B" into usergroup "3" if earlier account "A" is in usergroup "2" (e.g., if member account A is in a "banned" group).

3 - Option to flush cookies
Or possibly an option to change the cookie domain; or add a trigger date to the cookie.
If a forum resets userID's, this plugin becomes worse than useless.

4 - Option to add current IP's to PM/thread for reported overlaps.

5 - Option to force acceptance of cookie
As pointed out by another user on the AED 3.5 thread, troublemakers with 1/2 a brain can get around this utility. Forcing cookie use (an option to deny access if cookie not present/written and/or detecting matching accounts against the logfile) would not affect most members at all.

6 - Create username variables for all cases
It would be nice to have variables for each reported username in both linked and unlinked states as well as for "all" user names.

brvheart 10-02-2006 04:16 PM

Well, I installed as this was one of the most useful that I used in 3.5.x but it does not work on my 3.6.1 board....it does not generate a PM or start a new thread....

Wachtmeister 10-08-2006 05:06 PM

Well, i used this hack and it is still one of my favoured, but since today it does not work :( I've upgraded to vb362 and don't get messages if users share their login. Is there a way how i can test the functionality?

jyajay 10-12-2006 01:25 PM

I do have v3.6.2 and this hack is running smoothly.

MPDev 10-12-2006 05:25 PM

Also running 3.62 with no problems....

brvheart 10-12-2006 05:42 PM

I must have a conflicting hack installed or something as this is not working for me at all :(

teedizz 10-18-2006 05:42 AM

Quote:

Originally Posted by brvheart
Well, I installed as this was one of the most useful that I used in 3.5.x but it does not work on my 3.6.1 board....it does not generate a PM or start a new thread....


Im running 3.6.2 & im having the same exact problem.

mrkhm 10-18-2006 05:45 AM

kudos :)

MPDev 10-19-2006 04:22 PM

If for some reason your board changes userids, please refer to the second post:

https://vborg.vbsupport.ru/showpost....79&postcount=2


All times are GMT. The time now is 05:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01549 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete