Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Author
В 12.10.2022 в 00:11, AMYK сказал:

by_ixЕсли вы решите работать только на выбранном форуме, он все равно будет работать везде.

он будет работать везде - да, но при этом весь контент будет доступен абсолютно всем.
пример:

Спойлер

форум выбран:
123.PNG.1121b29b34776d73c172c86e47217659.PNG

форум не выбран:
321.PNG.f177df2cf6015eaab99a26127bb7d9c0.PNG

 

 

В 13.10.2022 в 03:56, AMYK сказал:

by_ix Еще одна проблема, когда плагин включен

209194749_RecentStatusupdate..png.1459b315fa57c95b677fa379d9774e23.png

IPS 4.7.3 

скрин логов с этими ошибками в лс.

и, к слову, плагин не поддерживает скрытие в статусах.

  • Replies 151
  • Просмотров 45,8k
  • Created
  • Последний ответ

Лучшие авторы в теме

Most Popular Posts

Posted Images

by_ix По первому вопросу я понимаю. В обновлении статуса нет скрытого текста, и все это просто обычные сообщения, такие как «Hi», «Hello» и т. Д. 

by_ix 

 

Error: Call to undefined method IPS\core\Statuses\Status::item() in \ips\init.php(927) : eval()'d code:16
Stack trace:
#0 \ips\system\Content\Item.php(1600): IPS\hook312->content()
#1 \ips\system\Content\Content.php(365): IPS\Content\_Item->content()
#2 \ips\system\Theme\Theme.php(885) : eval()'d code(3493): IPS\_Content->truncated()
#3 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_widgets->recentStatusUpdatesStatus(Object(IPS\core\Statuses\Status))
#4 \ips\system\Theme\Theme.php(885) : eval()'d code(3403): IPS\Theme\_SandboxedTemplate->__call('recentStatusUpd...', Array)
#5 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_widgets->recentStatusUpdates(Object(IPS\Patterns\ActiveRecordIterator), 'vertical')
#6 \ips\system\Widget\Widget.php(234): IPS\Theme\_SandboxedTemplate->__call('recentStatusUpd...', Array)
#7 \ips\applications\core\widgets\recentStatusUpdates.php(107): IPS\_Widget->output(Object(IPS\Patterns\ActiveRecordIterator))
#8 \ips\system\Widget\Widget.php(833): IPS\core\widgets\_recentStatusUpdates->render()
#9 \ips\system\Widget\Widget.php(888): IPS\_Widget->_render()
#10 \ips\system\Theme\Theme.php(885) : eval()'d code(18483): IPS\_Widget->__toString()
#11 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#12 \ips\system\Theme\Theme.php(885) : eval()'d code(15684): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#13 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->sidebar('right')
#14 \ips\system\Theme\Theme.php(885) : eval()'d code(6738): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#15 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('81b2c5dd593a589...', '\n\n<div class='i...', Array)
#16 \ips\system\Dispatcher\Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#17 \ips\system\Dispatcher\Standard.php(113): IPS\_Dispatcher->finish()
#18 \ips\system\Dispatcher\Front.php(630): IPS\Dispatcher\_Standard->finish()
#19 \ips\system\Dispatcher\Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#20 \ips\index.php(13): IPS\_Dispatcher->run()
#21 {main}

 

BACKTRACE

#0 \ips\system\Theme\SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
#1 \ips\system\Theme\Theme.php(885) : eval()'d code(3403): IPS\Theme\_SandboxedTemplate->__call('recentStatusUpd...', Array)
#2 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_widgets->recentStatusUpdates(Object(IPS\Patterns\ActiveRecordIterator), 'vertical')
#3 \ips\system\Widget\Widget.php(234): IPS\Theme\_SandboxedTemplate->__call('recentStatusUpd...', Array)
#4 \ips\applications\core\widgets\recentStatusUpdates.php(107): IPS\_Widget->output(Object(IPS\Patterns\ActiveRecordIterator))
#5 \ips\system\Widget\Widget.php(833): IPS\core\widgets\_recentStatusUpdates->render()
#6 \ips\system\Widget\Widget.php(888): IPS\_Widget->_render()
#7 \ips\system\Theme\Theme.php(885) : eval()'d code(18483): IPS\_Widget->__toString()
#8 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#9 \ips\system\Theme\Theme.php(885) : eval()'d code(15684): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#10 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->sidebar('right')
#11 \ips\system\Theme\Theme.php(885) : eval()'d code(6738): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#12 \ips\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('81b2c5dd593a589...', '\n\n<div class='i...', Array)
#13 \ips\system\Dispatcher\Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#14 \ips\system\Dispatcher\Standard.php(113): IPS\_Dispatcher->finish()
#15 \ips\system\Dispatcher\Front.php(630): IPS\Dispatcher\_Standard->finish()
#16 \ips\system\Dispatcher\Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#17 \ips\index.php(13): IPS\_Dispatcher->run()
#18 {main}

by_ix мои извинения. Я не видел, чтобы ты просил логи

Edited by AMYK

  • 2 недели спустя...

это отличный плагин, но будет лучше, если идентификатор участника можно изменить на имя участника, а идентификатор группы будет изменен на имя группы, поскольку обычный участник не знает идентификатор участника или идентификатор группы.

Untitled2.jpg.2b160c7cb9b4ee8dbca0a9da40411cb2.jpg

  • Author
