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

Queries from starters


Yahoo auth error 502 on meta.discourse.org

Newlines at the end of list items should not yield s

$
0
0

@heinrich5991 wrote:

Newlines in list items are treated no different than normal newlines. This results in

<ul>
<li>Item 1
<li>Item 2
</ul>

not being the same as

<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>

The first second results in extraneous space between the list elements, the first one doesn't. Both contain unnecessary <br>s though, although in the first case they are ignored by the browser.

I get that this is a useful feature outside lists, but it's not what the user expects inside of lists, a new list item automatically gets a new line – no need to generate <br> in either of the above cases.

Posts: 1

Participants: 1

Read full topic

503 Service Unavailable after error about space

$
0
0

@pine wrote:

Hi, just setting up and configuring a new discourse site, first time with discourse, had the site running perfectly fine on an Ubuntu server, when all of a sudden it complained about something about being out of space for download to local? I was planning on wiring it to my S3 account anyway so I went to admin to do this, ticked the upload to s3 option, all good, pasted my AWS credentials and the fields started showing a generic error message under them. I refreshed the page and then got the 503...

Where can I look for logs in the docker container, and any idea why the 503 would start kicking up. I tried running launcher rebuild app but it still resulted in the app being unavailable.

Posts: 2

Participants: 1

Read full topic

Install Discourse, change docker port 80

$
0
0

@Zonork wrote:

Hi, i want install Discourse, i have docker but i need change the port server from 80:80 for 10080:80 because my por 80 is not free.

Posts: 1

Participants: 1

Read full topic

Beginner's Guide to Creating Discourse Plugins Part 3: Custom Settings

$
0
0

@eviltrout wrote:

Previous tutorials in this series:

Part 1: Creating a basic plugin
Part 2: Plugin outlets


Site Settings

If you visit /admin/site_settings on a Discourse you have administrator capabilities on, you'll see a list of configuration settings. Out of the box, we provide what we think are the best settings for a Discourse install, but we also understand that people want to tweak their installations to make their forum just the way they want it.

Chances are, unless your plugin is very simple, you'll want to add settings that the users of your plugin can change and use to configure functionality. Fortunately, this is quite easy to do!

config/settings.yml

The first thing you'll need to do is create config/settings.yml within your plugin folder. This file will outline all the settings your plugin will need. Here's an example file:

plugins:
  awesomeness_enabled:
    default: true
    client: true
  max_volume:
    default: 10
    client: true

The file needs to be in YAML format. YAML can be quite picky so if Discourse is having trouble loading your settings I suggest you try validating your YAML with a tool like YAMLint.

I'll explain the example file in detail. The top level is plugins and that tells Discourse that we want these settings to appear under "Plugins" in the site settings.

After that, there are two settings declared, awesomeness_enabled and max_volume. Discourse reasons the type of the settings from the default, so awesomeness_enabled is a boolean and max_volume is a number.

The client: true is important to understand. Discourse is made up of two major applications, the server side API written in Ruby on Rails, and the client side application written in Ember.js. By default, we don't expose settings to the Ember.js client app unless you add client: true. We do this because some settings are private like API keys and should not be sent to end users. Also, if we sent every setting to the client that could be a lot for end users to download!

In our example case, we want both of those settings to be accessible in the Javascript world as well as the server side world.

An important second step

Before you can use your newly added site settings, you need to add translations for them. Since Discourse supports many languages, any text you add will have to support being translated into other languages.

Let's create the translations for our settings in English:

config/locales/settings.en.yml

en:
  site_settings:
    awesomeness_enabled: "Is this plugin awesome?"
    max_volume: "What is the maximum volume possible?"

The labels we added in that file will be displayed in the admin section. It's a good idea to be clear as possible as to what the setting accomplishes.

Accessing your new Settings

First, you'll need to restart your development server to have the settings take effect. Once you do that, the settings should be available to your server and client side code.

We automatically inject the site settings into most Javascript objects, so if you are declaring a Component, Controller, Route, View or Model you should be able to access the site setting by simply using this.siteSettings.awesomeness_enabled. In most handlebars templates you should also be able to say {{siteSettings.awesomeness_enabled}} and the setting value will be displayed.

