Discourse Retort

Amazing plugin, exactly what i was looking for - thank you!
Is there a way to not display the emoticons white background ? i.e. use transparent emoticon background?

EDIT:
If anyone has this issue, apparently it is easy to setup, add to the discourse template CSS:

.post-retort {
    background: transparent;
    border: 0px;
}
1 Like

Looks like there’s an issue with the latest version (Discourse 2.5.0.beta5 - https://github.com/discourse/discourse version 8f59f155fbfbf9a8b2aecfafb5f222261b6ebfae):

ncaught TypeError: Cannot read property 'retort_disabled_categories' of undefined
    at _retort-8f84f7e6d1fd4337e1b80b1cf2a94ecf31198195e9f61ada56d8fa92ac803547.js:189
    at t.module.exports.u.<computed> (_ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74640)
    at t.module.exports.u.<computed> (_ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74470)
    at require (_ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74637)
    at f (_ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74596)
    at _ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74561
    at t.module.exports.u.<computed> (_ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74639)
    at t.module.exports.u.<computed> (_ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74470)
    at require (_ember_jquery-1ed3f3559e6f967733b4088aa729ff7039dff2c09c5a5f787a214b016f58aabc.js:74637)
    at t._prepareInitializer (_application-9bf26ea10d3b26025c2c839e307be8aabdfd43c9698de019f9412003d110ea55.js:6849)
    at _application-9bf26ea10d3b26025c2c839e307be8aabdfd43c9698de019f9412003d110ea55.js:6870
    at Array.forEach (<anonymous>)
    at t.start (_application-9bf26ea10d3b26025c2c839e307be8aabdfd43c9698de019f9412003d110ea55.js:6866)
    at start-discourse-efa4e5abfbd1b50b5152ffbe64d5dcea9f7c33f766dcc6387e2711f0f2112148.js:1
3 Likes

Screenshot_20200530_105715
Loving the plugin. I’m curious on what theme setting is making the reactions have this annoying background color on our dark theme (I did not set up the dark theme).

We’re sadly seeing the same issue on our site, and I’ve just rebuilded it. But, it’s still failing.

@gdpelican New issue found with retort plugin, please look into this… :slightly_frowning_face:

https://github.com/gdpelican/retort/issues/65

4 Likes

I’ve submitted a PR which addresses this

https://github.com/gdpelican/retort/pull/66

11 Likes

Sweet, I’ve given this a quick look and looks good to me; it’s been merged.

11 Likes

I confirm fixed for me. Thanks for the quick fix! :slight_smile:

6 Likes

The “Recently used” section is always empty for me. Is it a known bug?
image

2 Likes

@gdpelican I would appreciate your comment :slight_smile:

1 Like

Translator browser plugins or something cause an issue where users can react with an “emoji” that is not on the approved list:

link to live site: THE NEW Miscellaneous Talk That Doesn't Deserve A New Thread Thread Thread - Not Thrive - Thrive Community Forum
I think I have the latest version of retort.

1 Like

Sorry for the late question :slight_smile:
Where will this text be inserted?
common.scss?

On discourse_theme I got only empty files for new theme, not the sourcecode from forum.
If I download my theme I got 576 bytes file with the color palette I think .json.

I search now for two days, but use wrong words I think.

I want to change the background

.post-retort
{
    background: #d9d9d9 !important;
}

Or I must set all values for float, padding … ?

You don’t have to change any file. Just go to Discourse settings - Customize - and in the template you activated there is a button to add custom CSS directly in the UI.

3 Likes

Only that piece :slight_smile: is enough.
that is to simple :rofl:

Thanks a lot, i will try .

2 Likes

I found a problem when using S3 stored assets and a CDN. Custom emojis don’t load correctly. Instead of using the CDN URL they incorrectly directly point to the S3 storage bucket. Custom emoji don't use CDN for S3 stored assets in a few pages

2 Likes

Does anyone know how to change the color of the number that accounts for the total number of reactions? I feel that mine is too light.
Also bonus question is it possible to decrease the gaps in between the reactions?

1 Like

Nevermind I found code that can change it:

span.post-retort__count {
  color: black;
}

2 Likes

Is it possible to prevent users from adding reactions in a closed topic?

3 Likes

One way would be to archive the topic. It will still be there for all to see, but no one can do anything to it. I don’t believe the plugin can either.

I think if we can Adding premium emojis would be great.

3 Likes