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

View Multiple Categories


Upgrade discourse container with external db

$
0
0

@Henkis wrote:

Hi,

I have a question, if I have a few discourse containers running and what to upgrade I do a launcher rebuild of the container with is fine. But will it also do a db:migrate if necessary or how should I handle database changes?

Thanks

Posts: 3

Participants: 2

Read full topic

Backup uploads terribly slow

$
0
0

@armando wrote:

I can't restore my backup...
I'm very unexpert... so I'll explain everything I did before.

I'm trying to get wordpress and discourse on the same machine (by the way, if you have a guide for this specific purpose it would be fantastic)... since I had done some mistakes that I didn't understand, I've reinstalled discourse (with the beginners guide) and then I installed nginx following your howto, and I started to follow instructions to install LEMP and Wordpress with a Digital Ocean guide (but I stopped at apache installation, because I realized meanwhile that the whole guide looked a bit long and I prefer to restore my previous discourse as soon as possible).

Now, I'm trying to upload my last backup discourse file, but it seems stucked at 23%. Its weight is 10.2mb.

I've looked for old discussion and I found this: Backup uploads hang at 2% complete
There is said that the cause is a nginx limitation to file size upload... could be my case too? Any help?

Thank you very much for patience!

Posts: 10

Participants: 2

Read full topic

How can I clear the cache for my plugin?

$
0
0

@Krischan wrote:

Continuing the discussion from Please visit our Discourse Forum! (Directory):

I built a very basic plugin to curate a certain quote from a topic on the homepage (the information needed here are manually entered in the plugin settings) . How can I clear the cache so that users who are currently on the site see the changes? Thanks!

Posts: 1

Participants: 1

Read full topic

Multisite comment embedding confusion

$
0
0

@kennric wrote:

I have a multisite web-only discourse container, with several sites discourse_a, discourse_b, etc, each with their own separate fqdn.

I've been using comment embedding on one static blog (call it blog A) without issue for a little while - topics are created on discourse_a and the embedded comments show up fine on Blog A.

Now I am trying to set the same thing up for Blog B. Discourse_b is working by itself, and has all the same embedding settings as discourse_a (with embedding host and topic feed pointing to Blog B of course). Blog B is the same kind of static site (Pelican), with an identical javascript embedding code block - but Blog B topics are not being created, and the iframe just sits there with "Loading discussion".

There are no errors in discourse_b/logs, and looking in the nginx logs inside the discourse container, I see:

==> nginx/access.log <==
[04/Jan/2016:22:04:20 +0000] 172.17.42.1 "GET /embed/comments?embed_url=https%3A%2F%2Fblog_b.com%2Fpost-one.html HTTP/1.0" "Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0" "embed/comments" 200 3523 "https://blog_b.com/post-one.html" 0.045 0.045 "Ace"
[04/Jan/2016:22:04:45 +0000] 172.17.42.1 "POST /message-bus/fc7d878148174c068e6200e4f2adef7b/poll?dlp=t HTTP/1.0" "Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0" "-" 200 470 "https://discourse_b.com/admin" 0.010 0.013 "-"

The embedded code keeps polling like this indefinitely, getting status 200, but never creating a topic. I am not sure where else to look.

Any ideas for further debugging would be appreciated. I've checked that all the urls involved are valid and working, inspected the generated html in firebug, and compared Blog A and Blog B minutely without seeing any difference in how the embed js is called. I am not sure where to go from here.

Thanks for reading.

Posts: 3

Participants: 2

Read full topic

Bitnami install on Google Cloud / Smooth except EMAIL

$
0
0

@John_Schwitz wrote:

Smooth install except I cannot get email to work. I cannot get sendgrid to work with Discourse. I believe the problem is on the server. Enclosed are logs.


