Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who might this New User be? Details »»
Who might this New User be?
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-21-2002 Last Update: Never Installs: 135
 
No support by the author.

Hiyas,

When a new user registers your board, this hack analyzes his email, password, ip address and isp (ranged ip) against existing board members and produces a sorted list with probabilities about who this new user might be. (See screenshot below). This list will be emailed to you with new user notification mail. (The probabilities can be modified by you so it's you who decide how matched results are sorted and ranked, dont blame me!)

Tested and will work better in relatively smaller boards (less than 3000 members). If you have a small board, this hack may help you a bit to track and pinpoint existing users if they re-register with different usernames. For large boards, IMO it's pointless to track new users anyway..

As far as I know it will work with ANY vbulletin version so feel free to try. Installation is very easy, actually 2 simple steps and will take you 2 minutes to apply..

If they change their both ip, isp, password and email, the hack cant get them, yeah I know! This is the best we can do with computer technologies. If you have higher expectations and demands, you may regard consulting a "Seer"..

If you liked this hack, I suggest checking Jawelin's nice Paranoid dupe user buster when moderating Hack too. They make a good couple and I use them both.

Click Install button, if you installed the hack, thank you!

Enjoy! \=^))

Logician

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-05-2003, 08:23 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 01:59 AM XFLBret said this in Post #40
hello.

first off. i want to say that this is one of my favorite hacks. as far as administrative hacks, this is by far my favorite.

it worked like a champ on my old host, no complaints at all. but i have moed hosts, and then upgraded my board to 2.3.0, and now I can't get this hack to work the way I want it to.

first off, the email no longer sends me the password for each user. how do i correct that error?

second, the email has a blank line between each line, as if it were separated by a <br> thing or something. I double-checked the template, and it looks fine.

help!
I don't have access to 2.3.0 code as I didn't renew my expired membership so hard to debug for me blindly. But I know that 2.3.0 put all mailing actions into a function and PHP functions does not access to global variables. So you have to find the mailing function and globalize password variable to get it by mail via this line:

PHP Code:
global $password
As I don't have the code, I can not help you with its location, sorry..

As for extra line, again hard to debug as I don't use that version, but you can try to remove \n at the end of

PHP Code:
$match_user_final.=(string)($i+1)."- ".${$result}[probability]."% => ".${$result}[username]." (id:".${$result}[userid].") ".${$result}[email]."  ".${$result}[matches]."\n"
and see if it helps.
Reply With Quote
  #43  
Old 05-13-2003, 10:38 AM
Morgalis Morgalis is offline
 
Join Date: Oct 2002
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using this on a really large community, but I am pretty aware of the people that I am looking for.

I would like to be able to extend the search time for the script as I get this error

Fatal error: Maximum execution time of 30 seconds exceeded in /usr/home/diabloworld/forums/admin/user.php on line 1341

How can I do this?

GREAT hack btw, you just need to have more patience and awareness with a large forum I think.
Reply With Quote
  #44  
Old 05-13-2003, 02:23 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:38 PM Morgalis said this in Post #42
I'm using this on a really large community, but I am pretty aware of the people that I am looking for.

I would like to be able to extend the search time for the script as I get this error

Fatal error: Maximum execution time of 30 seconds exceeded in /usr/home/diabloworld/forums/admin/user.php on line 1341
You can insert
PHP Code:
set_time_limit(600); 
right before hack code to avoid this error.

Quote:
GREAT hack btw, you just need to have more patience and awareness with a large forum I think.
You are missing the fact that technological structure of the hack does not let it be used in large forum, it is not related to my awareness.

This is because:
The hack checks all IPs in the post database and user database to make an extensive and successful matching and to complete this search quickly and without making your server busy, your database size must be small (ie your board must be a small board). If you use the hack in a large board like yours, it is inevitable that you'll run into problems just like the error you have in your hands now. It shows that the hack can not finish matching the users in 30 seconds everytime it runs so its putting a burden to your server to compare a huge list. My solution can avoid this error but it does not show that it is ok to use the hack with your board. Because my solution above just makes sure you don't get the error but the burden in your server will there everytime someone registers and more imporatly he will have a looong waiting time when he clicks "register" button even if you don't have an error message.

This is inevitable.

The only chance is to avoid it is to recode the hack so that it will not make comparisons in the entire database (this means it will produce less successful results at the end).

