vb.org Archive

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

orok 07-27-2010 01:19 AM

works fine with me at vb 4.0.5 :up:

egerci 07-27-2010 06:05 AM

Hello,
I use this addon for years and it was very helpfull for me to detect multiple account.

As you know there are 2 option to report detection.
New Thread Creation and sent PM

I have added some code to plugin and now it automaticly create/add "user notes" for multiple account.

to do;

Firstly open "AE Detector: Login checker" plugin from pruducts and plugin/plugin management pages under "Multiple Login Detector" section.

And find
Code:

$ipaddress = $vbulletin->config['ae_adminip'];
after this line add all of following

Code:

//create a new usernote
$usernote_message = $message;
for ($i = 0; $i < (sizeof($Unums)); $i++) {
        if (!empty($Unums[$i]) && is_numeric($Unums[$i])) {
                $checkuser = $vbulletin->db->query_first("SELECT username FROM " . TABLE_PREFIX . "user WHERE userid={$Unums[$i]}");
                $db->query_write("INSERT INTO " . TABLE_PREFIX . "usernote (message, dateline, userid, posterid, title, allowsmilies) VALUES ('" . $db->escape_string($usernote_message) . "', " . TIMENOW . ", ".$Unums[$i].", 1, 'Coklu Uyelik', 1) ");
        }
}

and save..
Next time it detect a multiple login account automaticly creta a user notes about multiple login.

PS. check your "USER NOTES" option for usergroups

Eric 08-20-2010 05:59 PM

As far as vB 4, since this mod is marked as "Re-usable Code", I'll give it a look over and will release it with any improvements I may make to it.

Boofo 08-20-2010 06:29 PM

Actually, it works fine just the way it is.

Eric 08-20-2010 06:45 PM

Quote:

Originally Posted by Boofo (Post 2086984)
Actually, it works fine just the way it is.

Indeed, but I do see some things that could be improved :)

Boofo 08-20-2010 07:28 PM

Quote:

Originally Posted by SecondV (Post 2086991)
Indeed, but I do see some things that could be improved :)

I'd be interested to see what you come up with then. ;)

Videx 08-20-2010 07:45 PM

I like the idea of automatically adding user notes for everyone involved. And maybe some sort of 'test' button (though I can't imagine how to do it). Maybe the posted notice would include an admin link to exclude one or all of the people involved (a fairly tedious process now).

Boofo 08-20-2010 08:11 PM

User Notes would be a waste of a good hack.

TheLastSuperman 08-20-2010 08:52 PM

Quote:

Originally Posted by Boofo (Post 2086984)
Actually, it works fine just the way it is.

O.o maybe I should have posted that a while back lol, I know the mods phrase No Soup for You and you and you etc is from the "Soup Nazi" episode of Seinfeld from years ago... no one else ever seems to put two and two together :p.

Quote:

Originally Posted by SecondV (Post 2086991)
Indeed, but I do see some things that could be improved :)

Well don't keep us waiting too long... ;)

Quote:

Originally Posted by Boofo (Post 2087012)
I'd be interested to see what you come up with then. ;)

Same here :D

Paul M 08-20-2010 09:56 PM

I actually rewrote a lot of this for my forum a while ago, tbh I cant exactly remember what I changed, but I know it works much better for us now.


All times are GMT. The time now is 04:56 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.01404 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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