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

XMLHttpRequest cannot load message-bus due to access control checks and notifications text is missing

0
0

@Neso wrote:

I just upgraded to the latest Discourse, also did git pull and rebuilt the app. For some reason, the user menu is not showing some of the text anymore and I get a weird error in the browser console:


27

I have tried to rebuild the app again and also rebooted the server, still nothing. Safe mode with everything disabled has the same error :confused:
@sam?
Any help would be greatly appreciated!:slight_smile:
Site is https://applespot.ee

Posts: 3

Participants: 2

Read full topic


Extremely long category names cause CSS layout issues

0
0

@Trash wrote:

I found some problems while testing the CSS to modify the discourse page 404.

All the screenshots are made in safe-mode, no custom stylesheets added yet, and only the official plugins installed.

I created categories and subcategories with very long name (max 50 characters, default limit set by Discourse) and very short or normal names to test the rendering of CSS in 404 page.

Here the issues:

category style set to none:


If the category names are extremely long, the name is not properly cut either on the homepage or on the hamburger menu
From a quick search in the browser console the item .badge-wrapper.none span.badge-category and his relative css settings, is missing from the Discourse stylesheet.

category style set to bullet:

If the category names are extremely long the bullet loses its square shape (this problem is also inherited in customizing page 404). Note that this is a parent category.
Here I think the problem is the setting display: inline-flex on .badge-wrapper.bullet

I know that not many sites create categories with such long names (50 chars), but given the chance to do so, these layout errors must be corrected.

v1.9.0.beta8 +100

Posts: 1

Participants: 1

Read full topic

Notification error

Translate categories

0
0

@Morell wrote:

It would be nice to be able to translate category titles and even tags. That is, depending on the language of the user, you can see the text in your language.

Posts: 1

Participants: 1

Read full topic

Topic can be seen by everyone but only admin can post

0
0

@chi wrote:

Is there a way you can create a new topic that is visible to everyone but only admin can post? :slight_smile:

Posts: 3

Participants: 3

Read full topic

Run a simple JS on login?

0
0

@Justin_Veenema wrote:

Hey all,

So we’re trying to use Unbounce Convertables (which are 100% custom overlays that you can target based on various parameters) to help drive more signups in our Community. Here’s an example:

The neat thing about Convertables is that I can target based on a few parameters, such as:

  • Trigger (arrives on page, on scroll, exit intent, etc.)
  • Frequency (only show once, show on each visit, show ever ‘x’ visits, etc.)

We can also do some advanced targeting, such as only showing them to visitors who come from certain traffic sources, or who have certain cookies in their browser.

We are currently trying to target only visitors who are not logged in with the call-to-action being for them to Join our Community. We tried to target the default _t cookie that gets placed automatically by Discourse, but that cookie uses HTTP and we have some limitations around that.

So my question is…

I have a simple JS that will embed a cookie into a users browser. I’m trying to figure out how I can run this script only on login (ie. fire to those who sign up or log in).

<script>
  document.cookie = "logged_in=true; expires=Thu, 18 Dec 2017 12:00:00 UTC";
</script>

Any ideas how I could do this?

Thanks! :slight_smile:

Posts: 3

Participants: 3

Read full topic

Trouble with patreon

0
0

@pfaffman wrote:

I’ve got a site that appears to be configured for patreon correctly, but fails to get updates. It’s not clear that it’s a bug, as another that that I’m running seems to be working just fine.

Both the client and I have checked the API keys multiple times and everything looks right.

I get this in the logs.

