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

How to create a "tag" button on the top bar?


Change max chars in Onebox - enlarge your Onebox?

$
0
0

@frold wrote:

After Maja did add a more advance OneBox for Amazon links I would like to know if it is possible to “hack” the OneBox to strip more chars so the Onebox gets bigger.

Eg I see the max chars for description is 200 in this way I could have a larger OneBox - or is it not possible to set how large you want your onebox?

I dont see any limit in the onebox/amazon_onebox.rb at master · discourse/onebox · GitHub so I thought it might be set more globally somewhere…

Best regards,

Posts: 1

Participants: 1

Read full topic

What's this red line?

$
0
0

@carlokok wrote:

since a short while ago I’m getting this when clicking a post:

afbeelding

What does this do? (Didn’t know what to search for)

Posts: 2

Participants: 2

Read full topic

Can we output a post to a text file?

Should I set TL4 for staff users (moderators)?

$
0
0

@ThiefMaster wrote:

I just checked in my forum and some of our staff members are set as moderators but just have TL2. Is there any reason why I should / should not grant them TL4 as well? I guess being a moderator overrides all TL-based restrictions anyway?

Posts: 2

Participants: 2

Read full topic

Chat integrations: Send notifications for restricted categories to another channel

$
0
0

@ThiefMaster wrote:

I have two Matrix channels, one public one and one for team members. Currently all notifications go to the public channel - including notifications for posts in restricted categories.

Is there any way to send these notifications to a different channel, without having to list every single public/restricted category in a separate rule?

Posts: 2

Participants: 2

Read full topic

What is "the magic link" and how to translate it?

$
0
0

@SidV wrote:

Hello

In core/client.yml transifex resource appears the key js.email_login.link_label that said:

Email me a magic link

All right., I guess that refers to the link that the system generates automatically to enter, isn’t that? :thinking:

Traducción en Español

Para aquellos que hablamos español :es: … no me queda claro si poner: “Enviarme el enlace mágico” para esta traducción.

Posts: 2

Participants: 2

Read full topic

How to know what is the problem with onebox for some links?

$
0
0

@Jean-Michel25 wrote:

Hello

Onebox goes well on my discourse forums, but links from one of my sites don’t display in onebox.

Example :
https://www.wikibulles.org/sos-ici-paris/302-3884-4596/302-27-0-0

I tested with 2 discourse forums, and now on this meta forum.
The target page contain meta tags in header, with all required og: tags.

Debug with Log into Facebook | Facebook
and Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed displays no error.

What info missing ?
An idea ?

Debug or logs about onebox available somewhere ?

Thanks

Posts: 1

Participants: 1

Read full topic


@mention #forum and... %search?

$
0
0

@frold wrote:

We have @mention and #forum - but if I from a thread will link to another we could have %search or something simular?

Or how do you easily link to another thread…

Any hints… :slight_smile:

Posts: 3

Participants: 3

Read full topic

Troubleshooting scheduled topics, mentions and email notifications

$
0
0

@tobiaseigen wrote:

I’m running into a little trouble with the scheduled topics feature, which doesn’t seem to be working consistently for me. Has anyone else also had this experience, and is there something I am doing wrong? How can I improve my process?

I would like to use it to stage a welcome topic, that when published mentions all the new members so they are notified. I’ve now done this 4 times, at two week intervals, and it’s been well received! (here is what they look like) But I have yet to have it work the same way each time. Now I want to try to document it and would be grateful for any guidance.

Here’s what I did by last night:

  • created topic in private category
  • edited it to my satisfaction, including @ mentions of about 80 new members
  • moved replies into this topic from other topics, including from some of these 80 new members - about 40 replies in total
  • scheduled publication of the topic to a public category for 30 minutes later
  • after 30 minutes, verified that the topic was in the public category

This morning first thingI checked in mandrill and noticed that the email notifications had not been sent out. So I then tried it again:

  • moved topic back into private category
  • scheduled publication of the topic to a public category for 30 minutes later

Now is when the weird stuff happened:

  • the notifications were indeed sent out this time, but 2 minutes before the scheduled publication time according to mandrill. Somebody’s clock is off by 2 minutes?
  • the message remained in the private category - I can’t remember if I made a mistake and forgot to change it, but should this even be possible? I’ve now moved it into the public category and all appears to be well.
  • the email notification includes the private category name in the subject line
  • the time stamp for every single reply has been updated to the scheduled time. this did not happen last time. It’s not bad but inconsistent.

