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)

Bitmap 11-18-2002 08:46 PM

Code:

if (!strstr(${$degisken}[matches],"[ISP]") AND !strstr(${$degisken}[matches],"[IP]")) {echo strpos(${$degisken}[matches],"[ISP]")."--";${$degisken}[matches].='[ISP]';${$degisken}[probability]+=$email_isp;};
that's the line in register.php

Logician 11-18-2002 10:16 PM

Quote:

Originally posted by Bitmap
Code:

if (!strstr(${$degisken}[matches],"[ISP]") AND !strstr(${$degisken}[matches],"[IP]")) {echo strpos(${$degisken}[matches],"[ISP]")."--";${$degisken}[matches].='[ISP]';${$degisken}[probability]+=$email_isp;};
that's the line in register.php

ok please replace that line as:

PHP Code:

if (!strstr(${$degisken}[matches],"[ISP]") AND !strstr(${$degisken}[matches],"[IP]")) {${$degisken}[matches].='[ISP]';${$degisken}[probability]+=$email_isp;}; 

and tell me if it fixes your problem..

Bitmap 11-19-2002 02:45 AM

thank you :) it works perfect now!

Mr L 11-19-2002 05:05 PM

Looks a great hack, but I am getting the following message after I make the changes...

Parse error: parse error, unexpected T_ELSE in /forums/register.php on line 534

533 }
534 else
535 // this user does not matched before, so let's create a new array for him

I'd be grateful for any help! Thanks!

Mr L 11-19-2002 05:08 PM

Forgot to say, using 2.2.7.

Thanks!

Logician 11-19-2002 05:33 PM

Quote:

Originally posted by HLodder
Looks a great hack, but I am getting the following message after I make the changes...

Parse error: parse error, unexpected T_ELSE in /forums/register.php on line 534

A few hours ago I updated the hack code and it seems that I've missed a { char. I corrected it now.. Please redownload the hack instructions and apply again. (To not to receive the old cached instructions, please make sure you right click the txt file and choose "save")

Mr L 11-19-2002 05:53 PM

Logician,

Many thanks, all is working perfectly now!!!

One of the top quality hacks that I have installed that is actually damn useful. Thanks.

maestrosdelweb 01-07-2003 07:49 PM

I like the hack but my board gets lots of new members daily.

Any chance that the email is generated from a from where I put the user name and the hack will only work for that user?

Best regards

dnd 03-06-2003 11:22 PM

hi

Any update for lage communities?


regards

Quote:

Originally posted by Logician
Kathy by default the hack is not suggested for large communities for 2 reasons:
1- In large communities with a lot of members hack will match many users with same IP or ISP or password so wouldnt give you a good idea as to whom the new user might be.
2- Hack does not only compare IPs in the user database but also in the post database to give more accurate results and if you have a large database (user or posts or both) it would take a very long time to match new registerar's IP in the database which will result in a slowdown in register process.

So it's not good for you as it is.

But I guess it can be tweaked so that it will only compare IPs of banned members and warn you if a "potential" banned member re-registers or even better put him in a special usergroup (like moderated) if the hack decides new user is likely a "banned member". :glasses:


XFLBret 05-04-2003 09:59 PM

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!


All times are GMT. The time now is 05:42 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.01121 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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