[Advanced Contact Form] - форма обратной связи

Автор Skipper, 17 февраля 2017, 06:01:11

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Skipper

http://custom.simplemachines.org/mods/index.php?mod=1352

Добавляет в меню пункт - Обратная связь.
Из настроек админки - только поле для почты, куда будет уходить обращения.


для русификации, необходимо в  Modifications.russian-utf8.php (Modifications.russian.php)  вставить
// Begin Contact Page Text Strings
$txt['smfcontact_contact'] = 'Обратная связь';
$txt['permissionname_view_contact'] = 'Просмотр контактов';
$txt['permissionhelp_view_contact'] = 'Позволяет участникам просматривать страницу контактов и отправить сообщение на электронную почту.';
$txt['cannot_view_contact'] = 'Вы не можете просматривать страницу контактов.';
$txt['smfcontact_name'] = 'Ваше имя:';
$txt['smfcontact_subject'] = 'Тема';
$txt['smfcontact_body'] = 'Текст';
$txt['smfcontact_emailaddress'] = 'E-mail';
$txt['smfcontact_sendemail'] = 'Отправить e-mail';
$txt['smfcontact_messagesent'] = 'Ваше сообщение отправлено!';
$txt['smfcontact_messagesent_click'] = 'Ваше сообщение отправлено! Нажмите ';
$txt['smfcontact_messagesent_return'] = 'сюда</a> для возвращения на главную страницу.';
$txt['smfcontact_errname'] = 'Вы должны ввести свое имя.';
$txt['smfcontact_errsubject'] = 'Вы должны ввести тему сообщения.';
$txt['smfcontact_errmessage'] = 'Вы должны ввести текст сообщения.';
$txt['smfcontact_erremail'] = 'Вы должны ввести ваш email.';
$txt['smfcontact_titlesent'] = ' - Сообщение отправлено.';
$txt['smfcontact_form'] = 'Письмо, отправленное через форму обратной связи с сайта  ';
$txt['smfcontact_formname'] = "Имя: ";
$txt['smfcontact_formemail'] = "E-mail: ";
$txt['smfcontact_ip'] = "IP: ";
$txt['smfcontact_formmessage'] =  "Сообщение: \n";
$txt['smfcontactpage_email'] = 'E-mail для отправки писем с страницы обратной связи: ';

1) в описание заявлено, что есть капча. но не нашел, как ее включить
2) хочу сделать ее видной для гостей, но не могу вообразить, какой параметр отвечает за видимость страницы
мы можем выпить чего угодно, мы можем сделать чего попало... ©

digger®

Цитата: Skipper от 17 февраля 2017, 06:01:112) хочу сделать ее видной для гостей, но не могу вообразить, какой параметр отвечает за видимость страницы
Наверное, в правах доступа группы гостей включить разрешение 'Просмотр контактов'.

Yarik

