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

Remembered Topic location should be "First Unread" post instead of "Last Read" post

$
0
0

David McClure wrote:

Proposal:

To solve the problem cited below, make the default location that one enters a topic be the "First Unread" post rather than the "Last Read" post.

That way, sam would come back to topic #22 at post #7 instead of post #10 or 11.

Continuing the discussion from [How should I disable automatic redirection to the Last reply?]

Posts: 4

Participants: 3

Read full topic


Ability to Jump to First Unread post in Topic Navigator / Progress Bar

$
0
0

David McClure wrote:

Continuing the discussion from How should I disable automatic redirection to the Last reply?:

Maybe doing both of those is overkill... The first one seems more useful.

Here are a few mockups:

  1. First Unread post is before you:
  2. First Unread post is after you:
  3. Simpler alternative
    Pre-populate number in the "go" box with the first unread post:

EDIT just found this old topic discussing some similar stuff:

Posts: 1

Participants: 1

Read full topic

Can we display category in page title?

$
0
0

Daniel wrote:

I find that the category is part of the context which is often required to fully understand what a topic title means.

Is it possible to add the category to the page title? I think it would be useful in search results (as in Google, not Discourse's built-in search).

Cheers,
Dan

Posts: 9

Participants: 3

Read full topic

Staff can delete other user's Bookmarks

$
0
0

cpradio wrote:

Not sure if this is a bug, or by design, but I find it odd that staff can delete another user's bookmarks.

Repro steps:

  • Click on a User's User Card
  • Go to their Profile
  • Go to Bookmarks
  • Click Remove Bookmark.

Posts: 5

Participants: 4

Read full topic

Badge that grants badge-giving privileges

$
0
0

Erlend Sogge Heggen wrote:

What if admins could grant a badge that in turn would grant the receiver the ability to award other users one or more specific badges? The idea came to me when reading about the Translator Badge and how the Transifex API isn't sufficient to automate this.

Scenario #1

One prominent translator of each language is given the "Language Maintainer" badge. This gives them the ability to grant other users the "Translator" badge.

Scenario #2

A game development community would have many different sub-leaders with their own sub-communities of team-mates, contributors and fans. They could make great use of an ability like this, to an extent which an automated system never could.

This badge could also be retractable, meaning an admin could revoke the badge and give it to a new user, passing on the torch.

Posts: 3

Participants: 3

Read full topic

New localizable resources

Why can I not create a topic on the categories page on my site?

$
0
0

Tobias Eigen wrote:

I see that here on meta, I have a CREATE TOPIC button on the categories page:

But on my site where I am admin, I have a CREATE CATEGORY button instead:

I find this annoying because I just changed my frontpage to show categories and my personal workflow for starting topics on all discourse forums including my own is to click on the logo and then CREATE TOPIC. Now I have to click logo, click on a category, then click CREATE TOPIC.

I don't intend to create categories that often, so this feature could be buried somewhere in admin as far as I am concerned, or at the bottom of the categories page somewhere. Or it could just be alongside the CREATE TOPIC button as I have vague recollections it used to be.

Posts: 3

Participants: 2

Read full topic

Watch category on bulk invite

$
0
0

Eric Vantillard wrote:

Continuing the discussion from Bulk Invite Users:

TLDR : what about adding watched categories in bulk invite CSV file ?

I would like to create a school parent discussion forum.
My need is to create a private part of the forum for each class.

What I have already done :

  • Create a user group for the class named CLASS1
  • Create a category named CLASS1 where only user of CLASS1 group can access
  • Bulk invite parents to CLASS1 group.

What is missing is to add CLASS1 category as a watched category.

Is it generic enough to be considered as a feature of the bulk invite feature ?

Posts: 1

Participants: 1

Read full topic


Yet another phpBB3 importer issue: missing attachments…

$
0
0

Joe Seyfried wrote:

Here's something odd: phpBB lets a user attach something to a post without forcing him to put [attachment] tags inside that post. This makes the importer fail miserably on such posts - it simply doesn't see those attachments since the current code only parses the post text and not the attachments table.

The ugly part of this is that the two attachment methods can even be mixed: some attached files can be mentioned in the post text, some not. I guess we should redo the loop code to iterate over the attachment table contents, not all posts. My remaining problem with this is the mixed case: we need to integrate all attachments mentioned inline, and stuff all the rest to the end of the posting open_mouth

@neil, you mentioned this error here:

Some attachments fail to import because of this error:

Couldn't find phpbb_attachments record for post.id = 9876, import_id = 9123, real_filename = blahblah.jpg

…I researched this one: normally, this is just a simple quote of the original posting - phpBB stores the attachment-tag in the quoted text like this:

[quote] Bla… see this: [attachment=0]filename of the stuff.jpg[/attachment]… hilarious, isn't it?!

Interestingly, phpBB just dumps the tags and doesn't show the original attachment (the only thing rendered by phpBB is the real_filename) - we could do two things here: strip the tags, too - and maybe suppress the error message from the import script… wink

Posts: 1

Participants: 1

Read full topic

When is something backported to Stable?

$
0
0

Michael (founder of DiscourseHosting.com) wrote:

When 1.0 came out and the channels were introduced I was really happy to read that bugfixes would be backported to stable.

However, it seems like this is only incidentally done - at least much less than I hoped for. There are quite a few bugs that have been fixed since 1.0 but that have not been solved in the 1.0.x releases.

I was wondering how you decide whether a fix is backported to stable or not?

Posts: 3

Participants: 3

Read full topic

Stop suppressing the Reply To Indicator

$
0
0

cpradio wrote:

Continuing the discussion from Less noisy notifications for prolific topic authors:

Okay, so I understand not wanting to send notifications to the authors, and I don't want to change that. I simply would like to see the reply to indicator consistently on all posts. When posts are at the bottom of the topic, they run the risk of not showing the indicator when they were actually in response to a prior post.

So when the user uses the reply button off of post 1 or on the topic, no reply indicator is needed, as the post is considered to the topic itself. -- Cool, that works for me.

When the reply button used is off of posts 2-through-n, it should have the reply indicator on the post so you can easily see which post the reply was in response to. -- Works most of the time, there is logic that suppresses this indicator in vanilla Discourse.

So my question, if the suppression of the reply to indicator was tied to a Site Setting (default On -- meaning reply to indicators will be suppressed at times -- so it stays in line with current vanilla Discourse), would the Discourse team accept it as a PR?

Edited: FYI, I feel like this was partially discussed previously in a different topic, but I couldn't find it, so I started this one.

Posts: 4

Participants: 2

Read full topic

Full site CDN acceleration for Discourse

$
0
0

Sam Saffron wrote:

Fastly , CloudFlare and a few other CDNs offer a mode where they accelerate dynamic content.

In a nutshell you point your domain IP address at the CDN and the CDN will intelligently decide how to deal with the request.

  • Static content can be easily served from cache
  • Dynamic content can be routed to the site.

This provides some advantages over only shipping static assets which is covered in the CDN howto.

  • You can elect for "shielding" that protects your site from traffic spikes.
  • Dynamic content can be accelerated using techniques like railgun. (note: in general our paylod fits in 1 RTT so this has less of an impact)
  • SSL negotiation can happen at the edge cutting on expensive round trips for negotiation.

If you enable full site acceleration with a CDN it is critical you follow 2 rules

  1. The "message bus" must be served from the origin.

  2. Be extra careful with techniques that apply optimisation to the site, stuff like Rocket Loader can stop Discourse from working. Discourse is already heavily optimised, this is not needed.

To server "long polling" requests from a different domain, set the Site Setting long polling base url to the origin server.

For example, if your CDN is pulling from "http://some-origin.com" be sure to plug in http://some-origin.com/ into the site setting. If you don't your site will be broken.

If you are fronting Discourse using Varnish you probably want to follow the same trick here and bypass Varnish for the message bus requests.

Boring technical notes:

Achieving a working message bus on a completely different domain is quite challenging. Our message bus is aware of which user is polling, the other domain may have no cookie set up so untouched there are two issues. Firstly, you can't even make standard ajax requests cross domain without a huge CORS dance.

Secondly, we needed a mechanism to inform the other domain who the user is so we can poll for the correct information.

When long polling base url is changed, Discourse ships an extra meta tag that shares a "cross domain" auth token. This token is passed using a custom header back to the message bus. The token expires after 7 days or as soon as the user logs off. In future we are probably going to amend it so the token has N uses and is automatically reissued after they pass.

You can see most of the implementation here: https://github.com/discourse/discourse/commit/aa9b3bb35accce498438e22344a3c352a9bc6592

Posts: 1

Participants: 1

Read full topic

How Discourse docker script manages to autostart upon host machine reboot?

$
0
0

Pahlevi Fikri Auliya wrote:

By following default installation of Discourse on Docker, the server manages to autostart upon host machine reboot. As I wish to know more about inner side of Discourse, I wonder how the docker can autostart Discourse image?

Posts: 3

Participants: 3

Read full topic

Customize email content

$
0
0

Alberto Rodriguez wrote:

How can I customize the content of the emails sent to new users? I don't want to include a header, but to be able to change the copy of the email, ideally being able to send it as HTML.

Posts: 2

Participants: 2

Read full topic

Oneboxing a Kickstarter page with a video shows just the video


Images no longer getting lightboxed part 2

$
0
0

Nathan Rijksen wrote:

Continuation of

As that topic got locked without a proper solution.

I am still getting this issue even after updating to stable and doing a full rebuild. Eg:

Posts: 1

Participants: 1

Read full topic

Load balancing for Discourse

Flagging your own Post?

$
0
0

Briancguy wrote:

We've just had a user flag their own post.

This seems like it was likely an accident - and I'm thinking you probably don't want that ability.

Posts: 6

Participants: 5

Read full topic

Old install migrated to 1.1: topic admin button not responding

$
0
0

NTAuthority wrote:

I'm running a Discourse instance, and I noticed some time after upgrading from an old pre-Docker 0.9 version to a Dockerized 1.1 beta (including the latest on the default branch) that the topic administration button (which is now seemingly at the bottom of a topic) does not seem to be doing anything - no menu pops up, no network requests are made, no JS console messages show - nothing at all, indeed.

This occurs on various browsers (Chrome, IE11, Safari, ...) and does not seem to be specific to one single user.

Posts: 1

Participants: 1

Read full topic

Check for updates not working in development environment

$
0
0

David McClure wrote:

I was hoping to play around a bit with how available version updates are shown in the dashboard, but on my development machine (Mac OS X 10.9.5), I'm just getting this:

A check for updates has not been performed. Ensure sidekiq is running.

I have verified that Sidekiq is running. In the dashboard it appears to run successfully anytime I trigger it, but the above message never changes:

In the rails console, DiscourseUpdates.check_version shows this:

=> #<DiscourseVersionCheck:0x007fcc994d6c60
 @installed_sha="1f8e1f8f1744b7ca7ecd852ba557da3244fab1b6",
 @installed_version="1.1.0.beta5",
 @updated_at=nil,
 @version_check_pending=true>

If I try DiscourseHub.version_check, I just get this, though:

SocketError: getaddrinfo: nodename nor servname provided, or not known
from /Users/dave/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:879:in `initialize'

Anyone else seen this? Any thoughts on how to get the version check to work in a dev environment?

Posts: 2

Participants: 2

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images