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

Should Font Awesome icons be disallowed in posts?

$
0
0

@downey wrote:

Continuing the discussion from Font Awesome in Bio:

Was it the intent of this early change that the standard way of including Font Awesome icons, e.g., <i class="fa fa-certificate"></i>, will not be allowed in posts?

If so, sadpanda. Is it still needed to be blocked?

Posts: 4

Participants: 3

Read full topic


Editing a lead topic wiki post doesn't re-render the post

$
0
0

@downey wrote:

I just edited the first wiki post at:

However after saving, the post did not immediately (within a few minutes at least so far) update with my changes. If I click the "edit" pencil icon, though, I can see my change in Raw mode only, the HTML mode view of the change does not show my changes.

Posts: 2

Participants: 2

Read full topic

Editable Outbound Email Template?

$
0
0

@BCHK wrote:

A while back Jeff mentioned that the ability to customize the outbound email templates was coming... I was wondering if that had gotten any closer to reality?

It would be nice to be able to do some customization on those so the reminder emails that I send out each day (about 1500 a day) could be branded with my site, or include advertising, etc.

Posts: 2

Participants: 2

Read full topic

How can I list the most liked posts in a thread?

$
0
0

@raymestalez wrote:

I want people in my community to be able to vote on posts in a thread, and then see the results - most liked posts in a thread.
How can I accomplish that?

Posts: 4

Participants: 3

Read full topic

Bug in profile image

$
0
0

@ichpen wrote:

New one I think discovered by a user. If profile image is not square (i.e. discourse says it'll crop it) the image isn't persisted. If image is manually adjusted and square, it will save it.

Using latest 1.3 beta 1 +102 version.

Posts: 6

Participants: 2

Read full topic

URL ending in .png

$
0
0

@Greg_Swallow wrote:

Pasting "" into the editor
(which is not an image, but a URL)
results in:

not:
/
(I added a "/")

Not sure if other forums would have the same problem with that type of url....they aren't that common I suppose.

Posts: 3

Participants: 2

Read full topic

Title missing from revisions dialog

Docker fails to install on Ubuntu Server vm-minimal install

$
0
0

@mateusz_szymborski wrote:

I have in Vbox ubuntu-server vm-minimal instalation.

apt-get install -y curl && curl -sSL https://get.docker.com/ubuntu/ | sudo sh

reboot

docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): linux/amd64
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

docker info

FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

docker ps

Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

I made run and fast checking:

root@ubuntu1:~# service docker status
docker stop/waiting
root@ubuntu1:~# service docker start
docker start/running, process 2913
root@ubuntu1:~# service docker status
docker start/running, process 3156
root@ubuntu1:~# service docker status
docker start/pre-start, process 3311
root@ubuntu1:~# service docker status
docker start/running, process 3455
root@ubuntu1:~# service docker status
docker stop/waiting

How to fix it?

Posts: 3

Participants: 2

Read full topic


What should I do if I have a DDoS attack?

$
0
0

@Pirat wrote:

I recently wrote about the error, but now I have turned off the server
cheapest protection I can not afford
what should i do?

Posts: 6

Participants: 4

Read full topic

What can I do with photos/videos via the API?

$
0
0

@jonny_arnold wrote:

Hello there!

I am currently looking at using Discourse's backend with a customised JavaScript frontend. I am hoping to use Discourse API to do this, but I can't seem to find a definitive answer to a few questions on the API documentation.

Here goes:

  1. Can users upload images via the API when posting a comment?
  2. Does rich media (YouTube links, etc.) get pulled through when using the API?

Any clarification (or documentation!) you can give me would be beneficial.

Thanks!
Jonny

Posts: 2

Participants: 2

Read full topic

Installing on Server

$
0
0

@Spedwards wrote:

Hi,

Some time ago I was apart of a community that used Discourse for it's forum and now I've got my own website up and I'd like a forum to go along with it, however I cannot find any download or guide to install Discourse on my own website.

If available, can someone please link me to a guide and/or a download for Discourse. If it changes anything, my site is using WordPress.

Posts: 6

Participants: 4

Read full topic

Certain buttons are not visible

$
0
0

@Bob_K wrote:

I'm using Internet Explorer 11, and I can not see the buttons above where I am typing.
But, I can see the descriptions of the buttons if I hover over them.
Buttons like:
Strong, Emphasis, Hyperlink, Blockquote and the like....

Is anyone else having this problem?

Is it an IE11 configuration problem, "special feature", or are my glasses making it difficult to see these buttons due to a hyperspace anomaly? smile

Thanks for any help you can offer,
Bob_K

Posts: 11

Participants: 3

Read full topic

Embed poll_feed fail with UTF8 title

$
0
0

@MiguelAngelLV wrote:

If you configure the embed with feed and the title has special characters, as á or é, the system fail with this error:

 Job exception: incompatible character encodings: ASCII-8BIT and UTF-8

