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

Category Logo image is not clickable

$
0
0

@Mytee wrote:

When you add an image for a certain category, regular users would expect that its clickable, which is not.

A simple bug, that i believe could be fixed easily.

How to fix? Make category logos clickable

Posts: 4

Participants: 3

Read full topic


Crowdsourcing Ideas Feature

$
0
0

@Tia wrote:

Howdy,
I'm looking for a feature of idea crowdsourcing
Something like this:

Is it possible to do something similar with Discourse?

Posts: 3

Participants: 3

Read full topic

See who marked post as solved?

Discourse retrieve new topics from rss with Invalid characters

Make new watched/tracked topics also unread

$
0
0

@LeoMcA wrote:

New posts that are watched/tracked (which I assume can only be done through watching/tracking the whole category) should also show an unread counter, and appear in Unread and Suggested Topics.

At the moment, since they don't, there's nothing to differentiate them from any other new post - which shouldn't be the case, because the user has said these posts are more important by watching/tracking the category they're in.

Posts: 9

Participants: 3

Read full topic

Discourse running slow on VB in Windows - Potential fix?

$
0
0

@raRaRa wrote:

Hey,

I've noticed a few posts about Discourse running very slow in VirtualBox on Windows. I had the exact same issue and started Googling around. The main problem seems to be related to the shared folder, or at least that was the case for me. Now I'd like to share my potential solution to it.

The first potential fix is basically creating a local folder on the VB machine and using rsync to synchronize all changes. This solution worked pretty well, and the load time was significantly better.

But I don't like having to type rsync every time the code changes. What can I do?

So I started investigating why the shared folder is so slow. After looking around I was pretty confident that it had to do with the file system difference on the Windows and the Ubuntu machine. The key is to enable NFS to the shared folder.

I partly followed the comment from phazei here:
https://laracasts.com/discuss/channels/general-discussion/for-those-who-find-homesteadvagrantvirtualbox-slow-on-windows/replies/20854

Here's what I did:

  • Install the vagrant-winnfsd plugin: vagrant plugin install vagrant-winnfsd
  • Modify the Vagrantfile by replacing the following lines:
    Replace:
    config.vm.network :private_network, ip: "192.168.10.200"
    With:
    config.vm.network :private_network, ip: "192.168.10.200", type: "dhcp"
    Replace:
    config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", :nfs => nfs_setting
    With:
    config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", :nfs => true, :mount_options => ['nolock,vers=3,udp,noatime']

Of course this is just an experiment and I would love to get feedback on this. But this worked like a charm for me, the page load is as fast as the rsync solution and I don't have to synchronize files anymore.

What do you think, can this be simplified or done differently?

Thanks.

Posts: 1

Participants: 1

Read full topic

Disable changing email from discourse, but allow through API

$
0
0

@SnipersCode wrote:

Is there a way to prevent users from changing their email from their preferences in the profile page but still allow changes through the API?

I have a site that discourse is authing against (using the discourse-oauth2-basic plugin) and is using the API to change their email. Since the external id from the plugin seems to have no effect on the external id for the discourse site, and the "SSO overwrides..." settings only apply to the build in sso, right now I'm:
* Pulling all active users
* Determining their id from their current email
* Using the API to change their email (by id)

The problem is that if they change their email on discourse itself, I can no longer determine their site id and if I try to disable email changes on discourse, I get a forbidden error from the API as expected.

Posts: 1

Participants: 1

Read full topic

A few simple customization examples for newbies

$
0
0

@ljpp wrote:

I want to give something back to a great open source project. Note that this is not anything special, and most of the codied is actually copied from the her examples on this forum. So very basic stuff that even someone who is clueless about CSS (like me) can apply to your Discourse installation, to give it a bit more customized look & feel.

I have applied these patches to two sites:
- Tappara.co (a hockey fan forum in Finnish, much bigger than Meta. Currently in public testing perioid)
- cd-rw.org (a quiet vintage tech site brought back to life)

Header shadow and stripe:

/*header stripe, shadow*/
.d-header {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.25);
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
border-bottom: 3px solid #ff6600;
}

Boosting the shadow adds a little 3D-effect to the header, but what I really like is the stripe to match the key color of your logo or brand. Replace the #ff6600 (Orange) with the color you need.

Adjust background colors, get rid of pure whites

// natural white background for content, light blue for margins
body:before {
    display: inline-block;
    width: 1125px;
    min-height: 100%;
    height: inherit;
    background-color: #FDFBF9;
    content: " ";
    position: fixed;
    left: 50%;
    right: 0;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}
// compatibility for all devices
@media (max-width: 1139px) and (min-width: 1000px)
{
    body:before {
        width: 1010px;
    }
}
body {
    background-color: #e6e6e6;
}

By default DIscourse is disturbingly white. This patch gives you two colors adjust. Dim the content background slightly, and add something a bit darker to fill the excess space on the sides. Use one of the many color combo generators on the web (Google it) to find shades that are compatible with your brand colors.

Increase logo size

#site-logo.logo-big {
    max-height: 50px;
    max-width: 186px;
    margin-top: -5px;
}
.logo-small {
    max-height: 50px;
    max-width: 50px;
    margin-top: -5px;
}

If you have a good logo, it doesn't hurt to boost the size just a bit.

Slight shadow around the content

body.docked::before{
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
}

Just a little depth addd to bring the content up front.

Reduce clutter

If your forum is quiet, then the Discourse default view is great to make it look more busy than it actually is. But if your forum is actually a busy one, it gives you a crapload of avatars and makes your eyes bleed. For a busy forum have a look at the Sam's Minimal theme, but note that you need to be on the 1.5 beta branch or newer.

Thats it. Hopefully some Discourse newcomer finds these useful. I hope you like them. And I am more than interested in hearing more suggestions how to pimp these sites for even better looks.

Posts: 5

Participants: 3

Read full topic


500 Internal Server Error when trying to write a new topic

$
0
0

@Juri wrote:

Hello, I keep getting a "500 Internal Server Error" every time I try to start a new topic.
The error-log says the following:

I18n::InvalidPluralizationData (translation data {:topics=>"Themen"} can not be used with :count => 1)
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/pluralization.rb:35:in `pluralize'

I'm not using any plugins, just the standard-installation. It has been working already before.

Any hits or tips where I can find the problem?

Would be great. I like the system so much and I want to get started.

Thanks,

Juri

Posts: 7

Participants: 3

Read full topic

Gfycat embeds not working on iOS

$
0
0

@ezworldwide wrote:

Hi folks - when I embed gfycat on my site the embed works perfectly; however, when I try to view on my iPhone it will not work. Onebox appears blank with a play icon in the center. The file will not play.

Here is a sample embed:

I checked this other thread, but mobile was not mentioned.

I'll reply to this with a screenshot from my phone.

Posts: 7

Participants: 4

Read full topic

The edit icon has disappeared!

Setting up with MSSQL

Multisite (with 2 app containers) - restart of one container restores CSS but breaks it for the other

$
0
0

@lightweight wrote:

I wrote up a description of our multisite configuration https://meta.discourse.org/t/multiple-discourses-multiple-containers-one-server - a shared data container (data - one DB for each Discourse instance), and two app containers (web1 and web2), one for each Discourse instance.

I've had problems with aggregated CSS all along, but had both systems running reliably as 1.5.0beta6 (I ensured that each app instance had its own "shared" dir, so "shared1" for web1, and "shared2" for web2 - the data container stayed with the default "shared").

After rebuilding all three containers to complete an upgrade to 1.5.0beta7, however, I saw a return of a problem I've had previous to beta6: every time I restart one app container (e.g. ./launcher restart web1), the other containers CSS (main and admin) starts to return a 404 (i.e. the site functions, but without CSS being applied). I also note that the __ws=[sitename] variable seems to be incorrect for both sites (the CSS for the site https://forums.oeru.org has __ws=community.oeru.org and https://community.oeru.org has __ws=forums.oeru.org).

Any thoughts on why this might be happening?

Posts: 5

Participants: 2

Read full topic

User Badges not visible in json

$
0
0

@pulkitpahwa wrote:

Hey,

We have been using Discourse for quite a long time now and we are now trying to integrate its api with our main website.

What we are trying to do is to display the badges that a particular user has received on his public profile on our main website. But json results are showing less number of badges than the user actually has. e.g. one of the user has 11 badges and his json profile is showing only 3 badges.

After detailed observation, I found out that the badges belonging to the same category are not being displayed,

Can you please let me know where can I get the complete list of user badges ?

Posts: 1

Participants: 1

Read full topic

Can i update smtp config without rebuild?

$
0
0

@akeybupt2004 wrote:

I'm trying to solve the email problem, and i want to change that in config/discourse.conf, but it doest take effect, even after i restart docker app, or do 'discourse -c 'bundle exec rake assets:precompile'' (it do take effect after i deploy new plugin directly in docker images)

I know the right way to do that is rebuild the app, but it takes so much down time. i can't affort that for debugging.

So is there any way to make this change take effect immediately? @sam

Similar post 1 year ago: https://meta.discourse.org/t/how-do-i-change-my-smtp-settings-discourse-docker-install/20067

Posts: 4

Participants: 3

Read full topic


Sidekiq down probably because getting PG UniqueViolation error

$
0
0

@akeybupt2004 wrote:

Sidekiq is showing 'down' in dashboard panel. and i check the logs, i think it might related to following errors. Can someone tell me how to debug that error and make sidekiq back.

PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_application_requests_on_date_and_req_type"
DETAIL:  Key (date, req_type)=(2015-12-08, 0) already exists.
: INSERT INTO "application_requests" ("date", "req_type") VALUES ('2015-12-08', 0) RETURNING "id"
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-1.0.1/lib/logster/logger.rb:74:in `add_with_opts'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-1.0.1/lib/logster/logger.rb:35:in `add'
/usr/local/lib/ruby/2.0.0/logger.rb:454:in `error'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:460:in `translate_exception_class'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:475:in `rescue in log'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `log'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in `exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql_adapter.rb:588:in `execute_and_clear'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:192:in `exec_insert'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:108:in `insert'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/relation.rb:64:in `insert'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/persistence.rb:524:in `_create_record'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/counter_cache.rb:139:in `_create_record'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/locking/optimistic.rb:75:in `_create_record'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/attribute_methods/dirty.rb:132:in `_create_record'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/callbacks.rb:306:in `block in _create_record'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_create_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/callbacks.rb:306:in `_create_record'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/timestamp.rb:57:in `_create_record'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/persistence.rb:504:in `create_or_update'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/callbacks.rb:302:in `block in create_or_update'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/callbacks.rb:302:in `create_or_update'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/persistence.rb:142:in `save!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/validations.rb:43:in `save!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:291:in `block in save!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:220:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:291:in `save!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/persistence.rb:51:in `create!'
/var/www/discourse/app/models/application_request.rb:93:in `req_id'
/var/www/discourse/app/models/application_request.rb:66:in `block in write_cache!'
/var/www/discourse/app/models/application_request.rb:52:in `each'
/var/www/discourse/app/models/application_request.rb:52:in `write_cache!'
/var/www/discourse/app/models/application_request.rb:41:in `write_cache!'
/var/www/discourse/app/models/application_request.rb:35:in `increment!'
/var/www/discourse/lib/middleware/request_tracker.rb:31:in `log_request'
/var/www/discourse/lib/middleware/request_tracker.rb:11:in `block in log_request_on_site'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rails_multisite-1.0.3/lib/rails_multisite/connection_management.rb:44:in `with_hostname'
/var/www/discourse/lib/middleware/request_tracker.rb:10:in `log_request_on_site'
/var/www/discourse/lib/middleware/request_tracker.rb:88:in `block in log_later'
/var/www/discourse/lib/scheduler/defer.rb:68:in `call'
/var/www/discourse/lib/scheduler/defer.rb:68:in `do_work'
/var/www/discourse/lib/scheduler/defer.rb:46:in `do_all_work'
/var/www/discourse/lib/scheduler/defer.rb:86:in `process_client'
/var/www/discourse/lib/middleware/unicorn_oobgc.rb:95:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:540:in `maintain_worker_count'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:294:in `join'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'

Posts: 2

Participants: 2

Read full topic

Text Content reverses by itself

$
0
0

@SidV wrote:

Considering this

I edited some text, after certain time (I don't know how much time), the "text content" revert changes automaticly. I don't know why.

Steps to replay:

  1. Go to Admin > Customize > Text Content
  2. Edit some text
    Example: js.filters.unread.title_with_count.one
    From: Unread (1)
    To: Sin Leer (1) (that is spanish).
  3. Save changes.
  4. Wait some time (I don't know how much time).
  5. For some reason the change reverse by itself.
  6. :neutral_face: Nothing more.

Same issue if I edit: "admin_js.badges.badge.leader.description" to edit the URL to meta.discourse's site. :blush:

Could you check it?

Posts: 1

Participants: 1

Read full topic

Feature: Unsubscribe from topic by email

$
0
0

@gdpelican wrote:

As part of the MOSS grant outlined here, I've been asked to write up a spec for unsubscribing from a topic via email.

Current behaviour: Unsubscribe via email is allowed, but requires a logged in user
Proposed behaviour:
Unsubscribing while logged in as any user will remain the same.

When logged out,

Clicking this:

Will take the user to a screen like this:

Posts: 4

Participants: 4

Read full topic

Feature: Like via email

$
0
0

@gdpelican wrote:

As part of the MOSS email features outlined here, a RFC for like via email.

Current behaviour: No way to like a post via email
Proposed behaviour: Clicking on a ':heart: this post via email' link in the email will like the post in question automatically.

If logged in: The user is taken directly to the post in question

If logged in as a different user:
The user is taken to a screen with the post in question, and a notice that they have liked it as the email user.

If logged out:
The user is taken to a screen with the post in question, a notice that they have liked it, and a prompt to log in.

Posts: 3

Participants: 3

Read full topic

Layout/Setting Set Up

$
0
0

@2Desserts wrote:

Hello, I have been asked to purchase a forum solution for my team, and one of the requirements is that the only viewable criteria / or for the main menu page is to open showing the categories - is this possible?

The team do not want the user to have to click a button to filter/organise by criteria.

Thanks
Debbie

Posts: 2

Participants: 2

Read full topic

Viewing all 60739 articles
Browse latest View live




Latest Images