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

Bootstrap fails - not able to fetch "pup" from github

$
0
0

@didi wrote:

$ ./launcher bootstrap app
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/SamSaffron/pups.git/': Problem with the SSL CA cert (path? access rights?)
d02e62cd86fa62128628071610275eba48c8d6711e26b73d76b8320cfc6effb0
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

It worked 8 hours ago on the same machine, same docker.
Then it stopped working while I was trying to rebuild due to config changes (exposed ports).
I then tried from scratch (bootstrap), but with the same result.

I can do

git clone https://github.com/SamSaffron/pups.git

without any problems from the host.

I'm not experienced with docker, thus I currently don't know how to debug this.

Posts: 3

Participants: 1

Read full topic


Non-link reason for badge?

$
0
0

@lisajill wrote:

Would it be possible to expand the reasons for giving a badge to non-link content? Sometimes it is overall contributions and not a specific post that we want to use badges for. Or even multiple posts. I'd love to have more flexibility with that field.

Posts: 2

Participants: 2

Read full topic

Latest Software Release - Problems on Mobile /

$
0
0

@BCHK wrote:

A user has reported this - I updated my forum software last night to 1.5 Beta 2 (from Beta 2):

"back page and go front indication are not there hopefully amin care of that..l on Samsung android version..."

Posts: 2

Participants: 2

Read full topic

Bulk add to Group

$
0
0

@eviltrout wrote:

Here's a new feature some people might find userful: You can now bulk add people by email address or username to a group. Simply go to Groups > Bulk Add to Group in the admin section:

This is useful in the case where you have many existing users who need to be added to a new group. Remember: if you are adding new users to the site, our invite feature allows you to import a group at that time. If the users don't exist that is the preferable route to take.

Posts: 2

Participants: 2

Read full topic

Disable plugins without restarting?

$
0
0

@kcoop wrote:

I'm finding Amazon oneboxes are failing to expand on my production server, but they work on meta.discourse.org, and on my dev site. I'm thinking it's likely a conflict with discourse-affiliate or discourse-adplugin. I'm able to 'soft' disable discourse-affiliate, since it has a setting, but I'm not sure that's trustworthy in testing this, and there isn't one for discourse-adplugin.

Restarting with launcher is very obtrusive at this point, probably a 20 minute down time. Is there a way to disable plugins without this? Don't mind ssh if it's relatively bullet proof.

Posts: 6

Participants: 4

Read full topic

Change of date in digest email body

$
0
0

@Mischief wrote:

Continuing the discussion from Date in digest emails are not localised:

There is still a date localisation problem in the actual digest message body where at the start of the digest it says "A brief summary of "[%{site_name}] since your last visit on mm-dd-year".

This date format can be very confusing for our members who are mainly based in the UK.

If it could be localised or alternatively a full textual representation of the month used it would be appreciated.

Posts: 4

Participants: 3

Read full topic

Making the activation process a one step process rather than two

$
0
0

@Mischief wrote:

Continuing the discussion from There was a problem sending another activation email. http: undefined - undefined:

In the process of doing this I have just noticed that people are clicking on the link in the activation email (which takes them back to the activation page on Discourse), however from looking at my Mandrill click stats, it appears that many people don't realise they have to click a second time on the activation page itself. Therefore a number of the accounts haven't been activated.

Would it be possible to simplify this process to make it just a one click process (i.e. a click of the link in the email to activate their account)?

Posts: 7

Participants: 5

Read full topic

PAID: Sidebar Creation

$
0
0

@sparkzilla wrote:

Hi, I have just started a commercial site and would like to put sticky AdSense ads in the forum sidebar (as you scroll the ads stay in place). This would require moving the "Reply as a new topic" text and any other text in the current sidebar area to somewhere else. It may also require an extension to the AdSense plugin.

Feel free to contact me with a quote based upon the number of hours you think it will take. Or feel free to discuss the project below. Thank you.

Posts: 1

Participants: 1

Read full topic


Overwriting avatars now that they're uploaded

$
0
0

@Becky_Herndon wrote:

We just finished migration and launched community on discourse. The community is happy!

Our forum is 100% sso based. During user import, and after we went live we had some settings in the wrong configuration for avatars, and now we have a mixed bag of them. I think I know what we have to do but I wanted to check.

The settings were:

  • sso overrides avatar on
  • automatically download gravatars on
  • allow uploaded avatars on
  • the payload variable avatar_force_update was not included, because our engineer read somewhere that it's only required if the image served up by the URL changes, and that's not the case with S3 urls

We ended up with 3 groups of custom avatar images; sso uploaded, gravatars, and user uploaded. We fixed the settings but the damage was done. Around 50 users are in the state where they have a non-sso avatar. Forcing them to log out and back in doesn't fix it because the payload variable isn't set.

I am pretty sure the answer is to set avatar_force_update to true in the payload. But is there a shortcut in the settings or file management instead?

Posts: 1

Participants: 1

Read full topic

