• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Where is the code of receiving new posts and displaying red dot notification?

Scheduled Pinned Locked Moved NodeBB Development
notification
3 Posts 1 Posters 1.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jiangcaiyangJ Offline
    jiangcaiyangJ Offline
    jiangcaiyang Anime Lovers
    wrote on last edited by jiangcaiyang
    #1

    As the title implies, I am looking for the code of it, and wants to write my own product logic using QML.

    1 Reply Last reply
    0
  • jiangcaiyangJ Offline
    jiangcaiyangJ Offline
    jiangcaiyang Anime Lovers
    wrote on last edited by
    #2

    Primarily I've debugged and found the code at /QtDream/public/src/modules/chat.js

    0_1466761213082_upload-bb96494e-56b4-416b-82bd-5b7103217a26

    Before and after, the red dot appears.

    1 Reply Last reply
    0
  • jiangcaiyangJ Offline
    jiangcaiyangJ Offline
    jiangcaiyang Anime Lovers
    wrote on last edited by
    #3

    After hundreds of debug processes, I've finally found the function which is used to do that. Here is screenshot:

    0_1466761974079_upload-2e28b1a9-aa7b-4274-8c8b-c93717ae9008

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development