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

Feature suggestion: "add tag" popup should suggest likely tags based on topic content

$
0
0

@ChrisBeach wrote:

With my slightly OCD tendency, I often trawl through topics adding tags.

Opening the tag drop-down shows five popular tags (I assume, the most popular?).

Here’s an idea - how about making the suggested tags a bit smarter using some basic machine learning? I’d suggest the following:

Background Job

Discourse runs a background job that analyses the text and tags of recent topics using a Naive Bayes Classifier

  • The background job uses existing tags on topics to build a model. It learns which tags are likely to be relevant to text content.

  • For topics without tags, the background job runs the text through the built model to find any tags with a high probability of applying to the topic. These are persisted in the DB as “suggested tags” for that topic.

Suggested Tag UX

When a user edits the title/tags, the UI shows any strong tag suggestions, and the user can click on a suggested tag to add it to the topic

Posts: 1

Participants: 1

Read full topic


Log in to Rocketchat with Discourse?

$
0
0

@DrOpossum wrote:

Hey there,

I would like to connect my Discourse to my self-hosted rocketchat server. It’s possible to log in via OAuth, CAS and SAML. Details can be found here: Rocket.Chat Documentation - Authentication

Is there an easy way to do this? Does Discourse support any of there authentication types?

Best regards,
Felix

Posts: 5

Participants: 3

Read full topic

Promote or demote suggestions

Tracking approvals in Staff Actions

$
0
0

@jordan1909 wrote:

Is there a way or is it on the roadmap to add a log message to the staff actions log when a topic or post is approved by a moderator? The concern I see is that say moderator x approves a topic and then forgets it or it contained something that shouldn’t be allowed, admin a has no way, that I have found, to see who approved the thread.

Has anyone found a workaround for this?

Posts: 2

Participants: 2

Read full topic

Guide to email templates?

$
0
0

@zagambill wrote:

Trying to dig through and customize my discourse emails, but I’m not sure what each email does. Is there a guide somewhere that details what the triggers are for each email template?

04%20PM

For example, when a user posts a reply to a topic, which of these templates sends and to whom? My guess is that User Posted goes to the person who posted a reply confirming the post, User Replied goes to others on the thread when a different user posts a reply, and User Quoted switches out the User Replied email. Although now that I’m typing this out, I’m pretty sure I’m wrong. Most of these templates have the same subject line by default and template snippets without visibility as to how they populate in the body, otherwise I would just look at the emails I’ve been getting vs what’s in the template. I also don’t want to test these templates in a live environment, and haven’t setup a dev env yet.

Is there some info/documentation I’m missing? Thanks!

Posts: 4

Participants: 3

Read full topic

Reuse Discourse Hamburger Functionality

$
0
0

@sarahann wrote:

Hello Discourse Team!

I am using the discourse CLI Discourse Theme CLI (console app to help you build themes) and the plugin API A new versioned API for client side plugins to help me create my theme.

I have added a custom header in the header.html file. On mobile, I was hoping to create a hamburger menu that functions like discourse’s hamburger


But has completely different menu contents.

I could create the hamburger and menu with my knowledge of css/html/js. But I was hoping for a way to use the functionality that discourse has already implemented (opening, closing, etc…).

Any suggestions on how to achieve this?

  • I thought maybe I would be able to extend the widget for the current navigation, change the settings, then attach it to the html I have written for my nav. But the connectors seemed to be predefined, and I wasnt sure how to connect my widget to my html. This might not be the right direction at all either…

Posts: 1

Participants: 1

Read full topic

Execute JavaScript code from a plugin once after load

$
0
0

@eatcodetravel wrote:

Hello!,

I’m looking a way to execute JavaScript code after Discourse has finished loading. I’m using the following approach as I’ve seen it some plugins.

// Inside an initializer
export default {
  name: 'my-initializer',
  initialize(container) {
    withPluginApi('0.8.9', api => {
      api.modifyClass('component:site-header', {
        @on('didInsertElement')
        myInitializer() {
          Ember.run.scheduleOnce('afterRender', () => {
            // my code here
          });
        },
      });
    });
  },
};

Is there a way to do specifically this, without hooking to the site-header component lifecycle? Like a window.onload but for Discourse.

Thanks!

Posts: 5

Participants: 2

Read full topic

Some topics are returning a 404..?

$
0
0

@JustFerry wrote:

Hi there.

I am running into an issue where some of the topics on my forum return a 404, which is unexpected behaviour. An example would be this:

https://robloxuk.com/t/fixing-employment-act-2017/101/3

This is what it shows when you’re trying to access that topic:

It has nothing to do with permissions - the topic is publicily viewable.
Could anyone help me out?

Thanks in advance.
Ferry

EDIT: I found out that this happens to any topics which users reply on (or new created topics).

Posts: 6

Participants: 2

Read full topic


Deleting tags in a round-about manner

$
0
0

@jerry0 wrote:

It seems particularly difficult to delete a tag from the system. In particular, if you have no current topics with the tag attached (for example if you have removed them all to delete the tag or if you have created a tag that needs deletion), it seems the only way to delete a tag is to create a topic with the tag (or attach the tag to a an existing topic) then delete the tag from there and delete the topic you just created to delete the tag.

It would seem to be more logical to be able to delete them in the /tags page but you can only delete and manage tag groups there is seems.

Is there an easier way to do this?

Posts: 9

Participants: 4

Read full topic

Search page can't search for users?

The MEGATOPIC: public good, or public menace?

$
0
0

@codinghorror wrote:

When we founded Discourse in 2013, I had the idea that we’d support topics of any length or size, from 10 replies to 100 to 10,000 to 100,000 or even more!

A few years ago we ran into a technical limitation where we send down a list of all the post IDs in the topic when you enter the topic. This starts to cause problems on the client – particularly older smartphones with less memory and CPU power – at around ~10,000 replies, so we created a site setting that automatically closes topics at 10,000 replies and defaulted it to on. It’s certainly possible to turn this setting down or off, but we believe in “safe by default” at Discourse, and extremely large topics were no longer safe, at least for some clients.

This was meant to be a temporary solution as it was a significant amount of engineering effort to create a solution where we sent down only a partial list of topic ids based on what you are viewing. We planned to revisit this later.

However, as we started to investigate MEGATOPICS, it became clear that they are

  • not that common
  • often quite problematic

… and now after looking at this for quite some time, with many live examples, I believe that MEGATOPICS should, in fact, be permanently discouraged. Here’s why:

  • Megatopics are impractical to read. By the time you reach 10,000 replies, who in their right mind is going to sit down and read through all 10,000 of those replies? So how does anyone catch up with the current state of the topic – maybe by reading the first post and the first 50 replies? Reading only the last 100 posts? Even using our handy “summarize this topic” function, you’re looking at reading 1,000 of the most liked replies to understand what went on in that topic. Your best bet is for someone to read the whole thing and edit a summary into the first post, which would require a staff member, or the first post to be a wiki.

  • Megatopics are impractical to navigate. How long did it take this topic to get to 10,000 replies? A week? A month? A few years? While you can easily jump to the beginning and end of any topic using the handy timeline feature in Discourse, you are on your own figuring out what exactly happened in the vast middle of that topic. We’ve discussed adding breakpoints or chapters to topics at some point, but there were certainly important “events” in any long running topic you’ll need to dig through the dates and posts to figure out yourself.

  • Megatopics are genuinely rare “in the wild”. Right now I’m looking at the archives of a forum we migrated to Discourse in 2017 that dates back to 2003, and sorting by replies, I count 7 topics out of 87,602 that are over 10k replies. Seven! That’s about 1 megatopic for every ten thousand topics. There’s also a fairly steep dropoff in topic length at that point; only 9 additional topics are over 8k replies.

  • Megatopics tend to lose control of the actual topic. It is normal for a topic to veer and meander, but the longer the topic, the more likely it is that gentle conversational curves morph into radical changes. Furthermore, the longer the topic goes on, the more the world changes around the original opening post that kicked things off – if it is about a then-current news event, for example, other more recent news events may have rendered it moot or significantly altered its meaning and trajectory by now.

  • Megatopics are often users expressing a desire for a chatroom. There’s nothing wrong with the desire for a chatroom, but chat works best in actual chat software, which is designed to host impermanent, rambling, neverending conversations about anything – and where users can create their own channels at will. For example, here’s a topic titled Ask me [warhammer] lore questions which currently has 58,283 replies… and counting.

So here are my recommendations:

  • Use natural breakpoints in topic titles: years, seasons, months. A topic titled “Best Horror Movies” will be hard to find and hard to navigate. But a topic titled “Best Modern Horror Movies” or “Best Horror Movies of 2018” will fare much better.

  • If something significant has changed, start a new topic, and link to the old one. Instead of adding to the “Diablo III” topic, create a new “Diablo III – Reaper of Souls” topic to cover the game’s latest expansion and patches with the changes to the core game as a result. In discussing the Houston Oilers after their 1999 move to Nashville, create a new “Tennessee Titans” topic.

  • For big timeline events, consider creating a new topic. Big events are often worthy of their own topics. A huge release like Smash Brothers certainly deserves a new “Smash Brothers on Switch” topic where people interested in that can easier find it, versus being buried deep in the general Nintendo Switch catch-all topic. This can be linked both to and from the general Switch topic (or the general Smash Brothers topic) as needed, of course, and now it can be found easier via search as a standalone topic.

  • If your users are implicitly telling you they want chat, maybe set one up? It’s perfectly fine for Discourse to live side by side with ephemeral chat, and it’s exactly how we use Discourse internally! Chat doesn’t compete with the longer form conversations on Discourse, it is highly complementary to those conversations. There are plenty of great free chat options out there, like Slack and Discord.

Posts: 9

Participants: 9

Read full topic