1 час назад, testube сказал:

это отличный плагин, но будет лучше, если идентификатор участника можно изменить на имя участника, а идентификатор группы будет изменен на имя группы

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

  • 4 недели спустя...

Посмотрите пожалуйста почему на php 8.0*16 не работает а именно показывает что скрытый контент но - само содержимое не скрывается. 

Спойлер

На версии  IPS 4.6 php 8,0.16

 

  • 3 месяца спустя...

Работает нормально, но вот только если в первом сообщении темы написать
 

[hide]текст[/hide]

То вылазит такая ошибка, при попытке сохранить исправление сообщения
 

SELECT COUNT(*) FROM `ipbdownloads_files` AS `downloads_files` WHERE file_submitter=1
IPS\Db\Exception: Table 'id9999_userff.ipbdownloads_files' doesn't exist (1146)
#0 /home/www/id9999/data/www/moymegaforum.ru/system/Db/Select.php(388): IPS\_Db->preparedQuery('/*id9999_userff...', Array, true)
#1 /home/www/id9999/data/www/moymegaforum.ru/system/Db/Select.php(446): IPS\Db\_Select->runQuery()
#2 /home/www/id9999/data/www/moymegaforum.ru/system/Db/Select.php(370): IPS\Db\_Select->rewind()
#3 /home/www/id9999/data/www/moymegaforum.ru/init.php(927) : eval()'d code(30): IPS\Db\_Select->first()
#4 [internal function]: IPS\core\modules\front\system\hook206->IPS\core\modules\front\system\{closure}(Array)
#5 /home/www/id9999/data/www/moymegaforum.ru/init.php(927) : eval()'d code(15): preg_replace_callback('!\\[hide(|\\s| ([...', Object(Closure), '<p style="color...')
#6 /home/www/id9999/data/www/moymegaforum.ru/init.php(927) : eval()'d code(28): IPS\core\modules\front\system\hook206->hiddenContentM('<p style="color...')
#7 /home/www/id9999/data/www/moymegaforum.ru/system/Content/Content.php(2465): IPS\hook207->content()
#8 /home/www/id9999/data/www/moymegaforum.ru/system/Content/Content.php(2454): IPS\_Content->sendQuoteAndMentionNotifications(Array)
#9 /home/www/id9999/data/www/moymegaforum.ru/system/Content/Item.php(1166): IPS\_Content->sendAfterEditNotifications('<p style="color...')
#10 /home/www/id9999/data/www/moymegaforum.ru/applications/forums/sources/Topic/Topic.php(674): IPS\Content\_Item->processAfterEdit(Array)
#11 /home/www/id9999/data/www/moymegaforum.ru/applications/forums/modules/front/forums/topic.php(667): IPS\forums\_Topic->processAfterEdit(Array)
#12 /home/www/id9999/data/www/moymegaforum.ru/system/Dispatcher/Controller.php(107): IPS\forums\modules\front\forums\_topic->edit()
#13 /home/www/id9999/data/www/moymegaforum.ru/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#14 /home/www/id9999/data/www/moymegaforum.ru/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#15 /home/www/id9999/data/www/moymegaforum.ru/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#16 /home/www/id9999/data/www/moymegaforum.ru/index.php(13): IPS\_Dispatcher->run()
#17 {main}

 

Ошибка.jpg

5 минут назад, bsnet сказал:
Table 'id9999_userff.ipbdownloads_files' doesn't exist

Ну, так автор не тестил на системах без Downloads, скорее всего. Таблицы базы данных нема.

В 18.03.2023 в 19:28, Zero108 сказал:

Ну, так автор не тестил на системах без Downloads, скорее всего. Таблицы базы данных нема.

by_ix скинул мне исправленную версию, вроде всё ок теперь.
Надо у него спросить, что там изменилось ☺️

  • 2 недели спустя...
2 часа назад, by_ix сказал:

@Axxxmatov не вижу на скрине, чтобы вы использовали хайд.

хайд уже решил, вот проблема с спойлером

Спойлер

 

таким 

не работает почему то 

7 часов назад, aLEX49566 сказал:

Забей. Он троль похоже

Да какой троль, говорю же проблема с спойлером таким вот как  тут, он не работает у меня 

7 часов назад, by_ix сказал:

что вот? ничего не добавили. 

Ну я говорю что спойлер не работает 👇

Спойлер

как этот 

 

  • 2 недели спустя...

Забыл код ошибки приложить.

TypeError: closedir(): Argument #1 ($dir_handle) must be of type resource or null, string given (0)
#0 /home/site/web/site.ru/public_html/applications/core/modules/admin/editor/toolbar.php(531): closedir('/home/site...')
#1 /home/site/web/site.ru/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\editor\_toolbar->addPlugin()
#2 /home/site/web/site.ru/public_html/applications/core/modules/admin/editor/toolbar.php(91): IPS\Dispatcher\_Controller->execute()
#3 /home/site/web/site.ru/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\editor\_toolbar->execute()
#4 /home/site/web/site.ru/public_html/admin/index.php(13): IPS\_Dispatcher->run()
#5 {main}

 

by_ix Прошу прощения, не заметил.
Странно. Сейчас перепроверил. Не устанавливается.

Кнопки редактора -> Добавить кнопку -> Плагин CKEditor. Так ставить же?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.