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

Is it possible to add "@" before username in CSS?


Plugin markdown parsing in preview working, but not in post?

0
0

@jgujgu wrote:

I have a quick question about how to get the markdown parser to parse in posts, "cooking" them. Currently, my implementation successfully cooks in a preview, but not in a post. I've mimicked the functionality present in discourse-spoiler-alert, particularly this file:

Essentially, if I have [spoiler]hello[/spoiler] while editing, it shows up successfully changed in the preview, but unsuccessfully, raw in posts.

Posts: 1

Participants: 1

Read full topic

Official Warning Checkbox Not Visible in Chrome 54

0
0

@kevinprow wrote:

I'm not sure if this is technically a bug, since it is CSS, but in Chrome v54, the checkbox for "This is an official warning." is not visible. It does display properly in Internet Explorer, however.

I suspect it's this css:

input {
    -webkit-appearance: none;
}

Not sure if that's intentional for some other reason, so I figured I'd post here.

Posts: 6

Participants: 4

Read full topic

Digital Ocean Droplet

0
0

@Ham wrote:

Hey guys. I got the $20 plan for my site but the multi is too much trouble for me. Would the $5 droplet work to set up a test site on a test url there?

Posts: 2

Participants: 2

Read full topic

Soundcloud Onebox

User mention full name search is not working for Unicode names

0
0

@ibnesayeed wrote:

I can type @Atw and see @codinghorror suggested for mention, which illustrates that the auto-suggest system is working not only for user id lookup, but also for name lookup, this is great and very much desired.

However, if the name has Unicode characters beyond ASCII, then name lookup does not work. For example if I type @علی (which is an Arabic, Persian, or Urdu name), I would expect @ALINAWAZJOYIA to show up in the suggestions, which it doesn't.

For users of different languages it would be very inconvenient to switch the keyboard to English just to mention someone then switch it back to the original language to continue writing. Additionally, it forces people to remember IDs, not names which is often more common in non-technical communities for people to remember and call each other by names.

Also, a feature would be great if name lookup continues after @ is typed, even if spaces are added to the text, until the server exhausted suggestions. This would be useful in situations where the first name is very common and to find a specific user, one must also type part of the middle or last name until the desired name shows up in the auto-complete list.

The following old thread is somewhat relevant, so I am adding it here for the reference.

Posts: 5

Participants: 3

Read full topic

Poll does not show up as expected when embedded on another site

Migrating uploads from one site to another

0
0

@Matthew_Gaudet wrote:

So, the tool below

Worked wonders for my original question, migrating threads.

Now I seem to be having some issues with migrating uploads

From the original server, I tar'd up /var/discourse/shared/standalone/uploads. Then I hand merged the old uploads folder with the new install's uploads folder.

Now, if I visit an archived thread, and try to get to an attachment, I see the following:

  1. 404 in the NGINX logs.

    [02/Dec/2016:15:59:53 +0000] 9.26.154.228 "GET /uploads/default/original/1X/ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp HTTP/1.1" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0" "uploads/show" 404 1059
  2. The file appearing to exist on the new server

    (new) # find . -name ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp
    ./shared/standalone/uploads/default/original/1X/ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp
  3. The file existing on the old server in the same directory:

    (old) # find . -name ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp
    ./shared/standalone/uploads/default/original/1X/ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp
  4. Access to the original file via the original install works:

    [02/Dec/2016:16:09:14 +0000] 9.26.154.228 "GET /uploads/default/original/1X/ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp HTTP/1.1" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0" "-" 200 1440294
  5. Identical permissions and users (from inside container) on the file:

    (new/old) # ls -la /shared/uploads/default/original/1X/ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp
    -rw-r--r-- 1 discourse www-data 1439352 Aug  4 13:15 /shared/uploads/default/original/1X/ea3407bf7edcfec409c0363d0035ff57019ce0e9.odp

Any suggestions on where to look next?

Posts: 4

Participants: 3

Read full topic


How about Discourse Support Google AMP?

0
0

@Nam_Nguyen wrote:

Hi,
I think if Discourse can support Google AMP, it would be better for reader, and slow host discourse. and in the future may be help website have higher rank on Google search result.


