• 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

Toastr popup plugin

Scheduled Pinned Locked Moved NodeBB Plugins
alerttoasterpopuptoastr
5 Posts 4 Posters 3.1k 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.
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by psychobunny
    #1

    I was little bit bored but also didn't really feel like doing any real work (haha). Here's a pretty simple plugin, I think this could be a model for any purely client-side plugin. Nothing server side at all, just a way to deploy css/less and a front-end JS file.


    Toastr plugin for NodeBB

    Replaces the default app.alert toaster message with the more fancier Toastr plugin. Feel free to fork and make it more cooler 😉

    npm install nodebb-plugin-toastr
    

    Check out Toastr here: https://github.com/CodeSeven/toastr

    Screenshots

    toastr popup

    Get it on GitHub

    1 Reply Last reply
    5
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by julian
    #2

    Just gonna ninja-install it here...

    Edit: 😦

    Selection_015.png

    1 Reply Last reply
    0
  • gaasgG Offline
    gaasgG Offline
    gaasg
    wrote on last edited by gaasg
    #3

    Can this be used as a link ? if people click they go to the Post I want them to read.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    a_5mith
    replied to gaasg on last edited by a_5mith
    #4

    @gaasg said:

    Can this be used as a link ? if people click they go to the Post I want them to read.

    With it installed you could create an HTML widget that contains

    toastr.info('Please visit <a href="#">this</a> topic to read our rules. ')

    You could make it visible for those not logged in, those that are. Save so it only appears once. Etc.

    gaasgG 1 Reply Last reply
    1
  • gaasgG Offline
    gaasgG Offline
    gaasg
    replied to a_5mith on last edited by
    #5

    @a_5mith said:

    toastr.info('Please visit <a href="#">this</a> topic to read our rules. ')

    That's great, thank you.

    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