PG::UndefinedTable: ERROR: relation "users" does not exist LINE 5: WHERE a.attrelid = '"users"'::regclass ^ : SELECT a.attname,
29 Nov 15
Scoped order and limit are ignored, it's forced to be batch order and batch size
29 Nov 15
Job exception: Network is unreachable - connect(2)
29 Nov 15
42
Job exception: Network is unreachable - connect(2)
1 Jan 10:37 am
30
Job exception: 534-5.7.9 Application-specific password required. Learn more at
Su 5:01 pm
PG::ConnectionBad (FATAL: the database system is shutting down ) /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql_
4:19 pm
5
PG::ConnectionBad (FATAL: the database system is shutting down ) /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql_
4:23 pm
Job exception: FATAL: the database system is shutting down
4:25 pm
7
PG::ConnectionBad (FATAL: the database system is shutting down ) /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql_
4:28 pm
19
Job exception: execution expired
4:51 pm
3
Discourse::InvalidParameters (email) /opt/bitnami/apps/discourse/htdocs/app/controllers/users_controller.rb:436:in `change_email'
4:56 pm

Posts: 2

Participants: 2

Read full topic

How does anon posting work? (Is there any place I can try it out?)

$
0
0

@totalnoob wrote:

I am interested in using discourse, but it's hard to find out about this feature. There are threads asking how it works, but then the thread is just closed saying it was implemented.

Anyway, my main question is... if this feature is enabled, can people post without creating an account at all? That's what I want.

Thanks

Posts: 8

Participants: 3

Read full topic

Unexpected removal of text in markdown conversion

$
0
0

@DeanMarkTaylor wrote:

Note the line There has been one in that time: is missing.

Markdown

##Example Heading
There has been one in that time:
[quote="DeanMarkTaylor, post:1, topic:1"]
anything here
[/quote]

Expected Output

Actual Output

Additional notes

For the markdown without the [quote ...][/quote] placing text under the heading works as expected:

##Example Heading
There has been one in that time:
Some additional thing

Or placing a blank line before the [quote ...] line:

##Example Heading
There has been one in that time:

[quote="DeanMarkTaylor, post:1, topic:1"]
anything here
[/quote]

I tried this in dingus: http://spec.commonmark.org/dingus/
It gave unexpected results for all cases where a blank line wasn't after the heading.

Posts: 1

Participants: 1

Read full topic


Unable to mention category as first text on line

$
0
0

@jomaxro wrote:

Continuing the discussion from Mentioning Categories instead of Groups?:

Summary:

Unable to mention a category when the hashtag is the first text on a line.

Steps to reproduce:

  1. Create topic or post
  2. Add category preceeded by hashtag as first text on a line

Expected Results:

Editor offers to autocomplete category name and create mention

Actual Results:

Level 1 header is created

Notes:

Understand that this conflicts with Markdown spec, so not sure how this could be solved.

Attachments:

This is what happens with a category mention on its own line:

howto

Versions and Mods:

Discourse 1.5.0.beta7 (meta.discourse.org)

System Information:

Windows 10 Pro, Chrome Stable 47

Posts: 5

Participants: 3

Read full topic

How to add custom php code in header?

$
0
0

@eNinjaPL wrote:

I know it is not possible with option in Admin Panel (only HTML, CSS, JavaScript), but is it any option to add php code to top header?

Posts: 2

Participants: 2

Read full topic

Not displaying the count of user action on profile page. Has it been removed?

$
0
0

@Mohit_Gupta wrote:

The count of user action on the user profile page is not displayed. Has it been removed in the latest update?

Posts: 2

Participants: 2

Read full topic

How many people are watching or tracking a topic?

$
0
0

@bartv wrote:

I'd be interested to know how many people watch or track a specific topic, but I can't seem to find that information in the UI. Is there a way to get this data, maybe through a JSON request?

Posts: 5

Participants: 4

Read full topic

About the chat category

$
0
0

@chattykathy wrote:

(Replace this first paragraph with a brief description of your new category. This guidance will appear in the category selection area, so try to keep it below 200 characters. Until you edit this description or create topics, this category won't appear on the categories page.)

Use the following paragraphs for a longer description, or to establish category guidelines or rules:

  • Why should people use this category? What is it for?

  • How exactly is this different than the other categories we already have?

  • What should topics in this category generally contain?

  • Do we need this category? Can we merge with another category, or subcategory?

Posts: 1

Participants: 1

Read full topic

New badge added: Scribe

Error meanwhile upgrade from beta 5 to beta 7

$
0
0

@Roxelle wrote:

Hello to all...
I have upgraded the docker...
I then I run this:

Upgrades via the web UI are disabled until you run the latest image.

To do so log in to your server using SSH and run:

cd /var/discourse
git pull
./launcher rebuild app

But to me this procedure by error:

Where I enter the email?

Posts: 6

Participants: 3

Read full topic


Unchanged category definition topic shows up as new

$
0
0

@fefrei wrote:

Categories are hidden in Discourse while the category definition topic is not modified. Indeed, I cannot see the chat category here.

While the category definition topic for chat also was filtered out from the suggestions on the bottom of topic pages, it showed up as a new topic in the New-tab.

Posts: 4

Participants: 2

Read full topic

SSO with Gigya authentication

$
0
0

@coryeuc wrote:

We currently use Gigya for authentication, but are considering setting up Discourse. Has anyone set up SSO with Gigya authentication? Any indication of how big of a lift that might be?

Posts: 1

Participants: 1

Read full topic

Create thumbnails and lightbox images site setting is ignored

$
0
0

@Simon_Cossar wrote:

After unchecking 'create thumbnails' in site settings, large images are still lightboxed. The setting's description seems to indicate that unchecking it will cause images to not be lightboxed.

Adding the line return unless SiteSetting.create_thumbnails? to CookedPostProcessor#convert_to_link and restarting sidekiq seems to solve the problem.

Posts: 2

Participants: 2

Read full topic

Set SSO record fields via API

$
0
0

@roarkely wrote:

Is it possible to set a user's SSO record fields (those included in the single_sign_on_record object from /admin/user/username) via the API?

Here is our scenario: We have a Discourse instance that uses Wordpress for SSO. It works great. But, when a user changes their avatar or email address in their Wordpress profile, that information is not synced back to Discourse until their next re-log.

I'd like to listen to the profile_update action (or something similar) in Wordpress and push changes to the external_email and external_avatar_url user fields in Discourse so these changes are immediately synced across both platforms.

Any ideas? Am I missing something?

Posts: 2

Participants: 1

Read full topic

Per-topic planned automatic invitations with user targeting options

$
0
0

@meglio wrote:

Have been working very hard on improving engagement in our forum for Ukrainian/Russian goat farmers during last few months. As a result, we see in Google Analytics that the daily session number is growing and has recently doubled twice and went from 100 to 400 sessions per day.

One of the tricks we use that's working very well I'd love to see implemented as a feature. So far we've been doing it all manually.

We have some topics that everyone is welcome to write in, e.g. "How I became a goat farmer", "A few words about me" (a say-hello topic), as well as some polls.

Sometimes such topics don't get any interest for a long time and get lost in the topic lists... So, what I do then is manually invite people randomly to participate in the topic. It turns out that such invitations lead to the snowball effect: the topic pops up and others start to answer in the topic.

Based on this experience, I'd like to propose the following feature.

Let us (admins and/or mods) setup auto-invitation rules for each topic individually.

  • An invitation rule would be a set of conditions that are checked regularly on every user and, if met, an invitation is sent to that user to participate in the topic.

  • An invitation limit per-user is "once only" by default, but could be set to one of the following options:

    • once only
    • unlimited, but not more often than once every N days
    • no more than X invitations, but not more often than once every N days

I noticed that some users skip invitations (actually, miss them) when they are subscribed to many topics / categories (means they have too many notifications everyday); so, repeating the same invitation eventually worked after the first one(s) had been skipped. That's why I suppose this is a good reason to allow invitations to be repeated, with some minimal configuration as proposed in the list above.

  • Customize invitation text with a few macros available: {username}, {name}, {topic_title}, {topic_creation_date}

Customizing invitation text per-topic is an advanced feature, so probably it should be hidden till the "customize invitation text" checkbox is ticked.

  • Allow to target users of a specific group only, or specific user level(s), or those who have at least one of their topics created in a particular category. For the latter, a good example would be inviting goat farmers to a particular topic where some level of expertise is needed (not just those who love goats and buy goat milk). Knowing a user has their own topic in the "farmers personal pages" is a sign they're a goat farmer and have such expertise.

  • Per-topic invitation rules are to be set in a popup that can be opened by clicking on a new menu item available under the topic wrench menu:

  • Admin should be able to configure whether mods have access to this feature

  • An icon should be displayed in the topic lists signalling the topic has automatic invitations ON; visible only to those who have permission to configure automatic invitations.


I believe people would find a lot of applications for this feature once it's introduced, even those who haven't thought about it before. It would save admins/mods some time (set a rule and forget about it), as well as add more engagement possibilities.

Posts: 1

Participants: 1

Read full topic

Viewing all 60642 articles
Browse latest View live




Latest Images