Цитата: Skipper от 17 февраля 2017, 06:01:11для русификации, необходимо в  Modifications.russian-utf8.php (Modifications.russian.php)  вставить
Руссик не к этому моду,или устарел.В оригинале строки сейчас выглядят так
$txt['contact'] = 'contact';
$txt['contact_form_default_dns_check'] = 'domain must have valid A or MX record';
$txt['contact_form_default_email_sender'] = 'Sender email address if none provided:';
$txt['contact_form_default_guest_access'] = 'no guest access';
$txt['contact_form_default_member_access'] = 'no member access';
$txt['contact_form_default_name'] = 'Sender name if none provided:';
$txt['contact_form_default_name_default'] = 'Anonymous';
$txt['contact_form_default_require_email'] = 'use email address settings below';
$txt['contact_form_default_require_name'] = 'use sender name settings below';
$txt['contact_form_default_require_subject'] = 'use subject line settings below';
$txt['contact_form_default_subject'] = 'Subject line if none provided:';
$txt['contact_form_default_subject_default'] = '(no subject)';
$txt['contact_form_default_tab_label'] = 'CONTACT';
$txt['contact_form_dest_email_addr'] = 'Send contact form replies to this email address:';
$txt['contact_form_display_title'] = 'Contact form page title:';
$txt['contact_form_enable_guest_access'] = 'Allow guest access:';
$txt['contact_form_enable_member_access'] = 'Allow member access:';
$txt['contact_form_error_invalid_email'] = 'Invalid email address entered.';
$txt['contact_form_error_no_email'] = 'No email address entered.';
$txt['contact_form_error_no_message'] = 'No message entered.';
$txt['contact_form_error_no_name'] = 'No name entered.';
$txt['contact_form_error_no_subject'] = 'No subject entered.';
$txt['contact_form_error_unable_to_send'] = 'Send mail failed. We were unable to send your message';
$txt['contact_form_field_optional'] = '(optional)';
$txt['contact_form_field_optional_email'] = '(if you want a reply)';
$txt['contact_form_field_required'] = '(required)';
$txt['contact_form_label_default'] = 'default: ';
$txt['contact_form_label_edit'] = '[edit]';
$txt['contact_form_label_email'] = 'Email ';
$txt['contact_form_label_ip'] = "\r\n\r\n-- \r\nIP: ";
$txt['contact_form_label_message'] = 'Message ';
$txt['contact_form_label_name'] = 'Name ';
$txt['contact_form_label_rdns'] = "\r\nrDNS: ";
$txt['contact_form_label_sender'] = "\r\nSender: ";
$txt['contact_form_label_status_email'] = 'Email: ';
$txt['contact_form_label_status_name'] = 'Name: ';
$txt['contact_form_label_status_separator'] = "------\r\n\r\n";
$txt['contact_form_label_status_subject'] = 'Subject: ';
$txt['contact_form_label_subject'] = 'Subject ';
$txt['contact_form_label_submit_button'] = 'Send Message';
$txt['contact_form_label_unchecked'] = 'unchecked: ';
$txt['contact_form_label_verification'] = 'Verification ';
$txt['contact_form_message_sent'] = 'Message sent. Thank you for your comments.';
$txt['contact_form_mods_cat'] = 'Contact Form';
$txt['contact_form_require_email'] = 'Require email address:';
$txt['contact_form_require_name'] = 'Require sender name:';
$txt['contact_form_require_subject'] = 'Require subject line:';
$txt['contact_form_result_error'] = 'Error';
$txt['contact_form_result_message_sent'] = 'Message Sent';
$txt['contact_form_result_send_mail_failed'] = 'Send Mail Failed';
$txt['contact_form_sender_email_dont_use_form'] = 'Don\'t use contact form email address as sender email address:';
$txt['contact_form_sender_email_dont_use_form_default'] = 'use email address from form if provided';
$txt['contact_form_sender_is_guest'] = 'guest';
$txt['contact_form_sender_name_dont_use_form'] = 'Don\'t use contact form name as sender name:';
$txt['contact_form_sender_name_dont_use_form_default'] = 'use name from form if provided';
$txt['contact_form_sender_subject_dont_use_form'] = 'Don\'t use contact form subject line as sender subject line:';
$txt['contact_form_sender_subject_dont_use_form_default'] = 'use subject line from form if provided';
$txt['contact_form_skip_dns_check'] = 'Skip sender email address domain record check:';
$txt['contact_form_subject_prefix'] = 'Subject line optional prefix:';
$txt['contact_form_subject_prefix_default'] = 'no prefix';
$txt['contact_form_tab_label'] = 'Contact form tab label:';
$txt['contact_form_title']='Contact Form';
Цитата: Skipper от 17 февраля 2017, 06:01:112) хочу сделать ее видной для гостей, но не могу вообразить, какой параметр отвечает за видимость страницы
Адинка-настройка модов - там всё есть


Skipper

Цитата: S.T.A.L.K.E.R. от 17 февраля 2017, 17:59:43Руссик не к этому моду,или устарел.В оригинале строки сейчас выглядят так
у вас перевод от другой версии, не от той ,что выложил в первом посте.

Цитата: digger® от 17 февраля 2017, 12:39:27Наверное, в правах доступа группы гостей включить разрешение 'Просмотр контактов'.
А про слона я и забыл  ;D  ;D  спасибо

вопрос с капчей открыт
мы можем выпить чего угодно, мы можем сделать чего попало... ©

Yarik

Цитата: Skipper от 20 февраля 2017, 05:51:59у вас перевод от другой версии, не от той ,что выложил в первом посте.
Ну так Вы сами дали ссылку
Цитата: Skipper от 17 февраля 2017, 06:01:11http://custom.simplemachines.org/mods/index.php?mod=1352
Перевод как раз от неё...

Skipper

приношу всем извинение.
я поставил себе
http://custom.simplemachines.org/mods/index.php?mod=377
Contact Page

Админ, можно исправить первый пост?
мы можем выпить чего угодно, мы можем сделать чего попало... ©