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

  • 1 месяц спустя...
On 18.11.2024 at 09:51, Exception said:

Никак не должны, тему с нуля делай

It doesn’t make any sense. How are we supposed to change for example the userBar? A “template hook” wouldn’t allow me to remove things or change the order of the elements.

9 часов назад, none.eru.iluvata said:

In Invision 5 such level of modification is no longer possible. You’d have to build an App.

Even if I would try to build an app (which I’m currently doing) - there is no real documentation for code hooks, template overriding or such things. So, I’m still in the dark to how I could replace for example the whole userBar.phtml, which I did before easily with the template editor in v4.

Are there any documentation how I can change the whole template file, without having to add template hooks (which only has 4 hook types but no replace)?

1 hour ago, Respected said:

Полностью шаблон заменить не получится. Нужно его скрывать с помощью CSS и добавлять свой.

Duplicated DOM elements, same purpose, but just hiding. I don’t think that this should be the way of handling template changes. They really messed this one up. I think there is a way to manipulate the static template output and manipulate it trough an application before serving it to the client. Trying to reverse engineer the new codebase and hopefully find a way for an application to achieve this.

No direct modification to the static templates. Just manipulated output before serving :)

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.