Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60613 articles
Browse latest View live

Language Translation


Resize emoji if its only content in reply

$
0
0

@ZackFea wrote:

I want to increase the size of the emoji if it is the only content in reply to a topic. Is there some javascript to do this, like adding a css class for scale?

Posts: 1

Participants: 1

Read full topic

Disable Force SSL Warning

$
0
0

@Cyclops wrote:

I’m using Discourse behind HAProxy, so that I can share the site with other web servers working on the same system without worrying about port numbers. The configuration works and HAProxy handles moving all requests from non-SSL over to SSL.

However, if I turn “Force SSL” on in Discourse, the whole thing breaks. Since the last update, I’m getting a warning in my admin panel:

Your website is using SSL. But force_https is not yet enabled in your site settings.

How do I turn this warning off, without having to reconfigure my server to let Discourse handle the SSL, which I’d rather not do (don’t fix what is not broken).

Posts: 1

Participants: 1

Read full topic

E-Mail Threading in ML-Mode does not work in Thunderbird

$
0
0

@fwolfst wrote:

I have one of these “dinosaur”-Settings, with the wish to replicate a mailing list.
However, the threading in thunderbird does not work the way it should (with the latest Docker installation).
Assume “A” and “B” are users and they send mails that should result in following thread:

A: message1
  B: reply1 to message1
    A: reply1 to reply1 to message1
      B: reply1 to reply1 to reply1 to message1
  A: reply2 to message1

How I see them in my thunderbird is the following

A: message1
  B: reply1 to message1
  A: reply1 to reply1 to message1
  B: reply1 to reply1 to reply1 to message1
  A: reply2 to message1

Its flat, like in only one level deep.
I wonder a bit that nobody has these issues - probably its related to the fact that we do not use reply-key mail-addresses and tough maillinglist-setting everywhere possible.

I compared the Headers (in-reply-to and references are the relevant ones) to threads that fold well and found that I can “fix” the issue manually in my inbox by manipulating the headers such that the references is sorted such that the reply-to - message-id is last.

That would mean the bug lies in ordering of the references-header. This is found here:

Unfortunately I will not soon find the time to setup a dev-environment and test these carefully. I suspect that the uniq kicks out the actual topic_message_id, so maybe something along these lines would fix it:

[referenced_post_message_ids - topic_message_id].flatten.compact.uniq + [topic_message_id]

Although it looks quiet ugly, but you get the point.

Posts: 1

Participants: 1

Read full topic

Just launched Discourse and i need help on how to Update it..?

State of Community Management

Any Thoughts on Supporting BSA or Alternative Advertising?

$
0
0

@8BIT wrote:

I’m going to be looking into doing some integrations with BuySellAds and would love to essentially be able to add in my own codes into these slots:

like…

<div id="bsa-zone_xxxxxxxxxxxx"></div>

Is this something on the roadmap or should I head to the #marketplace?

Posts: 1

Participants: 1

Read full topic

Search Logs functionality improvements

$
0
0

@outofthebox wrote:

Ways I believe the search logs page could be improved:

  1. Display how many total searches took place in the time period selected
  2. Display what the overall and line-by-line click through percentage was
  3. Change “Unique” to “Unique Users”
  4. Enable filtering: by term, by # of searches, by clickthrough rate, by # of unique users

Posts: 1

Participants: 1

Read full topic


Synch thread across forums

$
0
0

@paulkreuzer wrote:

Maybe this is just hopeful dreaming, but wouldn’t it be cool if two communities that both have a discourse forum could have a shared thread that is automatically synced between both forums so they can discuss a collaboration effort or similar together without everybody having to create an account to the other forum?

Posts: 6

Participants: 4

Read full topic

Cannot backup (connect to postgres) in docker_dev

$
0
0

@pfaffman wrote:

Using the docker_dev you can’t make a backup from the web interface or from within the container using ./script/discourse backup. Both fail due to postgres permissions issues. This makes using the container to do an import problematic.

What I’ve been doing is editing /etc/postgresql/9.5/main/pg_hba.conf and changing the connections from “peer” to “trust”, like this:

local   all             postgres                                trust
local   all             all                                     trust