Posts: 1

Participants: 1

Read full topic

Hyperlink to actions

$
0
0

@outofthebox wrote:

Hi,

Is it possible to place hyperlinks to actions?

For instance, I’d like to welcome members to a new Category like this:

Hi @VIPMembers,

Welcome to your amazing #VIP-Category!

To be sure that you get notifications from your fellow VIPs, please watch this category (just click the link) [hyperlink that sets them to watching #VIP-Category]. If you really want to stay connected, [click here] to set your preferences to mailing list mode. This means you’ll get an email message for every new post in this Category (and any other Categories you decide to watch). Since we speak Spanish here, [click here] to set your user interface to Spanish.

Also, to share this message with other VIPs, please click here [a hyperlink to the sharing toolbar] and let people know how awesome it is to connect here.

Enjoy!

It makes writing a tutorial for non-tech people really easy. A few clicks and they’re set up and good to go.

Posts: 6

Participants: 4

Read full topic

Proposal: Flair on avatar for trust level

$
0
0

@McBlu wrote:

Hey guys,

I started a topic elsewhere asking questions about flairs, and it got me thinking about what a powerful community motivator for participation in the forum it might be to have flairs on members’ avatars that show their trust level. If the flairs are visible to all members it is useful for:

  1. Seeing level 0s and being reminded to welcome them to the group and to be a little forgiving when they mess up and you can weigh their advice with their level in mind.
  2. Seeing higher levels and knowing you can go to them for advice.
  3. Feeling extra motivated and inspired to contribute and go up the levels and having a sense of accomplishment when you do.

In our forum, when members reach level 3, not only will they get to join the lounge (as set up by discourse), they will start to contribute to blogs and they will get to live chat to brainstorm in our think tank. So having a level 3 flair on your avatar would have extra special meaning.

Here is the original topic where we discussed this:

For those who don’t know what a flair is (which I didn’t before yesterday) this is what it is:
24%20PM

Here is what I understand. Please do correct me if you know more. Right now, you can add a flair to a custom group that you create. An avatar can have only one flair at a time, and which flair is displayed is determined by which group is your “primary group.” If the primary group isn’t determined in settings, it is the last group you joined. I thought I saw somewhere that only members of the same custom group can see the flair, but I could be wrong on that.

I am thinking the trust level flair would be displayed on the avatar’s bottom-left at all times since the bottom-right is allocated to the group flair. I like the idea of being able to add our own icons as opposed to a generic 0, 1, 2, 3, or 4. I might use a graduating cap or a lounge icon for trust level 3, for example.

For some forums, it might be detrimental to the community to show trust level flairs, although I can’t think of an example off the top of my head, so perhaps this would be an option rather than a permanent fixture.

What do you all think of this idea?

Posts: 9

Participants: 4

Read full topic

502 - Bad Gateway || Apache // Fine on disk memory

$
0
0

@porowns wrote:

I’ve installed Discourse before, and it’s been a breeze. However, I’m having issues on my newest box. After installation, it’s displaying the Congratulations, you’ve installed Discourse page, but with no content loading, other than raw HTML. All of the assets/etc are receiving 502 errors, and clicking register gives a bad gateway.

Rebuilt a few times, tried a few different install methods. Figured it could be permissions, but it wasn’t. Plenty of disk space (2TB) and RAM (16GB). Not really sure what’s going on.

Apache Config

<VirtualHost *:80>
    ServerName discourse.example.com
    ProxyPass / http://0.0.0.0:7890/
    ProxyPassReverse / http://0.0.0.0:7890/
</VirtualHost>

Posts: 2

Participants: 2

Read full topic

Regenerate category description / About topic

$
0
0

@a_lee wrote:

I accidentally deleted several category About topics while attempting to do some data cleaning (via a careless Topic.where(category_id: ).destroy_all where I forgot to exclude the about topic). Is there a way to regenerate these specially pinned topics from the rails console?

Alternatively I guess I could try creating new categories and copying topics over and then deleting the old categories…

Posts: 1

Participants: 1

Read full topic

The script resource is behind a redirect, which is disallowed

$
0
0

@jeroslavsky wrote:

Hello. I am currently having an issue with embedding Discourse on WordPress website.

I have set the following:

Allowed Host: domainame.com
discourseEmbedURL: https://domainame.com/name-of-subpage

But I get the following error response in Chrome Console:

The script resource is behind a redirect, which is disallowed.
Failed to load resource: net::ERR_UNSAFE_REDIRECT service-workers.js

In Firefox I get this text displayed:

Oops

The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.

Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.

The Iframe is loaded but it only displays Loading Comments. I am doing the loading of the scripts via AJAX response. Perhaps that might be the issue?

Any help would be greatly appreciated.

Posts: 1

Participants: 1

Read full topic


Getting Discourse running on JRuby

$
0
0

@headius wrote:

Hello friends!

I work on the JRuby project, and have recently (a couple times in the past year) attempted to get Discourse running. It would mean you can run a single Discourse process for a whole site, and probably use less memory and CPU at the same time. I think it’s worth getting it to run.

As with most existing Ruby apps, there are a few missing C extensions.

The good news is that most of these extensions appear to have alternatives for JRuby, or they’re trivial enough that it should be easy to just make a JRuby version.

I wanted to start a discussion here so we can talk about some of the exts and possible replacements.

Any interest in Discourse on JRuby?

Posts: 4

Participants: 2

Read full topic

Contact form sending to email

$
0
0

@Andy_White1 wrote:

Simple enquiry form. Three text boxes
Name
Email
Question
On submit sends email to site name-category@discourse

Needed?: Tomorrow night

What is your budget, in $ USD that you can offer for this task?
Pay fair price?

PM if interested. Need long term support so this contract might lead onwards
See www.goprojectpool.com for site
Trying here before Upwork

Posts: 2

Participants: 2

Read full topic

V. Basic Questions on Footer Code

$
0
0

@McBlu wrote:

G’day,

I am kinda embarrassed to post such basic coding questions about formatting a footer, but here goes . . .

I did up a very basic footer:

I need to:

a. limit it to the home page
b. make it sticky
c. bring it in from the left a little (its default position is on the left)

Might I ask what code I would use to do that, please, and thanks in advance.

Posts: 5

Participants: 2

Read full topic

Why can't I modify the topic list template?

$
0
0

@lll wrote:

I’ve been trying to override templates over the past couple of days.

I have read:
How to customize Discourse templates
Overriding built-in templates (and stylesheets)
Q&A design (blank)

I’ve also looked at Sam’s theme
discourse-simple-theme/header.html at master · SamSaffron/discourse-simple-theme · GitHub

I am able to add elements to a template via a plugin outlet

as discussed here:
Adding plugin-outlets using a theme

Like so:

<script type="text/x-handlebars" data-template-name="/connectors/topic-above-post-stream/foobar">
    <div style="height: 200px; width: 200px;background: red"></div>
</script>

I am also able to override the topic template

like so:

<script type="text/x-handlebars" data-template-name="topic">

<div style="height: 200px; width: 200px;background: blue"></div>

<!-- rest of the template untouched -->
</script>


What I am not able to do is to override the topic list template. For example,

If I use this:

<script type="text/x-handlebars" data-template-name="list/topic-list-item.raw">

<div style="height: 200px; width: 200px;background: red"></div>
<!-- rest of the template unchaged -->
</script>

In either the header or </head> section under either common or desktop I don’t see any changes.

So what silly thing am I doing wrong to cause it not to work?

Posts: 1

Participants: 1

Read full topic

Getting type errors in sidekiq queue

$
0
0

@carlokok wrote:

Getting lots of these (curiously all for 1 user/thread, one I never got notified for, I’m user 1). What’s the best way to get more info for this to resolve it?

Wachtrij default
Taak Jobs::UserEmail
Argumenten `
        {"type"=>"user_private_message",

“user_id”=>1, “notification_id”=>159511,
“notification_data_hash”=>{“topic_title”=>“Reference Issue 3:”,
“original_post_id”=>71940, “original_post_type”=>1,
“original_username”=>“UN”,
“display_username”=>“UN”},
“notification_type”=>“private_message”, “post_id”=>71940,
“current_site_id”=>“default”}
| |JID|72bfbc432a6c0a96dadfb8c4`|
|CreatedAt|4 uren geleden|
|In de wachtrij|52 seconden geleden|
|Aantal opnieuw geprobeerd|9|
|Laatste poging|51 seconden geleden|
|Volgende opnieuw proberen|binnen 1 uur|

Fout

Fout Klasse Jobs::HandledExceptionWrapper
Foutmelding Wrapped TypeError: no implicit conversion of nil into String

Posts: 1

Participants: 1

Read full topic

Viewing all 60678 articles
Browse latest View live




Latest Images