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

Category Ordering: Fixed AND activity based ordering

0
0

Rob Reed wrote:

Continuing the discussion from Organizing categories so they are always in the same order

I'm just starting to dig into Discourse. I was fortunate to be able to import a forum with thousands of discussions which seems to be enough to get a pretty quick sense of what immediately seems great and maybe not so great about Discourse and its defaults. (Of course it's also a lot to wade through.)

I've read several discussions here about category ordering. I see the pros and cons of both fixed and activity based ordering. I'm wondering if it's worth thinking about this being something that can be set on a category by category basis.

Rather than go on and on, let me give you a concrete use case.

I'd like to stick to activity based ordering for something like a landing page. But I also run a 'book club' through my forum. We'll pick a technical book (usually web development or design) and read through it together, 10 or so pages a day, and then use the forum to discuss the reading. (It takes about a month to get through a book and isn't a big drain on anyone's time. ) I'll create a category for the book and then discussions for each section of reading, staying just ahead of the pace of the group, so that when it's time for discussion about a reading there's already a place for it. For this kind of thing there is a strict ordering (Chapter 1 - Reading 1, Chap 1 - Reading 2, and so on), and it can be disorienting to have them jump around.

So there's one forum but it's being utilized in a couple of different ways. In addition to the book club it serves as a community forum for a blogging platform (though I prefer to call it a personal publishing platform) that maintain.

As I imagine it there would be a global default, and each new category would take on that ordering. But it could be overridden on a per category basis. In my case the default would be the activity ordering but for the book club, the category ordering would be fixed.

Seems like a way to allow for some customization and flexibility without adding to the complexity of the UI (in the way that adding a lot of structure does).

Posts: 1

Participants: 1

Read full topic


Navigation Link Color Help

0
0

Anthony V. Ardizzone wrote:

I posed this question to the Discourse Twitter regarding changing the color of the navigation links on the header of my site Shining Velvet.

The text of the first tweet was "@discourse A couple of questions regarding the admin console. Is it possible to add other staff positions (besides admins and mods)? 1/2".

The text of the second tweet was "@discourse Does the system not recognize 'pink' as a color for highlighting when customizing nav-links in the header of a site? 2/2".

I received the following response from the first tweet responding to both.

"@.anthonyvardiz The only staff positions are admin and moderator at this time. As for theme colors, you can enter the code for pink: #FF00DC"

I attempted to try it in the code that I have for the navigation links in the header.

The HTML code is:

> <nav id="bar">
>     <ul>
>         <li id="selected-nav"><a class="nav-link #FF00DC" href="https://shiningvelvet.com" target="_blank">Forums</a></li>
>         <li><a class="nav-link orange" href="https://news.shiningvelvet.com" target="_blank">News</a></li>
>         <li><a class="nav-link blue" href="http://sched.shiningvelvet.com" target="_blank">Schedule</a></li>
>         <li><a class="nav-link green" href="http://irc.svelvet.me" target="_blank">Shout</a></li>
>     </ul>
> </nav>

However, when I go to input that code, the highlight for "Forums" does not show up with any color whereas the others do show up with their respective colors. Any help in getting this fixed would be greatly appreciated. Also, I hope this was in the right category. Apologies if it is not.

Posts: 1

Participants: 1

Read full topic

Add Go-To Action to view topic for Gmail and Inbox

How long should an upgrade typically take?

0
0

Kirupa Chinnathambi wrote:

I am using the Upgrade button found in the Admin panel to update http://forum.kirupa.com. It seems to be stuck on the last step here for what seems like forever (aka 15 minutes):

$ cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}
HEAD is now at 0408960 tweak time field on user page stream
********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
$ bundle install --deployment --without test --without development
Fetching source index from https://rubygems.org/
Using rake 10.3.2
Using i18n 0.6.11
Using json 1.8.1
Installing minitest 5.4.2
Using thread_safe 0.3.4
Using tzinfo 1.2.2
Installing activesupport 4.1.7
Using builder 3.2.2
Using erubis 2.7.0
Installing actionview 4.1.7
Using rack 1.5.2
Using rack-test 0.6.2
Installing actionpack 4.1.7
Using mime-types 1.25.1
Using polyglot 0.3.5
Using treetop 1.4.15
Using mail 2.5.4
Installing actionmailer 4.1.7
Using actionpack-action_caching 1.1.1
Installing activemodel 4.1.7
Using active_model_serializers 0.8.2
Using arel 5.0.1.20140414130214
Installing activerecord 4.1.7
Using addressable 2.3.6
Using handlebars-source 1.3.0
Using ember-source 1.6.0.beta.2
Using execjs 2.2.1
Using barber 0.4.2
Using timers 1.1.0
Using celluloid 0.15.2
Using certified 1.0.0
Using coderay 1.1.0
Using connection_pool 2.0.0
Using crass 0.2.1
Using daemons 1.1.9
Using diff-lcs 1.2.5
Using docile 1.1.5
Using email_reply_parser-discourse 0.6
Using ember-data-source 0.14
Using thor 0.19.1
Installing railties 4.1.7
Using jquery-rails 3.1.2
Using ember-rails 0.14.1
Using eventmachine 1.0.3
Using excon 0.39.6
Using exifr 1.1.3
Using fabrication 2.9.8
Using fakeweb 1.3.0
Using multipart-post 2.0.0
Using faraday 0.9.0
Using fast_blank 0.0.2
Using rake-compiler 0.9.3
Using fast_stack 0.1.0
Using fast_xor 1.1.3
Using fast_xs 0.8.0
Using fastimage 1.6.3
Using ffi 1.9.5
Using flamegraph 0.0.5
Using formatador 0.2.5
Using net-ssh 2.9.1
Using net-scp 1.2.1
Using fog-core 1.24.0
Using multi_json 1.10.1
Using fog-json 1.0.0
Using inflecto 0.0.2
Using fog-brightbox 0.5.1
Using ipaddress 0.8.0
Using mini_portile 0.6.0
Using nokogiri 1.6.3.1
Using fog 1.22.1
Using fspath 2.0.6
Using sorcerer 1.0.2
Using given_core 3.5.4
Using guess_html_encoding 0.0.9
Using hashie 3.3.1
Using highline 1.6.21
Using hike 1.2.3
Using hiredis 0.5.2
Using htmlentities 4.3.2
Using image_size 1.1.5
Using in_threads 1.2.2
Using progress 3.0.1
Using image_optim 0.9.1
Using jwt 1.0.0
Using kgio 2.9.2
Using libv8 3.16.14.7
Using listen 0.7.3
Using logster 0.1.6
Using lru_redux 0.8.1
Using redis 3.1.0
Installing message_bus 1.0.5
Using metaclass 0.0.4
Using method_source 0.8.2
Using mocha 1.1.0
Using mock_redis 0.13.2
Using moneta 0.8.0
Using msgpack 0.5.8
Using multi_xml 0.5.5
Using mustache 0.99.6
Using netrc 0.7.7
Using nokogumbo 1.1.12
Using oauth 0.4.7
Using oauth2 1.0.0
Using oj 2.10.2
Using omniauth 1.2.2
Using omniauth-oauth2 1.2.0
Using omniauth-facebook 2.0.0
Using omniauth-github-discourse 1.1.2
Using omniauth-google-oauth2 0.2.5
Using omniauth-oauth 1.0.1
Using ruby-openid 2.5.0
Using rack-openid 1.3.1
Using omniauth-openid 1.0.1
Using omniauth-twitter 1.0.1
Installing onebox 1.5.3
Using openid-redis-store 0.0.2
Using pg 0.15.1
Using slop 3.6.0
Using pry 0.10.1
Using pry-nav 0.2.4
Using pry-rails 0.3.2
Using puma 2.9.1
Using qunit-rails 0.0.7
Using rack-mini-profiler 0.9.2
Using rack-protection 1.5.3
Using bundler 1.7.3
Using tilt 1.4.1
Using sprockets 2.11.0
Using sprockets-rails 2.0.1
Installing rails 4.1.7
Using rails-observers 0.1.2
Using rails_multisite 0.0.1 from source at vendor/gems/rails_multisite
Using raindrops 0.13.0
Using rb-fsevent 0.9.4
Using rb-inotify 0.9.5
Using trollop 2.0
Using rbtrace 0.4.5
Using redcarpet 3.1.2
Using redis-namespace 1.5.1
Using ref 1.0.5
Using rest-client 1.7.2
Using rinku 1.7.3
Using rmmseg-cpp 0.2.9
Using rspec-core 2.99.2
Using rspec-expectations 2.99.2
Using rspec-mocks 2.99.2
Using rspec 2.99.0
Using rspec-collection_matchers 1.0.0
Using rspec-given 3.5.4
Using rspec-rails 2.99.0
Using rtlit 0.0.5
Using ruby-readability 0.7.0
Using sanitize 3.0.2
Using sass 3.2.19
Using sass-rails 4.0.2
Using seed-fu 2.3.3
Using shoulda-context 1.2.1
Using shoulda-matchers 2.7.0
Using shoulda 3.5.0
Using sidekiq 3.2.5
Using simple-rss 1.3.1
Using simplecov-html 0.8.0
Using simplecov 0.9.1
Using sinatra 1.4.5
Using spork 1.0.0rc4
Using spork-rails 4.0.0
Using therubyracer 0.12.1
Using thin 1.6.2
Using timecop 0.7.1
Using uglifier 2.5.3
Using unf_ext 0.0.6
Using unf 0.1.4
Using unicorn 4.8.3
Your bundle is complete!
Gems in the group development were not installed.
It was installed into ./vendor/bundle
$ bundle exec rake multisite:migrate