And the backtrace

 /opt/bitnami/apps/discourse/htdocs/app/models/search_observer.rb:39:in `update_topics_index'
/opt/bitnami/apps/discourse/htdocs/app/models/search_observer.rb:63:in `index'
/opt/bitnami/apps/discourse/htdocs/app/models/search_observer.rb:89:in `after_save'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/rails-observers-0.1.2/lib/rails/observers/active_model/observing.rb:352:in `update'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/rails-observers-0.1.2/lib/rails/observers/activerecord/observer.rb:118:in `block (2 levels) in define_callbacks'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:424:in `block in make_lambda'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:221:in `call'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:215:in `call'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `call'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `run_callbacks'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/callbacks.rb:302:in `create_or_update'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/persistence.rb:103:in `save'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/validations.rb:51:in `save'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/attribute_methods/dirty.rb:21:in `save'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:268:in `block (2 levels) in save'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:208:in `transaction'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:268:in `block in save'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:283:in `rollback_active_record_state!'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:267:in `save'
/opt/bitnami/apps/discourse/htdocs/lib/post_creator.rb:251:in `save_post'
/opt/bitnami/apps/discourse/htdocs/lib/post_creator.rb:74:in `block in create'
/opt/bitnami/apps/discourse/htdocs/lib/post_creator.rb:133:in `call'
/opt/bitnami/apps/discourse/htdocs/lib/post_creator.rb:133:in `block in transaction'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:208:in `transaction'
/opt/bitnami/apps/discourse/htdocs/lib/post_creator.rb:131:in `transaction'
/opt/bitnami/apps/discourse/htdocs/lib/post_creator.rb:69:in `create'
/opt/bitnami/apps/discourse/htdocs/app/models/topic_embed.rb:40:in `block in import'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:208:in `transaction'
/opt/bitnami/apps/discourse/htdocs/app/models/topic_embed.rb:33:in `import'
/opt/bitnami/apps/discourse/htdocs/app/jobs/scheduled/poll_feed.rb:39:in `import_topic'
/opt/bitnami/apps/discourse/htdocs/app/jobs/scheduled/poll_feed.rb:33:in `block in import_topics'
/opt/bitnami/apps/discourse/htdocs/app/jobs/scheduled/poll_feed.rb:32:in `each'
/opt/bitnami/apps/discourse/htdocs/app/jobs/scheduled/poll_feed.rb:32:in `import_topics'
/opt/bitnami/apps/discourse/htdocs/app/jobs/scheduled/poll_feed.rb:26:in `poll_feed'
/opt/bitnami/apps/discourse/htdocs/app/jobs/scheduled/poll_feed.rb:16:in `execute'
/opt/bitnami/apps/discourse/htdocs/app/jobs/base.rb:154:in `block (2 levels) in perform'

I change the line 39 of app/models/search_observer.rb from

search_data = title.dup << " " << scrub_html_for_search(cooked)[0...Topic::MAX_SIMILAR_BODY_LENGTH]

to

search_data = title.force_encoding(Encoding::UTF_8).dup << " " << scrub_html_for_search(cooked)[0...Topic::MAX_SIMILAR_BODY_LENGTH]

and works for me.

Posts: 2

Participants: 2

Read full topic

SSO and not automatic log in?

$
0
0

@sigurdur wrote:

Continuing the discussion from Official Single-Sign-On for Discourse:

If you require users to be logged in to view your page, and you have SSO enabled, they will be logged in automatically (no splash page).
As @codinghorror mentioned, if you want to change the behavior you can add this as an admin option into a PR.

@wesochuck, how do users log in on your forum already?
Do they go to a specific website then click "forum"?

Posts: 2

Participants: 2

Read full topic

A small story about long polling base url

$
0
0

@iamntz wrote:

I just found out something the hard way.

Few days ago I tried to set up a CDN, but i failed (fastly tutorial is not matching too much of the fastly actual config options, and amazon's cloudfront has a million options that I wasn't to sure what everything did, so I ditched the whole thing)

Fast forward couple of days and I noticed that something strange happens: I don't receive any real time notification anymore and in chrome console I had a lot of red messages containing something like:

mydomain.romessage-bus/poll

(no typo here)

At first I thought it's something in the Discourse (afterall it started suddenly, no?). So i started to dig into Discourse source code, searching for a romessage-bus string.

Then it hit me: since the domain is mydomain.ro, a slash should miss, and the string should actually be mydomain.ro/message-bus!

It turned out that one of the thing I set up first was to change long polling base url value, from the default / to the site url without the final /.

TLDR version: please automagically add that final slash! smiley

Posts: 3

Participants: 3

Read full topic


Badge query planner interpreting printf-style format specifiers?

$
0
0

@PJH wrote:

Upon clicking Preview with query plan on the badge edit screen with the following in the query

...
        SELECT user_id, id, topic_id, post_number
        FROM posts
        WHERE raw LIKE '%c0a906d0-be88-11e4-bb52-0800200c9a66%' AND
        user_id IN  (....

I got:

Posts: 6

Participants: 4

Read full topic

Post color based on Badge

$
0
0

@Ganzuelo wrote:

I run a gaming community that uses Discourse, I am wanting to add a way for my members that have supported the group via donation the ability to show off.

Not so much as a paid membership option however I would like to give certain people who've been awarded the badge the ability to recolor their post similar to how admins can.

At the moment I have it set to show as their title.

Posts: 4

Participants: 4

Read full topic

Can I install wp-discourse without composer

$
0
0

@penne12 wrote:

Is there a way to install wp-discourse without composer? I don't really have much else to say.

Posts: 5

Participants: 3

Read full topic

Can't login with "Allow Admin" set in Logs, Screened IPs

Two topics, one page

$
0
0

@Shawn wrote:

Don't worry, this is SFW smile

I would like to display two topics on one page, side by side for debate purposes. Does that sound feasible? Just an exercise in front end dev?

To clarify, I'd like to link two topics at the top level, perhaps only visually. One pro, one con and allow discourse for each.

Posts: 5

Participants: 2

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images