We haven't covered much Ruby stuff in this series yet, but if you want to access the site settings in the Ruby application you can do so via: SiteSettings.awesomeness_enabled

Now go forth and add custom settings to your plugins!

Posts: 1

Participants: 1

Read full topic

"Could not find rails_multisite..." error in Vagrant VM

$
0
0

@nickpfisterer wrote:

I'm trying to set up a local instance of Discourse on Windows for testing and theme development. I'm following this guide. I am coming at this with no Ruby experience.

When I run vagrant up, I get a message at the end about a failed SSH command even though everything seems to be working. After logging in with vagrant ssh and attempting to run bundle install, I get an error stating that rails_multisite could not be found. Screenshot attached below.

Any idea what's going wrong?

Posts: 1

Participants: 1

Read full topic

Message Bus doesn't respect subfolder

$
0
0

@Falco wrote:

Just upgraded to latest test-passed and the message-bus xhr ain't using the subfolder address:

It's probably a regression from less than a week.

Posts: 2

Participants: 2

Read full topic


Do minimum length email replies get lost?

$
0
0

@codinghorror wrote:

We've had a number of email replies go AWOL recently and they all seem to have one thing in common: the length of the response.

Does the current minimum message length also apply to emails? If so, any the user isn't being sent any kind of error, how do they know their reply wasn't seen?

Posts: 9

Participants: 4

Read full topic

Broken image since https

$
0
0

@Vernam wrote:

Hey guys,

So I recently added an SSL certificate folowing the SSL guide
After rebuilding my app all images appeared to be broken, I've been looking for similar cases but nothing concluant so far ..
Here is my discourse : http://forum.delta-squads.com/

Did I missed something somewhere ? ..

Thanks !

EDIT :

So, it seems the problem is now solved, without modification from my side... My service provider (OVH) add trouble with their DNS serveur this night, dunno if it's link to my problem but for now it's seems to be good

Posts: 1

Participants: 1

Read full topic

[PAID] CMS plugin

$
0
0

@hoang6 wrote:

HI guys,

We're looking for an experienced developer who can help build a CMS plugin that lets us access and manipulate the content database right in the Admin panel, i.e. similar to what we can do with WordPress.

Several features that we'd love to have:

  1. Able to import data (specifically category/subcategory name, abbreviation, description) from excel/csv files. We want to create thousands of subcategories so it's just not practical to do this manually.
  2. Provides us useful statistics such as topics with most comments, likes, date, authors and which categories/sub-categories they belong to, etc.
  3. Since we may have categories with thousands of sub-categories, we'd like to "hide" some/all these sub-categories so that they won't clog up the Categories page which we're planning to use as home page.

We've tried our best to look around for solutions that may exist somewhere but wasn't quite successful so far. If you have some pointers, we would be very appreciated if you could point us to the sources. Thank you for your help!

I hope it sound feasible and interesting enough to try. If you're interested in the project, please shoot me a message! We'll pay for your work but are willing to make it an open source and be available to everyone afterwards since we understand many will need it. Thank you for your attention!

Posts: 5

Participants: 2

Read full topic

Disable the topic to show in the header / change logo size

$
0
0

@alicia wrote:

Is there anyway to have the option not have any header changes when you scroll down in a topic page (ex. extra-info-wrapper)? Or do you suggest any javascript I can run to prevent that behavior of the topic showing in the header and changing the size of the logo.

Posts: 2

Participants: 2

Read full topic

No mailtest option after install

$
0
0

@joshmings wrote:

Just went through a clean install on Digital Ocean. Bootstrapped and started fine. Went to mailtest app and option isn't even there?

root@talk:/var/discourse# ./launcher mailtest app
Usage: launcher COMMAND CONFIG [--skip-prereqs]
Commands:
start: Start/initialize a container
stop: Stop a running container
restart: Restart a container
destroy: Stop and remove a container
enter: Use nsenter to enter a container
ssh: Start a bash shell in a running container
logs: Docker logs for container
bootstrap: Bootstrap a container for the config based on a template
rebuild: Rebuild a container (destroy old, bootstrap, start new)
cleanup: Remove all containers that have stopped for > 24 hours

