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

Problem upgrade on DO

$
0
0

@djcyry wrote:

I have installed one-click discourse on DO
and then i have to upgrade twice :

With the second upgrade i got this :

Bundle complete! 97 Gemfile dependencies, 170 gems now installed.
Gems in the group development were not installed.
Bundled gems are installed into ./vendor/bundle.
$ bundle exec rake multisite:migrate
DEPRECATION WARNING: Sprockets method `register_engine` is deprecated.
Please register a mime type using `register_mime_type` then
use `register_compressor` or `register_transformer`.
https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors
 (called from  at /var/www/discourse/lib/es6_module_transpiler/sprockets.rb:3)
rake aborted!
SyntaxError: /var/www/discourse/lib/tasks/uploads.rake:598: syntax error, unexpected '\n', expecting :: or '[' or '.'
/var/www/discourse/lib/tasks/uploads.rake:600: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
  Number of `Upload` records in DB: #{uploads_count}
           ^
/var/www/discourse/lib/tasks/uploads.rake:600: syntax error, unexpected tIDENTIFIER, expecting keyword_end
  Number of `Upload` records in DB: #{uploads_count}
                            ^
/var/www/discourse/lib/tasks/uploads.rake:601: syntax error, unexpected tIDENTIFIER, expecting keyword_end
  Number of `OptimizedImage` records in DB: #{optimized_images_count}
                                    ^
/var/www/discourse/lib/tasks/uploads.rake:604: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
  Number of images in uploads folder: #{paths_count}
           ^
/var/www/discourse/lib/tasks/uploads.rake:609: syntax error, unexpected keyword_do_block, expecting keyword_end
/var/www/discourse/lib/tasks/uploads.rake:618: syntax error, unexpected keyword_do_block, expecting end-of-input
...value['size'] }.reverse.each do |extname, value|
...                               ^
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/application.rb:452:in `run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:453:in `load_tasks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/Rakefile:7:in `'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-11.2.2/exe/rake:27:in `'
(See full trace by running task with --trace)

Now , my website merkador.es is not working :frowning:
I have delete and create my droplet 2 times , and still got that error .

Posts: 4

Participants: 2

Read full topic


Post messages from a Telegram group to a discourse category

$
0
0

@nukeador wrote:

With the new IFTTT Telegram channel I've managed to set up an applet so everyone in a Telegram group can create new topics in a discourse category just by texting on the Telegram group.

Why?

Because real time communications are noisy and most of the times you forget about the interesting stuff you share there. We wanted a way to "store" the relevant messages so we can elaborate or discuss asynchronously later.

What would you need?

  • An IFTTT account.
  • A Telegram account and group (obviously)
  • A discourse category with incoming email and create topics by email enabled.
  • A Gmail account linked to your IFTTT and to a discourse user.

How?

  1. Create a new IFTTT applet,
  2. Choose this and then Telegram
  3. Then "New message with key phrase in a group" (recommended) and then "Connect new groups". You will be redirected to Telegram to add the bot to your group.
  4. For key phrase select something like #discourse For the reply use something like: "Done! Your topic will be created in the next 5 minutes https://yoursite/c/yourcategory (please just one message per user and minute)" and click Create a trigger
  5. Choose that and select Gmail and then "Send an email" (make sure you have an user on discourse using this gmail address)
  6. The destination email should be the category incoming email.
  7. Fill the subject and body.

This is what I use:

Subject: [Telegram] {{AuthorName}} - {{TriggeredAt}}

Body:

<p>{{AuthorName}} (@{{AuthorUsername}}) wrote:</p>
{{Text}}
<p>_Message sent from Telegram_</p>

That's all, everyone in your group will be able now to create new topics with a message by doing:

/ifttt #discourse This is the message I want to send to discourse

Your category will start populating the incoming messages each 5 minutes (depending on your pop polling setting) and will look like this:

Tips:

  • Create a new category just for these messages to avoid noise on the rest.
  • Maybe create a new user just for this (I create one called Telegram-bot).
  • You can set this category permissions so only the user you are using is able to create topics (I use a bots group)
  • You can have a few mods in charge of monitoring this category, renaming titles and moving topics to other categories if needed.

Posts: 1

Participants: 1

Read full topic

Title is too short when when you create a topic from a link

Improving our "lowest read position" Back button / indicator

$
0
0

@codinghorror wrote:

Here's me with a last read position of post ~ 102, on a 440 reply topic.

See how I have to scroll all the way up to read position ~36 to get the back button to appear? And once I click it, I jump back to post 102! That's.. bad. The back indicator and button should appear within ~3 posts of scrolling up, not ~66.

I believe

  • we should almost always show your back position (unless you are within ~3 posts of your lowest read position), as a dark blue horizontal line superimposed over the timeline.
  • The back button should "dock" on the bottom of the date if it can't fit normally.

Mockup:

Posts: 2

Participants: 1

Read full topic

Discourse.example.com's server DNS address could not be found

$
0
0

@littleviolette wrote:

Hi the awesome Discourse community!

I have a discourse installed with my domain. Recently, whenever I try to log into my forum with my credential, I have been greeted with the following message:

"discourse.example.com's server DNS address could not be found"

However, when I click return, I was able to return to my site as a logged in user.

I was wondering where I can reconfigure my setting so that this message doesn't appear? Thank you very much!

Posts: 1

Participants: 1

Read full topic

Frontpage double layout: the recent posts list doesn't show on the right column but below the categories column

$
0
0

@metacortex wrote:

Thank you for this beautiful software that is Discourse.


Here is the bug:

Frontpage double layout: the recent posts list doesn't show on the right column but below the categories columns (instead of having the two columns of the frontpage nicely one next to the other: categories | recent)

  • At the beginning of use of the forum it was fine, the two columns always showed side-by-side. But then it changed.
  • Happens on main browsers.
  • Happens after creation of certain new posts, but not always.
  • I tried to delete some categories and posts (that might be too "long"?), but still shows broken before log out.
  • Don't happen when not logged in after the deletion of certain posts and categories.
  • When "logo image" too long, the bug also happens (and that is normal I guess), but now even when they have short length it still happens.

What would be a trick for making sure that the two columns always nicely show side to side on main front page? Or what did I do wrong? Thanks for your insight.

edit: using 1.7.0.beta9, no additional plugins, no changes in vanilla code, no tweaks.
edit: upgraded to 1.7.0.beta10(or latest?): bug still bugging.

edit: I Remembered I saw this bug on one of the websites you showcased on your blog:
my forum has exactly this problem with main layout (using mozilla, chrome):
http://forum.dexterindustries.com/

Posts: 2

Participants: 2

Read full topic

`Request to Join Group` does not work

Absolute URLs in decorateWidget API being rewritten (subdirectory bug)

$
0
0

@DanielMarquard wrote:

This seems like it could be a subdirectory bug. With the code below, a button is generated in the header to the specifications, including in the HTML, but rather than being taken to /donate when clicked, users are instead taken to /community/donate.

api.decorateWidget('header-buttons:after', helper => {
    return helper.attach('link', {
        className: 'btn-primary btn-small login-button donate-button',
        icon: 'paypal',
        rawLabel: "Donate",
        href: "https://critcola.com/donate"
    });
});

Posts: 1

Participants: 1

Read full topic


Need help to translate "You can only select " + limit + " item"

Fresh Droplet install defaults to beta discourse?

$
0
0

@Jay_Patel wrote:

Hello,

Is this normal for default droplet install on digital ocean to be BETA? where to change it to stable?

And is there a way to create posts from Admin panel in under another user's name? for transferring old data purpose from other platform

Regards,
Jay.

Posts: 3

Participants: 2

Read full topic

Discourse New User Tips and Tricks

Code blocks with incorrect language string cause problems

$
0
0

@brase wrote:

It seems that there is a problem with too many code blocks. Sorry for the long post but it seems the post have to be this long.

The Example:

A Heading

Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text.

A second heading

Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text:

Some random sql

Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text.

some random sql

## A heading which is not working anymore The Heading stops being a heading when adding the following last code block:

some random sql

Posts: 4

Participants: 3

Read full topic

Error while saving user profile

$
0
0

@thorbenegberts wrote:

Hi there,

on our hosted instance "forum.plentymarkets.com" we get an error while saving an user profile:

"Die angeforderte URL oder Ressource konnte nicht gefunden werden."

=> URL or resource not found (sorry for the German, I can't switch the interface language because of the error :slight_smile: )

Cleared cache and cookies.

Discourse 1.7.0.beta10 - https://github.com/discourse/discourse version e6361d1228b4afd2d5042802ea547067a6e87152

Best regards,
Thorben

Posts: 3

Participants: 3

Read full topic

Installing own gem in plugin

$
0
0

@shirjeelalam wrote:

I want to install 'omniauth-openid-connect' gem in a plugin

my plugin.rb file

gem 'omniauth-openid-connect', '0.2.3'

In development mode, when i run my local server, I get the following error:

*** Gem::LoadError Exception: Could not find 'attr_required' (>= 1.0.0) among 178 total gem(s)
Checked in 'GEM_PATH=/Users/me/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0:/Users/me/.gem/ruby/2.3.0', execute gem env for more information

While "attr_required" is present in plugin's gem directory /plugins/my_plugin/gems/2.3.0/, as well as other dependent gems

Posts: 2

Participants: 2

Read full topic

Known business or corporate use cases of Discourse?

$
0
0

@ljpp wrote:

I will soon meet a bunch of business men and entrepreneurs and we will be discussing about the potential of web communities for their companies, in public or internal usage. It would be nice to know about some references or use cases where Discourse has been utilized.

I recall there was a .PPT floating around, how Blizzard replaced emails support with Discourse, but that is the only one I am aware of. But these are the type of cases I would love to learn about.

Does anyone know any other good examples?

Posts: 2

Participants: 2

Read full topic


Updated image on gravatar, not seeing it update on site

$
0
0

@mcwumbly wrote:

I updated the image for the email address I use on our private forum on gravatar about a week ago.

It looks correct when I check here:
https://en.gravatar.com/site/check/

But It's not updated on our private site yet.

I tried switching my profile to use the letter avatar and back again, but that didn't do the trick.

Do I need to restart the server or something?

Posts: 7

Participants: 5

Read full topic

Unable to expand "you flagged this for moderation" link

Always get a Summary Email?

$
0
0

@sjmscott wrote:

Continuing the discussion from Summary Email feedback:

The new summary design is awesome! Thank you!

Some of my users would always like to get a summary, even if they have visited the site recently.
On a related note, it would still be great to have the option of getting a summary even if mailing list is set to receive a message every time someone posts.

Is this possible? If not, I'd like to suggest a new option to always receive a summary email.

Posts: 4

Participants: 3

Read full topic

GitHub login with multiple email addresses

$
0
0

@kpfleming wrote:

When a user selects 'GitHub' as the auth provider for logging in, and they have multiple email addresses in their GitHub profile, are all of those addresses provided to Discourse (or only the primary address)? If all the addresses are provided, does Discourse then search for an account matching any one of them?

Posts: 2

Participants: 2

Read full topic

Saving the app.yml file, how?

$
0
0

@TheAdmin2 wrote:

Ok, so I was about to install the Adsense plugin and I understand what to do, how to edit the app.yml file, but how do I save after I made the edits? I am on Terminal (Mac) if it matters.

Posts: 8

Participants: 6

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images