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

Site architecture: Dreamhost / Heroku / Discourse at DigitalOcean:

0
0

Doug Harman wrote:

I'm confused by the "architecture" of setting up my site. Dreamhost as DNS registar / host, Heroku as custom domain (www.my-custom-domain-name.com) for my application - which will reside there, Discourse as subdomain (www.discourse.my-custom-domain-name.com) at DigitalOcean. Does that work? Thanks!

Posts: 2

Participants: 2

Read full topic


Title on User Card is missing from Full Profile

0
0

Dean Taylor wrote:

The title of a user as displayed here in the User Card:

Is missing from the full profile:

My issue is that we link to the full profile - but people don't know who they are contacting if the user has not filled in their Bio - this is quite common.

Posts: 3

Participants: 2

Read full topic

Minimal Topic List Design with Sidebar for Navigation

0
0

Lowell Heddings wrote:

Continuing the discussion from Simple Sidebar Theme:

Very... rough, and cluttered and not visually what I really want. But this is what I want to accomplish as far as navigation goes. The navigation scheme is instantly understandable for anybody that has spent any time on the web.

If you are inside of a category the category selector dropdown thing could come back (and the sidebar could change as well to be subcategory or something, I dunno)

The general idea for my redesign is this:

Navigation in Discourse is confusing for many regular people (based on the constant complaints I've seen), and the more powerful navigation / filtering options are buried for power users to the point where they are useless (also based on complaints including mine). For instance, How do you find all the topics that you posted into from the interface easily, and see if there have been responses that didn't directly reply to you? Up until recently, bookmarks were buried so far that you'd get a 1-Up for finding them. mushroom

Meanwhile, the topic list page is a lot of wasted space and unnecessary visual clutter, as illustrated by the minimal design discussions gaining momentum here on Meta.

But I think the biggest problem is that 1100 pixels is just too wide to scan your eyes across while going down the list. Most content websites fit their content into a 600-700 pixel column for best readability, and the same is true for a list of topics. The full-width topic list is the same sin that forums have been using forever, and the success of Twitter, Facebook, and everybody else with modern interfaces kinda illustrate that you don't go full-wide unless you are showing off a visual medium like pictures or videos.

So, the ideas behind the redesign, which I'm still not sure how to accomplish yet but will eventually figure out:

  • Topic list uses @sam's really nice minimal design, but the width is reduced to 700-800px make room for a sidebar.

  • Main menu consists of Latest | Unread | My Posts (which is any topic you've posted in at all). These are really the most important things that people want to get to quickly, and it keeps the main navigation really simple and easy to understand. There are too many options right now.

  • Categories drop-down and Categories page are removed from the main menu for the main Latest / Unread / New pages. The Categories drop-down shows up only if you are inside of a category page. It's way too confusing otherwise, and I've basically never used it on the front page. Note that it is necessary and works well once you are inside of a category, because you need a visual clue right at the top to let know where you are in the navigation (breadcrumbs). By limiting the top nav to only the 3 I mention above it keeps the menu clean even with the category drop-down visible.

  • Sidebar menu has these options (theoretically configurable per forum and per view)

    • Category List (top level only)
    • Alternate Topic View Filter list (this could potentially be collapsable or something)
      • New Posts (Since X criteria or something)
      • Bookmarked
      • Posts I've Read
      • Top Posts (in x timeframe)
    • Related or Popular topics (if you are in a topic view)
    • About box (for various links you'd put in the footer like FAQ, Rules, Contact, About)
    • Slot for a regular 300x250 advertisement if one should choose to do that.

The sidebar should be kept really minimal, clean, and simple. It's also a good place to put extra stuff that isn't useful enough to be in the primary navigation, but shouldn't be completely buried either. Categories are really important, but it's impossible to visually scan and see a list of categories right now when you are on the front page. (And unlike some forums, I would never want to make the categories page the default)

Notes on the "New" tab: The problem with this tab is two-fold: One, when you have just a couple of new posts to look at, you don't need this tab at all, because they show up on Latest. And two, when you have a ton of new posts to look at... the tab gets completely out of control almost immediately. You're better off putting this into a secondary navigation area like the sidebar.

...

This is my eventual goal, but there's no time frame on it, it's just something I'm hoping to move towards and figured I'd post to see what other feedback I might get out of it.

Posts: 5

Participants: 3

Read full topic

Tracking a category from a mobile device

0
0

wrote:

Can someone track (or watch) a category from their Android device? i know that you can do that from preferences, but i was hoping to see a drop down list while viewing a category, this is possible from the desktop view, see below, but it doesn't seems to work from my mobile.

Posts: 4

Participants: 3

Read full topic

Full name @mentions

0
0

Leo McArdle wrote:

It would look more elegent in posts if @leo (for example) was presented as (or at least the user had the option to present it as) "Leo" or "Leo McArdle".

Posts: 1

Participants: 1

Read full topic

Problem With Text Editor Using Kindle Fire Tablet

0
0

Charles Wilmott wrote:

This quite a big bug

When I try writing a message using my kinde fire tablet.

  • You can not see the text your typing in the editor. All you can see it the editor
  • The preview text on the right takes up to much room which makes it hard to see the message your typing
    in the preview and in the editor

Posts: 3

Participants: 2

Read full topic

New Categories Missing from /categories Page

0
0

Brian Boatright wrote:

Brand new install of Discourse v1.2.0.beta4 on Linode.

I created a new category "Manufacturers" with a slug of "manf". After a few minutes, on another browser that has an annon user browsing the category will show up in the dropdowns but not on the /categories page.

Is there a setting to enable a category or sub-cat to be displayed on the Categories page?

I tried it again with "test" category and it had the same issue.

Posts: 7

Participants: 4

Read full topic

Script execution "Top of pages" vs "HTML Head" - Regression?

0
0

Dean Taylor wrote:

I used to have some script in the "Top of pages" section...

However recently I noticed it's no longer getting executed.

I rewrote the JavaScript so it could work in "HTML Head" where it does get executed.

The 4 is where I was putting the JavaScript script tags previously.

Posts: 5

Participants: 4

Read full topic


Admin Menu selection highlight missing

0
0

Dean Taylor wrote:

When you click to the Text Content section under Customize the Customize menu item looses its highlight.

This highlight issue also occurs with:
- all other Customize sub-menu items other than Colours.
- Groups top-level admin menu when a group is selected.
- Badges top-level admin menu when a badge is selected.
- all other Users sub-menu items other than Active.

Posts: 4

Participants: 2

Read full topic

Force badge as user title?

0
0

Luke wrote:

Is there anyways I could force a badge to be a user's title? Is this something I would do with an SQL query, could someone give me an example?

Posts: 1

Participants: 1

Read full topic

Custom facebook button being overwritten by certain interactions with the forum

0
0

Shayden Martin wrote:

We have a custom inserted facebook button on the header bar, that indicates to users that they can register to the forum with facebook before the registration modal is actually displayed. Right now this button just mimics the action of the register button. This is done via the css/html editor in the Discourse admin panel, please see code below:

<script type="text/javascript">
    $(document).ready(function() {
        var action_id = $('.sign-up-button').attr('data-ember-action');
        var fb_button = '<button class="btn btn-primary facebook-login" data-ember-action="' + action_id + '">Connect with fb</button>';
        $('.sign-up-button').after(fb_button);
    });
</script>

The only issue with this button is that certain interactions with the forum, such as opening a topic, seem to override the header without triggering a new page load, thus our button is not inserted in the newly loaded header.

As a quick fix, I have the same script that inserts the button in a jquery event listener to replace it in case the header is re-loaded but the page is not. See below:

<script type="text/javascript">
    $(document).ready(function() {
        var action_id = $('.sign-up-button').attr('data-ember-action');
        fb_button = '<button class="btn btn-primary facebook-login" data-ember-action="' + action_id + '">Connect with fb</button>';

        if ($('.facebook-login').length < 1 ) {
            $('.sign-up-button').after(fb_button);
        }

        $('body').mousemove(function() {
            if ($('.facebook-login').length < 1 ) {
                $('.sign-up-button').after(fb_button);
            }
        });
    });
</script>

However, this is obviously not an ideal solution.

I was hoping that someone with more Discourse/EmberJS experience might be able to offer a better solution, so that end user does not notice when the button is inserted after a header reload, as is, if the user does not move the mouse it is quite noticeable that the button is not added immediately with the header.

Thanks for any help you can offer.

Posts: 9

Participants: 3

Read full topic

What is the best way to get post data for a dashboard using the API?

0
0

dirkcuys wrote:

I want to create a dashboard that displays posts over time. Currently I'm pulling the data from discourse using the API:

  1. First I get all the topic using forum.example.net/latest.json
  2. Then I get post ids in the topic post_stream: forum.example.net/t/XX.json
  3. And finally I get all the posts: forum.example.net/posts/YY.json

But this is painfully slow - a request for every topic and a request for every post!

Is there a better way to get the data using the API?

Posts: 2

Participants: 2

Read full topic

Allow all users to say "I forgot my password" after initial import to new Discourse site

0
0

Ben M wrote:

I've just completed a (somewhat lengthy) migration of a phpbb3 site to Discourse. The migration brought across lots of users, some of whom won't be active anymore. When the site went live nobody had a password, but they did have a username (their old username from the phpbb3 site). For this reason I suggested that everyone should go and click the "I forgot my password" link on the Discourse Log In dialog but this has quickly lead to most users seeing this

Am I think there is a rate limit applied to the 'forgot password' links? Does this apply across all users? If so and there's no way for me to adjust that limit what other options do I have to get all my users onto my site quickly? Right now they're not getting a very good first impression.

Posts: 1

Participants: 1

Read full topic

Translation for Bookmark missing

[en.bookmarked.title] below each topic


Rename AVATAR to PHOTO in preferences

0
0

Tobias Eigen wrote:

My discourse is not for techies and many have not participated in forum communities before. They don't know what avatar means on the preferences, so renaming it or at least explaining it with some helper text e.g. "Picture associated with you displayed throughout this site" would go a long way to getting them to actually update their avatar.

Posts: 1

Participants: 1

Read full topic

Vagrant login fails with 'unknown error' caused by CSRF

0
0

Benjamin Kampmann wrote:

Hey folks,

pulling latest changes of master onto my development machine and running it from vagrant, I seem to not be able to log into the discourse instance any more. It fails with some CSRF-token issue although the UI seems to be fetching exactly that. But all I get is "unknown error":

Here is the entire output:

[vagrant@precise32:/vagrant (master)]$ rails s
=> Booting Thin
=> Rails 4.1.8 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Thin web server (v1.6.2 codename Doc Brown)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
D, [2015-01-12T11:34:48.039699 #4165] DEBUG -- :
D, [2015-01-12T11:34:48.040763 #4165] DEBUG -- :
I, [2015-01-12T11:34:48.041537 #4165]  INFO -- : Started GET "/session/csrf?_=1421079762710" for 10.0.2.2 at 2015-01-12 11:34:48 -0500
D, [2015-01-12T11:34:48.485243 #4165] DEBUG -- :   ActiveRecord::SchemaMigration Load (1.6ms)  SELECT "schema_migrations".* FROM "schema_migrations"
I, [2015-01-12T11:34:48.723310 #4165]  INFO -- : Processing by SessionController#csrf as */*
I, [2015-01-12T11:34:48.726360 #4165]  INFO -- :   Parameters: {"_"=>"1421079762710"}
I, [2015-01-12T11:34:49.860057 #4165]  INFO -- : Completed 200 OK in 1131ms (Views: 0.9ms | ActiveRecord: 0.0ms)
D, [2015-01-12T11:34:49.880302 #4165] DEBUG -- :
D, [2015-01-12T11:34:49.880599 #4165] DEBUG -- :
I, [2015-01-12T11:34:49.881073 #4165]  INFO -- : Started POST "/session" for 10.0.2.2 at 2015-01-12 11:34:49 -0500
I, [2015-01-12T11:34:50.073285 #4165]  INFO -- : Processing by SessionController#create as */*
I, [2015-01-12T11:34:50.077437 #4165]  INFO -- :   Parameters: {"login"=>"eviltrout", "password"=>"[FILTERED]"}
W, [2015-01-12T11:34:50.080766 #4165]  WARN -- : Can't verify CSRF token authenticity
I, [2015-01-12T11:34:50.096167 #4165]  INFO -- :   Rendered text template (0.1ms)
I, [2015-01-12T11:34:50.100482 #4165]  INFO -- : Filter chain halted as :verify_authenticity_token rendered or redirected
I, [2015-01-12T11:34:50.103962 #4165]  INFO -- : Completed 403 Forbidden in 23ms (Views: 16.3ms | ActiveRecord: 0.0ms)

Did latest bundle install and am on a clean latest vanilla master. Any idea(s) how to fix this? Or at least a hint of what might be broken?

Posts: 2

Participants: 1

Read full topic

Changing the hostname

0
0

Jarrett Colby wrote:

I installed Discourse with Docker per the official instructions.

At the time of installation, I didn't have a domain name ready, so I just used an IP address as the hostname. Later, I got the domain name working, and Discourse is accessible via that hostname.

However, the IP address--which is no longer the correct hostname for this installation--still shows up in various places. One such place is outgoing emails. When a user receives a notification of a new post, the link back to the topic has the IP address as the hostname.

I've replaced the IP address where I could find it:

  • In the host OS at /var/discourse/containers/app.yml, the DISCOURSE_HOSTNAME key.
  • Inside the Docker container at /var/www/discourse/config/discourse.conf, the hostname key.

I tried SiteSetting.refresh! from the Rails console. I also tried restarting the Docker container with ./launcher restart app.

I see that in app/views/email/_post.html.erb, the links go to Discourse.base_url. From the Rails console, I see that Discourse.base_url is correct:

root@discourse:/var/www/discourse# rails console production
irb(main):001:0> Discourse.base_url
=> "http://myhost.example.com"

Yet the outgoing emails still have the IP address instead of the correct hostname. Any idea why that would happen, and how it might be fixed?

Posts: 5

Participants: 3

Read full topic

Three column topic view, each their own category

0
0

se oli tonnin seteli wrote:

Continuing the discussion from Categories page - category / subcategory stats inaccurate to user:

Say we have a hobbyist forum with just three main categories: shop talk, classifieds and off topic.

Because of that, we prefer not to click around too much and might as well have our main view consist of three columns, and each would include a 20 topic listing of a single parent category not much unlike "latest" view sorted by date.

We then use child categories for buying and selling topics, and they would be visible in the listing. Latest, unread and new are still visible and can be used as originally intended.

I suspect, judging how category page works, that this is not just a simole css hack or a feature in the works, but what exactly has to be tampered with to achieve this?

Posts: 3

Participants: 2

Read full topic

Admin name changes don't appear in logs

Viewing all 60309 articles
Browse latest View live




Latest Images