So as you can see we have a technical restriction here, regarding large boards..
Reply With Quote
  #45  
Old 05-24-2003, 08:58 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working on 2.3 as well?
Reply With Quote
  #46  
Old 06-27-2003, 05:28 PM
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Location: Internet
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to track back old users?

thanks
Reply With Quote
  #47  
Old 06-27-2003, 06:14 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 09:28 PM Matthew Lam said this in Post #45
Is it possible to track back old users?
question is not clear to me but the hack will check the entire database so you old user is still a user (ie not deleted from DB), he will be matched..
Reply With Quote
  #48  
Old 08-29-2003, 01:14 AM
94supratt 94supratt is offline
 
Join Date: Dec 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-24-03 at 10:58 AM gmarik said this in Post #44
Is this working on 2.3 as well?


Any news?
Reply With Quote
  #49  
Old 08-29-2003, 01:49 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It Sure is ...
Reply With Quote
  #50  
Old 03-15-2004, 10:07 AM
mariannet's Avatar
mariannet mariannet is offline
 
Join Date: Mar 2003
Location: Denmark
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was finding this hack very helpful, but after integrating Hivemail with vBulletin I had to remove the code from "register.php". Can you please tell med how to change the "Who might this New User be?" code bit in "register.php" to make it work again?

I have included the code from Hivemail that I have added:

Code:
// @@@@@@@@@@
// <hivemail>
$hivemail_filepath = '/home/yoursite/public_html/hivemail';

if ($action == 'mailsignup') {
  if ($bbuserinfo['userid'] != 0) {
    $action = 'register';
    define('VB_PLUGIN', true);
    require($hivemail_filepath.'/includes/vbulletin_plugin.php');
    if ($bbuserinfo['hiveuserid'] != 0 and
      $hiveuser = $DB_Hive->query_first("
        SELECT userid FROM hive_user
        WHERE userid = $bbuserinfo[hiveuserid]
      ")) {
      header('Location: usercp.php');
    }
    eval('dooutput("'.gettemplate('hivemail_signup').'");');
    exit;
  } else {
    $action = 'signup';
  }
}

if ($HTTP_POST_VARS['action'] == 'addmail') {
  if ($bbuserinfo['userid'] != 0) {
    $action = 'register';
    define('VB_PLUGIN', true);
    require($hivemail_filepath.'/includes/vbulletin_plugin.php');
    if ($bbuserinfo['hiveuserid'] != 0 and
      $hiveuser = $DB_Hive->query_first("
        SELECT userid FROM hive_user
        WHERE userid = $bbuserinfo[hiveuserid]
      ")) {
      header('Location: usercp.php');
    }
    $email = $bbuserinfo['email'];
    hivemail_register_user($bbuserinfo['userid'], false);
    hivemail_update_password($bbuserinfo['password'], $bbuserinfo['userid']);
    eval('standardredirect("'.gettemplate('hivemail_thankyou').'", "usercp.php");');    
    exit;
  } else {
    $action = 'signup';
  }
}

define('VB_PLUGIN', true);
require($hivemail_filepath.'/includes/vbulletin_plugin.php');
if (($action == 'signup' or $action == 'register') and
  $bbuserinfo['userid'] != 0 and
  !$allowmultiregs and
  ($bbuserinfo['hiveuserid'] == 0 or
  !$hiveuser = $DB_Hive->query_first("
    SELECT userid FROM hive_user
    WHERE userid = $bbuserinfo[hiveuserid]
  "))) {
  header('Location: register.php?action=mailsignup');
  exit;
}
// </hivemail>
// @@@@@@@@@@@
Code:
  // @@@@@@@@@@
  // <hivemail>
  if ($hive_signup == 'yes') {
    hivemail_register_user($userid);
  }
  // </hivemail>
  // @@@@@@@@@@@
Reply With Quote
  #51  
Old 03-15-2004, 05:50 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know why you had to remove my code while installing hivemail code? You didn't mention where you inserted it, nor I'm familiar with hivemail but I believe my code should not clash with hivemail's code unless it bypasses vb's default registration project to register the user to vb itself. This would be unlikely so my hack should still work. But if this is the case, then my hack will never work because if hivemail is overtaking the registration process, then it means that hivemail should be hacked to achieve what this hack is doing.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05025 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete