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

Translating Discourse with Transifex


Javascript Plugins post es6

$
0
0

Benjamin Kampmann wrote:

Following up on the changes for ES6, I noticed my tagger plugin isn't working anymore.

It boils down to a reference problem with the class.reopen({ statements as the following code:

Discourse.ComposerController.reopen({
	actions: {
		removeTag: function(toRm){
			this.get("content.tags").removeObject(toRm.toString());
		}
	}
,});

gives me a TypeError: Discourse.ComposerController is undefined.

I saw that @eviltrout moved the ComposerController into the new shiny .es6 framework but now I am unable to reference and can't really follow how I should be able to. A few additions to also be able to ship .es6 files in plugins didn't yield any results. Can someone enlighten me how I/we/plugin authors can reference these classes post es6 so I can fix my plugin?

Posts: 6

Participants: 2

Read full topic

Google Universal Analytics don't update the location

In threads, user title is linked incorrectly

$
0
0

Michael Downey wrote:

Continuing the discussion from Usernames on top, lifting username length restrictions:

This looks great! Only problem is that the titles are currently being linked to the user's primary group, even if that primary group has nothing to do with the title being used. It's a bit confusing, especially when the title has nothing to do with the group linked (which can often be the case, as it is for us).

(If the user does not have a primary group specified, the title is not linked to anything.)

Posts: 7

Participants: 4

Read full topic

Real names not showing up in email notifications

$
0
0

Tobias Eigen wrote:

Real names are not showing up in email notifications. Instead it shows the username of the user who wrote the post. This seems to be a bug since elsewhere in discourse it displays the real name when that feature is turned on in admin.

Posts: 2

Participants: 2

Read full topic

Email in fails silently when it doesn't work for whatever reason

$
0
0

Tobias Eigen wrote:

I wrote an email to a category that failed to post, presumably because it had file attachments that were too big to be allowed. The email languished in the POP mailbox and was never imported, and no error messages appear to have been saved to the log or emailed to the sender or site owner's mailbox.

I can understand it not accepting the message, but it seems to me that a reply should have been sent to the sender at least with an error message. Without this, I am concerned that my users will lose faith in discourse for sharing files as they might with a mailing list, which is what I am trying to replace with discourse. smile

Is there a list going somewhere of "known issues" with the email system? I would like to test it out extensively and make sure it's working well enough and understand the known issues.

Posts: 3

Participants: 2

Read full topic

Modifying (permanently) entry in server.en.yml

$
0
0

Paul Apostolos wrote:

I'd like to modify the reply_by_email string in server.en.yml. What is the best way to make a change and have it persist even if Discourse is updated?

I know I can modify the file directly, but then I need to be careful to remember to make that modification every time Discourse is updated (right?).

Posts: 1

Participants: 1

Read full topic

Should Features be Core or Plugin

$
0
0

Mittineague wrote:

Continuing the discussion from Repetitive gutter links?:

I can see both sides and I think a balanced approach is best.

First, "You can't please all of the people all of the time" is very true.

Some apps go for a bare-bones Core to keep it light weight. Users need to use plugins for just about everything.

Some apps succumb to feature bloat in an effort to do everything. The app is heavy, and for most users many features aren't ever used. The features also present users with a lot of configurations done either by editing files or a complex ACP

IMHO either of these extremes is not the optimal solution.

Perhaps the best way is to have anything not "essential" be a plugin, and when a certain number of users find that plugin useful then consider incorporating it into the Core?

Posts: 3

Participants: 3

Read full topic


New site setup questions

$
0
0

Justin Gordon wrote:

  1. Any single page for recommendations for image assets? Like best sizes, etc. My designer is asking me.

  2. On the TOS and Privacy Policy, any recommended open source ones for Discourse projects?

I haven't been this excited to try out a piece of technology since I got my first Commodore 64 right after they launched. smiley

Posts: 2

Participants: 2

Read full topic

Can't run rspec - "color_schemes" does not exist

$
0
0

Kane York wrote:

I just booted the VM up again after learning about vagrant suspend (which will save a lot of time, given my frequent full shutdowns), and tried to run the tests, but got a... database statement error?

[vagrant@precise32:/vagrant (translation_overrides)]$ bundle exec rspec spec/components/post_revisor_spec.rb
2014-05-12T17:46:10Z 5362 TID-164y2s INFO: Sidekiq client with redis options {:url=>"redis://localhost:6379/1", :namespace=>"sidekiq"}
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/test/unit/testcase.rb:8:in `<module:Unit>`
SiteSetting(id: integer, name: string, data_type: integer, value: text, created_at: datetime, updated_at: datetime)

--- snip ---

TopTopic(id: integer, topic_id: integer, yearly_posts_count: integer, yearly_views_count: integer, yearly_likes_count: integer, monthly_posts_count: integer, monthly_views_count: integer, monthly_likes_count: integer, weekly_posts_count: integer, weekly_views_count: integer, weekly_likes_count: integer, daily_posts_count: integer, daily_views_count: integer, daily_likes_count: integer, yearly_score: float, monthly_score: float, weekly_score: float, daily_score: float)
/vagrant/vendor/bundle/ruby/2.0.0/gems/seed-fu-discourse-2.2.1/lib/seed-fu/runner.rb:46:in `eval`: PG::Error: ERROR:  relation "color_schemes" does not exist (ActiveRecord::StatementInvalid)
LINE 5:                WHERE a.attrelid = '"color_schemes"'::regclas...
                                          ^
:               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
                FROM pg_attribute a LEFT JOIN pg_attrdef d
                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
               WHERE a.attrelid = '"color_schemes"'::regclass
                 AND a.attnum > 0 AND NOT a.attisdropped
               ORDER BY a.attnum
	from /vagrant/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:815:in `block in exec_no_cache`
	from /vagrant/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log`
	from /vagrant/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument`

--- snip ---
	from /vagrant/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun`

It's saying that "color_schemes" doesn't exist, which is weird, because I just saw the db:migrate adding a lot of those:

 - ColorSchemeColor {:id=>89, :name=>"topic-list-star-color", :hex=>"cccccc", :color_scheme_id=>1}
 - ColorSchemeColor {:id=>90, :name=>"topic-list-starred-color", :hex=>"e45735", :color_scheme_id=>1}
 - ColorSchemeColor {:id=>91, :name=>"quote-background", :hex=>"f5f5f5", :color_scheme_id=>1}

Anyone got this before? Should I try to fix this somehow? Should I trash Vagrant and start up a new one?

Posts: 3

Participants: 2

Read full topic

Re-sync avatars to WordPress comments

$
0
0

Florian Beer wrote:

After moving Discourse to a new host (and Docker) all the avatars in the linked WordPress' previously existing comments don't show up anymore. I figure this is because the WordPress database still has the old avatar URLs saved.
Is there any way to re-sync the avatar URLs so they link to the current Discourse user avatars?

Thanks in advance for any ideas on that topic.

PS: I'm not reluctant to write a small PHP script to e.g. fetch the avatars or something like that. I just need some pointers in the right direction.

Posts: 1

Participants: 1

Read full topic

Intergrating Discourse and SmartJob Board

$
0
0

ArtTechSpace wrote:

Hi

I'm looking at using SmartJobBoard (http://www.smartjobboard.com/) as the main function of my site and they say that forum software can be integrated. Can Discourse be integrated? I like using Discourse and I have established users so I want to keep using it.

Thanks
Sarah

Posts: 2

Participants: 2

Read full topic

Repetitive "Subcategories" on Categories page

$
0
0

Johan wrote:

Wouldn't it be cleaner to drop the word "Subcategories", or atleast change it to something smaller? It is repeated quite often and it takes up a lot of space.

I made a draft from the OpenMRS forum with removed Subcategories, and enlarged the Category name so the size itself made it clear it was a subcategory:

Thoughts?

Posts: 3

Participants: 3

Read full topic

Create account email address check should be case-insensitive

$
0
0

David McClure wrote:

to reproduce:

  1. sign up as joe@example.com
  2. sign up on same forum as JOE@EXAMPLE.COM
    expected: "sorry, that email has already been taken"
    actual: new account is created

Posts: 6

Participants: 4

Read full topic

Looking for help updating an instance of 0.8.2

$
0
0

cyanbane wrote:

I looked around to see if there was a general "to hire" thread and didn't see one, if there is one apologies - mod feel free to let me know.

I currently am running a small instance of Discourse I set up a awhile back for a small MMO site. It is currently running 0.8.2 and I am looking to hire someone to update Discourse for me as well as document the update (nothing fancy, just a list of steps done and what I can do in the future). The site is small (30ish users) but we utilize the site a decent amount for general gaming discussion. The site is not for profit, so I am not looking to spend a ton. It is being hosted over at Digital Ocean on an image I setup using @baus instructions awhile back. If you are interested, please send me a PM and we can discuss.

Posts: 3

Participants: 3

Read full topic


"Requires attention" PMs are not visible to new mods

$
0
0

Kane York wrote:

Continuing the discussion from Moderators can access PMs that they are not invited to:

Reproduction steps:

  1. Flag a topic with a custom reason
  2. Appoint a new moderator (Test Account Blue)
  3. New moderator visits flags page
  4. New moderator clicks "Reply"

(This page also demonstrates another bug: Moderators still get the flag notifications for topics they don't have access to, which they can't view or handle the flags on. Not a big information leak, but quite the annoyance.)

I think it's about time that we got group-based PM permissions that persist across group membership changes, even if there's no UI frontend to create that kind of PMs and they are only created through flagging.

Here's my Shitty Mockup™:

(6. The flag is still visible to mods appointed before the flag occured, as Test Account Orange was)

Posts: 2

Participants: 2

Read full topic

Notify Moderator translation missing

$
0
0

Mittineague wrote:

During testing

  • post Flagged as Notify Moderators
  • moderator Agrees, PM sent

The PM says
... your post .... was hidden due to community flagging
translation missing: en.flag_reasons.notify_moderators

I thought this might be a missing setting, but @HAWK thinks it may be a bug.

Verdict?

Posts: 2

Participants: 2

Read full topic

Login required Require authentication to read posts not saving value in settings when filtering immediately

$
0
0

Justin Gordon wrote:

When I go to Admin, settings, Users, if I click

Require authentication to read posts

and I have Public registration is disabled.

Then when I try to set Require Authentication to read posts, the setting is not shown as on, but it is saved.

But then when you go back to the page, it then shows as being saved. Maybe this has something to do with filtering what's not default.

Posts: 4

Participants: 2

Read full topic

Screen hangs on new install when click Reply as new Topic

Import production data into Vagrant for mail testing

$
0
0

Paul Apostolos wrote:

I am trying to import a backup into the Vagrant image so I can do some testing with our production data .

Can this be done? I keep getting an error about not enough space (the backup file is 5.2 MB)

Posts: 4

Participants: 3

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images