Group rename and group owners removal problems

$
0
0

@GuidoD wrote:

I noticed that there is a bug in the new group management functions.
(just migrated to the latest release Version v2.0.0.beta6 +52 2.0.0.beta6 but I had this problem already in one of the latest beta5 builds)

  • it looks like capital letters are no longer supported in group names
    I renamed a group that had the group name “NRW-DiB-Tische” to “NRW-Aktionsteam” and the system showed that the group name is available, but after clicking on the save button and a reload it is then “nrw-aktionsteam”


    image
    But the existing groups are still in capital letters:
  • I could add additional owners to the renamed group but I cannot remove the existing owners. Clicks on remove as owner does not remove the old owners
    image

Posts: 1

Participants: 1

Read full topic

Discourse based roles/access on Discord

$
0
0

@Daniel_Nevoigt wrote:

Hope I am in the correct category…Tried to search about that feature, but did not find anything.

I am woundering if there allready exists a discourse plugin which gives access roles on a specific discord server, based on discourse groups?
So for example:

  • a discourse user has the group gaming
  • this user want to access the forums discord server
  • so he can access via an invite link or other
  • gets to the discord server and automatically gets the role based on his discourse group
  • possibly when he deletes his account on discourse, roles on discord server gets revoked

Thanks for help and time.

Posts: 3

Participants: 2

Read full topic

Getting a 502 on my user summary.json

$
0
0

@Olivier_Lambert wrote:

Hey guys, just updated my discourse install through the ./launcher rebuild-app thing.

Everything went smoothly, but now I’m stuck with a 502 error on my user summary json feed.

https://forum.latranchee.com/u/olivier_lambert/summary.json

Any clues on what might have gone wrong?

EDIT: Just found out it works with some other users (La Tranchée = Communauté + Coaching + Formation) however, the loading time is really slow.

It’s the first time I see such a slow loading time. Any clue what might be wrong?

EDIT #2 :laughing::

Did a htop:

Why the hell is postgress using up 99% of my cpu?

EDIT #3: Well, my loading times seems to be getting back to normal and no more 502 errors. Will update this thread again if the problem persist!

Posts: 2

Participants: 2

Read full topic

Assign should invite?


Customization login page

$
0
0

@nikitabytsko wrote:

Hello everybody. I wanna change mine private login page like this, but i can’t find some solutions. I wanna show two fields like input type login, input type password and login button. Please help me. Sorry for bad English. 98d37b36d9109c012a384cc92cd421049785a855_1_690x371

Posts: 2

Participants: 1

Read full topic

Muted topics still displayed on home page on mobile

$
0
0

@seanblue wrote:

I’m using https://community.wanikani.com. On mobile, if I go to the home page, I see each category and the most recent three topics in each category. However, this list of topics sometimes include topics that have been muted. If I actually go into a subsection, the muted topics are properly hidden.

Posts: 1

Participants: 1

Read full topic

Show "silenced" as avatar flair for silenced users

$
0
0

@Vespura wrote:

(Not sure if this should be posted in #ux or #feature, feel free to move it if it’s in the wrong place).

Currently there is no easy way for staff to see if a user is silenced, without going to the user in the admin page.
Unlike a suspension, which is shown on the user’s regular profile page/profile card when clicking on a username.

In my opinion something like this:

would be a nice addition (at least for staff members, maybe hide it for non-staff members(?)) to check if a user is silenced. Or, like the current Suspended message that appears when opening the User Card of that user, display it somewhere in the user card.

Personally I don’t see any reason why this wouldn’t be a good feature, but I’m sure there’s probably reasons why this could be an unwanted feature. In which case: I’d like to know what the downsides are :slight_smile:

The main reason for this is some users get auto-silenced by the System user for typing too fast, if another staff member “rejects” that post that’s “awaiting approval” then the user gets permanently silenced without it being obvious in regular topics. So if someone replied, and later got silenced. At first sight you wouldn’t know they’re silenced and you probably get confused why the person isn’t replying if you ask them something.

Posts: 1

Participants: 1

Read full topic

Discourse Instance - No space left on device

$
0
0

@chris062689 wrote:

Hello!

We’ve been running our Discourse instance for about two years now, and are running out of storage space.

We were looking into ways we could delete old posts.

We can select these topics via advanced search older than 2017-01-01.

We get options for Archive and Delete, but these appear to be soft-functions that are only virtual deletes.

Do archived topics take up less space on the device?
Is there anyway to physically delete deleted posts on disk?

What are some strategies for freeing up space? We’ve already pruned our backups.

Thank you.

Posts: 3

Participants: 3

Read full topic

User can't post: 500 internal server error

$
0
0

@Dani1 wrote:

My users come in at trust level 1, so they should have all basic user functions, correct?

But they can’t create posts. Am I missing something?

i’ve looked at other 500/internal server error posts in ‘support’, but haven’t found anything i can translate into “what next”.

Thanks.

Posts: 7

Participants: 3

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images