Get exclusive CAP network offers from top brands

View CAP Offers

Reply To: PHPbb Forum owners…

[bsa_pro_ad_space id=2]
#738692
Anonymous
Inactive

**** First go to “/forum/language” and find the first language in the folder.
should be lang_albanian or lang_asturian. Make sure you note the language itself in my case its
asturian.

Open ” /forum/includes/usercp_register.php “


[Find]



if ( preg_match(‘/^[a-z_]+$/i’, $HTTP_POST_VARS) )
{
$user_lang = htmlspecialchars($HTTP_POST_VARS);


[After Add]



//MyMod

if ($user_lang == ‘asturian’)
{
message_die(GENERAL_MESSAGE, ‘Your account has been created. However, this forum requires account activation. An activation key has been sent to the e-mail address you provided. Please check your e-mail for further information.’);
}


Make sure that in this line if ($user_lang == ‘your first language’) the language you have in quotes is the language listed
first in the folder. If it’s lang_asturian between the ‘ ‘ should be asturian. If its albanian then put that between the ”.

Thats it! It says it creates the file but wont cause it exits the sub, however it makes the spam bot think it does.

Please keep this trick down. It’s simple to use but effective. If the spam bot writers jump on to it, they will bypass it.