Google AMP (https://www.ampproject.org/) help pages load quickly on mobile devices.

Posts: 4

Participants: 4

Read full topic

User Preference for Desktop Notifications?

0
0

@Nicholas_Tolstoshev wrote:

Is there a default User Preference that I can set as the admin for Desktop Notifications? I looked on that page but didn't see it. I'm assuming that Desktop Notifications are on by default for all new users (pending their approving it in the browser)?

Posts: 3

Participants: 2

Read full topic

Issue regarding Docker development image

0
0

@zuzust wrote:

I've tried to setup my Discourse development environment the Docker way, but I've realized that boot_env script tries to pull a non existent discourse/discourse_dev:latest docker image. Instead, a discourse/dev:latest image exists in Docker Hub, but it is outdated (version 1.0.13).

So I've tried to build it myself running

$ sudo ruby build.rb -i discourse_dev

But when I run

$ ./bin/docker/boot_env --init

I get an error message regarding PostgreSQL:

Migrating database...
URGENT: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
 Failed to initialize site default
URGENT: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
 Failed to initialize site default
rake aborted!
PG::ConnectionBad: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Any ideas to fix it?

Posts: 2

Participants: 2

Read full topic

SparkPost account suspended—trying to meet their compliance requirements

0
0

@ChrisSnyder wrote:

I recently migrated a forum to Discourse that had been on phpBB for ~15 years. I set up a SparkPost account for email, and everything was working fine. However, yesterday, I received an email from SparkPost informing me that my account was deactivated due to spamming concerns. It looks like the presence of a few links in a batch of digest emails tripped an alert.

I've been going back and forth with their compliance department, and they're refusing to reactivate the account unless I can prove that we have a CAPTCHA in place to deter spammers. I explained that the Discourse software doesn't have a typical CAPTCHA, and even linked to their howto page for configuring Discourse with SparkPost (that has no mention of any CAPTCHA being needed), but they're not budging.

Has anyone else dealt with this? Any idea how to proceed? We've already gone through and disabled the digests of all users that haven't logged in to the new system, to reduce the volume of mail that is bounced or flagged as spam.

This is what I told them:

Discourse does not support traditional CAPTCHAs, but it does have a number of anti-spam measures built-in (including rate-limiting and limits on links for posts from new accounts). Is there additional customization required to configure Discourse for use with SparkPost? I've followed all of the directions on your own guide: https://support.sparkpost.com/customer/en/portal/articles/2340644-using-sparkpost-with-discourse?b_id=7411

And their response:

Unfortunately, we need some sort of verification such as CAPTCHA on your forum. Once this is in place, let me know and I will reactivate your account.

Posts: 5

Participants: 3

Read full topic

Discourse not starting up: nginx: unable to open supervise/ok: file does not exist

0
0

@Pingless wrote:

I'm trying to run Discourse with Let's Encrypt behind an Apache Proxy on Ubuntu 16.04.
When I start up the application, nobody is listening on the correct port (I've mapped it to 12080/12443 in the app.yml), and the logs show the following error:

Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/enable-brotli
run-parts: executing /etc/runit/1.d/letsencrypt
[Fri Dec  2 17:57:12 UTC 2016] Skip, Next renewal time is: Mon Feb 20 16:36:38 UTC 2017
[Fri Dec  2 17:57:12 UTC 2016] Add '--force' to force to renew.
[Fri Dec  2 17:57:12 UTC 2016] Installing key to:/shared/ssl/discourse.mydomain.com.key
[Fri Dec  2 17:57:12 UTC 2016] Installing full chain to:/shared/ssl/discourse.mydomain.com.cer
[Fri Dec  2 17:57:12 UTC 2016] Run Le_ReloadCmd: sv reload nginx
warning: nginx: unable to open supervise/ok: file does not exist
[Fri Dec  2 17:57:12 UTC 2016] Reload error for :discourse.mydomain.com
Started runsvdir, PID is 135
ok: run: redis: (pid 143) 0s
ok: run: postgres: (pid 145) 0s
sh: echo: I/O error

(To clarify: I've replaced my FQDN with "discourse.mydomain.com" in these logs.)

This Reload Error appears to be preventing discourse from starting up properly. I've had a look but all references to "unable to open supervise/ok" appear to be a fixed bug in runit.

Things I've tried:

Has anyone encountered this error, and/or does anyone know how to resolve it?

Thanks,
Pingless

Posts: 2

Participants: 2

Read full topic

Suggested messages list includes archived messages

0
0

@tobiaseigen wrote:

When reading and managing private messages in my group inbox, I am finding that the suggested messages at the bottom include archived messages. I think this is a bug because it should only include messages from the inbox. When I'm reading archived group messages I'd expect to see more archived messages in the suggested messages.

Posts: 8

Participants: 3

Read full topic

Need help dns settings nameservers multiple hosts

0
0

@panionios wrote:

Thank you guys. Awesome work. thank you again for this forum.engine.

I setup a dozen discourse and deleted most kept a couple but i need.your help.because i am clueless with unix and setting up proper dns.
I usually get it.done but i don't want to waste a week on a simple thing.
Here goes
I have a domain name with godaddy registered
Nameserverw point to my server

Sample.com

I want discourse installled on

Forum.sample.com

On my cpanel linux machine i handle the sample. Com and email
I want my domain and droplet
Forum.sample.com
I want to set dns to do this without pointing from godaddy to the droplet but through my chanel nameservers.
Sorry if this sounds complicated.
Thank you

Posts: 3

Participants: 2

Read full topic


Indicate number of messages in folder

0
0

@tobiaseigen wrote:

I have hundreds, maybe thousands, of messages in my private message folders and am trying to get on top of them. Is there any way for members to see how many messages are in each folder, e.g. the inbox, archive, sent, group inbox, group archive? If not, I'd love to see this feature added to discourse. It could be displayed in the top right corner similar to gmail, just to the left of the tracking pulldown.

While we're at it, an unread messages indicator on the folder list as in gmail would also be extremely helpful. I know we're not trying to get parity with email here but some indicators are needed otherwise it becomes impossible to manage messages.

Posts: 3

Participants: 2

Read full topic

Homepage/Landing Page is not appearing

0
0

@Ben1 wrote:

The Homepage/Landing page our forum is not appearing. However if you navigate via the menu, everything is working. Here is the link to our forum: https://community.akerkits.com/

Any information or solution would be greatly appreciated.

Posts: 6

Participants: 3

Read full topic

Timeline Positioning Responds Slowly until Mouse Clicked, Overlap Issue

0
0

@LilTrashPanda wrote:

I'm not sure if this began occurring with the new update or prior, but now when I scroll down a longer topic, the post number on the timeline scroller remains the same until I click my left mouse button or wait for what seems like an extended length of time.

Additionally, when I scroll up to reach the top of the post, the timeline scroller overlaps my global notice (as seen in the screenshot below).

And here's a GIF of the bug caught in the act (you can see it snaps back once I click)!

Posts: 6

Participants: 2

Read full topic

Issue using topic-list-tags plugin outlet

0
0

@swohlever wrote:

Hi. New Discourse dev here. I am trying to get a simple template test to work. I've created a basic *,hbs file (just some text) and dropped it into plugins/myplugin/assets/javascripts/discourse/templates/connectors/topic-list-tags in my local deployment. However, I get this error in the JS console when I load the page:

discourse/helpers/plugin-outlet:101 Uncaught TypeError: c.template is not a function
    at eval (discourse/helpers/plugin-outlet:101:20)
    at Array.map (native)
    at Class.eval (discourse/helpers/plugin-outlet:100:32)
    at Object.eval [as main] (eval at createFunctionContext (handlebars), <anonymous>:18:125)
    at main (handlebars:1161:33)
    at ret (handlebars:1164:13)
    at Class.value [as buildBuffer] (discourse/components/topic-list-item:72:23)
    at Class._customRender (discourse-common/lib/buffered-render:19:14)
    at Class.caller.didRender (discourse-common/lib/buffered-render:39:14)
    at Class.trigger (ember:45804:23)

(And the templateName of object c does match the path of my template when the error occurs.)

I've had luck doing more complicated things in the same plugin with other outlets (e.g., composer-fields-below). When I remove the topic-list-tags directory from my plugin, things work fine. Any thoughts?

Posts: 1

Participants: 1

Read full topic

Invites missing

0
0

@pfaffman wrote:

Here on meta, when I go to my profile page, there is an invites button. On my site, it's not there.

enable local logins is enabled. I don't see any other settings with "invite" that would explain invites being disabled. I'm running Discourse 1.7.0.beta8.

I thought that perhaps I was just blind and that neither my eyes nor my browser could see the word "invite", but I do see it here on meta. I'm stumped.

Posts: 2

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images