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

Exclude category from search

0
0

@jmamazo wrote:

Hello guys

Is there a way to exclude a category from "search" I mean forum wide. I know I can use advanced filter but most users just dont bother about checking those and we would like to always exclude a category from search results.

Thanks

Posts: 7

Participants: 4

Read full topic


Integrating Web Push Notifications (onesignal) Help Needed

Docker configuration

0
0

@Omar_Samad wrote:

Hi can someone provide information regards to using docker image -https://github.com/discourse/discourse

and how to configure image using environment variables.

Posts: 3

Participants: 2

Read full topic

Upgrade hanging - 1.6.0.beta8

0
0

@Kevin_McKinney wrote:

I was trying to upgrade my instance to 1.6.0.beta8 this morning, and it seems to be hanging. It sat for nearly an hour, and then I accidentally closed the tab that I was upgrading on while trying to troubleshoot. Now if I visit /admin/upgrade#/upgrade/discourse it says it's upgrading, but I can't tell what the status is - there's nothing written to the console. It's been sitting like this for a few hours now total.

Is there I way I can check the status of what it's doing? Is clicking the "reset upgrade" button safe? It warns me that's a last resort, but I don't know what I should try before getting to that point.

Here's what free -m reports, in case this is helpful. Anything else I could provide, please let me know.

:~# free -m
             total       used       free     shared    buffers     cached
Mem:          1992       1925         66         16         59        174
-/+ buffers/cache:       1691        301
Swap:         2044       1137        907

Posts: 7

Participants: 2

Read full topic

"Host is invalid" error when TLD is longer than 7 characters

0
0

@flimm wrote:

When setting the allowed hosts for embedding, I get this error: Host is invalid.

This is because it is not passing this regex in the source code, line 26 in the source code of embeddable_host.rb: Link