Undefined method `

$
0
0

@hanson34 wrote:

Hi,

I've been painfully following the instructions here to install Discourse on my machine. I've had many database related obstacles but when I finally get to run the server I get the following errors on the page (please see attached screenshot)

And here is a log of my terminal:

Documents:$ cd discourse/
discourse:$ bundle exec rails s -b 0.0.0.0
=> Booting Thin
=> Rails 4.2.4 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
D, [2015-10-28T19:30:37.313912 #41405] DEBUG -- :
D, [2015-10-28T19:30:37.313988 #41405] DEBUG -- :
I, [2015-10-28T19:30:37.314127 #41405]  INFO -- : Started GET "/" for 127.0.0.1 at 2015-10-28 19:30:37 +1100
D, [2015-10-28T19:30:37.375074 #41405] DEBUG -- :   ActiveRecord::SchemaMigration Load (0.7ms)  SELECT "schema_migrations".* FROM "schema_migrations"
I, [2015-10-28T19:30:37.451289 #41405]  INFO -- : Processing by ListController#latest as HTML
D, [2015-10-28T19:30:37.530742 #41405] DEBUG -- :    (0.9ms)  SELECT "groups"."id", "groups"."name" FROM "groups"  ORDER BY "groups"."name" ASC
D, [2015-10-28T19:30:37.544577 #41405] DEBUG -- :   Category Load (2.4ms)  SELECT categories.*, t.slug topic_slug FROM "categories" LEFT JOIN topics t on t.id = categories.topic_id WHERE (NOT categories.read_restricted)  ORDER BY "categories"."position" ASC
D, [2015-10-28T19:30:37.562294 #41405] DEBUG -- :   PostActionType Load (1.0ms)  SELECT "post_action_types".* FROM "post_action_types"  ORDER BY position asc
D, [2015-10-28T19:30:37.573584 #41405] DEBUG -- :   PostActionType Load (1.1ms)  SELECT "post_action_types".* FROM "post_action_types" WHERE "post_action_types"."name_key" IN ('inappropriate', 'spam', 'notify_moderators')  ORDER BY position asc
D, [2015-10-28T19:30:37.579571 #41405] DEBUG -- :   UserField Load (0.9ms)  SELECT "user_fields".* FROM "user_fields"
D, [2015-10-28T19:30:37.591036 #41405] DEBUG -- :   SiteCustomization Load (0.8ms)  SELECT "site_customizations".* FROM "site_customizations" WHERE "site_customizations"."enabled" = 't'  ORDER BY "site_customizations"."name" ASC  [["enabled", true]]
D, [2015-10-28T19:30:37.593295 #41405] DEBUG -- :   CACHE (0.0ms)  SELECT "site_customizations".* FROM "site_customizations" WHERE "site_customizations"."enabled" = 't'  ORDER BY "site_customizations"."name" ASC  [["enabled", true]]
D, [2015-10-28T19:30:37.600861 #41405] DEBUG -- :   Topic Load (1.1ms)  SELECT  "topics".* FROM "topics" WHERE ("topics"."deleted_at" IS NULL) AND "topics"."archetype" = 'banner'  ORDER BY "topics"."id" ASC LIMIT 1  [["archetype", "banner"]]
D, [2015-10-28T19:30:37.606390 #41405] DEBUG -- :    (0.6ms)  SELECT "categories"."id" FROM "categories" WHERE "categories"."suppress_from_homepage" = 't'  [["suppress_from_homepage", true]]
D, [2015-10-28T19:30:37.609294 #41405] DEBUG -- :    (0.7ms)  SELECT "categories"."id" FROM "categories" WHERE "categories"."read_restricted" = 'f'  [["read_restricted", false]]
D, [2015-10-28T19:30:37.619118 #41405] DEBUG -- :   SQL (2.8ms)  SELECT  "topics"."id" AS t0_r0, "topics"."title" AS t0_r1, "topics"."last_posted_at" AS t0_r2, "topics"."created_at" AS t0_r3, "topics"."updated_at" AS t0_r4, "topics"."views" AS t0_r5, "topics"."posts_count" AS t0_r6, "topics"."user_id" AS t0_r7, "topics"."last_post_user_id" AS t0_r8, "topics"."reply_count" AS t0_r9, "topics"."featured_user1_id" AS t0_r10, "topics"."featured_user2_id" AS t0_r11, "topics"."featured_user3_id" AS t0_r12, "topics"."avg_time" AS t0_r13, "topics"."deleted_at" AS t0_r14, "topics"."highest_post_number" AS t0_r15, "topics"."image_url" AS t0_r16, "topics"."off_topic_count" AS t0_r17, "topics"."like_count" AS t0_r18, "topics"."incoming_link_count" AS t0_r19, "topics"."bookmark_count" AS t0_r20, "topics"."category_id" AS t0_r21, "topics"."visible" AS t0_r22, "topics"."moderator_posts_count" AS t0_r23, "topics"."closed" AS t0_r24, "topics"."archived" AS t0_r25, "topics"."bumped_at" AS t0_r26, "topics"."has_summary" AS t0_r27, "topics"."vote_count" AS t0_r28, "topics"."archetype" AS t0_r29, "topics"."featured_user4_id" AS t0_r30, "topics"."notify_moderators_count" AS t0_r31, "topics"."spam_count" AS t0_r32, "topics"."illegal_count" AS t0_r33, "topics"."inappropriate_count" AS t0_r34, "topics"."pinned_at" AS t0_r35, "topics"."score" AS t0_r36, "topics"."percent_rank" AS t0_r37, "topics"."notify_user_count" AS t0_r38, "topics"."subtype" AS t0_r39, "topics"."slug" AS t0_r40, "topics"."auto_close_at" AS t0_r41, "topics"."auto_close_user_id" AS t0_r42, "topics"."auto_close_started_at" AS t0_r43, "topics"."deleted_by_id" AS t0_r44, "topics"."participant_count" AS t0_r45, "topics"."word_count" AS t0_r46, "topics"."excerpt" AS t0_r47, "topics"."pinned_globally" AS t0_r48, "topics"."auto_close_based_on_last_post" AS t0_r49, "topics"."auto_close_hours" AS t0_r50, "topics"."pinned_until" AS t0_r51, "topics"."fancy_title" AS t0_r52, "categories"."id" AS t1_r0, "categories"."name" AS t1_r1, "categories"."color" AS t1_r2, "categories"."topic_id" AS t1_r3, "categories"."topic_count" AS t1_r4, "categories"."created_at" AS t1_r5, "categories"."updated_at" AS t1_r6, "categories"."user_id" AS t1_r7, "categories"."topics_year" AS t1_r8, "categories"."topics_month" AS t1_r9, "categories"."topics_week" AS t1_r10, "categories"."slug" AS t1_r11, "categories"."description" AS t1_r12, "categories"."text_color" AS t1_r13, "categories"."read_restricted" AS t1_r14, "categories"."auto_close_hours" AS t1_r15, "categories"."post_count" AS t1_r16, "categories"."latest_post_id" AS t1_r17, "categories"."latest_topic_id" AS t1_r18, "categories"."position" AS t1_r19, "categories"."parent_category_id" AS t1_r20, "categories"."posts_year" AS t1_r21, "categories"."posts_month" AS t1_r22, "categories"."posts_week" AS t1_r23, "categories"."email_in" AS t1_r24, "categories"."email_in_allow_strangers" AS t1_r25, "categories"."topics_day" AS t1_r26, "categories"."posts_day" AS t1_r27, "categories"."logo_url" AS t1_r28, "categories"."background_url" AS t1_r29, "categories"."allow_badges" AS t1_r30, "categories"."name_lower" AS t1_r31, "categories"."auto_close_based_on_last_post" AS t1_r32, "categories"."topic_template" AS t1_r33, "categories"."suppress_from_homepage" AS t1_r34 FROM "topics" LEFT OUTER JOIN "categories" ON "categories"."id" = "topics"."category_id" WHERE (topics.archetype <> 'private_message') AND (COALESCE(categories.topic_id, 0) <> topics.id) AND "topics"."visible" = 't' AND (topics.deleted_at IS NULL) AND (topics.category_id IS NULL or topics.category_id IN (1,3)) AND (pinned_globally AND  pinned_at IS NOT NULL )  ORDER BY topics.bumped_at DESC LIMIT 30  [["visible", true]]
D, [2015-10-28T19:30:37.644095 #41405] DEBUG -- :   SQL (1.8ms)  SELECT  "topics"."id" AS t0_r0, "topics"."title" AS t0_r1, "topics"."last_posted_at" AS t0_r2, "topics"."created_at" AS t0_r3, "topics"."updated_at" AS t0_r4, "topics"."views" AS t0_r5, "topics"."posts_count" AS t0_r6, "topics"."user_id" AS t0_r7, "topics"."last_post_user_id" AS t0_r8, "topics"."reply_count" AS t0_r9, "topics"."featured_user1_id" AS t0_r10, "topics"."featured_user2_id" AS t0_r11, "topics"."featured_user3_id" AS t0_r12, "topics"."avg_time" AS t0_r13, "topics"."deleted_at" AS t0_r14, "topics"."highest_post_number" AS t0_r15, "topics"."image_url" AS t0_r16, "topics"."off_topic_count" AS t0_r17, "topics"."like_count" AS t0_r18, "topics"."incoming_link_count" AS t0_r19, "topics"."bookmark_count" AS t0_r20, "topics"."category_id" AS t0_r21, "topics"."visible" AS t0_r22, "topics"."moderator_posts_count" AS t0_r23, "topics"."closed" AS t0_r24, "topics"."archived" AS t0_r25, "topics"."bumped_at" AS t0_r26, "topics"."has_summary" AS t0_r27, "topics"."vote_count" AS t0_r28, "topics"."archetype" AS t0_r29, "topics"."featured_user4_id" AS t0_r30, "topics"."notify_moderators_count" AS t0_r31, "topics"."spam_count" AS t0_r32, "topics"."illegal_count" AS t0_r33, "topics"."inappropriate_count" AS t0_r34, "topics"."pinned_at" AS t0_r35, "topics"."score" AS t0_r36, "topics"."percent_rank" AS t0_r37, "topics"."notify_user_count" AS t0_r38, "topics"."subtype" AS t0_r39, "topics"."slug" AS t0_r40, "topics"."auto_close_at" AS t0_r41, "topics"."auto_close_user_id" AS t0_r42, "topics"."auto_close_started_at" AS t0_r43, "topics"."deleted_by_id" AS t0_r44, "topics"."participant_count" AS t0_r45, "topics"."word_count" AS t0_r46, "topics"."excerpt" AS t0_r47, "topics"."pinned_globally" AS t0_r48, "topics"."auto_close_based_on_last_post" AS t0_r49, "topics"."auto_close_hours" AS t0_r50, "topics"."pinned_until" AS t0_r51, "topics"."fancy_title" AS t0_r52, "categories"."id" AS t1_r0, "categories"."name" AS t1_r1, "categories"."color" AS t1_r2, "categories"."topic_id" AS t1_r3, "categories"."topic_count" AS t1_r4, "categories"."created_at" AS t1_r5, "categories"."updated_at" AS t1_r6, "categories"."user_id" AS t1_r7, "categories"."topics_year" AS t1_r8, "categories"."topics_month" AS t1_r9, "categories"."topics_week" AS t1_r10, "categories"."slug" AS t1_r11, "categories"."description" AS t1_r12, "categories"."text_color" AS t1_r13, "categories"."read_restricted" AS t1_r14, "categories"."auto_close_hours" AS t1_r15, "categories"."post_count" AS t1_r16, "categories"."latest_post_id" AS t1_r17, "categories"."latest_topic_id" AS t1_r18, "categories"."position" AS t1_r19, "categories"."parent_category_id" AS t1_r20, "categories"."posts_year" AS t1_r21, "categories"."posts_month" AS t1_r22, "categories"."posts_week" AS t1_r23, "categories"."email_in" AS t1_r24, "categories"."email_in_allow_strangers" AS t1_r25, "categories"."topics_day" AS t1_r26, "categories"."posts_day" AS t1_r27, "categories"."logo_url" AS t1_r28, "categories"."background_url" AS t1_r29, "categories"."allow_badges" AS t1_r30, "categories"."name_lower" AS t1_r31, "categories"."auto_close_based_on_last_post" AS t1_r32, "categories"."topic_template" AS t1_r33, "categories"."suppress_from_homepage" AS t1_r34 FROM "topics" LEFT OUTER JOIN "categories" ON "categories"."id" = "topics"."category_id" WHERE (topics.archetype <> 'private_message') AND (COALESCE(categories.topic_id, 0) <> topics.id) AND "topics"."visible" = 't' AND (topics.deleted_at IS NULL) AND (topics.category_id IS NULL or topics.category_id IN (1,3)) AND (NOT ( pinned_globally AND  pinned_at IS NOT NULL  ))  ORDER BY topics.bumped_at DESC LIMIT 30  [["visible", true]]
D, [2015-10-28T19:30:37.659414 #41405] DEBUG -- :   User Load (0.8ms)  SELECT "users"."id", "users"."email", "users"."username", "users"."uploaded_avatar_id" FROM "users" WHERE "users"."id" = -1
I, [2015-10-28T19:30:37.694457 #41405]  INFO -- :   Rendered list/list.erb within layouts/application (7.8ms)
D, [2015-10-28T19:30:37.708014 #41405] DEBUG -- :   ColorScheme Load (1.3ms)  SELECT  "color_schemes".* FROM "color_schemes" WHERE "color_schemes"."versioned_id" IS NULL AND "color_schemes"."enabled" = 't' LIMIT 1  [["enabled", true]]
I, [2015-10-28T19:30:37.726441 #41405]  INFO -- :   Rendered layouts/_head.html.erb (25.6ms)
I, [2015-10-28T19:30:37.733958 #41405]  INFO -- :   Rendered common/_special_font_face.html.erb (4.5ms)
D, [2015-10-28T19:30:37.737633 #41405] DEBUG -- :   CACHE (0.0ms)  SELECT  "color_schemes".* FROM "color_schemes" WHERE "color_schemes"."versioned_id" IS NULL AND "color_schemes"."enabled" = 't' LIMIT 1  [["enabled", true]]
D, [2015-10-28T19:30:37.741096 #41405] DEBUG -- :    (1.1ms)  SELECT  "categories"."updated_at" FROM "categories" WHERE (background_url IS NOT NULL and background_url != '')  ORDER BY updated_at desc LIMIT 1
D, [2015-10-28T19:30:37.746088 #41405] DEBUG -- :    (1.0ms)  SELECT "site_customizations"."stylesheet_baked" FROM "site_customizations" WHERE "site_customizations"."enabled" = 't'  ORDER BY "site_customizations"."name" ASC  [["enabled", true]]
I, [2015-10-28T19:30:37.748247 #41405]  INFO -- :   Rendered common/_discourse_stylesheet.html.erb (11.7ms)
D, [2015-10-28T19:30:38.246664 #41405] DEBUG -- :   CACHE (0.0ms)  SELECT "site_customizations".* FROM "site_customizations" WHERE "site_customizations"."enabled" = 't'  ORDER BY "site_customizations"."name" ASC  [["enabled", true]]
I, [2015-10-28T19:30:38.251141 #41405]  INFO -- :   Rendered application/_header.html.erb (0.7ms)
D, [2015-10-28T19:30:38.254892 #41405] DEBUG -- :   CACHE (0.0ms)  SELECT "site_customizations".* FROM "site_customizations" WHERE "site_customizations"."enabled" = 't'  ORDER BY "site_customizations"."name" ASC  [["enabled", true]]
bin/rails: No such file or directory - convert
bin/rails: No such file or directory - convert
I, [2015-10-28T19:30:38.272761 #41405]  INFO -- :   Rendered common/_discourse_javascript.html.erb (14.4ms)
I, [2015-10-28T19:30:38.275055 #41405]  INFO -- : Completed 500 Internal Server Error in 822ms (ActiveRecord: 38.5ms)
F, [2015-10-28T19:30:38.287038 #41405] FATAL -- :
NoMethodError - undefined method `<<' for nil:NilClass:
lib/letter_avatar.rb:103:in `image_magick_version'
lib/letter_avatar.rb:26:in `version'
app/views/common/_discourse_javascript.html.erb:41:in `_app_views_common__discourse_javascript_html_erb___555365749246031410_70331789315900'
actionview (4.2.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.4) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.4) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.9.7) lib/mini_profiler/profiling_methods.rb:106:in `block in profile_method'
actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render'
actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.2.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
app/views/layouts/application.html.erb:93:in `_app_views_layouts_application_html_erb__716524204318971315_70331807770020'
actionview (4.2.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.4) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.4) lib/action_view/template.rb:143:in `render'
rack-mini-profiler (0.9.7) lib/mini_profiler/profiling_methods.rb:106:in `block in profile_method'
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template'
actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/Abdi/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render'
lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to'
lib/topic_list_responder.rb:11:in `respond_with_list'
app/controllers/list_controller.rb:83:in `block (2 levels) in <class:ListController>'
actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
rack-mini-profiler (0.9.7) lib/mini_profiler/profiling_methods.rb:106:in `block in profile_method'
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:49:in `serve'
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
rack-protection (1.5.3) lib/rack/protection/frame_options.rb:31:in `call'
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
omniauth (1.2.2) lib/omniauth/builder.rb:59:in `call'
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
rack (1.6.4) lib/rack/head.rb:13:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
message_bus (1.0.16) lib/message_bus/rack/middleware.rb:60:in `call'
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
logster (0.9.9) lib/logster/middleware/reporter.rb:31:in `call'
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.4) lib/rails/rack/logger.rb:22:in `call'
config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
config/initializers/silence_logger.rb:26:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
lib/middleware/missing_avatars.rb:21:in `call'
lib/middleware/turbo_dev.rb:33:in `call'
rack-mini-profiler (0.9.7) lib/mini_profiler/profiler.rb:276:in `call'
railties (4.2.4) lib/rails/engine.rb:518:in `call'
railties (4.2.4) lib/rails/application.rb:165:in `call'
railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
rack (1.6.4) lib/rack/urlmap.rb:66:in `block in call'
rack (1.6.4) lib/rack/urlmap.rb:50:in `call'
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
thin (1.6.4) lib/thin/connection.rb:86:in `block in pre_process'
thin (1.6.4) lib/thin/connection.rb:84:in `pre_process'
thin (1.6.4) lib/thin/connection.rb:53:in `process'
thin (1.6.4) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.0.8) lib/eventmachine.rb:193:in `run'
thin (1.6.4) lib/thin/backends/base.rb:73:in `start'
thin (1.6.4) lib/thin/server.rb:162:in `start'
rack (1.6.4) lib/rack/handler/thin.rb:19:in `run'
rack (1.6.4) lib/rack/server.rb:286:in `start'
railties (4.2.4) lib/rails/commands/server.rb:80:in `start'
railties (4.2.4) lib/rails/commands/commands_tasks.rb:80:in `block in server'
railties (4.2.4) lib/rails/commands/commands_tasks.rb:75:in `server'
railties (4.2.4) lib/rails/commands/commands_tasks.rb:39:in `run_command!'
railties (4.2.4) lib/rails/commands.rb:17:in `<top (required)>'
bin/rails:4:in `<main>'

D, [2015-10-28T19:30:38.664494 #41405] DEBUG -- :
D, [2015-10-28T19:30:38.664670 #41405] DEBUG -- :
I, [2015-10-28T19:30:38.664761 #41405]  INFO -- : Started POST "/__better_errors/a5e18615745c7a78/variables" for 127.0.0.1 at 2015-10-28 19:30:38 +1100
bin/rails: No such file or directory - convert

Posts: 7

Participants: 3

Read full topic

Redirect users to pay when clicking on a only-suscription section of the forum

$
0
0

@AlexTemina wrote:

Hey fellas,

I have a forum with gold membership, with a section where only people that pays a year suscription can enter.

http://www.oslophotoclub.com

Right now I have the button on the top left, but I was thinking about making a change:

The section will become visible, and if someone clicks and he or she is not a gold member, then it redirects to a page that says that the section is only allowed to gld members, and a link to pay.

Is that possible?
Thanks :smiley:

Posts: 1

Participants: 1

Read full topic

How to solve user added with api?

$
0
0

@arulbaskar wrote:

curl -X POST --data "name=dave&username=dave&email=dave@example.com&password=P@ssword&active=true" http://localhost:3000/users?api_key=test_d7fd0429940&api_username=test_user

now error occurred
{"success":false,"message":" New registrations are not allowed from your IP address.","errors":{"email":[],"ip_address":["New registrations are not allowed from your IP address."]},"values":{"name":"dave","username":"dave","email":"dave@example.com"}}

how to solve this issue?

Posts: 3

Participants: 1

Read full topic

Here's how to change the Discourse profile to your own website's profile pages

$
0
0

@pieterhoogenboom wrote:

I wanted to replace the Discourse profile pages with my own (hosted on another domain, non-Discourse):

https://nomadforum.io/users/levelsio (Discourse)
->
https://nomadlist.com/u/levelsio (self)

I used these handlebars, first I couldn't get the clicks to work, the URL changed but clicking still pointed it to Discourse's profiles. That's because you have to remove {{action "showUser"}}, it overrides the href="" (duh)

    <script type='text/x-handlebars' data-template-name='post/components/small-action'>
<script type='text/x-handlebars' data-template-name='post/components/small-action'>
	<div class='topic-avatar'>{{fa-icon icon}}</div>
	<div class='small-action-desc'>
	  {{#if post}}
	    {{#if post.can_delete}}
	      <button {{action "delete"}} title={{i18n "post.controls.delete"}}>{{fa-icon "times"}}</button>
	    {{/if}}
	    {{#if post.can_edit}}
	      <button {{action "edit"}} title={{i18n "post.controls.edit"}}>{{fa-icon "pencil"}}</button>
	    {{/if}}
	    <a href="https://nomadlist.com/u/{{post.username}}" data-user-card={{post.username}}>
	      {{avatar post imageSize="small"}}
	    </a>
	  {{/if}}
	  <p>{{description}}</p>
	  {{#if post.cooked}}
	    <div class='custom-message'>{{{post.cooked}}}</div>
	  {{/if}}
	</div>
</script>
<script type='text/x-handlebars' data-template-name='user-card'>
	{{#if controller.visible}}
	<div class="card-content">

	  <a href="https://nomadlist.com/u/{{username}}">{{bound-avatar avatar "huge"}}</a>

	  <div class="names">
	    <span>
	      <h1 class="{{staff}} {{new_user}}">
	        <a href="https://nomadlist.com/u/{{username}}">{{username}} {{user-status user currentUser=currentUser}}</a>
	      </h1>

	      {{#if user.name}}
	        <h2>{{user.name}}</h2>
	      {{/if}}

	      {{#if user.title}}
	        <h2>{{user.title}}</h2>
	      {{/if}}

	      {{plugin-outlet "user-card-post-names"}}
	    </span>
	  </div>

	  <ul class="usercard-controls">
	    {{#if user.can_send_private_message_to_user}}
	      <li><a class='btn btn-primary' {{action "composePrivateMessage" user post}}>{{fa-icon "envelope"}}{{i18n 'user.private_message'}}</a></li>
	    {{/if}}

	    {{#if showFilter}}
	      <li><a class='btn' href {{action "togglePosts" user}}>{{fa-icon "filter"}}{{i18n 'topic.filter_to' username=username post_count=topicPostCount}}</a></li>
	    {{/if}}

	    {{#if hasUserFilters}}
	      <li><a class='btn' href {{action "cancelFilter"}}>{{fa-icon "times"}}{{i18n 'topic.filters.cancel'}}</a></li>
	    {{/if}}

	    {{#if showDelete}}
	      <li><a class='btn btn-danger' href {{action "deleteUser" user}}>{{fa-icon "exclamation-triangle"}}{{i18n 'admin.user.delete'}}</a></li>
	    {{/if}}
	  </ul>

	  {{#if isSuspended}}
	    <div class='suspended'>
	      {{fa-icon "ban"}}
	      <b>{{i18n 'user.suspended_notice' date=user.suspendedTillDate}}</b><br/>
	      <b>{{i18n 'user.suspended_reason'}}</b> {{user.suspend_reason}}
	    </div>
	  {{else}}
	    {{#if user.bio_cooked}}<div class='bio'>{{text-overflow class="overflow" text=user.bio_excerpt}}</div>{{/if}}
	  {{/if}}

	  {{#if user.card_badge}}
	    {{#link-to 'badges.show' user.card_badge class="card-badge" title=user.card_badge.name}}
	      {{icon-or-image user.card_badge.image title=user.card_badge.name}}
	    {{/link-to}}
	  {{/if}}

	  {{#if user}}
	    <div class="metadata">
	      {{#if user.last_posted_at}}
	        <h3><span class='desc'>{{i18n 'last_post'}}</span> {{format-date user.last_posted_at leaveAgo="true"}}</h3>
	      {{/if}}
	      <h3><span class='desc'>{{i18n 'joined'}}</span> {{format-date user.created_at leaveAgo="true"}}</h3>
	      {{plugin-outlet "user-card-metadata"}}
	    </div>
	  {{/if}}

	  {{#if showBadges}}
	    <div class="badge-section">
	      {{#each ub in user.featured_user_badges}}
	        {{user-badge badge=ub.badge}}
	      {{/each}}
	      {{#if showMoreBadges}}
	        {{#link-to 'user.badges' user class="btn more-user-badges"}}
	          {{i18n 'badges.more_badges' count=moreBadgesCount}}
	        {{/link-to}}
	      {{/if}}
	    </div>
	  {{/if}}
	</div>
	{{/if}}
</script>

<script type='text/x-handlebars' data-template-name='post/components/small-action'>
	<div class='topic-avatar'>{{fa-icon icon}}</div>
	<div class='small-action-desc'>
	  {{#if post}}
	    {{#if post.can_delete}}
	      <button {{action "delete"}} title={{i18n "post.controls.delete"}}>{{fa-icon "times"}}</button>
	    {{/if}}
	    {{#if post.can_edit}}
	      <button {{action "edit"}} title={{i18n "post.controls.edit"}}>{{fa-icon "pencil"}}</button>
	    {{/if}}
	    <a href="https://nomadlist.com/{{post.username}}" data-user-card={{post.username}}>
	      {{avatar post imageSize="small"}}
	    </a>
	  {{/if}}
	  <p>{{description}}</p>
	  {{#if post.cooked}}
	    <div class='custom-message'>{{{post.cooked}}}</div>
	  {{/if}}
	</div>
</script>

<script type='text/x-handlebars' data-template-name='user/posts'>
	{{#each p in model.content}}
	  <div {{bind-attr class=":item p.hidden p.deleted p.moderator_action"}}>
	    <div class="clearfix info">
	      <a href="https://nomadlist.com/u/{{unbound p.username}}" class="avatar-link">
	        <div class="avatar-wrapper">
	          {{avatar p imageSize="large" extraClasses="actor" ignoreTitle="true"}}
	        </div>
	      </a>
	      <span class="time">
	        {{format-date p.created_at leaveAgo="true"}}
	      </span>
	      <span class="title">
	        <a href="{{unbound p.url}}">{{unbound p.topic_title}}</a>
	      </span>
	      <span class="category">
	        {{category-link p.category}}
	      </span>
	      {{#if p.deleted}}
	        <span class="delete-info">
	          <i class="fa fa-trash-o"></i> {{avatar p.deleted_by imageSize="tiny" extraClasses="actor" ignoreTitle="true"}} {{format-date p.deleted_at leaveAgo="true"}}
	        </span>
	      {{/if}}
	    </div>
	    <p class="excerpt">
	      {{{p.excerpt}}}
	    </p>
	  </div>
	{{/each}}
</script>

<script type='text/x-handlebars' data-template-name='user/posts'>
	{{#each p in model.content}}
	  <div {{bind-attr class=":item p.hidden p.deleted p.moderator_action"}}>
	    <div class="clearfix info">
	      <a href="https://nomadlist.com/u/{{unbound p.username}}" class="avatar-link">
	        <div class="avatar-wrapper">
	          {{avatar p imageSize="large" extraClasses="actor" ignoreTitle="true"}}
	        </div>
	      </a>
	      <span class="time">
	        {{format-date p.created_at leaveAgo="true"}}
	      </span>
	      <span class="title">
	        <a href="{{unbound p.url}}">{{unbound p.topic_title}}</a>
	      </span>
	      <span class="category">
	        {{category-link p.category}}
	      </span>
	      {{#if p.deleted}}
	        <span class="delete-info">
	          <i class="fa fa-trash-o"></i> {{avatar p.deleted_by imageSize="tiny" extraClasses="actor" ignoreTitle="true"}} {{format-date p.deleted_at leaveAgo="true"}}
	        </span>
	      {{/if}}
	    </div>
	    <p class="excerpt">
	      {{{p.excerpt}}}
	    </p>
	  </div>
	{{/each}}
</script>


<script type='text/x-handlebars' data-template-name='post/poster-avatar.raw'>
<a href="https://nomadlist.com/u/{{post.username}}" classNames="trigger-user-card {{classNames}}" data-user-card="{{post.username}}">{{avatar post imageSize="40"}}</a>
</script>

<script type='text/x-handlebars' data-template-name='list/posters-column.raw'>
<td class='posters'>
{{#each poster in posters}}
<a href="https://nomadlist.com/u/{{poster.user.username}}" data-user-card="{{poster.user.username}}" class="{{poster.extras}}">{{avatar poster avatarTemplatePath="user.avatar_template" usernamePath="user.username" imageSize="40"}}</a>
{{/each}}
</td>
</script>

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

  {{#if controller.bulkSelectEnabled}}
      <td class='star'>
       <input type="checkbox" class="bulk-select">
     </td>
    {{/if}}


    {{#if controller.showPosters}}
      {{raw "list/posters-column" posters=topic.posters}}
    {{/if}}

    {{#if controller.showParticipants}}
      {{raw "list/posters-column" posters=topic.participants}}
    {{/if}}

    <td class='main-link clearfix' colspan="{{titleColSpan}}">
      {{raw "topic-status" topic=topic}}
      {{topic-link topic}}
      {{#if controller.showTopicPostBadges}}
        {{raw "topic-post-badges" unread=topic.unread newPosts=topic.displayNewPosts unseen=topic.unseen url=topic.lastUnreadUrl}}
      {{/if}}
      {{plugin-outlet "topic-list-tags"}}
        {{raw "list/topic-excerpt" topic=topic}}
      {{raw "list/action-list" topic=topic postNumbers=topic.liked_post_numbers className="likes" icon="heart"}}
    </td>

    {{#unless controller.hideCategory}}
      {{#unless topic.isPinnedUncategorized}}
        {{raw "list/category-column" category=topic.category}}
      {{/unless}}
    {{/unless}}

    {{raw "list/activity-column" topic=topic class="num" tagName="td"}}
    {{raw "list/posts-count-column" topic=topic tagName="td"}}
</script>

P.S. I asked this before and it was closed as it was answered with a link to another thread with the same question, however that thread did NOT include an answer either, this one does!

Posts: 1

Participants: 1

Read full topic

SyntaxError: missing ) after argument list

$
0
0

@tobiaseigen wrote:

Recently started seeing this error in the error log backtrace, apparently for every view:

SyntaxError: missing ) after argument list

No other info is provided that seems to be of any use. The site is still running fine.

Any ideas where to start looking?

Posts: 2

Participants: 2

Read full topic

Ack metoo? Send me email notifications even when I am active on the site

$
0
0

@tobiaseigen wrote:

I think "ack metoo" was a mailman setting, which is why it comes to mind. A member of my community wants to turn on "Send me email notifications even when I am active on the site" and also get copies of her own posts by email, and says this used to work but no longer works. Is it possible?

Posts: 2

Participants: 2

Read full topic


"Embedded comment" topic is pulling the wrong content

$
0
0

@dradtke wrote:

I have embedded Discourse comments set up on a site, and for the most part it's working great, except the topic that gets created contains text taken from a login modal, and doesn't actually have the contents of the post that the comments are referring to. The "this is a companion discussion topic for the original entry at" link at the bottom of the post points to the correct page, it's just pulling the wrong content.

Is there a way to tell Discourse exactly which part of the page should be used to create the topic?

Posts: 1

Participants: 1

Read full topic

Embeding discourse on website make frame with tiny height

Authentication Email Never Got Reveived

$
0
0

@dongx wrote:

Authentication Email Never Got Reveived after installation. Here is my app.yml

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/sshd.template.yml"
  - "templates/web.ratelimited.template.yml"

 ## which TCP/IP ports should this container expose?
expose:
  - "8080:80"   # fwd host port 80   to container port 80 (http)
  - "2222:22" # fwd host port 2222 to container port 22 (ssh)

  DISCOURSE_DEVELOPER_EMAILS: 'welcome@mydomain.com'

  ## TODO: The domain name this Discourse instance will respond to
  DISCOURSE_HOSTNAME: 'f.mydomain.com'

  ## TODO: The mailserver this Discourse instance will use
  DISCOURSE_SMTP_ADDRESS: mail.mydomain.com         # (mandatory)
  DISCOURSE_SMTP_PORT: 25                        # (optional)
  DISCOURSE_SMTP_USER_NAME: welcome@mydomain.com      # (optional)
  DISCOURSE_SMTP_AUTHENTICATION: "plain"
  DISCOURSE_SMTP_PASSWORD: pass@123_mail               # (optional, WARNING the     char '#' in pw can cause problems!)
  DISCOURSE_SMTP_ENABLE_START_TLS: false           # (optional, default true)

Posts: 3

Participants: 2

Read full topic

How do I block a user?

Show total amounts on reports by range

$
0
0

@alefattorini wrote:

Now I can export data from reports: posts, new users, etc..
It's cool! But it might be super-cool if Discourse shows a total amount by range selected since I can simply aggregate such data, for example new users/posts/topics by month
Doing this using excel isn't really handy

Posts: 3

Participants: 2

Read full topic

Viewing all 60739 articles
Browse latest View live




Latest Images