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

Category filter click/touch target too small, no hover styles

$
0
0

@OlsonDev wrote:

Over a year ago, I asked for the category filter to become left aligned. I'm sure it was fixed long ago but Jeff Atwood stated:

So, what happened to that logic about having big click / touch targets? For the category ux on this meta discourse, the click target is now tiny. In the image below, the only clickable portion is the purple category badge and the letters "ux". This doesn't behave like a standard dropdown/<select> where an option's click target is more akin to a row in a 1-column table. The UX could also be improved by adding a :hover style... a text underline, a background (row) color, anything would improve it.

Posts: 9

Participants: 4

Read full topic


Plugin Outlet after post-date

$
0
0

@cpradio wrote:

I'd like to add a plugin outlet after post-date in post.hbs (see below)

The one customization we do in post.hbs is put the post number behind the post-date (for whatever reason our community likes to reference things by post number).

Having the outlet would save us from having to overwrite the template for this customization

Any objections? If not, I'll submit a PR for it.

Posts: 3

Participants: 2

Read full topic

SEO problems with infinite crawling and remedies

$
0
0

@Amarjeet wrote:

Hi

I am happy to see that tremendous work that you guys have put in to make Discourse the best possible Open Source Flat structured forum. But having said that I have seen that the platform have a few seo navigation and crawl issues. Yes I have seen the NO SCRIPT part if you want to know.

Here are the problems

Having a infinite scrolling makes it hard to implement pagination in the correct sense, so discourse has taken to a No Script policy wherein all pages are put in proper navigation and in the front end has implemented the pushstate() function in discussion pages to make it crawlable. Kudos to you guys for this !

This step itself is great as you guys seem to be doing all the right things but the problem is that you are leaving out a few key component here and there to get the most out of it.

  1. You are making the base page as the canonical version of the entire series of page, so rest of the pages although crawled but are not being indexed by search engines. Solution : Put the page in pagination refer : http://goo.gl/MnkGCW as we cannot have a "all page" as discussion can go into million comments. And do not forget to canonicalize each page in the no script section. i.e., meta.discource.com/t/abcd/1234?page=2 should have the canonical and link tag in the head section of the page as

<link rel="canonical" href="https://meta.discource.com/t/abcd/1234?page=2”/>
<link rel="prev" href="https://meta.discource.com/t/abcd/1234?page=1" />
<link rel="next" href="https://meta.discource.com/t/abcd/1234?page=3" />

  1. NO SCRIPT & PushState() should be same URL
  2. The above solution is not implemented for Category section, can we do the same for them.

That's all folks. Happy Discourse !!!
~ Amar

Posts: 1

Participants: 1

Read full topic

Category notification settings not being applied to topics

$
0
0

@Yuun wrote:

Noticed & tested on Meta.

Steps:

Change category tracking status from profile or the dropdown on the category page.

Expected:

Individual topic settings are changed, e.g. "You will receive notifications because this category is being watched".

Result:

No change in topic status for Watching, Tracking, or Muted category settings.

Posts: 3

Participants: 2

Read full topic

Current user id in plugin.rb

$
0
0

@joebuhlig wrote:

I apologize if I've placed this in the wrong category as I'm new to Discourse and meta.

I've been working on a development version of Discourse and I'm really loving the application. I'm working to build an integration with Braintree, but part of the process requires me to get the user_id of the current user. I couldn't find any documentation on how to call the User object from Ruby. There's a number of cases that show how to do this on the Ember side, but I couldn't find any on the Rails side. I'm probably just being dense and I'm missing something simple, but my brain can't see it.

Posts: 8

Participants: 4

Read full topic

Latest version of Mobile Browser by Opera doesn't work with Discourse

$
0
0

@BCHK wrote:

Not sure what to classify this problem as, but a user has recently upgraded his phone with the newest version of Opera and it doesn't work with Discourse he says.

"Can´t navigate through this site with the latest opera (32.0.1953.96244) on my smartphone

The user is on an android smartphone. Version 5.0.

Just an FYI.

Posts: 3

Participants: 2

Read full topic

Long links break the click tracker

Mobile view with touch capabilities on laptop

$
0
0

@Gratouille wrote:

Hi there,

I'm on a laptop with touch capabilities. In the hamburger-menu, I don't have the "shortcuts" link, because this one is displayed when

return !Discourse.Mobile.mobileView && !this.capabilities.touch;

But what if i'm on a laptop with touch capabilities and I want to display the desktop version, with shortcuts & everything ?

Thx

Posts: 1

Participants: 1

Read full topic


Markdown isn't processed inside tables

$
0
0

@Tom_Newsom wrote:

I know HTML tables aren't top priority, but this is rather annoying

Here's a few common text formats, working as intended:

Link bold code

Inside a table, the same markdown isn't processed:

<table>
<tr>
<td>[Link][1]</td><td>**bold**</td><td> `code`</td>
</tr>
</table>