def host_must_be_valid
  if host !~ /\A[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,7}(:[0-9]{1,5})?(\/.*)?\Z/i &&
     host !~ /\A(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\Z/
    errors.add(:host, I18n.t('errors.messages.invalid'))
  end
end

This regex only passes if the TLD is seven characters long or fewer. There are many TLDs that are longer than that nowadays, for instance:

  • .cancerresearch
  • .xn--y9a3aq
  • .consulting

The fix should be fairly easy.

Posts: 2

Participants: 2

Read full topic

Facebook OpenGraph images not working

0
0

@Ben_Tristem wrote:

This topic does not embed properly into Facebook, it looks like this...

I have tried tried setting the "default opengraph image url" to this, but no luck.

Any help appreciated

Posts: 2

Participants: 2

Read full topic

Link activation already expired when sent

0
0

@brunoedigital wrote:

Hey folks. We developed a custom plugin to integrate my payment system with Discourse.

Basically what it does is that it creates a new user based on a POST notification sent by my payment system where it creates a new user and then assign a expiration date for his access.

You can see the plugin here: https://github.com/maysam/discourse_subscription_plugin.git

It's working fine with only one problem:

When a new user is created, an automatic email is sent out — the "Account Created" email.

When I click the link to create a new password (which is actually the password reset link), it opens a page saying:

"Sorry this is an old link. Please click 'forgot password' to get a new email".
(or something along these lines)

We are not really sure why this happening. Why the %{email_token} is getting screwed up in that first email.

BTW, it's just the first email. If I click to send a new email to set a new password, then this link works fine.

It seems that whenever we make a change to the user — activate it, change expiration date or whatever — the token will get expired.

If it's indeed that, we need a way to first do everything we need (activating, setting groups, expiration date, etc) and then send that first email.

But no idea if that's really what's going on.

If anyone has any idea we're more than happy to hear your out :slight_smile:

Thanks!
-Bruno

Posts: 4

Participants: 3

Read full topic

Is it possible to wrap text around images?


"SyntaxError: missing ) after argument list" from locale/en.js

0
0

@Nuck wrote:

Hey there, just upgraded forums.hummingbird.me and now I'm getting an error "SyntaxError: missing ) after argument list" coming from the locale file. I've disabled all plugins, ran SiteCustomization.update_all(enabled: false) and TranslationOverride.update_all(locale: 'es') to make sure we don't have any customizations, rebuilt and I'm still getting it.

Disabling everything I have should put us on vanilla discourse, but I'm still getting this error message.

Posts: 4

Participants: 2

Read full topic

Switch to Monaco Editor from Ace Editor

0
0

@Falco wrote:

Microsoft recently announced the Monaco Editor, that powers Visual Studio Code, is now open-source.

It can be added to a webpage, and provides Rich IntelliSense and CSS Validation.

It looks like a good fit for the Customization text areas.

What do you guys think?

Posts: 3

Participants: 3

Read full topic

Delete topic doesn't work

0
0

@Idan wrote:

I click the wrench icon and choose 'Delete Topic'.

The invite button is grayed out, but the topic is not removed. I go back to the main page and I can still see it. I hard refresh the page and the topic is still there.

I checked the console, and there are no errors. I am also the admin of the site and the one who wrote the question. I assume if there was a permission issue, I would have seen a notification or the delete button shouldn't be there in the first place.

Am I missing something?

Posts: 4

Participants: 3

Read full topic

Session/sso wrong redirect

0
0

@iamntz wrote:

Hey guys.

I have this weird thing and I'm not sure what to do next. So, I have this set up:

  • Discourse behind nginx, because I have a couple of extra sites on the same sever.
  • The forum is private, on a subdomain
  • The auth is made via wp sso, on the same server, as a main domain
  • When I'm not auth and try to access discourse, it will redirect me to discourse.mysite.comsession/sso.

Obviously, this will fail, there is a slash missing in the URL.

$ curl -I discourse.mysite.com
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 21 Jun 2016 05:38:23 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: https://discourse.mysite.com/


$ curl -L discourse.mysite.com
curl: (6) Could not resolve host: discourse.mysite.comsession

Inside of wp sso, i had specified the url with a trailing slash, yet no results..

At this point I'm not sure what to try first, because I have no idea when this issue appeared and if this is the result of the fact that i use the same server for multiple sites.

Any ideas?

Thanks!

Posts: 1

Participants: 1

Read full topic

Android chrome & notifications

0
0

@Toan_Lyon_MaVoix wrote:

Hi all,

as a discourse newbie (fresh first install & use), I d'like to understand how to make notifications work on my android phone.
I have already enabled notifications in my Discourse Preferences parameters and authorized Discourse notifications in my browser (Chrome) parameters.
Unfortunately, when a new message is posted, I don't receive any notification from my discourse forum, but the counter is ok
Facebook notifications work fine

Maybe i 've missed some steps : installl / setup / plugin ?
Installed version : v1.6.0.beta7 +128

What about this topic : https://github.com/alepolidori/chrome-discourse-notifications

Sorry about theses newbies questions ...
Thanks for your help
Toan

Posts: 1

Participants: 1

Read full topic

Topnav buttons are not aligned in some languages

0
0

@brunoedigital wrote:

I think it's a small CSS thing, but on my forum I've changed the default language to Portuguese, which words tend to be bigger.

That plus some categories having a larger a name produced this:

You can see the "Edit" button for the topic is misaligned.

It's not always that this happens:

Even this one which has a larger name works perfectly:

So not exactly sure how to repro this. Maybe it's when the last child is right above the edit button?

Anyhow, it's a small issue since it only appears to admin and mods.

Posts: 1

Participants: 1

Read full topic

Markdown quote formatting in plain text notifications

0
0

@rriemann wrote:

Hey guys,

I quoted a longer phrase wihout full-stops when replying to a topic by prepending >.

As I receive all forum contributions per mail and my mail reader prefers plein text, I noticed that full-stops have been added, but that the highlighting of my mail reader requires a > at the beginning of every new line. So far, it looks like this:

The html view looks like this:

Posts: 3

Participants: 2

Read full topic


No topic option (wrench) on a single reply

0
0

@Alankrit_Choudh wrote:

If i would like to move a post to a new topic or an existing topic, there should be 3 posts (in a topic) for the wrench to appear as it based on the new "slider". The wrench (options) does not show up when there is a single reply, which makes it impossible to move the that single reply.

Posts: 3

Participants: 2

Read full topic

Whispers show up in embedded comments

0
0

@jmamazo wrote:

Hello guys
I think there is an undesirable behavior of whispers when you are using embedded posts. You can see them as regular posts (even for unauthenticated users) this should not be happening.

How to reproduce:
1. create a whisper in the forum
2. check this post when is embedded on a website (using javascript)

that's it

Posts: 1

Participants: 1

Read full topic

Git Hub Profile Image Not Importing

0
0

@michaelhenderson wrote:

Hi, I am having an issue in my forum where user's github images are not porting over to the forum, they are having to manually set their profile picture.. Does anyone know how I can diagnose this issue? or, better yet, how i can fix it? Any feed back is greatly appreciated!
:slight_smile:

just for clarification, all the users sign into the forum using git hub. Thanks :smile:

Also, if this helps, I have over 200 copies of the highlighted error in my logs. checkout the image below.

Posts: 1

Participants: 1

Read full topic

Translation of tagging selector does not change

0
0

@Pad_Pors wrote:

when i change the text in the tag-selector from "all tags" to the string i want, it remains unaffected:

it shouldn't be cache issue, since i've just updated the site.

update: i just checked and it seems this happens for some other strings related to "tags" feature.

Posts: 2

Participants: 2

Read full topic

Notice of new messages won't disappear after clicking New

0
0

@Sander78 wrote:

Steps to reproduce:

  • Wait til a new message is posted, causing the blue notice bar to appear above the topics
  • Don't click it to refresh the list. Click New in the menu bar
  • The notice will stay

Posts: 1

Participants: 1

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images