Ok i got an answer,from the admin of that site. he said:
Quote:
Actually, its not really any type of hex/binary/decimal format.. what I did was used the crypt() function to encrypt the ip, then the md5() function to further encode the ip, and finally, just displayed the first 8 characters, since displaying the full 32 char md5 hash makes it impossible for people to compare it quickly. With just 8 chars, its impossible to reverse engineer it to get the real ip back.
I went ahead and pasted the code below. You will need to modify the template to display the $post['ipcensored'] variable.
Code:
$censored_ip = explode(".", $post[ip]);
$encrypted_ip = strtoupper(md5(crypt("$censored_ip[0]$censored_ip[1]$censored_ip[2]$censored_ip[3]", "randomKEY")));
$post['ipcensored'] = substr($encrypted_ip, 0, 4) . " " . substr($encrypted_ip, 4, 4);
Insert that code above the line
Code:
$postbits .= construct_postbit($post, $template);
in the linear mode section in the showthreads.php file
|
However,for some reason. in 3.5.4 their isnt a
Code:
$postbits .= construct_postbit($post, $template);
in that template.
Does anyone know what the code is for 3.5.4?
any1.