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

Posting in the same language as forum's language

$
0
0

@azaleas wrote:

Hi all,

My question is regarding this scenario:

If the forum is in English and all the discussions are made in that particular language, is there a way to automatically block posts in other languages? Like, if a user creates a new topic or posts a reply, there going to be a rule which will check the language of the entry. And if the language is different than English the user will be notified accordingly.

The reason why I'm asking this question is that we are planning on creating two separate forums for two different languages. And we would like to avoid this kind of issue and forward the user to the forum with appropriate language.

Posts: 2

Participants: 2

Read full topic


Anonnymous forum

$
0
0

@Luca wrote:

I read about the anonymous posting feature but I do not know how to enable the complete anonymous option described by @BCHK:

I think discourse currently supports only anonymous posting, i.e. users can decide to post or not as anonymous.
This forced you to anonymize join dates, cycle anon accounts and disable likes and other post actions.

I have a different scenario since I would like to force anonymous posting from the beginning: the behavior of discourse should not change:

  • original join dates
  • no anon account cycling (but is the AnonymousShadowCreator generated username unique?)
  • all actions enabled

Only admins can see real names: users only see shadow names of other users.

  1. Join dates are not so important
  2. If you allow anonymous_account_duration_minutes to be set to 0 and change anonymous_shadow_creator.rb accordingly you can disable anon account cycling:

    SiteSetting.anonymous_account_duration_minutes > 0 &&
    shadow.last_posted_at < SiteSetting.anonymous_account_duration_minutes.minutes.ago
  3. The problem is how to disable/not render the list of users who liked a post or display the anon name instead of the real one

Maybe I can use the Always-anonymous categories plugin or I can extend it to rewrite the like username/profile link.

In the end my need is simply replacing username everywhere, by using a discuss provided one that is unique.
It would be nice if I could use two different usernames for a topic creator e.g. topicCreator123 when is commenting on their topic and anonymous456 in all other cases.

Posts: 1

Participants: 1

Read full topic

Onebox default engine

$
0
0

@Aymane_Shuichi wrote:

Hi !
I started recently playing with the Onebox gem to see why it wouldn't Onebox my site: https://www.avito.ma.
I am no ruby developer but I understood that based on the URI , Onebox chooses what engine to use.

I also believe that there is an engine called html which is the default one if the link doesn't match any predefined engine.

The question I'm asking is : why doesn't onebox choose the default engine HTML to my website? When I'm debugging the @engine_class I get nil in the preview class , initialize method.

All answers are much appreciated.
Thanks you

Posts: 5

Participants: 3

Read full topic

Topic JSON missing some posts

$
0
0

@jesselperry wrote:

Hi there -

I know this is a nuanced question, but hopefully someone might point me in the right direction. I use JSON from topics to display the posts in an external system. I use the "posts" and "post_stream" data in that JSON file.

