XF 1.3 How to Block Different Countries from Registering?

billybatz9

Active member
#1
How do you block different countries from registering on xenforo forum? I see most of my spam comes from Pakistan. But would like to block other non English speaking countries as well. ANy help?
 

DroidOne

Well-known member
#3
Here's our list for TPU detect, you can start by adding all of the rejected countries if you'd like to avoid 90% of the SPAM.

Code:
+2|AC
+2|AD
+2|AE
+2|AF
+2|AG
+2|AI
+2|AL
+2|AM
+2|AN
+2|AO
+2|AQ
+2|AR
+2|AS
+2|AT
accept|AX
+2|AU
+2|AW
+2|AZ
+2|BA
+2|BB
reject|BD
+2|BE
+2|BF
+2|BG
+2|BH
+2|BI
+2|BJ
+2|BM
+2|BN
+2|BO
+2|BR
+2|BS
+2|BT
+2|BV
+2|BW
+2|BY
+2|BZ
+2|CA
+2|CC
+2|CD
+2|CF
+2|CG
+2|CH
+2|CI
+2|CK
+2|CL
reject|CM
reject|CN
+2|CO
+2|CR
+2|CS
+2|CU
+2|CV
+2|CW
+2|CX
+2|CY
+2|CZ
+2|DD
+2|DE
+2|DJ
+2|DM
+2|DO
+2|DZ
+2|EC
+2|EE
+2|EG
+2|EH
+2|ER
+2|ES
+2|ET
+2|EU
+2|FJ
+2|FK
+2|FM
+2|FO
+2|FR
+2|GA
+2|GB
+2|GD
+2|GE
+2|GF
+2|GG
+2|GH
+2|GI
+2|GM
+2|GN
+2|GP
+2|GQ
+2|GR
+2|GS
+2|GT
+2|GU
+2|GW
+2|GY
+2|HK
+2|HM
+2|HN
+2|HR
+2|HT
+6|HU
+4|ID
+2|IE
+2|IL
+2|IM
reject|IN
+2|IO
+2|IQ
reject|IR
+2|IT
+2|JE
+2|JM
+2|JO
+2|JP
+2|KE
+2|KG
+2|KH
+2|KI
+2|KM
+2|KN
+2|KP
+6|KR
+2|KW
+2|KY
+2|KZ
+2|LA
+2|LB
+2|LC
+2|LI
+2|LK
+2|LR
+2|LS
+2|LT
+2|LU
+2|LV
+2|LY
+2|MA
+2|MC
+2|MD
+2|ME
+2|MG
+2|MH
+2|MK
+2|ML
+2|MM
+2|MN
+2|MO
+2|MP
+2|MQ
+2|MR
+2|MS
+2|MT
+2|MU
+2|MV
+2|MW
+2|MX
+2|MY
+2|MZ
+2|NA
+2|NC
+2|NE
+2|NF
+2|NG
+2|NI
+2|NL
+2|NP
+2|NR
+2|NU
+2|NZ
+2|OM
+2|PA
+2|PE
+2|PF
+2|PG
reject|PH
reject|PK
+6|PL
+2|PM
+2|PN
+2|PR
+2|PS
+2|PT
+2|PW
+2|PY
+2|QA
+2|RE
reject|RO
+2|RS
reject|RU
+2|RW
+2|SA
+2|SB
+2|SC
+2|SD
+2|SG
+2|SH
+2|SI
+2|SJ
+2|SK
+2|SL
+2|SM
+2|SN
+2|SO
+2|SR
+2|SS
+2|ST
+2|SU
+2|SV
+2|SX
+2|SY
+2|SZ
+2|TC
+2|TD
+2|TF
+2|TG
+2|TH
+2|TJ
+2|TK
+2|TL
+2|TM
+2|TN
+2|TO
+2|TP
+3|TR
+2|TT
+2|TV
+2|TW
+2|TZ
reject|UA
+2|UG
+2|UK
+1|US
+2|UY
+2|UZ
+2|VA
+2|VC
reject|VE
+2|VG
+2|VI
reject|VN
+2|VU
+2|WF
+2|WS
+2|YE
+2|YT
+2|YU
rejected|ZA
+2|ZM
+2|ZW
 
Last edited:

billybatz9

Active member
#4
Here's our list for TPU detect, you can start by adding all of the rejected countries if you'd like to avoid 90% of the SPAM.

Code:
+2|AC
+2|AD
+2|AE
+2|AF
+2|AG
+2|AI
+2|AL
+2|AM
+2|AN
+2|AO
+2|AQ
+2|AR
+2|AS
+2|AT
accept|AX
+2|AU
+2|AW
+2|AZ
+2|BA
+2|BB
reject|BD
+2|BE
+2|BF
+2|BG
+2|BH
+2|BI
+2|BJ
+2|BM
+2|BN
+2|BO
+2|BR
+2|BS
+2|BT
+2|BV
+2|BW
+2|BY
+2|BZ
+2|CA
+2|CC
+2|CD
+2|CF
+2|CG
+2|CH
+2|CI
+2|CK
+2|CL
reject|CM
reject|CN
+2|CO
+2|CR
+2|CS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