Quick Messages Plugin

quick_message_user_preference = true enables a new user level option under your user avatar menu > interface tab…

So if you enable the user_preference then each user has to set that user preference.

You can also use the quick message required badge option to restrict who has access to quick messages, for example limiting only to staff or perhaps only to licensed or certified to encourage users to compete the discobot new or advanced user tutorial.

@jameshahnii @Sevosik would be great if you could go into admin > Settings and search for quick and screenshot all of the values that show up (as they should all he related to quick messages).

3 Likes

Thanks @bletch. We’re not seeing the envelope at all. It just doesn’t show up. I’ve been up all night systematically removing every plugin I installed all day yesterday hoping to find a conflict, but so far I’m coming up with nothing. And I’m running out of plugins to test.

I’ve tried that button off and the other on, that on and the other off, both on, and all that good stuff. Nothing… I haven’t done any theme customizing. Standard light theme out of the box over here. I’m on a MacBook Pro Retina ~2014. Haven’t touched a line of CSS so far.

Think we’re going to have to wait for @angus to weigh in on this one.

Appreciate you taking a shot!

1 Like

@bletch Thanks, that warning should be fixed.

@Sevosik @jameshahnii Sorry you’re having an issue guys.

As the installation of Quick Messages on my sandbox is working normally, we’ll (@ryanerwin is working with me on this plugin) need your help to get to the bottom of it. Please post

  1. The current values of these site settings:

    • quick message enabled
    • quick message user preference
    • quick message icon
  2. A list of all the plugins installed on your instance.

  3. Any messages in the web console that appear when you load your site (@Sevosik thanks, I see you’ve posted this already).

  4. A link to your site (if possible).

You’ve tested some of this already (changing settings and removing plugins), but there may be some clues there that can help us. Thanks.

3 Likes

Sorry for the delay. Fell asleep working on this, woke up, and haven’t stopped since.

This is wild. In going through the exercise to take the screenshots and send over, I tried this setting again…

and it worked.

Seems there is a conflicting plugin out there and it’s one of 14. Going to start adding them back in one-by-one to see if I can uncover the culprit. Will keep you posted.

Thank you!

2 Likes

We have a winner! Or loser, depending on how you look at it. Turns out it was discourse-mathjax.

In addition to killing QMP, it makes your Plugins >> Plugins, Akismet, Chat Integrations, & Patreon pages blank. If anyone knows @Kasper, might want to let him know.

.

2 Likes

You should try the official discourse plugin Discourse Math Plugin
That might work.

2 Likes

Thanks man. I’m on it.

I’ve noticed something today: when user receives a group message, Quick Message button in header shows new message indicator, but it does not show on the list:
image
It’s somewhat confusing, could it be easily changed, @angus?

1 Like

I wish I could use this plugin just like you :frowning: Still not working, even after a couple updates.

@MakaryGo I’ve been working with @angus on this…

I haven’t been using group messages so I haven’t tested that, but I’m pretty sure I know where that’s happening. I’ll make sure I can reproduce, and add it to the bug list for a fix.

@Sevosik Could you clarify what you mean by “not working”? I have run the plugin on a variety of systems… that’s not to say it’s flawless though.

Are you getting an error message?
Is the plugin showing up in your admin settings under plugins?
Have you enabled it in the admin settings?
Are you using any other plugins? Which ones?
How is your Discourse hosted?

We need some details to be able to help you.
Screenshots are often especially useful.

Today the message window stopped updating messages after I updated discourse, now I have to manually refresh the page to see new messages. There’s a bunch of errors in the console, here’s one:

Console Error

undefined has no properties errorLoading@https://community.naturephotographers.network/assets/application-67619619324877ff58c169ad978704406497af215c1b61758d8e37993b13f30d.js:11:8449 errorLoading@https://community.naturephotographers.network/assets/plugin-third-party-c04de63147a5ffb2056d55a1f598879c26a12874fcfadff77c2853c70981f498.js:1:1701 n@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:16:13676 refresh/<@https://community.naturephotographers.network/assets/application-67619619324877ff58c169ad978704406497af215c1b61758d8e37993b13f30d.js:10:30341 A@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:19:773 S@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:19:887 C@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:19:676 _@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:19:156 invokeWithOnError@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19374 flush@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19832 flush@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20592 end@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20937 run@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:22006 u@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:13:2804 e/i.error@https://community.naturephotographers.network/assets/application-67619619324877ff58c169ad978704406497af215c1b61758d8e37993b13f30d.js:7:12737 c@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:7300 fireWith@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:8054 r@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:3:11484 n/<@https://community.naturephotographers.network/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:3:16306 _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:29446:6

u _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:29446:6 o _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:29425:6 i _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:42938:6 trigger _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:57309:10 _onError/< _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:58212:10 invokeWithOnError _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:12554:8 flush _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:12613:8 flush _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:12737:8 end _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:12807:6 run _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:12921:10 u _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:33988:11 e/i.error _application-67619619324877ff58c169ad978704406497af215c1b61758d8e37993b13f30d.js:9182:8 c _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:3272:10 fireWith _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:3402:6 r _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:9311:4 n/< _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:9544:9

1 Like

Thanks for reporting… I’ll look into this tonight and see if I can reproduce.

2 Likes

hi guys, i hope you are well, Thanks @angus and @ryanerwin for this great plugin. I just added it and it works great.

i just noticed a little detail when adding a picture i have an error and the logs are below.

09

@Jeremie_Leroy could you set your language to english and post that again? (verbatim error message always the easiest to research)

If not, at least a translation would be good since my french is severely lacking…

Thank you sir :wink:

@davidkingham I’ve not had time to repro yet… Hopefully tomorrow…

1 Like

@ryanerwin sure, it says this :

32

The log is this one :

@davidkingham It looks like your error might be coming from the discourse category lockdown plugin. Try disabling that plugin temporarily to see if it fixes it.

@Jeremie_Leroy We’ve got your issue in hand. We’ll take a look at it soon.

3 Likes

I haven’t had a chance to test this because I don’t want to have the downtime, I’ll be setting up a sandbox soon to get around this. Another more fatal error has popped up recently; when I click on one of the messages it does not open the message box and this is in the console:

@davidkingham Thanks, fixed:

1 Like

@angus, apologies if this has been discussed before - but is there a way to speed up loading of the message notifications when you open the menu? The spinner shows up for a few seconds every time the menu is opened.
Thanks!