Topic: Pun Approval update

still waiting for the extension , 'approval for thos who register.'... neutral

Re: Pun Approval update

how many registrations a day are you getting?
from which countries?
post spam or spam signatures? or both

Re: Pun Approval update

This feature will be implemented in the next version of the pun_approval extension at this week.

Re: Pun Approval update

KeyDog wrote:

how many registrations a day are you getting?
from which countries?
post spam or spam signatures? or both

I don't get any spam, because I closed the possibilty to registrate, they must send me
a mail with there username and password and then I registrate them myself... before that I got a lot of spam....


Great Slavok... I´m  looking  forward for this new approvals  release. wink

Re: Pun Approval update

Slavok:

Can you integrate something like this info on OS, country, IP into the approval request?
this code has some german expressions (from here)

    function get_info(){ 
        $ip = getenv("REMOTE_ADDR"); 
        $data = $_SERVER["HTTP_USER_AGENT"]; 
        $ip_e = gethostbyaddr($_SERVER['REMOTE_ADDR']); 
        if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ 
            $sprache = $_SERVER['HTTP_ACCEPT_LANGUAGE']; 
        } 
        else{ 
            $sprache = "----"; 
        } 
        if (isset($_SERVER['HTTP_REFERER'])){ 
            $referer = $_SERVER['HTTP_REFERER']; 
        } 
        else{ 
            $referer = "----"; 
        } 
        /* Welcher Browser */ 
        if (strpos($data, 'Firefox') !== false) {$browser = "Firefox";} 
        elseif (strpos($data, 'Opera') !== false) {$browser = "Opera";} 
        elseif (strpos($data, 'Safari') !== false) {$browser = "Safari";} 
        elseif (strpos($data, 'IE') !== false) {$browser = "Internet Explorer";} 
        elseif (strpos($data, 'Konqueror') !== false) {$browser = "Konqueror";} 
        elseif (strpos($data, 'SeaMonkey') !== false) {$browser = "SeaMonkey";} 
        elseif (strpos($data, 'K-Meleon') !== false) {$browser = "K-Meleon";} 
        elseif (strpos($data, 'Netscape') !== false) {$browser = "Netscape";} 
        else {$browser = "----";} 
        /* Welches OS */ 
        if (strpos($data, 'Windows NT 5.1') !== false) {$os = "Windows XP";} 
        elseif (strpos($data, 'Windows NT 5.0') !== false) {$os = "Windows 2000";} 
        elseif (strpos($data, 'Windows NT 5.2') !== false) {$os = "Windows 2003";} 
        elseif (strpos($data, 'Windows ME') !== false) {$os = "Windows ME";} 
        elseif (strpos($data, 'Windows NT 6.') !== false) {$os = "Windows Vista";} 
        elseif (strpos($data, 'Macintosh') !== false) {$os = "Apple Mac";} 
        elseif (strpos($data, 'Linux') !== false) {$os = "Linux";} 
        else {$os = "----";} 
        /* Welches Land */ 
        if (strpos($ip_e, '.ch') !== false) {$land = "Schweiz";} 
        elseif (strpos($ip_e, '.fr') !== false) {$land = "Frankreich";} 
        elseif (strpos($ip_e, '.de') !== false) {$land = "Deutschland";} 
        elseif (strpos($ip_e, '.at') !== false) {$land = "Österreich";} 
        elseif (strpos($ip_e, '.it') !== false) {$land = "Italien";} 
        elseif (strpos($ip_e, '.au') !== false) {$land = "Autsralien";} 
        elseif (strpos($ip_e, '.be') !== false) {$land = "Belgien";} 
        elseif (strpos($ip_e, '.ca') !== false) {$land = "Kanada";} 
        elseif (strpos($ip_e, '.dk') !== false) {$land = "Dänemark";} 
        elseif (strpos($ip_e, '.eg') !== false) {$land = "Ägypten";} 
        elseif (strpos($ip_e, '.gr') !== false) {$land = "Griechenland";} 
        elseif (strpos($ip_e, '.hr') !== false) {$land = "Kroatien";} 
        elseif (strpos($ip_e, '.hu') !== false) {$land = "Ungarn";} 
        elseif (strpos($ip_e, '.ir') !== false) {$land = "Iran";} 
        elseif (strpos($ip_e, '.jp') !== false) {$land = "Japan";} 
        elseif (strpos($ip_e, '.de') !== false) {$land = "Deutschland";} 
        elseif (strpos($ip_e, '.hk') !== false) {$land = "Honkong";} 
        elseif (strpos($ip_e, '.li') !== false) {$land = "Liechtenstein";} 
        elseif (strpos($ip_e, '.lu') !== false) {$land = "Luxemburg";} 
        elseif (strpos($ip_e, '.nz') !== false) {$land = "Neuseeland";} 
        elseif (strpos($ip_e, '.pt') !== false) {$land = "Portugal";} 
        elseif (strpos($ip_e, '.sa') !== false) {$land = "Saudi Arabien";} 
        elseif (strpos($ip_e, '.se') !== false) {$land = "Schweden";} 
        elseif (strpos($ip_e, '.sg') !== false) {$land = "Singapur";} 
        elseif (strpos($ip_e, '.th') !== false) {$land = "Thailand";} 
        elseif (strpos($ip_e, '.tn') !== false) {$land = "Tunesien";} 
        elseif (strpos($ip_e, '.tr') !== false) {$land = "Türkei";} 
        elseif (strpos($ip_e, '.us') !== false) {$land = "USA";} 
        elseif (strpos($ip_e, '.uk') !== false) {$land = "England";} 
        else {$land = "----";} 
        $info = array(); 
        $info['ip'] = $ip; 
        $info['os'] = $os; 
        $info['browser'] = $browser; 
        $info['land'] = $land; 
        $info['sprache'] = $sprache; 
        $info['host'] = $ip_e; 
        $info['referer'] = $referer; 
         
        return $info; 
    }  

sprache = language
land = country
welches OS = which OS
welcher browser = which browser

Re: Pun Approval update

kalle11 wrote:

Great Slavok... I´m  looking  forward for this new approvals  release. wink

As I said in my first post, we released  the new version yesterday.
KeyDog, in the next release we are planning to add registration and poster ip to the corresponding tables. Please, add your other wishes to the pun_approval wiki page. Just curious, how can information about OS or browser influence your decision about user registration?

Re: Pun Approval update

Slavok wrote:

Please, add your other wishes to the pun_approval wiki page. Just curious, how can information about OS or browser influence your decision about user registration?

You're right, OS and browser wouldn't influence me... Just IP, ISP, country.
(I do however wonder if the spam registrations most often come from certain OS/browser environments. But it does not have much value in pun approval)