It's O.K.sevenalive wrote:Would this matter if i have my default timezone different from -12. when i go to register its selected on -7, would this matter to the bot?
Exactly... However, I don't think it will be done like that in phpBB's upcoming releases. You could add it yourself though.mojavemark wrote:it should have been built in to the forum itself by having a blank space as the first option, then -12, -11 and so on, and if the blank space was chosen, then the registerer {I know, not a real word} would get an error message.
Code: Select all
$data = array(
'username' => utf8_normalize_nfc(request_var('username', '', true)),
'new_password' => request_var('new_password', '', true),
'password_confirm' => request_var('password_confirm', '', true),
'email' => strtolower(request_var('email', '')),
'email_confirm' => strtolower(request_var('email_confirm', '')),
'confirm_code' => request_var('confirm_code', ''),
'lang' => basename(request_var('lang', $user->lang_name)),
'tz' => request_var('tz', (float) $timezone),
// Custom
'location' => utf8_normalize_nfc(request_var('location', '', true)),
'occupation' => utf8_normalize_nfc(request_var('occupation', '', true)),
);
if ($data['tz'] == -12.00)
{
die('Die, bot! Die.');
}
It's one of two things since the MOD worked on your two other boards:cmcemd wrote:It worked without fail on my 2 board but it's not working on my 3 board?
I also got the Russian "deatriake" day before yesterday, not to mention the almost 2 dozen "world travelers" since.
Any suggestions?
Code: Select all
$data = array( 'username' => utf8_normalize_nfc(request_var('username', '', true)), 'new_password' => request_var('new_password', '', true), 'password_confirm' => request_var('password_confirm', '', true), 'email' => strtolower(request_var('email', '')), 'email_confirm' => strtolower(request_var('email_confirm', '')), 'confirm_code' => request_var('confirm_code', ''), 'lang' => basename(request_var('lang', $user->lang_name)), 'tz' => request_var('tz', (float) $timezone), // Custom 'location' => utf8_normalize_nfc(request_var('location', '', true)), 'occupation' => utf8_normalize_nfc(request_var('occupation', '', true)), ); if ($data['tz'] == -12.00) { die('Die, bot! Die.'); }