vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who might this New User be? (https://vborg.vbsupport.ru/showthread.php?t=38909)

Logician 05-05-2003 08:23 PM

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.

Morgalis 05-13-2003 10:38 AM

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.

Logician 05-13-2003 02:23 PM

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..

gmarik 05-24-2003 08:58 AM

Is this working on 2.3 as well?

Mr. Brian 06-27-2003 05:28 PM

Is it possible to track back old users?

thanks

Logician 06-27-2003 06:14 PM

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..

94supratt 08-29-2003 01:14 AM

Quote:

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


Any news?

Bison 08-29-2003 01:49 AM

It Sure is ...

mariannet 03-15-2004 10:07 AM

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>
  // @@@@@@@@@@@


Logician 03-15-2004 05:50 PM

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.

mariannet 03-16-2004 05:18 AM

Ok, well it did clash and the mySQL error stopped when I removed your code. It's a shame, I was really finding your hack very usefull because "my kids" think it's easy to change username just by setting up another profile :(
I'll let you know if I find a way around it :)

Morgalis 03-23-2004 01:00 AM

Read your signature Logician, and I'm giving a bump to this thread to let you know that we are eager for the return of this admin tool.. thought it was better than one of a sea of pm's asking you to port your hacks

misterfade 03-28-2004 10:59 AM

Yes, I REALLY miss this hack. I've caught so many banned members trying to sneak back in under a different name, don't know why this wasn't included in VB3. We all need this Logician! :)

Logician 03-28-2004 12:35 PM

The problem with that hack's porting is that VB3 password system has been completely changed and it is very hard to match passwords of existing users at the moment. And IMO password match was the most important feature of this hack. So I need to figure out a solution before working on porting which causes me to give this hack a low priority in my to-port list. I don't say I won't but I can not say it will be soon, sorry.

joergh 09-04-2004 07:32 PM

Hi logician,

I read from your passwort algorithm prob to port this hack to vb3. Have you been a step further? I found this a really really useful and important hack for vb2. I would like to see it in my vb3 as well! ;)

Thanks so much!

joergh

GunsNetwork 09-30-2004 06:46 AM

Logician this waas an extremely important hack for popular boards.

Please keep us in mind if you still plan on working on a 3.0.3 solution.

GunsNetwork 10-12-2004 02:12 PM

Logician

How can you config this program for vBulletin 3.0.3 without the hack figuring out the passwode code. Meaning make the whole program work without having to worry about matching passwords????

I liked to due to the IP & ISP's percentage

NSeXcellent 11-10-2004 12:40 AM

As much as I loved this hack in vB2, ill have to subscribe to this thread and hope that he gets it to work for 3 :/

Talisman 11-11-2004 01:20 AM

This hack is much needed in vB3. Please??

94supratt 12-28-2004 10:12 PM

Hack works fine for me in 2.3.0 however when I have "Verify Email address in registration" enabled I get a DB error. Any idea why?

red_baron2000 12-28-2004 11:36 PM

Quote:

Originally Posted by Talisman
This hack is much needed in vB3. Please??

yes would be very usefull ..please :)

UltimatePhysiqu 06-19-2005 08:58 AM

Quote:

Originally Posted by red_baron2000
yes would be very usefull ..please :)

bump for this, i'd install on v3

andrew67 07-10-2005 04:18 AM

Yes please for VB3 :)

ambumann 09-21-2005 07:50 AM

Status on the vB 3 version?

reverse1312 03-01-2006 08:09 PM

please a 3.5 version !! :-)
We need it.

ToyotaDiesel 04-21-2006 10:08 PM

Bump for a VB3.5 version...

John Diver 07-01-2006 10:55 AM

Any other hacks like this for vb3?

kofoid 09-01-2006 02:01 PM

I agree! Any chance someone could port this??

RaZor Edge 09-11-2006 12:27 AM

This hack was very useful when i was using vb 2.0 . A agree that a new version for vb 3.6.0 would be really great!

Ramsesx 10-08-2006 09:23 PM

Thats what I really need now, sad :(


All times are GMT. The time now is 04:17 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.01243 seconds
  • Memory Usage 1,818KB
  • 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
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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