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

Latest Version Bug?

$
0
0

@JamesNorth wrote:

Hi All,

Not a big deal, but I have a couple of forums that are close to latest version, but the admin panel reports that I'm behind a full beta release, despite telling me I'm up to date?

I don't think I've missed anything - did something go wrong with the numbering system?

Posts: 4

Participants: 4

Read full topic


Custom CSS for Discourse

$
0
0

@mitchellk wrote:

Hi folks, since I started using Discourse, I spent a lot of time customizing the CSS for the look and feel of my site.

I'm quite happy with the look and feel I have achieved so far but still tweaking things as us crazy CSS people tend to do.

I specifically want to be able to have alternating row colors between topics on the front page, I found someone's CSS for Discourse that does that but then also lost it in my mess of a hard drive.

I've placed it on a GIST in case anyone wants to try it or even improve on it. (https://gist.github.com/mitchellkrogza/39478b33fbb977a81a1de1fa4886e64b)

You must of course change the logo locations in the CSS but hope some of you can use or adapt this or come back with an even better improved version :slight_smile:

Posts: 3

Participants: 3

Read full topic

Restore backup : error Thor

$
0
0

@Chopper wrote:

I tried to restore a backup with command line (GUI is not an option) but I get this error :

root@forum:/var/discourse# ./launcher enter app
root@forum-app:/var/www/discourse# discourse restore
You must provide a filename to restore. Did you mean one of the following?

