Quote:
Originally posted by Jawelin
I have enabled moderation, but not email notification to the admin. I would, if some percentage value is overcome, receive that email.
Which variable should I check ? Do you think it should possible ?
|
@Jawelin: To add such a feature, first find the part in the hack code:
PHP Code:
$sorted_matches_pro[$i]=${$result}[probability].".".${$result}[userid];
After that add:
PHP Code:
if (${$result}[probability]>X) {$alert_tick=1;}
Replace X with your probability you want to check.
Now if a user's possibility of being another user is more than X%, then hack will flag the variable $alert_tick and by checking it in register.php, you can make the script send you email notification.
Like in your code:
PHP Code:
if ($alert_tick==1) {$newuseremail='youremail@domain.com';}
Hope that helps..
@All: You may ignore this message if you dont want to have a feature like Jawelin asked.