Is there an info-alert box?

Solved General Discussion
  • I'm working on CSS on my nodebb and i'm now working on the alert boxes that does sometimes come in the right-down corner. I have the following boxes found.

    This one is for alerts like if you want to post a topic and did not fill in a topic title.

    a5bf1e5b-18e1-4750-b1cc-1a1127230b65-image.png

    .alert-window .alert.alert-danger {
        background-color: #58494C;
        border-color: #58494C;
        color: #E84F64;
    }
    

    This one is for alerts like when you successfully saved your settings.

    c0fa46a8-05c9-4ef9-bb6b-ed9ad3589bce-image.png

    .alert-window .alert.alert-success {
        color: #52D273;
        background-color: #49564C;
        border-color: #49564C;
    }
    

    This one is for alerts when NodeBB can't connect to internet.
    27fcb189-684a-449f-a7ac-41c80cfc4961-image.png

    .alert-window .alert.alert-warning {
        background-color: #59554A;
        border-color: #59554A;
        color: #E5C453;
    }
    

    And this one, I don't know how to get the 'info alert' box. Or is it not in use by NodeBB?

    .alert-window .alert.alert-info {
        background-color: #495458;
        border-color: #495458;
        color: #46BDDF;
    }
    
  • I'm not sure if it's used in core but here's how you'd trigger it:

    app.alert({
      type: 'info',
      title: 'Something happened',
      message: 'Do some stuff',
      timeout: 3000,
    })
    
  • @PitaJ Yes, thank you it works 🙂

    I found out that it is used for when you entering a topic where you enter it before if it ask if you want to continue reading where you was last time.


Suggested Topics


  • 1 Votes
    1 Posts
    86 Views

    Hello everyone,
    I want to add a custom input box on the registration page, and for the data to go into mongodb about the user, for example, when registering they will need to enter the user's country, or anything else.
    I owe it urgently, I've done dozens of searches on the forum, including this one
    https://community.nodebb.org/topic/7979/custom-registration-form/8

    And nothing works for me, I would appreciate clear guidance on the subject.
    I tried to create a new extension even with GPT and absolutely nothing works.
    Thanks for the help in advance!

  • 0 Votes
    2 Posts
    2k Views

    @markus9876 A little bit of both 😃

    It is outdated in that as of v1.6.0, you no longer need to use emailer-local to send emails via sendmail or postfix or whatever.

    NodeBB has supported emails for discussion replies and mentions for many versions now 😃

  • 0 Votes
    5 Posts
    2k Views

    @julian said:

    Hey @carguy! Welcome to NodeBB 😄

    Our hosting platform takes the stress out of maintaining your own NodeBB (although personally, there's not all that much stress 😆). If you're not so hot with the technical side, we do it all for you for a monthly fee, and that sounds like something that'd fit with your forum. Feel free to register a new account on nodebb.org, contact me at [email protected], and I'll throw in a free month 😄

    Migration is extra, although we'll help you with that as well. It usually takes about an hour or two's work, can expand further in an email.

    We don't have any advertisement plugins except adsense at the moment, although we're looking to integrate with another third-party advertiser, possibly. Which ad company do you use? We also don't have the facility to show widgets only to guests, which really ought to be a feature.

    Preferences such as...? Groups right now are more of just a way to restrict permissions (some forums accessible to certain groups only, etc).

    Hello Julian. Will be in touch soon via email. 🙂

    @a_5mith said:

    Hey pal, do you use buddypress as your forum platform currently? (Only forum solution for Wordpress I can think of)

    Their are currently no membership plugins available, however it's something I've also been thinking about, so will add it to the Plugin Request Topic

    You can create groups for people, which as Julian mentioned, would allow for you to set permissions on those groups (access to certain categories, being able to post in certain categories (Sellers being able to create a topic on a for sale page, then anyone else just being able to reply to a topic, not start one for example).

    We currently have both BBPress and Buddypress, but one of the main things we are being told by our members is notifications. Going by the plugins and features on the pricing page. that will interest our members and get the community growing and interacting again. 🙂

    I'm not a fan of adding loads of plugins as I have found out that my current website takes 4 seconds to load, from what I believe is due to the plugins. Had a look around on a few node forums and they load in a fraction of a second, which in my books is much better lol 🙂

    @psychobunny said:

    We actually had a request to build a paid membership plugin a couple of months ago, although I'm not really sure what the progress is on that, the client may have decided that they didn't need it any longer

    Currently they're handling paid memberships manually. So after they get paid (via paypal or whatever portal) they go into the ACP and upgrade the member by hand. It's not bad if you don't have too many paid customers

    This would be more for our sponcers and advertisement, giving traders access to sell on our forum but also have some kind of banner (if this forum software allows something like this?)

    Standard membership will not happen due to social media sadly. Seen many forums slowly get smaller and smaller due to p;aid memberships where the same questions can be asked on Facebook or Twitter. Hey ho, such as life. 🙂

  • 0 Votes
    17 Posts
    4k Views

    @baris

    Ah...thought I was going crazy for second. Thanks Baris!

  • 0 Votes
    3 Posts
    1k Views

    @planner @sunqi Fixed as of commit de6f588