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

Adding the wp-id parameter to topics created through WordPress

$
0
0

@Simon_Cossar wrote:

When a new topic is created through the WP Discourse plugin, the plugin is sending a wp-id (with a hyphen) parameter to Discourse. It's been doing this since before I started working on the plugin. It doesn't seem that it's used anywhere in Discourse.

Having a wp_id property for topics that are created through WordPress would be useful for syncing updated content between Discourse and WordPress. The way I'm doing this at the moment is to make a request to a Discourse route that's been added through a plugin. The request is returning the topic_id, title, and posts_count for all topics that have a topic_embed that have been updated within a given time range.

On the WordPress end, the difficulty is matching the returned data with the WordPress post. It can be done with the data that's being returned, but its a somewhat expensive query. If a wp_id property was added to topics that were created through WordPress, the process would be more efficient.

Would it be possible for this to be added to Discourse?

Posts: 1

Participants: 1

Read full topic


How to use Auth0 with the OAuth2 Basic Plugin

$
0
0

@oblakeerickson wrote:

If you are using Auth0 as your identity provider this guide will show you how to setup authentication using the Discourse OAuth2 Basic Plugin.

Initial Steps

  1. Create an Auth0 account if you don't already have one
  2. Install the Discourse OAuth2 Basic Plugin. This plugin is already installed if you are on the Business Plan if you are on the Standard Plan just ask us to upgrade you to Business!

Auth0 side

  1. Clients > Create client
  2. Give you client a name like "Discourse", click on "Regular Web Application", click "Create"
  3. Ignore the Quick Start tab, and click the Settings tab
  4. Under Allowed Callback URLs set it to: https://<your_discourse_url>/auth/oauth2_basic/callback
  5. At the bottom click on "Advanced" > "Endpoints". This will show you the urls to copy over to discourse.
  6. Save Changes (to save your callback url)

Discourse Side

Now inside of your Discourse site copy over the following Auth0 values into your Discourse settings:

  1. oauth2 client id → <Client ID>
  2. oauth2 client secret → <Client Secret>
  3. oauth2 authorize url → https://<domain>.auth0.com/authorize
  4. oauth2 token url → https://<domain>.auth0.com/oauth/token
  5. oauth2 user json url → https://<domain>.auth0.com/userinfo
  6. oauth2 user id path → id
  7. oauth2 json email path → email
  8. oauth2 enabled → :white_check_mark:
  9. oauth2 button title → 'with Auth0`

That's it! Now you will have an Auth0 button on the Discourse sign-up/sign-in page.

Posts: 1

Participants: 1

Read full topic

Update and Rebuild are failing for newest version

$
0
0

@hnaseri wrote:

Hello. I wanted to update my discourse for new commits, it did fail. Then I rebuild app, it also failed with the following error. Any Idea?

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 13406 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
1202bf591b3bb66f4bb14db9ffd2761171eaaece447b8e3c00051fd4866d511c
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Posts: 22

Participants: 4

Read full topic

When people select a specific category, send them to a specific topic instead? (wiki table of contents)

$
0
0

@JP_ wrote:

I have a wiki category. When they click Wiki in the category view, I'd like them to be redirected to the table of contents topic. Is this possible?

If not, anybody have other suggestions?

Posts: 5

Participants: 2

Read full topic

How can i import csv mail my discourse?

Moderator - Badges, Stars, etc. - Positive Feedback?

$
0
0

@BCHK wrote:

It would be great if there were a good complement of badges, stars, etc and other positive automatic feedback mechanisms for the mods as well as the users. Has this been considered or any plans for it?

Posts: 2

Participants: 2

Read full topic

Help with banner

$
0
0

@Crypto.ba wrote:

Hi guys, i could use some help..

im having a problem to put a banner on the same position as logo or menu, to fill that white space.

any advice?

Posts: 1

Participants: 1

Read full topic

Using haproxy how do I get Discourse to recognize remote IP?

$
0
0

@Cyclops wrote:

I'm using haproxy as a way of having apache, webmin, and pwm running on the same machine under different subdomains. The setup works beautifully, but Discourse shows the localhost for the IP address for all user activity, clearly this is going to make fighting spam harder (IP blocking would not work, etc).

Is there a way to get discourse to recognize the proper remote IP addresses?

Posts: 2

Participants: 1

Read full topic


Handling old accounts that have changed emails?

$
0
0

@codinghorror wrote:

If you visited a Discourse a long time ago, and no longer control the email address your account was originally created under -- how can we get that user back into their account?

I guess there are two options here:

  1. You don't remember which email it was, and you don't control that email address any more

  2. You do remember which email it was, and you don't control that email address any more

So you'd issue a standard forgot password request ...

I guess the only option here is to contact staff out-of-band via the /about page email address and ask them to change the email on the account? This is extra tricky if you don't remember the email address you signed up with -- how does this other user prove that they are, in fact, the person who originally controlled the old email account?

I wonder how we can provide information / assistance to the user on these two dialogs to handle this rare, but highly unfortunate, scenario without it being TL;DR for everyone else.