Job exception: undefined method `map' for nil:NilClass
Did you mean?  tap

/var/www/discourse/plugins/discourse-patreon/lib/pledges.rb:29:in `update_data'
/var/www/discourse/plugins/discourse-patreon/lib/pledges.rb:8:in `update_patrons!'
/var/www/discourse/plugins/discourse-patreon/app/jobs/scheduled/patreon_sync_patrons_to_groups.rb:6:in `execute'
/var/www/discourse/app/jobs/base.rb:153:in `block (2 levels) in perform'
(patreon) Authentication failure! invalid_credentials: OAuth2::Error, access_denied:
{"error": "access_denied"}

/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.7/lib/logster/logger.rb:93:in `add_with_opts'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.7/lib/logster/logger.rb:50:in `add'
/usr/local/lib/ruby/2.3.0/logger.rb:507:in `error'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:161:in `log'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:473:in `fail!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-oauth2-1.4.0/lib/omniauth/strategies/oauth2.rb:78:in `rescue in callback_phase'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-oauth2-1.4.0/lib/omniauth/strategies/oauth2.rb:67:in `callback_phase'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:230:in `callback_call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:187:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.6.1/lib/omniauth/builder.rb:63:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:147:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/flash.rb:260:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.9/lib/active_record/query_cache.rb:36:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.9/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.7/lib/logster/middleware/reporter.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.9/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.9/lib/rails/rack/logger.rb:22:in `call'
/var/www/discourse/config/initializers/100-quiet_logger.rb:17:in `call_with_quiet_assets'
/var/www/discourse/config/initializers/100-silence_logger.rb:29:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.5/lib/mini_profiler/profiler.rb:171:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/message_bus-2.0.5/lib/message_bus/rack/middleware.rb:63:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:73:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.9/lib/rails/engine.rb:518:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.9/lib/rails/application.rb:165:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.9/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.9/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/urlmap.rb:66:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/urlmap.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.8/lib/rack/urlmap.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.3.0/lib/unicorn/http_server.rb:606:in `process_client'
/var/www/discourse/lib/scheduler/defer.rb:85:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.3.0/lib/unicorn/http_server.rb:702:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.3.0/lib/unicorn/http_server.rb:549:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.3.0/lib/unicorn/http_server.rb:142:in `start'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.3.0/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.3.0/bin/unicorn:22:in `load'
/var/www/discourse/vendor/bundle/ruby/2.3.0/bin/unicorn:22:in `<main>'

Posts: 2

Participants: 2

Read full topic

Possible to use the group select ui in a plugin?

0
0

@eriko wrote:

I have a case where I want to be able filter actions in a plugin based on a users group membership. In the ui of the plugin I would like to use the auto complete and list limits of the existing ui for setting a users group membership. I could just use a list and hope the people get the names correct but I would like to do better than that.

Any thoughts? Thanks.

Posts: 1

Participants: 1

Read full topic


Unvisited Topic Links are Grey to Anonymous Users

Email domain blacklist with wildcards (revisited)

0
0

@schungx wrote:

The current implementation already matches black-listed domains with EndsWith type string matching.

I would like to propose adding regex type matching as well.

Reason: Recently a lot of spammers come from email addresses with a long string of numbers, for example 76987.com, 245934.net etc.

I would like to be able to filter them out, but with the standard EndsWith matching, it is impossible.

Posts: 2

Participants: 1

Read full topic

Are there fundamental thresholds on responses to a single thread?

0
0

@8BIT wrote:

So, here’s the situation: When we livestream, we encourage folks to hangout in our community and respond to one particular thread / post and it always kills the site.

More specifically, during the livestream, we’ll do giveaways, creating a new thread in a random part of the community and then people just hammer that thread to death. Here’s an example from tonight.

We’ve moved to a HighCPU (“CPU Intensive Plan”) on DigitalO with a KeyCDN installed with this sizing:

52 PM

Regardless, it tanks the site every single time.

I suppose there is very little we can do at this point outside of investing in serious hardware and config to keep the site up when 300-400 people are trying to respond to a single post/thread at the same time?

My last thought is to do a Load Balancer via DO but that may be overly-complex for what we’re doing?

I suppose we just shouldn’t attempt a “live giveaway” via Discourse…!

Posts: 2

Participants: 2

Read full topic

Bulk tag buttons appear when tagging is disabled

0
0

@jomaxro wrote:

The buttons to replace or append tags appear in the topic list bulk actions modal even when tagging is not enabled. Clicking on either provides a text field to type tags, which says “Loading failed” as the autocomplete option. A 404 error is thrown by the attempted tag search https://discourse.example.com/tags/filter/search?q=&limit=5&selected_tags=&filterForInput=true

Posts: 1

Participants: 1

Read full topic

What is your visit to sign up rate and how can it be improved?

0
0

@James_Higginson wrote:

I’m interested in comparing my visit to signup rate with other Discourse community managers with a view to understanding how I could improve it. Lots of effort goes in to driving traffic to our community and I want to capitalise on those visits as much as possible.

I’m using the very insightful https://discoursemetrics.com and my stats for this metric over the previous 30 days are 0.33%

What is your visit to signup rate?

What steps should be taken to improve it?

Posts: 2

Participants: 2

Read full topic

Get solved date/time?

0
0

@schungx wrote:

Is there a way, through the REST API, get the date/time when the topic is solved?

Posts: 1

Participants: 1

Read full topic

Google, Facebook, etc. login email template improvement

0
0

@hellekin wrote:

Situation

The email template at /admin/customize/email_templates/user_notifications.set_password contains a sentence that invites users to use those services to login by default, but the site settings require activation of such services.

Alternatively, you can log in using any supported online service (Google, Facebook, etc) that is associated with this validated email address.

When the administrators do not activate these services–e.g., because they do not want to use them, users of the site still receive this confusing information.

The admin quick start guide indicates ‘social logins’ as an addition, which does not in any way warn admins that users may receive invitations to use such login methods while they’re not active on the site, and thus may fail users’ and admins’ expectations.

Expectation

  • A message promoting third-party services should not appear when the settings are not activated, and certainly not by default when the settings are off. (i.e. pre-seeding an email template with information relative to optional settings should not happen.)
  • The system should warn the admins that such settings exist and need changes, like it is done for other options.
  • The documentation should clearly indicate that these settings are linked to an email template that requires attention.

Solutions

  • The Admin Quick Start Guide should indicate (and link to) the relevant email template and propose a default string to add to the template in order to promote ‘social logins’ – seriously, I’d call them asocial anyway, or even antisocial.
  • Remove the sentence promoting such services from the default email templates.
  • Rename ‘social logins’ to ‘social media logins’ because the former implies such services are socially beneficial, while they’re simply intermediaries to social networks.
  • Rework the admin’s login settings to split settings by service, and suggest to promote active services in the relevant email templates.

Posts: 1

Participants: 1

Read full topic


Bad link for nested category in group activity

0
0

@carlokok wrote:

We have a category like:
https://talk.remobjects.com/c/elements/bugs

when in the activity page for the "remobjects group"
https://talk.remobjects.com/groups/remobjects/activity/posts

(scrolling down to aug 31st

Topic: InvalidProgramException when using : (colon) within Task method with await’s
Category: Elements Bugs

Clicking the category brings us to
https://talk.remobjects.com/c/bugs

instead of:
https://talk.remobjects.com/c/elements/bugs

Using last weeks master.

Posts: 7

Participants: 3

Read full topic

Notifications in user profile are broken

Failed to rebuild app

0
0

@Pad_Pors wrote:

Hi,

I just rebuild our app (to remove some plugins) and the rebuild is failed with the below error:

Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 486 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'"]}
ed0dad3ccce711701d5cbf01c1d96e623fd622704c3c8f166be8d228976baf18

may someone help me understand the problem and solve it?

Posts: 3

Participants: 2

Read full topic

How to disable the digest for users who already opted for it

0
0

@nixie wrote:

Hi,

I have just disabled “the digest email”. So, from now on, new users registering in our site won’t be receiving the digest emails at all. I created a test account and found that its disabled by default.
But, old users in the site, still have the setting turned on. Manually going to their profiles and then turning it off is going to consume a lot of time.
So, is there any way to turn it off for all the old users?

Posts: 5

Participants: 3

Read full topic

Other people's private conversations in 'Suggested messages'

0
0

@rizka wrote:

I just flagged a topic here on Meta as “something else”. When you do so, a private conversation between you and moderators is created. Under the discussion, there are ‘Suggested messages’ which I am not part of. I see their titles and participants. However when I click a discussion, I get a connection error so I cannot read them which is good. Under normal messages there are messages from my own messages as it should be.

Posts: 1

Participants: 1

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images