Перейти к содержимому
Открыть в приложении

Удобный способ просмотра. Узнать больше.

Дизайн и модификация Invision Community

Полноэкранное приложение на главном экране с push-уведомлениями, медалями и многим другим.

Чтобы установить это приложение на iOS и iPadOS
  1. Нажмите иконку «Поделиться» в Safari
  2. Прокрутите меню и нажмите На экран «Домой».
  3. Нажмите Добавить в правом верхнем углу.
Чтобы установить это приложение на Android
  1. Нажмите меню из трёх точек (⋮) в правом верхнем углу браузера.
  2. Нажмите Добавить на главный экран или Установить приложение.
  3. Подтвердите, нажав Установить.
Русский язык для Invision Community 5

Вопрос про ошибки 'subs_with_post' и 'lost_pass'

Стоит 2.2.1.

В Админке в меню View Email Error Logs выдает такие ошибки:

 

Could not find an email template with an ID of 'subs_with_post'

 

и

 

Could not find an email template with an ID of 'lost_pass'

 

Я так понимаю, что проблема с темплейтами. Вопрос, как это исправить? Где копать?

 

Заранее грандмерси.

Рекомендованные сообщения

Наверно нету lang_email.php файла в директории cache/lang_cache/*/

  • Автор
Наверно нету lang_email.php файла в директории cache/lang_cache/*/

 

Спасибо за ответ!

В указанных папках (ru и eng) нашел два файла

lang_email_content.php

lang_emails.php

 

 

Где копать дальше?

Проверьте, что в lang_email_content.php есть следующее(пример для английского):

$lang['subject__subs_with_post'] = 'Topic Subscription Reply Notification';

$lang['subs_with_post'] = <<<EOF
<#NAME#>,

<#POSTER#> has just posted a reply to a topic that you have subscribed to titled "<#TITLE#>".

----------------------------------------------------------------------
<#POST#>
----------------------------------------------------------------------

The topic can be found here:
<#BOARD_ADDRESS#>?showtopic=<#TOPIC_ID#>&view=getnewpost



If you have configured in your control panel to receive immediate topic reply notifications, you may receive an
email for each reply made to this topic.  Otherwise, only 1 email is sent per board visit for each subscribed topic. 
This is to limit the amount of mail that is sent to your inbox.

Unsubscribing:
--------------

You can unsubscribe at any time by logging into your control panel and clicking on the "View Topics" link.

EOF;

$lang['lost_pass'] = <<<EOF

<#NAME#>,
This email has been sent from <#BOARD_ADDRESS#>.

You have received this email because a user account password recovery
was instigated by you on <#BOARD_NAME#>.

------------------------------------------------
IMPORTANT!
------------------------------------------------

If you did not request this password change, please IGNORE and DELETE this
email immediately. Only continue if you wish your password to be reset!

------------------------------------------------
Activation Instructions Below
------------------------------------------------

We require that you "validate" your password recovery to ensure that
you instigated this action. This protects against
unwanted spam and malicious abuse.

Simply click on the link below and complete the rest of the form

<#THE_LINK#>

(AOL Email users may need to copy and paste the link into your web
browser).

------------------------------------------------
Not working?
------------------------------------------------

If you could not validate your registration by clicking on the link, please
visit this page:

<#MAN_LINK#>

It will ask you for a user id number, and your validation key. These are shown
below:

User ID: <#ID#>

Validation Key: <#CODE#>

Please copy and paste, or type those numbers into the corresponding fields in the form.

------------------------------------------------
Is this not working?
------------------------------------------------

If you cannot re-activate your account, it's possible that the account has been removed or you
are in the process of another activation, such as registering or changing your registered email address.
If this is the case, then please complete the previous activation.
If the error persists, please contact an administrator to rectify the problem.

IP address of sender: <#IP_ADDRESS#>


EOF;

  • Автор
Проверьте, что в lang_email_content.php есть следующее(пример для английского):

 

 

ССССССССССССССССССССССУУУУУУПЕР!!!!!!!! ))))

Отлично! Спасибо огромное!! Наконец-то починилось! Огромное спасибо, коллега!

 

Может кто-нибудь выложить этот _русский_ файл в архиве? Или выслать на almarin(dog)mail.ru

 

Спасибо!!!

Изменено пользователем almarin

  • 1 год спустя...

Люди подскажите как включить эту опцию приходит только уведомление без текста сообщения все в php стоит как написано здесь.

Создайте аккаунт или войдите в него для комментирования

Аккаунт

Навигация

Поиск

Поиск

Настроить push-уведомления браузера

Chrome (Android)
  1. Нажмите на иконку замка рядом с адресной строкой.
  2. Нажмите Права доступа -> Уведомления.
  3. Измените свои настройки.
Chrome (компьютер)
  1. Нажмите на иконку замка в адресной строке.
  2. Выберите Настройки сайта.
  3. Найдите Уведомления и измените свои настройки.