script/discourse restore tact-forum-2017-02-01-075306-v20161216101352.tar.gz
root@forum-app:/var/www/discourse# script/discourse restore tact-forum-2017-02-01-075306-v20161216101352.tar.gz
/usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- thor (LoadError)
	from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from script/discourse:3:in `<main>'

Posts: 3

Participants: 2

Read full topic

500px onebox not rendering properly

Force specific users through moderation

$
0
0

@LeoDavidson wrote:

Overview:

This simple Discourse plugin adds a setting where you can list one or more usernames; any user added to the list will always have their posts held for moderator approval.

e.g. If there is someone who can't help but be annoying or disruptive sometimes, despite warnings, but also makes worthwhile posts at other times, then you might resort to this so you can filter their good posts from their bad ones rather than ban them outright.

Alternatives:

Discourse has a built-in option to make Trust Level 0 users require moderation (mainly for forums with spam problems), and you can turn that on and then lock specific users to TL0 so they always require moderation. But if you aren't having problems with spam then putting all new users' posts through moderation can be unwelcoming and means their questions are answered slower.

There are also some other moderation options if you search the admin settings area for "moderation" or similar. I recommend checking them out before using the plugin, as it's always better to use what's built-in if you can, and the plugin relies on extending an internal class/method, which could break in future updates.

On the other hand, if none of the built-in settings fit your needs and you want to moderate one or more people by name, then this plugin is for you.

Installation:

The plugin is on github as usual: https://github.com/leodavidson/discourse-forcemoderation

Follow the Install a Plugin howto, using git clone https://github.com/leodavidson/discourse-forcemoderation.git as the plugin command.

Once you've installed it, go to /admin/plugins and click the Settings button for the plugin.

You'll see a checkbox to enable/disable the plugin. It's disabled by default, so you'll need to enable it.

You'll also see an empty field where you can type the usernames of people whose posts you want to be moderated. As with similar options in Discourse, type a name and then push either | (pipe) or return before typing the next one. Each name will turn into a box. Remember to push return after the last name, and then click the green tick button to save the change.

Posts: 2

Participants: 2

Read full topic

Propose to make the oneboxes for the Discourse tags more informative

Restore backup without reconfiguring Discourse

$
0
0

@Chopper wrote:

It will be great if there is a way to restore a backup without reconfiguring the Discourse from the beginning.

For now, the differents steps to restore a backup from a server to another are :


1 - make a backup
2 - reinstall Discourse with ./discourse-setup and complete the questions : host, smtp, port etc
3 - configure SSL
4 - load the backup


Why should I complete the step 2 (and 3) if all the data are replace by the backup two minutes laters.

Proposition :

The discourse-setup script have an option where a backup is passed in parameter to direclty install the Docker and Discourse regarding the backup variables (host, smtp etc)

Posts: 4

Participants: 3

Read full topic

Crowd Authentication Error

$
0
0

@nishai wrote:

I'm attempting to use Crowd authentication and when I log in I'm receiving an error:

"Sorry, there was an error authorizing your Crowd account. Perhaps you did not approve authorization?"

My production.log file on the container shows:

Started GET "/auth/crowd" for xx.xxx.xxx.xx at 2017-03-01 18:46:36 +0000
(crowd) Request phase initiated.
Started POST "/auth/crowd" for xx.xxx.xxx.xx at 2017-03-01 18:46:41 +0000
(crowd) Request phase initiated.
Started GET "/auth/crowd/callback" for xx.xxx.xxx.xx at 2017-03-01 18:46:41 +0000
(crowd) Callback phase initiated.
(crowd) [retrieve_user_info!] response code: 500
(crowd) [retrieve_user_info!] response body: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>There must be a method name element.</faultstring></soap:Fault></soap:Body></soap:Envelope>
(crowd) Authentication failure! invalid_credentials encountered.
Started GET "/auth/failure?message=invalid_credentials&origin=http%3A%2F%2Fdiscourse-server.example.com%2F&strategy=crowd" for xx.xxx.xxx.xx at 2017-03-01 18:46:41 +0000
Processing by Users::OmniauthCallbacksController#failure as HTML
  Parameters: {"message"=>"invalid_credentials", "origin"=>"http://discourse-server.example.com/", "strategy"=>"crowd"}
  Rendered layouts/_head.html.erb (31.4ms)
  Rendered common/_special_font_face.html.erb (0.9ms)
  Rendered common/_discourse_stylesheet.html.erb (19.7ms)
  Rendered users/omniauth_callbacks/failure.html.erb within layouts/no_ember (60.3ms)
  Rendered layouts/_head.html.erb (0.3ms)
  Rendered common/_special_font_face.html.erb (0.2ms)
  Rendered common/_discourse_stylesheet.html.erb (0.1ms)
  Rendered application/_header.html.erb (21.8ms)
Completed 200 OK in 188ms (Views: 81.7ms | ActiveRecord: 10.3ms)

I know I'm using the correct password. I've gone to the CROWD application and verified that it is correct and that it should work with the crowd application that was created.

Posts: 1

Participants: 1

Read full topic


Help us test the Feature Voting plugin

$
0
0

@erlend_sh wrote:

We've just opened up the long-dormant #feature:integrations category to the general public.

This category is running with @joebuhlig's Feature Voting plugin enabled. We've officially adopted this plugin, and will be working together with Joe to make it stable enough for use with our hosted customers.

Go test things!

Go to the #feature:integrations category and vote your heart out. Do weird things; break it. Add new integrations for people to vote on.

  • Bug reports or feature requests should be posted to the plugin's own topic.

  • Questions about the voting process here on Meta can be asked here in this topic.

The future of the Integrations category and the use of Feature Voting on Meta is not yet determined.

Posts: 2

Participants: 1

Read full topic

Multi-laguage tags search

$
0
0

@acinonyxjubatus wrote:

Hi!
I have several groups of tags on two different languages (en, ru).
In /admin/site_settings/category/basic I have default locale set to Russian
in app.yml I have this lines
params:
db_default_text_search_config: "pg_catalog.english"
and
env:
LANG: en_US.UTF-8

So, now when I try to search tags while creating new topic, when typing I see only results for english words. When I type russian letters it find nothing.
I need both languages for tags. How can I fix it?

Posts: 1

Participants: 1

Read full topic

Organizing Categories (overview needed)

$
0
0

@Seth_Godin wrote:

Forgive the newbie question, but I'm stuck.

I'd like to learn how to delete and reorganize categories.

Delete: Because I want new users to have a quick top-level overview of what the categories are, and things like "lounge" don't fit the model we're creating. It seems as though there are some categories that are hard to delete, and I'm looking in vain for a button to override those and just identify the pre-installed categories and wipe them out.

Reorganize: I hit "Fixed Category Positions" but I'm confused as to how to drag the categories into the order I want users to seem them when they visit the home page.

Thanks for your help.

Posts: 3

Participants: 2

Read full topic

Include the featured image in the post

$
0
0

@Del33t wrote:

I'm trying to include the featured image of my wordpress post to be displayed in the Discourse linked topic. Ideally it would show above all the other post content (regardless on whether or not "show full post"/truncation is turned on or not). Any suggestions would be greatly appreciated!

Thank you

Posts: 2

Participants: 2

Read full topic

Test e-mail "sends" but only I (the creator of the forum) can receive it

$
0
0

@Shannon wrote:

Hey all! I got my company's discourse forum up and running a few weeks back, and everything seemed fine until recently. Now, when someone tries to sign up using the standard form (not using a different service aka google, twitter, etc), they are unable to receive a verification e-mail. What's strange is that it was working during the first week or so after I created it, but now suddenly seems to have stopped!

I ran through all of the troubleshooting suggestions in the e-mail troubleshooting post but can't seem to pin down what's happening. :anguished:

  • I'm using Mailgun for my e-mail service. My domain is verified and all of my DNS records are showing as being set up correctly.
  • There are no strange log messages in the server files or in the admin settings 'logs' panel.
  • My connection is not being blocked by Telnet.
  • All my information is correct in terms of address/port/username/authentication/etc.

Again, the weird thing is that it was working up until ~a week ago, give or take a few days. Now I am able to receive a test e-mail from the forum, but no one else is.

Is there maybe a setting or something I could have accidentally turned off somewhere? This bug is really confusing for me, because Mailgun is obviously working, or else I would not be able to receive e-mails.. it's just that no one else can receive them. :disappointed:

Any help would be appreciated! I'm pulling my hair out over this.

Thanks! :blush:

Posts: 1

Participants: 1

Read full topic

Show disabled delete button when category can't be deleted

$
0
0

@erlend_sh wrote:

Continuing the discussion from Organizing Categories (overview needed):

When you're just scanning the category Edit page to figure out how to delete the category, it's not immediately obvious how to do just that:

I think it'd be better if we showed the delete button, clearly disabled. Clicking the delete button would invoke a popup modal explaining why the category can't be deleted.

Posts: 1

Participants: 1

Read full topic

Development environment : running sidekiq and discourse at startup

$
0
0

@jack2 wrote:

My development environment is a dedicated Ubuntu server (my project involves two web apps interacting with each other, too heavy and too complicated to set up locally). On this server, I would like to run sidekiq and discourse at startup. I played with rc.local, but couldn't figure it out. Anyone succeeded with this?

Posts: 10

Participants: 5

Read full topic


WP Discourse 1.2.5 Release

$
0
0

@Simon_Cossar wrote:

The latest release of the WP Discourse plugin (1.2.5) is available on the WordPress plugin repository or on GitHub.

Most of the changes in this release have to do with reorganizing the admin code to allow other plugins to extend the wp-discourse plugin and use it's options pages. There is an example of that here: https://github.com/scossar/wp-discourse-latest-topics. It adds a [discourse_latest] shortcode that displays a list of the latest Discourse topics. Topics can be refreshed when they appear on Discourse with a webhook. See the comments in that plugin if you're looking for ideas.

One useful change in this release is that you can now set the 'Max Visible Comments' to 0. This is useful if you would like to have a link at the bottom of your WordPress post to your Discourse forum, but don't want to display Discourse comments on WordPress. The text for that link can be set in the 'Start Discussion' text setting. I'll change the copy on the options pages a bit to make that clearer.

Another change is that when the plugin is activated on a server with a php version of less than 5.4, it will now, hopefully, give the user a friendly message that they need to update their php version.

One recent change to the plugin that hasn't been promoted much yet, is that you can now use Discourse to authenticate users on your WordPress forum. Thanks to @iamntz for doing the work on that!

Posts: 3

Participants: 2

Read full topic

Min Password Length vs Block Common Passwords

$
0
0

@LeoDavidson wrote:

These two site settings have some interplay:

  • Min Password Length (default: 10)
  • Block Common Passwords (default: on)

We figured a minimum password length of 10 was a bit too high and relaxed it to 8, but later were surprised to see that "password" was now allowed as a password, despite the other option still being on.

Digging into common_passwords.rb, it turns out the list of common passwords which Discourse checks against has been filtered to remove all the ones under 10 characters. Makes sense for the defaults.

Changing the password list looks like a bit of a pain as it's stored inside the Docker container and the path isn't configurable. A plugin could probably override it but I'm not sure that's the right approach or if the plugin would be able to hook things early enough (unchecked).

On our forum, we'll go back to the default 10 character minimum for a simple life. So we don't really need anything, but maybe one or more of these makes sense:

  • The password list could be configurable.
    • Pro: May also benefit non-English forums.
  • The default password list on disk could be unfiltered, then filtered as it is loaded into memory, based on the minimum length setting.
    • Pro: Retains the speed and memory benefits, at a minor cost to startup time.
    • Con: Would require new code to re-load/re-filter the list if the setting was changed, or admin education message telling them the server has to be restarted.
    • Con: For multi-site, the password list is stored in memory once for all sites. If each side had different minimum length settings then new code would need writing.
  • The minimum length setting could be moved into app.yml.
    • Pro: Could do the filtering at rebuild time.
    • Con: Setting is harder to find, and takes the site down to change.
  • Display a warning that reducing min_password_length effectively breaks block_common_passwords.
    • Pro: Probably the easiest. It could simply be added to the option description.
  • Or something else. People who know Discourse better may have better solutions.

Posts: 8

Participants: 6

Read full topic

Installation failing on CentOS 7.3

$
0
0

@DanielMarquard wrote:

I've never had a problem running Discourse on CentOS in the past, but I'm suddenly unable to build it for some reason on a new CentOS 7.3 EC2 instance.

While building, the errors begin with:

I, [2017-03-02T05:29:38.051256 #13]  INFO -- : > cd /var/www/discourse && chown -R discourse /var/www/discourse
chown: cannot access '/var/www/discourse/app/assets/javascripts/discourse/helpers/max-usernames.js.es6': No such file or directory
chown: cannot access '/var/www/discourse/lib/locale_file_walker.rb': No such file or directory

...and the build fails with:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && chown -R discourse /var/www/discourse failed with return #<Process::Status: pid 275 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem update bundler", "chown -R discourse $home"]}

Although not my usual approach, I followed the supported directions and continued to get identical errors. Here are the supported steps I've used on CentOS 7.3 with Docker 1.13.1 (build 092cba3) to reproduce the errors:

mkdir /var/discourse
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
./discourse-setup

Posts: 10

Participants: 4

Read full topic

How to publish a thumbnail image recording

$
0
0

@11145 wrote:

What string to add additional entries to publish a thumbnail image. At the moment I have the following code:

{excerpt}<br>

#<KBD>[<?php esc_html( self::get_text_options( 'published-at-text' ) ); ?>]({blogurl})</KBD>

----------
<KBD>[🖥 site →](https://site/)</KBD> <KBD>[📆 site1 →](https://site/)</KBD>

Posts: 2

Participants: 2

Read full topic

Unlisting topics that dont have a reply for embedded comment

$
0
0

@hnaseri wrote:

Is this feature available for embedded discourse comments now? I was reading the discussion about the issue of embedding discourse comments for websites that have thousands of blog posts. but I didn't found what was the end result to solve the problem.

Posts: 2

Participants: 1

Read full topic

Viewing all 60599 articles
Browse latest View live




Latest Images