And then restarting the container, as I’ve yet to figure out how to restart postgres from within it.

This likely isn’t the best solution to this problem, and I don’t even know where to look to fix it if I did.

And while I’m complaining, it would be nice if the container included libmysqlclient-dev

Posts: 1

Participants: 1

Read full topic

Discourse Response Bot

$
0
0

@Bolarinwa_Balogun wrote:

Hi,
This is a plugin that automatically replies new posts with a wiki post for collaborative answers.

You can clone the repo here: GitHub - bolariin/discourse-response-bot: A discourse bot that automatically replies newly created topics with a wiki post

You can:

  • change the default text in settings
  • enable or disable the plugin in select categories

Feel free to try the plugin, report issues, ask questions or suggest improvements or fixes.

Posts: 1

Participants: 1

Read full topic

Problem Importing mailman archive into Discourse

$
0
0

@hdf_mneedham wrote:

I’m following the how-to at HOWTO: Import MBOX (mailing list) files.

In the very first comment, the user reports an error that I’m also seeing. The response is to “add sqlite to the Gemfile and [run] bundle install”. The was from Nov 2016, so maybe it’s already been added in source. The end of the gemfile does already contain:

if ENV["IMPORT"] == "1"
  gem 'mysql2'
  gem 'redcarpet'
  gem 'sqlite3', '~&gt; 1.3.13'
  gem 'ruby-bbcode-to-md', github: 'nlalonde/ruby-bbcode-to-md'
end

Nevertheless, I copied the line w/ sqlit3 up a few lines, and ran bundle install. It was successful, but I’m still seeing the same error.

Bundle complete! 110 Gemfile dependencies, 185 gems now installed.
Gems in the group development were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.

root@ip-10-0-0-12-app:/var/www/discourse# bundle exec script/import_scripts/mbox.rb
script/import_scripts/mbox.rb: 1: script/import_scripts/mbox.rb: require: not found
script/import_scripts/mbox.rb: 2: script/import_scripts/mbox.rb: Syntax error: "(" unexpected

This is probably super simple for anyone who knows anything about this. This is my first exposure to Discourse, Docker (anything but the Linux/Mailman side), and I’m likely stumbling over some detail too obvious to bother documenting.

I’m running this on AWS, using the guide at Discourse setup using AWS | andrew stroup’s Blog, with additional hints from places to which I lack the TrustLevel to link. After seeing how much this cost on AWS running idle, I set up a Discourse Droplet on DigitalOcean. The plan is that once we have a fully functional prototype on AWS, I’ll recreate the config steps on DO and we’ll go live.

Thanks!

Posts: 1

Participants: 1

Read full topic

What do you call your membership managers? Community Engagement Team?

$
0
0

@tobiaseigen wrote:

I am exploring setting up a private group (with linked email address) and category for myself and colleagues who are tasked with running the community. We are moderators and staff, but we also do more to nurture growth and engagement in our community, and to provide additional hand holding and support to individual members as they get started with setting up their profiles and finding their bearings.

I’m struggling a bit to decide what to propose calling ourselves. We’re not managers, really, and don’t find “membership managers” to be a very compelling label in any case. I find “community support team” to be closer but also not ideal because we are a participatory community and don’t want members to look to us for support (including maybe even financial).

Most recently I was thinking “community engagement team” seems closest. It also matches our email address for membership which is community@foo.com.

What do you call yourselves? Any advice for me? Thanks! :seedling:

Posts: 2

Participants: 2

Read full topic

How to add logo in category

About Me profile field limited to 3000 characters

$
0
0

@scottfsmith wrote:

On our site users sometimes want really long “About Me” descriptions in their profiles but it is by default limited to 3000 characters. Is there any easy way to bump this up?

Posts: 9

Participants: 5

Read full topic


Internal Server Error after User is logged out by Admin

$
0
0

@Solarian wrote:

Hello,