Options:
--skip-prereqs Don't check prerequisites
--docker-args Extra arguments to pass when running docker

Posts: 4

Participants: 3

Read full topic

PAID Seeking discourse developer for user card/user profile customizations

$
0
0

@tobiaseigen wrote:

My nonprofit organization is building an online community using WordPress and Discourse and we're looking for a discourse developer. Please get in touch with me via PM and tell me about your discourse contributions so far and your suggestions on how you can help move us forward. We're interested in contributing back to discourse via plugins or pull requests whenever humanly possible and are enjoying the stability of our minimally customized discourse instance.

We have SSO set up and running properly thanks to @AdamCapriola and have set up some nice integration points to discourse e.g.

  • linking from WordPress user profile pages to discourse activity
  • setting discourse groups in WordPress
  • triggering Discourse PMs upon signup and content contributions in WordPress
  • organization affiliation set via WordPress in discourse custom field
  • user preferred language set via WordPress
  • location set via WordPress

There are a handful of plugins/features we'd like to see advance and can contribute funds towards, starting with inline post translation (originally started by @hugoalmeida but seemingly abandoned), sharing posts and topics via pdf/print, "softer" onboarding for new users, along these lines by @sperok but integrated, and *cough* a prettier view of tags, preferably using tag clouds.

More pressing however is to create linkages back to WordPress via user cards and user profiles. We'd like to display organization affiliation name, logo and link (available via custom fields) directly on the user card and profile page. If content has been contributed in WordPress by the user we'd like to link to their WordPress profile page (URL contains username) which will show a list of their latest contributions. The location we'd like to see link back to a filtered view of the member directory showing members in that country (also provided as custom field).

Posts: 1

Participants: 1

Read full topic

How to include fontawesome icons in posts?

$
0
0

@tobiaseigen wrote:

I've seen this in the past and would love to be able to include fontawesome icons on a regular basis. Can't find it! For right now if someone could help me with a hack I'd be grateful. I want to embed the fa-comments, fa-search and fa-sandwich (or whatever it's called) in a post explaining discourse features.

Down the road.. perhaps there'd even be appetite for a plugin to support fa tags as emoji? Came across this interesting page:

https://pypi.python.org/pypi/fontawesome-markdown

Posts: 6

Participants: 4

Read full topic


Are Discourse sites covering their costs?

Different subject for email notifications that include an @mention

$
0
0

@wesochuck wrote:

This is probably a holdover from folks that are using Discourse in a similar manner to old email listservs, but what I'm noticing is that many users signup for email notifications and then build a rule to shuttle them to a specific mail folder. Sometimes they look at the folder, sometimes they don't.

At issue is when someone @mentions a user in a post, the Subject for the @mentioned notification is the same as any other for example, this message contained an @mention of my username:

[CLC-ListServ] [Staff] This is a test of a large image

I was wondering if email notifications that were @mentions to the user in question could have something added to their subject line, like:

[CLC-ListServ] [Staff] [@mention] This is a test of a large image.

That way we could inform users that they should build mail filters that treated these messages differently, so they were less likely to just end up in one of their Bacn folders.

Posts: 3

Participants: 3

Read full topic

Is carousel possible in a post

$
0
0

@veryx wrote:

Hi,

My requirement is I have some photos in a folder and I want to display them in a post in a scroll able format, something like carousel in a post.

Is this is possible. if so how. Please help.

Thanks

Posts: 3

Participants: 3

Read full topic

Too many 429 errors

Is Discourse compatible with Google Blogger paltform?

$
0
0

@alex141 wrote:

Hi Guys,

As I am new to this forum sorry if its a silly question.

I have a blog hosted at google blogger which is really popular in the software and games niche but i did a little vote and asked many of my members if would they like a forum for the problems and errors in the software which the blog provides which they can use to discuss it on.

My question is that will I be able to work with discourse e.g. like forum.mysite .com and does it effect my SEO? Thank you

Sorry if i have posted anything wrong

Admin may delete if not appropriate smile

Posts: 1

Participants: 1

Read full topic

Viewing all 60613 articles
Browse latest View live


Latest Images