Has the upgrade crashed/frozen? Or should we just wait. The forum does have a lot of posts (>2 million).

Cheers,
Kirupa

Posts: 10

Participants: 4

Read full topic

In development, activation emails are arriving with bad URL

0
0

Jason May wrote:

I'm running Discourse in development mode using foreman start which by default runs on port 5000.

When I create a new user account, the activation email contains a link with localhost:3000.

Those default emails should use the domain/port where the server is running, which might be localhost:5000 or something else if local domain routing is set up (I'm using discourse.dev). Cutting & pasting the path is an inconvenience.

This might be in a config file somewhere, but it should sense this automatically.

Posts: 1

Participants: 1

Read full topic

How to upgrade and maintain the discourse source code if I use discourse for my own discussion forum

0
0

Love Chopra wrote:

Hi,

I really like discourse and planning to use it as a core of my website and want to scrap my existing q&a, on this regard, I have few queries related to upgradation and maintenance of system, I am a .net developer and very new to open source usage so please answer it considering all the basic dependencies:

  1. If I use discourse as it as then how can I merge code into my development and live environment if there any new changes happen with discourse?

  2. If I do some customization at the theme and layout of discourse, in this use how I would be merging the latest releases of discourse with my existing code?

  3. If I integrated some of my existing feature to discourse then how I would be maintaining the code and will merge with new releases of discourse

  4. If I do some modification with features of discourse in this case how I would be upgrading to latest version of discourse in future?

Posts: 3

Participants: 3

Read full topic

Buttons are laid out incorrectly on profile page in IE11

Documentation for Developers

0
0

Love Chopra wrote:

Hi,

Do you have any development documentation of discourse which can help any developer to start doing some customization with discourse?

Posts: 2

Participants: 2

Read full topic


Database Design Diagram?

0
0

Love Chopra wrote:

Do you any database design diagram so that I can understand how the database is designed of discourse?

Posts: 2

Participants: 2

Read full topic

Support cross domain tracking with Google analytics

0
0

Christopher Olson wrote:

We have multiple sites (for example, forum.treode.com, treode.github.io and www.treode.com), which I'm sure is not uncommon. Currently we track each one as a separate "property" in Google Analytics. However, when a user moves from one site to the next, it shows up as a drop-off in analytics. Google has written this helpful page to explain how one can track multiple domains as a single property and see viewers flow from one domain to the next.

One of the steps to make that work involves tweaking the GA code that's on the webpage. It appears that I don't have a way in Discourse to make that happen.

Posts: 1

Participants: 1

Read full topic

If i insert rows in topic table directly in database will it serve as topic in discourse?

0
0

san wrote:

if i insert strings in the topic table in database will it serve as a topic in discourse or not?

Posts: 2

Participants: 2

Read full topic

Group membership no longer visible on user card and profile

0
0

PJH wrote:

I notice that group membership has disappeared from cards and the header on profile pages - is there a page listing which groups a member is in?

I know the /groups/$GROUPNAME url exists, but I'm after member-accessible "which groups is this member in", not "which members are in this group"

Posts: 1

Participants: 1

Read full topic

Post timestamps missing on mobile

Hosting wordpress, discourse, and a php app on the same server

Topics with category NULL vs Uncategorized

0
0

Jason May wrote:

What is the difference between a topic with NULL category_id and a topic with category_id = (the value for uncategorized_category_id in the SITE_SETTINGS table)?

If all uncategorized topics are assigned to the Uncategorized category, then possible the column could be made NOT NULL in a migration? There are still a few where topics.category_id IS NULL checks in the code which could then be retired for a tiny performance boost.

Posts: 2

Participants: 2

Read full topic


Forums slugglish / Potentially high CPU usage

0
0

Kirupa Chinnathambi wrote:

Hello again!
We migrated a fairly large forum to discourse (http://forum.kirupa.com) a couple of days ago, and one of the things I'm seeing is a great deal of sluggishness.

The forums are running on a 2GB RAM DigitalOcean droplet, and the install was performed using the 30-minute guide posted on this site.

Looking at the current processes, this is what I am seeing:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
postgres  2292 67.7 13.4 398800 275660 ?       Rs   04:33  57:15 postgres: discourse discourse [local] DELETE
postgres  4265 52.6 13.4 398676 274708 ?       Rs   05:04  28:35 postgres: discourse discourse [local] DELETE
postgres  6233 45.9 11.8 398548 242976 ?       Rs   05:34  11:03 postgres: discourse discourse [local] DELETE
discour+   121  0.4 10.7 1036900 220188 ?      Sl   04:03   0:32 unicorn worker[0] -E production -c config/unicorn.conf.rb
discour+    94  0.1 10.2 543880 211036 ?       Sl   04:03   0:11 sidekiq 3.2.5 discourse [0 of 5 busy]
discour+   128  0.4 10.1 455796 208788 ?       Sl   04:03   0:32 unicorn worker[1] -E production -c config/unicorn.conf.rb
discour+   136  0.4 10.1 455796 208472 ?       Sl   04:03   0:32 unicorn worker[2] -E production -c config/unicorn.conf.rb
discour+  6217  0.3  9.8 521208 202584 ?       Sl   05:34   0:05 sidekiq 3.2.5 discourse [0 of 5 busy]
discour+    65  0.2  9.8 439216 201740 ?       Sl   04:03   0:18 unicorn master -E production -c config/unicorn.conf.rb
discour+  2282  0.1  9.7 523256 199568 ?       Sl   04:33   0:09 sidekiq 3.2.5 discourse [0 of 5 busy]
discour+  4249  0.2  9.4 523256 193256 ?       Sl   05:04   0:08 sidekiq 3.2.5 discourse [0 of 5 busy]
postgres   210 76.1  8.4 394940 172408 ?       Rs   04:04  86:37 postgres: discourse discourse [local] DELETE
postgres  7537  1.1  7.2 396824 149248 ?       Ss   05:54   0:02 postgres: discourse discourse [local] idle
postgres  7457  1.8  5.1 396784 106484 ?       Ss   05:53   0:05 postgres: discourse discourse [local] idle
postgres  7493  0.8  5.1 397252 106092 ?       Ss   05:54   0:02 postgres: discourse discourse [local] idle

The postgres entries seem to have a fairly high CPU usage. Is that normal? (I'm kinda assuming it isn't.)

The copy/paste may not be clear, so I've included a screenshot as well.

Thanks,
Kirupa

Posts: 4

Participants: 4

Read full topic

Basic smiley (:smile:) should not have closed eyes

0
0

Daniel Reeves wrote:

This will sound so nitpicky but I'm thrown every time I see a standard smiley. smile The emoticon seems to be conveying the wrong emotion! Like it's laughing so hard its eyes are closed. The tone sometimes feels so wrong to me that I'll resort to prepending a &nbsp; just to make a normal smiley. :)

Posts: 8

Participants: 7

Read full topic

A potential lil fork starting with a hack'd-on trust system

0
0

leathan wrote:

My question:
Are what users like stored somewhere? Can I retrieve those values via redis or postresql?

My goal:
Enable W3C compliant cryptographic micro-transactions via likes to build helpful reputation/trust algorithms.
If your interested in the details read more here.

My plan of action
First I quickly scanned the postresql databases and then the redis database. Now I'm quite a noob when it comes to psql/redis/ruby. So it may take me a while to do this on my own but at least ill learn some new syntax. and Discourse code is insanely beautiful.

More
I only probed around for a couple hours but i figured if I'm to prod around more i might as well open a topic here and ask. Im quite sure this database piggyback strategy would just be a quick HACK and that eventually id have to modify the underlying ruby.

P.S. Thanks again for writing this beautiful beautiful source code.

Posts: 2

Participants: 2

Read full topic

Many images who could be delete?

0
0

bubill wrote:

root@ROSchina:~# docker images
REPOSITORY             TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
local_discourse/app    latest              944d31ea2253        3 days ago          1.49 GB
<none>                 <none>              f3a21e6c3cb7        3 days ago          1.482 GB
samsaffron/discourse   1.0.6               818beea55263        3 days ago          1.038 GB
<none>                 <none>              67e0fb42e4e7        4 days ago          1.482 GB
<none>                 <none>              065b6241ff98        4 days ago          1.482 GB
samsaffron/discourse   1.0.5               3a667f60316b        3 weeks ago         1.035 GB
samsaffron/nsenter     latest              8c777453fc88        4 months ago        3.384 MB
samsaffron/discourse   latest              2c6895c78d2a        4 months ago        1.127 GB
samsaffron/discourse   0.2.4               2c6895c78d2a        4 months ago        1.127 GB

There are many docker images who could be delete ?

Posts: 4

Participants: 2

Read full topic

The system should warn you if you @mention someone who wouldn't be able to see it

0
0

Joshua Frank wrote:

On my site, we had a moderator who had inadvertently not been granted moderation rights. So people were @mention'ing him on posts in the Staff category, but he couldn't see those posts. I'm not sure if he was notified by email or what he did see when viewing such a post, but since he didn't have access to the whole category, it clearly wouldn't work.

I have some other private categories, and this seems like the kind of thing that could easily get messed up. If you start to @mention someone, all users seem to appear in the list, even ones who don't have access. I think it would be much safer to show the popup user list and include all users, but visually indicate in the list when a user doesn't have access, so you're forced to rethink what you're doing (either grant access, or post somewhere else, or PM them).

Posts: 2

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images