• 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

Customizing error alerts (Pop ups)

Scheduled Pinned Locked Moved Solved General Discussion
5 Posts 2 Posters 422 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.
  • E Offline
    E Offline
    eileen
    wrote on last edited by
    #1

    Hi,

    I'm looking for a way to customize the error alerts which pop up down in the corner.
    Example given the error alert which appears when someone without the privilege clicks on the chat icon.

    Could anyone help me?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    Customize how?

    1 Reply Last reply
    0
  • E Offline
    E Offline
    eileen
    wrote on last edited by eileen
    #3

    For example: I don't want the user to get the notification in the right corner saying "error: you don't have the rights for this action" when he's trying to use a function he just can't use yet.
    Instead, I'd like him to get a notification which tells him that he can't use the certain function yet but is going to be as soon as he has more reputation/more posts/etc.; this would be a way of activating some users more

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to eileen on last edited by PitaJ
    #4

    @eileen you can use nodebb-plugin-customize to customize translations (which includes error messages). I think the one you're referring to is error:no-privileges

    E 1 Reply Last reply
    1
  • E Offline
    E Offline
    eileen
    replied to PitaJ on last edited by
    #5

    @PitaJ That's it! Thank you very much 🙂

    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