result:

[Link][1] **bold** `code`

Meanwhile, markdown inside other legitimate HTML is processed normally

<i>[Link][1]</i>

result:

Link

Posts: 2

Participants: 2

Read full topic

Is there an Admin Sandbox?

$
0
0

@vbock wrote:

I'm very interested in exploring Discourse for potential clients, but in general, I don't like to recommend software until I've had a chance to build a prototype community and actually play with the admin interface. Screen shots are nice, but they don't quite get the job done. The 14 day free hosting may not give me enough time to work up a prototype for a customer and for them to get the right folks to review it. Do you guys by any chance maintain a sandbox where people can come in as admins?

Posts: 5

Participants: 3

Read full topic

Notifications, messages missing from profile

$
0
0

@calmh wrote:

This is my left menu thingy in my profile here on meta:

This is the same on my own forum, where I'm admin (1.5beta1):

Notifications and the whole "Messages" section is missing on meta?

(Also Bookmarks, but I think that's because I don't have any bookmarks here. Pretty sure I have notifications and messages though.)


I do have the bookmark glyph in the avatar menu which takes me to an empty page with the profile menu on the left, with nothing selected on it. Similar with "view older notifications" from the bottom of that menu, which actually takes me to a notifications page, with the menu on the left, but nothing selected on it.

Posts: 3

Participants: 2

Read full topic

Error when importing from Vanilla

$
0
0

@huulbaek wrote:

So, I am trying my very best to import a ExpressionEngine forum to Discourse. I rewrote some of the Vanilla Porter to make it work with our version of ExpressionEngine (1.6.9) and got the 1.3gb CSV file. But, when finally trying to import to Discourse this happens:

$ RAILS_ENV=production ruby script/import_scripts/vanilla.rb /shared/export.txt
loading existing groups...
loading existing users...
loading existing categories...
loading existing posts...
loading existing topics...
parsing file...
reading file...
parsing conversations...
parsing user_conversations...
parsing conversation_messages...
parsing permissions...
parsing users...
parsing roles...
parsing user_roles...
parsing categories...
parsing discussions...
parsing comments...
/usr/local/lib/ruby/2.0.0/csv.rb:1823:in `block (2 levels) in shift': Missing or stray quote in line 157118 (CSV::MalformedCSVError)
	from /usr/local/lib/ruby/2.0.0/csv.rb:1816:in `each'
	from /usr/local/lib/ruby/2.0.0/csv.rb:1816:in `block in shift'
	from /usr/local/lib/ruby/2.0.0/csv.rb:1776:in `loop'
	from /usr/local/lib/ruby/2.0.0/csv.rb:1776:in `shift'
	from /usr/local/lib/ruby/2.0.0/csv.rb:1718:in `each'
	from /usr/local/lib/ruby/2.0.0/csv.rb:1732:in `to_a'
	from /usr/local/lib/ruby/2.0.0/csv.rb:1732:in `read'
	from /usr/local/lib/ruby/2.0.0/csv.rb:1291:in `parse'
	from script/import_scripts/vanilla.rb:63:in `parse_file'
	from script/import_scripts/vanilla.rb:17:in `execute'
	from /var/www/discourse/script/import_scripts/base.rb:45:in `perform'
	from script/import_scripts/vanilla.rb:254:in `<main>'

I guess my question is: How would I find out what line 157118 contains? I guess this is a line after the importer has done something to the original CSV? Because the original line looks fine.

Posts: 3

Participants: 2

Read full topic

SMF2 importer crashes with 'stack level too deep' error

$
0
0

@moparisthebest wrote:

I'm trying to run this smf2 import script to import a very large SMF2 forum, 48 hours in it finished importing all 611,071 users, starts importing posts, then crashes with this:

creating posts
\/usr/local/lib/ruby/2.0.0/set.rb:86: stack level too deep (SystemStackError)

If it's relevant we are looking at 3,258,301 Posts in 455,361 Topics total.

I don't really see what could be causing this at a quick glance of the code, but then I've never programmed ruby before either, can anyone provide some hints or help?

Thanks much.

Posts: 1

Participants: 1

Read full topic

v1.5.0beta1 - can't start rails server in development vm

$
0
0

@cpradio wrote:

Okay, so I've pulled latest, ran bundle install, bundle exec rake db:migrate (even though I don't think that is necessary), then ran bundle exec rails s, but it shows

discourse@discourse:~$ cd ~/discourse; bundle exec rails s
=> Booting Thin
=> Rails 4.2.4 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on localhost:3000, CTRL+C to stop

but it doesn't respond to any requests... I'm not seeing anything obvious showing up in the discourse/log/development.log or discourse/log/development_errors.log, where else should I be looking to figuring out why it won't respond to requests?

nm, it seems to be an issue with port forwarding through virtual box. As I can use wget locally and get it to show requests on the rails server. Off to figure out why this may be broken...

Posts: 4

Participants: 2

Read full topic

First Accepted Answer badge not granted

$
0
0

@ashledombos wrote:

Continuing the discussion from Discourse Solved (Accepted answer plugin):

Hello :smiley:
I don't know what I did wrong, but first Accepted Answer query doesn't work for me…

I simply copy/pasted the query:

However no badge is granted for people who should theoretically get one…

Any hint, please?

Posts: 2

Participants: 2

Read full topic


Downgrade to stable?

$
0
0

@downey wrote:

If a site changes from tests-passed to stable, is the app's code base downgraded, or is it more like Chromium OS and you have to wait for stable to "catch up" to where you are?

Posts: 4

Participants: 2

Read full topic

Defaulting to discourse.org CDN for avatars is a privacy and security risk

$
0
0

@konklone wrote:

Discourse 1.4 defaults to serving "letter" avatars from avatars.discourse.org, to speed things up by default and take advantage of global caching.

Unfortunately, this also means that Discourse's servers learn about the browsing activity of all users of Discourse instances which have this default in place, on any page with at least one letter avatar. While Discourse (the company) may be as trustworthy a steward of such information as possible, just having that information in one place is a serious privacy risk (especially if it were stolen or compelled by legal order).

In addition, there is a security risk of avatars.discourse.org being compromised and used to serve malicious images, or to serve redirects to other third-party domains who wish to use collected browsing activity for malicious purposes.

The simplest and most complete way to mitigate the privacy and security risks for Discourse (the platform)'s community is to make the avatar service opt-in, rather than opt-out. You could create a commented out section of site_settings.yml that helpfully shows people how to opt-in, as well.

I'm a little confused as to why a global CDN for avatars is desirable enough to be worth the privacy risk, in the age of HTTP/2 and/or SPDY. Have any tests been done in an HTTP/2 or SPDY environment to measure the performance impact of downloading additional avatars, once the TCP connection to the main domain is already open?

HTTP/2 and SPDY may not always be available for each host, and if the resource is already cached, that's obviously faster than downloading it no matter what -- but it also won't take that long for the browser to cache most of an instance's own self-hosted letters either, even over HTTP 1.1. There's only 26 letters, and not all of them are commonly used.

So to me, the performance benefit here is so negligible that the privacy and security concerns totally outweigh it. I strongly recommend that Discourse revert this feature for Discourse 1.5.

Posts: 19

Participants: 10

Read full topic

Trust Level multiplier improvement ideas

$
0
0

@Mittineague wrote:

Two important considerations
First, we do not yet have Akismet
Second, not many members use the Flag system

For the most part the forum has good Moderator coverage. But there are times when that coverage is a bit thin to say the least. It is during these times that member Flagging is very important in keeping the forum free of SPAM

It has happened on more than one occasion that those members that do Flag reach the max limit.

Currently there are 8 "max" settings. (default values in brackets)
max topics per day [20]
max private messages per day [20]
max likes per day [50]
max bookmarks per day [20]
max flags per day [20]
max edits per day [30]
max invites per day [10]
max topic invitations per day [30]

And there are Trust Level multipliers, but only for Likes per day.
tl2 additional likes per day multiplier [1.5]
tl3 additional likes per day multiplier [2]
tl4 additional likes per day multiplier [3]

My initial thought was to add multipliers for Flags as well.

Second thought was to have "universal" Trust Level multipliers that applied to all of the 8 max per day values.

That is, they would not apply to the rate limits (wait time) but only the max per day (but not the first day max limits)

True, the max flag per day setting can be upped, but as that applies to all members that introduces the (albeit rare) possibility of it being abused.

Posts: 5

Participants: 2

Read full topic

Advertising Plugin for Discourse - Serve Ads on your Discourse Forum (Official Endorsed)

$
0
0

@ladydanger wrote:

Hi :smile:

There is now an officially endorsed advertising plugin ready for use. You can install it and start serving ads on your discourse forum.

It supports:

  • Google Adsense
  • DoubleClick for Publishers (DFP) including custom targeting
  • Amazon Affiliates - Product and Banner Ads.

You can download the officially endorsed Advertising plugin here and start serving ads to your Discourse forum.

Posts: 2

Participants: 2

Read full topic

Minimized reply is cancelled if you have only entered quotes

$
0
0

@nocha wrote:

If you quote reply to posts, the behaviour on minimising your post before posting is inconsistent. Steps to reproduce:

  1. Highlight some text you wish to quote, click on the "Quote Reply" button that appears on the text
  2. Use the little arrow to minimise the reply box. No draft is saved, Your post is lost.
  3. Highlight text and use the "reply" button on the post to start a new post
  4. Use the little arrow to minimise the reply box. A draft is saved.

Why does how you start the reply have any impact on if a draft is created or not?

Posts: 5

Participants: 2

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images