However on one topic (and just one, I can't see it happening on any other topic), some of the posts of the topic are randomly missing from the JSON. However they are included in the "post_stream" listing.

Any idea what's going on? is there a way to rebuild a topic within Discourse? I couldn't see a way. The only I could find was the rebuild HTML command for each post.

Posts: 1

Participants: 1

Read full topic

How do I add additional share links social network?

Version 1.6.6 is not tagged in Github...?

$
0
0

@michaeld wrote:

In the stable branch, there is a "version bump" to v1.6.6 and this version is also reported by the Discourse hub as the latest stable version. But there is no v1.6.6 tag...

Posts: 4

Participants: 2

Read full topic

Soundcloud onebox too tall?

$
0
0

@mr8 wrote:

Just noticed that after a recent pupdate, the height for the Soundcloud onebox iframe is too 'tall' at 400 leaving a lot of blank space at the bottom:

Not sure what changed with the recent updates, but looking at the source it looks like the height in the iframe is the cause of the extra blank space:

<iframe width="100%" height="400"

Posts: 4

Participants: 3

Read full topic

'./launcher bootstrap app' fails when Docker started with '--userns-remap=default' option

$
0
0

@Rob_T wrote:

Docker version 1.12.3, build 6b644ec

The 'shared' subdirectory seems to cause issues when Docker started with '--userns-remap=default'.

First error was 'stat /var/discourse/shared/standalone: permission denied'
I then executed 'chmod 0755 shared' which seemed to fix this issue.

Next error was at 'mkdir -p /shared/postgres_run' - I assume its another 'permission denied' but couldn't figure out how to get past it.

'stat shared' returns:

File: ‘shared’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd04h/64772d Inode: 256072 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Context: unconfined_u:object_r:svirt_sandbox_file_t:s0
Access: 2016-11-05 08:07:06.081247227 -0500
Modify: 2016-11-05 08:09:20.368153861 -0500
Change: 2016-11-05 21:22:19.291492841 -0500
Birth: -

Posts: 3

Participants: 2

Read full topic


Under Construction Page during Maintenance?

$
0
0

@keith1 wrote:

I've been using DigitalOcean's awesome floating IP's to ease my maintenance process - swap the IP to a new droplet with a basic static html page, then do whatever I need to. Swap back when finished.

...and it's been working wonderfully until tonight when I finally hooked up my SSL certificates. Now I'm unable to load my server directly through my IP (only can view discourse when I use my full domain name). So I wanted to throw this discussion out to you guys again - how should we gracefully handle site maintenance on discourse? Is there a way to allow me to still view discourse directly through the IP address?

I saw this conversation as well, but it didn't quite go anywhere, and the use case of floating IPs wasn't mentioned, so I thought I'd make a new topic:

Posts: 4

Participants: 2

Read full topic

Uploads seem to be getting trashed in prod

$
0
0

@arrancscott wrote:

I'm using the create_for method on the Upload class, which creates a row in the uploads table amongst other things. I'm saving the id of the upload to a table i've created yet after a couple of days or so the upload seems to get trashed and no longer exists.

I'm not touching or updating the live site in any way. Is there a job that runs that deletes uploads or something of the like?

Posts: 4

Participants: 2

Read full topic

No "Publish to discourse" checkbox in post editor

$
0
0

@steelmaiden wrote:

WP Discourse plugin is successfully connected to Discourse forum: "You are connected to Discourse!"

However i cant seem to find the "publish to discourse" checkbox that used to be in the post editor.
I checked all options in "screen options" but there isnt anything related to Discourse.
Under "add custom field" i can see the discourse related fields.

I have both Wordpress and Discourse on https, if that means anything.

My wordpress is on a Easyengine setup.

Any ideas whats wrong and what i could do to debug and fix this?

Posts: 2

Participants: 2

Read full topic

How to alter Discourse main page style

$
0
0

@john3 wrote:

Hello,

recently I came across a forum (https://community.smartthings.com), quite old style i.e. main topics/thread and then users can create new topics in within that parent topic, but I find it more easy for users and want to apply this to my forum. Can anyone please tell me how can I achieve this interface?

Posts: 6

Participants: 2

Read full topic

How to configure subdomain when having two different host providers?

$
0
0

@mhwebee wrote:

I have my domain name registered with GoDaddy, and I use Inmotion Hosting to host my WordPress site, and I'm planning to get a new VPS on Digital Ocean to host Discourse, but I have difficulties understanding how and where I need to configure the DNS settings?

I'm planning to keep my site mydomain.com, and I'm looking to host Discourse alongside my site as forum.mydomain.com, and pointers will be really useful.

Thanks,

Posts: 2

Participants: 2

Read full topic

SSO Login broken with recent update?

$
0
0

@Callahan wrote:

Hello, we have had a bug where we couldn't see IPs, which was fine by us since we don't want our mods seeing IPs (if ya read my other post) but a user informed me yesterday that when they clicked "login" it would give them this page

I tried it myself and it's giving me the same issue, the only way to login is by clicking the back arrow then refreshing the page. Not sure what suddenly caused this to happen other than updating? Any idea?

Posts: 3

Participants: 2

Read full topic

Easy install fails on AWS EC2 + Ubuntu 14.04

$
0
0

@bdombro wrote:

I followed the 30 min installation instructions on Ubuntu 14.04 on AWS EC2 and the webserver is not started like the instructions say it should be. I am expecting the server to listen on port 80, but curling returns an empty result, curl 127.0.01. I also tried:

  • curling the domain I used during setup, which says connection reset by peer
  • curling the IP address which the installation log says the docker image is running on, "172.17.0.1", and it says connection refused.

Here is a dump of the installation log: https://gist.github.com/bdombro/e312641d3663978fee215500a9a0b006

Posts: 1

Participants: 1

Read full topic


External: How to use Discourse for commenting on your Ghost blog

Users not receiving emails in mailing list mode

$
0
0

@JakeHower wrote:

I'm using SparkPost.

We have mailing list mode enabled on our forum, I only have 4 people in there right now, and each user has mailing list setup to receive a daily email.

However, I'm the only person receiving emails. No one else is.

Where should I look to fix this up?

My settings

Another users settings

The log showing I'm the only one receiving them. (Users have not logged in for a few days.)

Any ideas?

Posts: 13

Participants: 4

Read full topic

Password update feature

$
0
0

@adam_beers wrote:

I think there should be a password update feature, instead of just the option to send an email under preferences.

I've created a Discourse Android app and one of the big features that I need is a password update/reset option via http JSON.

Posts: 14

Participants: 6

Read full topic

Requiring password before admin actions can be taken

$
0
0

@vchuravy wrote:

I was thinking that it might be beneficial to have an option to require re-entering the password, before switching into admin mode or taking admin actions.

Github as an example requires this and I think the main reason is to prevent/slow down destructive action by an adversary who gained access to a device with an admin login.

The second feature I would like to see is 2FA, but that is already discussed elsewhere https://meta.discourse.org/t/two-factor-local-login-option/12597/8

If 2FA is implemented requiring 2FA, before admin actions would be great to have.

Posts: 1

Participants: 1

Read full topic

Extracting 'last visit' info by using the API

$
0
0

@David_Scharf wrote:

Is there currently a way to extract the 'last visit' marker location (as in, which is the newest post after the last visit) via the API? I have had a look at what I get from hitting the 'latest.json' endpoint, and was assuming there might be a way to derive the location of the last visit from there, but I don't think that info is in there. Or is it? Any help is greatly appreciated on this. Thanks!

PS: In case you're wondering about the use case, we're just trying to integrate discourse better into our community page, and want to alert users if there is new content available for them.

Posts: 3

Participants: 2

Read full topic

Viewing all 60642 articles
Browse latest View live




Latest Images