Maybe a small link to the staff page on this dialog makes sense to handle that and other unusual login scenarios where staff intervention is inevitable and required. Or perhaps a "help" button on this dialog, so that way we're not smacking every workaday "forgot my password again" user with a bunch of extraneous information that is only useful in these rare cases?

Posts: 2

Participants: 2

Read full topic

JSON::ParserError on Jobs::VersionCheck

$
0
0

@AlbertA wrote:

Hi!

I just installed a forum on an ubuntu 16.04 linode instance using docker instructions.

I also created an instance on a local VM so I could import my old smf2 based forum to it.

Once imported I created a backup in the local VM through the discourse backup tab.

I then applied this backup onto my linode instance following these instructions:

Everything seems to work fine except the version check in the admin dashboard: "A check for updates has not been performed. Ensure sidekiq is running."

I'm using the latest release of discourse (as of this post discourse (c5f42f0) ) and HTTPS is enabled.

Sidekiq is running and actually has a few retry jobs all with:

Jobs::HandledExceptionWrapper: Wrapped JSON::ParserError: 743: unexpected token at '<html> <head> <title>Discourse</title> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600,700...

The logs say:

Job exception: 743: unexpected token at '<html> <head> <title>Discourse</title> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600,700" rel="stylesheet" type="text/css"> <sty
7:15 pm
Job exception: 743: unexpected token at '<html>
<head>
  <title>Discourse</title>

  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600,700" rel="stylesheet" type="text/css">
  <style>
    body {
      font-family: 'Open Sans',Arial,sans-serif;
      background-color: rgb(231,238,247);
      background-image: url('https://discourse-cdn.s3.amazonaws.com/bg.jpg');
      background-repeat: repeat;
      background-position: left top;
      padding-bottom: 3em;
    }

    #logo {
      width: 80%;
    }

    #discourse-twitter {
      margin-top: 2em;
    }

    .content {
      width: 60%;
      max-width: 600px;
      margin: 1em auto;
      background-color: white;
      padding: 1em;
      box-shadow: 0 5px 10px rgba(0,0,0,0.2);
      border-radius: 2px;
      border: 1px solid #ccc;
    }

    h1 {
      text-align: center;
      font-size: 1.5em;
      color: #666;
      font-weight: normal;
    }
  </style>
</head>

<body>
  <div class='content'>

    <center><img src="https://discourse-cdn.s3.amazonaws.com/discourse-logo.png" id='logo' alt='Discourse'></center>

    <h1>Sorry, we're experiencing technical difficulties!</h1>

    <center><img src="https://cdn.discourse.org/meta/images/emoji/twitter/frowning.png" width="72" height="72" alt="frowning"></center>

    <p>This community can't be reached at the moment.
      <strong>Our team has been alerted and we're working on it.</strong></p>

    <p>Please follow <a href="https://twitter.com/discourse">@discourse</a> for updates.</p>

    <div id='discourse-twitter'>
      <center>
        <a class="twitter-timeline" href="https://twitter.com/discourse" data-widget-id="596039779378208769">Tweets by @discourse</a>
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
      </center>
    </div>
  </div>

</body>
</html>
'

backtrace:

/usr/local/lib/ruby/2.4.0/json/common.rb:156:in `parse'
/usr/local/lib/ruby/2.4.0/json/common.rb:156:in `parse'
/var/www/discourse/lib/discourse_hub.rb:43:in `singular_action'
/var/www/discourse/lib/discourse_hub.rb:27:in `get'
/var/www/discourse/lib/discourse_hub.rb:13:in `discourse_version_check'
/var/www/discourse/app/jobs/scheduled/version_check.rb:13:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

So it seems version check is expecting a JSON response but it's not getting it.
Any ideas how I could resolve this?

I've already rebooted the node and ./launch rebuild app with no effect.

Posts: 6

Participants: 3

Read full topic

How to setup discource forum to my website

Info@example.org - Using Discourse as auto-responder

$
0
0

@hellekin wrote:

It is good practice to use the special email address info@example.org as an auto-responder: people sending a message to info at your domain will receive a specially crafted automated reply to introduce them to your organization and give them pointers to frequently asked resources.

How to setup a Discourse topic to automatically reply with a pre-defined message?

(If this is possible already, make a step-by-step guide to set it up.)

What are the advantages of using Discourse for an info@ auto-responder?

From the top of my head, I can see one: Discourse can easily aggregate incoming emails and stage users, rewarding an "asked for info" badge so that you can easily target potential participants (and weed out failing addresses, or put them into a junk email filter.)

Posts: 1

Participants: 1

Read full topic

Patreon tokens disappear from admin panel

$
0
0

@Trash wrote:

I'm on v1.9.0.beta2 +35 and today I was checking the site settings when I found that Patreon tokens disappeared

I've try to run the job on Sidekiq (without tokens) and it works

All the other site settings are still the same with this exception:

those buttons are always here even if mailing list mode is not enabled on my forum.

EDIT I had saved the all the data relative to Patreon in a doc on my pc and I can see that tokens are different in comparison to those found on Patreon today.
So I don't know if it's something relative to Patreon plugin or Patreon site with its recent changes.

Posts: 4

Participants: 3

Read full topic

Possible to emulate old-style PHPBB like design?

$
0
0

@Sujan wrote:

Is it possible to configure Discourse in a way that makes it look more like old-style PHPBB like boards where the "homepage" is a list of categories, and not the more fire hose style list of topics it is by default?

Posts: 5

Participants: 4

Read full topic

I can't access my website after run upgrade

$
0
0

@Siraj_M wrote:

I tried to run upgrade whille upgrading it was stuck and creating issue so i start again. Then no luck then i simply close the tab that's it. After a while when i came back and try to access my forum, it showing me nothing and showed me below msg,

This site can’t be reached

Then I simply rebuild app one time but no luck. This is forum link.

Posts: 4

Participants: 3

Read full topic


How to translate customized text content?

iPad Pro vertical combined frontpage second column pushed down below categories list

Run report of digest Unsubscribes

$
0
0

@SouperC wrote:

Is there a way I can run a report on which users have unsubscribed from the Discourse digest for my site?

I'd like to flag them elsewhere (ActiveCampaign) too so that they don't have to unsubscribe in to places. Or get pi$$ed at us because they thought they were opting out of everything.

Posts: 1

Participants: 1

Read full topic

"Forbidden" on trying to control Sidekiq

$
0
0

@Cyclops wrote:

Every time I try to control sidekiq via /sideqik, such as trying to delete or retry any of the items in the "Retries" tab or trying to manually run any of the items in "Scheduler" tab by hitting the "Trigger" button on the side, it takes me to a page that says "Forbidden".

Why is this?

Posts: 2

Participants: 2

Read full topic

While using forum, pages randomly just don't load. Blank white page

$
0
0

@Jeremiah_Schultz wrote:

Website is on a t2.micro by itself . Using S3 & cloudfront.
Is this perhaps because I'm using cloudflare?

Thanks for any information.
NOTE: if you do go to the site you may see adult content.

Here are the errors from one of the blank pages:

/C:/Users/waksp_000/AppData/Local/Google/Chrome/User%20Data/Default/Extensions/cnhdjbfjheoohmhpakglckehdcgfffbl/1.76_0/lstr.js:26 Uncaught TypeError: Cannot read property 'appendChild' of undefined
at /C:/Users/waksp_000/AppData/Local/Google/Chrome/User%20Data/Default/Extensions/cnhdjbfjheoohmhpakglckehdcgfffbl/1.76_0/lstr.js:26
2ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:11 TypeError: Attempting to register an unknown factory: 'site-settings:main'
at i.register (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:8)
at s.eval as register
at Object.initialize (application-7a660b6c5c27c6870c908266ea6328eaab8d4220593c929385f45981cdd1fa5a.js:41)
at Object.test.n.initialize (application-7a660b6c5c27c6870c908266ea6328eaab8d4220593c929385f45981cdd1fa5a.js:1)
at eval (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:8)
at e.each (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:8)
at e.topsort (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:8)
at e.topsort (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:8)
at s.runInitializer (emberjquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:8)
at s.runInitializers (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:8)
u @ ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:11
jquery.tmpl.js Failed to load resource: the server responded with a status of 404 (Not Found)
mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11 Uncaught TypeError: $(...).tmpl is not a function
at renderTemplate (mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11)
at buttonShow (mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11)
at Object.success (mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11)
at l (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:2)
at Object.fireWith as resolveWith
at r (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:3)
at XMLHttpRequest.eval (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:3)
mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11 Uncaught TypeError: $(...).tmpl is not a function
at renderTemplate (mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11)
at buttonShow (mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11)
at Object.success (mini-profiler-resources/includes.js?v=8f332564e7761fb3795939d6582f992a:11)
at l (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:2)
at Object.fireWith as resolveWith
at r (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:3)
at XMLHttpRequest.eval (ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js:3)
categories:1 The resource http://wakspiddlevak.com/assets/locales/en-b55c97145f3c6181d527a0e2c827c974857f19e793b237b27cbb47f8bbc7b4cc.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/ember_jquery-16a09ec3affb6cc585f0cb71e2fbbcb788ec390641302900b1b3736a97bbaff9.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/preload-store-af602b020bef099c06be759bb10b1de24b85b8eb2e398ce93c129d2b2c887b82.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/vendor-199fce5a9e9895329b51b04605f1f5061951acb488baa6b2ea2fc2ae36def529.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/pretty-text-bundle-d93bc5a5bde19da1657a6ff89db033a2e3e46e28d26829d921f75a80738f1cbc.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/application-7a660b6c5c27c6870c908266ea6328eaab8d4220593c929385f45981cdd1fa5a.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/plugin-20fd61a4daf045b86de5f7d69c52323aed1c3451ef8aae697a95be23607d29e8.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/plugin-third-party-445e32ffe5af3394be0efa4e67aa8943c27ea657d6d41b059fbbf989fa484ad0.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/admin-30241b49ae4eb9e1b226121d64e6f02006e46dffe0f6fe86e1d0325726f3ea11.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
categories:1 The resource http://wakspiddlevak.com/assets/browser-update-f57286e74ddbc53aa899689b01ef467078911e4138050c561939955849af35dd.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images