Re: Приходит спам через форму связи с администрацией
Добавлено: 07.08.2016 17:20
Мужья - они такие...
скачать русский перевод, моды, скины и стили для phpBB, phpBB3
https://www.phpbbguru.net/community/
С рекапчей2 расширение конфликтует. Проверку проходит, но после отправки сообщения выдает ошибку.владимир1983 писал(а): https://www.phpbb.com/community/viewtop ... &t=2372886
Я это исправил тем, что в ext/paybas/quicklogin/styles/all/template/quick_login.html убрал вот этот кусок кода:
Код: Выделить всё
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->
А пока в русской версии письмо не отправляется. Может кто-нибудь сделает перевод? Я бы взялся, но пока знаний маловато.It is because you are using a language different than en and there is no email template within the extension for that language.
This is a fault of phpBB itself.
https://github.com/phpbb/phpbb/pull/3527
So to remedy, create a lang directory with the same name in use on your forum (basically copy and rename the en directory within the extension lanugage directory) and then translate the email template into that language.
А перевода нет?владимир1983 писал(а): https://www.phpbb.com/community/viewtop ... &t=2372886
Код: Выделить всё
$lang = array_merge($lang, array(
'ACP_CAT_CONTACTADMIN' => 'Отправить сообщение администрации',
'ADD_ATTACHMENT_EXPLAIN' => 'If you wish to attach a file enter the details below.',
'CONTACT_BOT_ERROR' => 'You can’t use the contact form at the moment because there is an error in the configuration. An email has been sent to the founder.',
'CONTACT_BOT_NONE' => 'The user %1$s tried to use the Contact Admin Extension at %2$s to send a %3$s, but there are no Administrators that allow %3$ss by users. Please enter the Contact Bot Configuration in the Admin Panel for the forum %4$s and choose the “Board Founder” option',
'CONTACT_BOT_SUBJECT' => 'Contact Administration Extension Error',
'CONTACT_BOT_USER_MESSAGE' => 'The user %1$s tried to use the Contact Admin extension at %2$s, but the user selected in the configuration is incorrect. Please visit the forum %3$s and choose a different user in the ACP for the Contact Administration.',
'CONTACT_BOT_FORUM_MESSAGE' => 'The user %1$s tried to use the Contact Admin extension at %2$s, but the forum selected in the configuration is incorrect. Please visit the forum %3$s and choose a different forum in the ACP for the Contact Administration.',
'CONTACT_CONFIRM' => 'Confirm',
'CONTACT_DISABLED' => 'You can’t use the contact form at the moment because it is disabled.',
'CONTACT_MAIL_DISABLED' => 'There is an error with the configuration of the Contact Administration.<br />The extension is set to send an email but the configuration isn’t setup to send emails. Please notify the administrator or webmaster: <a href="mailto:%1$s">%1$s</a>',
'CONTACT_MSG_SENT' => 'Your message has been sent successfully',
'CONTACT_MSG_BODY_EXPLAIN' => '<br /><br />Сообщение будет отправлено в виде простого текста, не включайте в него HTML или BBCode. В качестве обратного адреса будет показываться ваш адрес email.',
'CONTACT_NO_MSG' => 'Вы должны ввести текст сообщения для отправки.',
'CONTACT_NO_SUBJ' => 'You didn’t enter a subject.',
'CONTACT_REASON' => 'Причина обращения',
'CONTACT_TEMPLATE' => '[b]Name:[/b] %1$s' . "\n" . '[b]Email Address:[/b] %2$s' . "\n" . '[b]IP:[/b] %3$s' . "\n" . '[b]Subject:[/b] %4$s' . "\n" . '[b]Has entered the following message into the contact form:[/b] %5$s',
'CONTACT_TITLE' => 'Contact Administration',
'CONTACT_TOO_MANY' => 'You have exceeded the maximum number of contact confirmation attempts for this session. Please try again later.',
'CONTACT_YOUR_NAME' => 'Ваше имя',
'CONTACT_YOUR_NAME_EXPLAIN' => '',
'CONTACT_YOUR_EMAIL' => 'Ваш адрес email',
'CONTACT_YOUR_EMAIL_EXPLAIN' => '',
'TOO_MANY_CONTACT_TRIES' => 'You have exceeded the maximum number of attempts for this session. Please try again later.',
'CONTACT_NO_NAME' => 'Вы должны указать имя.',
'RETURN_CONTACT' => '%sReturn to the contact page%s',
));