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

Posted

У меня есть вопрос по поводу оповещений , их можно сделать только для отдельных пользователей? (К примеру поставить авторизацию через STEAM и считывать STEAMID_64 и для определенных STEAMID_64 выводить сообщения/оповещения)

Суть моего вопроса:

- Куда прописывать данный код ?

- И есть ли похожий плагин ?

  • Author

Выглядит этот код примерно так: 

window.__PRELOADED_STATE__ = {"notifications":[],"user":{"status":{"identifier":"ссылка на профиль STEAM","steamId":{"universe":1,"type":1,"instance":1,"accountid":193072694},"isAdmin":false,"name":"nickname","avatar":"ссылка на аватрку","common_secret":"f27faa809111242205263ce1c56862f59f262b7a","fullBan":
{"active":1,"serious":0,"reason":"причина","start":1509078555,"length":0,"steamid":тут STEAMID"timed":1,"type":"ban"},"rank":-1,"isForumAdmin":false,"isForumMod":false,"isForumLimited":true},"showLoginPrompt":false,"showBanWindow":false,"menu":false,"loading":0,"profileLookupData":false},"router":{"location":null},"servers":{"servers":[]},"forum":{"threads":{},"threadPagesPerCategory":{},"threadCountPerCategory":{},"posts":{},"categories":{},"users":{},"loadState":{"threads":{},"categories":{}},"replyText":{},"threadRenaming":null,"threadMoving":null,"showFormattingHelp":false,"showHistory":[null,null],"history":{"0":{},"1":{}}},"form":{},"news":{}};

И что-то похожее я хочу реализовать из серии из Базы данных берется аккаунт и если он заблокирован или что еще, будет выводится банальный Alert 

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

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.