The bug we have found involves 3 different “sub issues” along the way. The most critical issue is the last one (3). The others are partially expected, but I don’t believe they are being ideally handled either. Issue 3 however will crash the server for all users for a short period of time.

  1. When some users are logged out by an Administrator, they are not notified of being logged out. Their browser will not display the “you have been logged out” modal.
  2. If a user is logged out and does not receive this notification modal (1), they can click on their user menu (top right avatar). This sends off a request to get the latest 5 notifications (/notifications?recent=true&limit=5). Because the user has been logged out, this will fail (403). It seems Discourse (or Ember) will immediately retry this request indefinitely, flooding the server with these requests very rapidly.
  3. If the user has been logged out and did not receive the notification modal (1) and opened the user menu (2), attempting to refresh the page will result in a 500 Internal error message. This may occasionally be 429, if you have sent too many requests due to having the user menu open (2) before refreshing.

Note: I personally cannot reproduce the first error, however I have seen this issue occur consistently with a QA member. I have yet to figure out the difference between his setup and mine that may be causing this, it does not seem to be account related, and we used the same browsers (though the Chrome version number may not have been the same). Regardless, I will outline the steps for faking a reproduction of the first error, as it is necessary to reproduce the other errors if you do not get the first issue.

How to reproduce:
Part 1:

  1. Log in to Discourse as a user.
  2. Log in to Discourse as an admin in a separate browser (or incognito, if using Chrome).
  3. As Admin, navigate to the User’s Admin page and force them to log out.
  4. If you receive the popup modal, use the Developer console to delete the modal

Part 2:

  1. Click the user menu in the top right (avatar). It may or may not display a loading circle.
  2. Check the Network tab of the Developer console it will be filling up rapidly with the attempt to grab notifications.

Part 3.1:

  1. While the user menu is open from Part 2 (or shortly after), refresh the page. You will receive an Internal Server Error.
    The page continue to receive this error for a short time (a few minutes), but will eventually correct itself and leave you logged out on the main forum page.

Part 3.2 (alternative, with SSO sign in):

  1. While the user menu is open from Part 2 (or shortly after), click on a link (in this case, I clicked the “Latest” tab).
  2. Click “Go Back”. You should see the same error message, but note that the address is for the main Forum page again.
  3. Click “Go Back” again. This ends up at SSO login, which will fail and leave the user on a blank page.
  4. Like 3.1, this will persist for a few minutes before a refresh will leave the user on Discourse with a message “Login Error: Account login timed out, please try logging in again.”

It should be noted that the areas I have tried accessing with Part 3.2 are available to a user who is not logged in, but I assume is denied to the logged out user because their browser is still including their credentials (which are no longer valid).

Also, here is what I believe is the error that was logged:
Discourse::InvalidAccess (Discourse::InvalidAccess) /var/www/discourse/lib/auth/default_current_user_provider.rb:63:inrescue in current_user’`

Also the full backtrace is here (this didn’t display nicely in MD code blocks, so I copied out to pastebin instead).

Thanks.

Posts: 6

Participants: 3

Read full topic

Orientation fix missing in latest stable

$
0
0

@RGJ wrote:

Saturday morning is always a good moment to research weird problems.
I suddenly see things that I’ve overlooked for a long time.

The image orientation fix seems to be missing in the stable branch.

Can you please, please backport it for 1.9.3 ?

Master:

Stable:

Posts: 2

Participants: 2

Read full topic

Mirror mailing list with moderation

$
0
0

@Horus wrote:

Hello,

I would like to mirror a mailing list. I read Creating a read-only mailing list mirror, but have some questions and special requirements.

The list is mainly an announcement list and I want forum users allow to reply to postings, without these replies get through to the list. No problem so far.

  1. However, some of the mails are not intended for the greater audience. Is it possible to send all incoming mails to a moderation queue? (need to have for us)

  2. Is it possible to have all incoming mails appear as forum posts from the same user? (nice to have)

Best Thanks!

Posts: 1

Participants: 1

Read full topic

How to delete/stop auto creation of the "about this category" threads?

$
0
0

@adrianbblk wrote:

Hi Everyone,

How I can delete the thread that automatically created when a new category is added. I set an auto delete but even that time passes the topic still remain visible even to the public.

Also, is there a way to stop auto-creation of this topics?

Posts: 2

Participants: 2

Read full topic

Create post via the api with tags and category

Viewing all 60613 articles
Browse latest View live




Latest Images