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

How are user titles generated?

$
0
0

@tophee wrote:

Sorry if this is a very basic question but I could not find the answer on the forum: where do user titles come from apart from that Admins can set them manually for each user?

Posts: 7

Participants: 3

Read full topic


Occaisional page loads with no post content

$
0
0

@JagWaugh wrote:

Not sure if this is a bug or not.

Since we updated to v1.8.0.beta5 +68 we've been seeing some occasional failures to load new posts.

So far all I can say is:
1. It happens with new posts only.
2. It seems to happen when you click on a new post immediately after the notification appears.
3. It is the same for public as well as private posts.
4. The post is stored, it just doesn't get rendered during the page display, so you see everything normal... just without the post or topic that you want to see.
5. Unrelated to how many users are logged on.
6. Refresh makes no difference.
7. Happens on Edge and on Chrome.
8. Waiting 10-30 sec after the notification appears, or if a page comes up empty then just going to to any other topic, waiting 10-30 seconds and trying again will load the page.

Is anyone else seeing the same thing?

Posts: 6

Participants: 3

Read full topic

Discourse Wordpress plugin SSO wishlist

$
0
0

@JagWaugh wrote:

Our aim is to use Wordpress as a repository for static content such as photo and file libraries, and photo essays. We have a load of old static content which we wish to host on the Wordpress site, and our "For Sale/Wanted" section is on the Wordpress site (using AWPCP). To that end, using Discourse as our SSO provider is just what we were looking for.... however.

Logging:
The functionality just kind of happens. How difficult would it be to add a Discourse log similar to admin/logs/staff_action_logs which tracked Login and SSO events?
I'm thinking of something along the lines of a log with columns for
Username:
Action: Created WP account, Accessed WP account, Failed SSO request
When:
Details: Error message (in the case of a failed SSO access)

Error Messages:
When a user already has a preexisting account on WP, but the passwords aren't identical if they try to use the SSO to login the error message is:

The email address supplied by Discourse does not match your account. Probably a user other than yourself is logged into Discourse on your device. Please try visiting the Discourse forum and logging that user out. You should then be able to sync your account with Discourse.

This was a user with identical email and username, but different passwords.

Access control:
Could the Plugin restrict account creation to only discourse users? Despite having the Akismet plugin on our WP we're averaging something like 50 account creations per day.
At the moment the plugin is open to any discourse user. It would be nice if we could limit that, either by Trust Level, or by group membership.
With group membership throttling you could do something like only members of the group WP_Subscriber can use the SSO. Taking it to the next level you could map groups to roles in WP (i.e. WP_Subscriber>>Subscriber, WP_Contributor>Contributor)

Posts: 3

Participants: 3

Read full topic

Is there any way to remove subcategories from the hamburger menu

$
0
0

@Pad_Pors wrote:

in the meta drop down menu next to user avatar, only categories are shown . This keeps the menu clean .

I couldn't find any option in the setting searching for subcategory, how can I remove subcategories from the menu?

Posts: 14

Participants: 6

Read full topic

Require users to join at least one group at sign-up

$
0
0

@tophee wrote:

Is there a way of requiring users to join at least one group when signing up for the forum?

I was hoping that I would be able to create a required custom field that would then add the user to the selected group(s) but it doesn't seem to be possible.

Posts: 6

Participants: 4

Read full topic

Plugin with sidebar: how to modify small-width, medium-width, large-width?

$
0
0

@jack2 wrote:

I am working on a plugin that adds a sidebar to discourse. Because of this sidebar, the width of the topic list is reduced.

The consequence is that the small-width, medium-width and large-width media queries are now wrong. For example, I need to trigger the small-width below 900px instead of 800px, for all elements except the header.

How can I do that? I have tried to override the scss variables and mixins with register_asset "stylesheets/mixins.scss", but it doesn't work...

Posts: 1

Participants: 1

Read full topic

cURL error 35 when trying to connect

$
0
0

@Denki wrote:

Hello,

After configuring correctly the plugin to connect to my discourse installation, I get the dreaded "You are not connected to a Discourse forum. Please check your settings for 'Discourse URL', 'API Key', and 'Publishing username' Also, make sure that your Discourse forum is online." error.

Using the Query monitor plugin, I get an insight of what's not working (API key cleared myself when pasted here);

GET
https://foro.denki.es/users/system.json
?api_key=XXXXXXXXXXXXXXXX&api_username=system

Response -> cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Investigating around it seems this might be a non updated curl issue, but it's quite strange because I've got the latest version installed. What else could I do to solve this?

Posts: 15

Participants: 3

Read full topic

>2GB RAM needed to avoid swap file?

$
0
0

@bencf wrote:

I'm following the directions here to install Discourse on a Digital Ocean server: https://www.digitalocean.com/community/tutorials/how-to-install-discourse-on-ubuntu-16-04

The guide says:

Note: Discourse requires a swap file if you are using 1GB of RAM. Although swap is generally recommended for systems utilizing traditional spinning hard drives, using swap with SSDs can cause issues with hardware degradation over time.

The Discourse FAQ lists the memory requirements as 1GB of RAM:

You can deploy our standard Discourse Docker container on any virtualized cloud server (digital ocean, amazon ec2, rackspace, azure) with 1GB RAM.

So I upgraded the Digital Ocean droplet to 2GB of RAM to be able to install without the swap. However, upon attempting to install I get the following message:

WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM
or less. This system does not appear to have sufficient swap space.

Without sufficient swap space, your site may not work properly, and future
upgrades of Discourse may not complete successfully.

ENTER to create a 2GB swapfile now, or Ctrl+C to exit

From Googling, it seems that in September the change was made to display this message when dealing with <= 2GB of RAM, rather than < 2GB RAM (if I'm reading that link correctly): https://github.com/discourse/discourse_docker/pull/290/files

Is it currently possible to install Discourse on a 2GB RAM server without using a swapfile? If so, how?

Thanks,
Ben

Posts: 10

Participants: 3

Read full topic


Why does Discourse not use the «Enhanced Link Attribution» Google Analytics feature?

Revisión de traducciones en Español

$
0
0

@SidV wrote:

Debemos organizar mejor las traducciones en español, así que me tomé la libertad de leer ciertos debates abiertos sobre el "spanish" que hay en esta sub-categoría de desarrollo: #translation y #transifex

Por favor no responder a este debate

La idea de éste tema NO es debatir., si tienes dudas, por favor abre un tema relacionado a éste, así no se arma un hilo enorme e interminable entre todas las dudas sobre cómo traducir "x" palabra, y qué conviene o no conviene.

Convenciones (?)

De acuerdo a numerosos debates, creo que podríamos decir que ciertas palabras ya tienen traducción aceptada y no abría que cambiarle dicha traducción. Si no estás de acuerdo con la traducción que se le viene dando, por favor abre un nuevo debate y cita esta URL para que estemos todos comunicados.

Lo que no debemos traducir

Debemos pasar algunos conceptos en claro para traducir del inglés al español, hay palabras que no deben ser traducidas, algunos ejemplos:

  • "Post", y su plural "Posts" - ver debate
  • Formatos de fechas, format DATE. Muchas veces he visto que cambian %Y, por %A (que sería year por año, pero es incorrecto, ya que el formato pasaría a dar error).

Próximamente iré editando este tema, para ir agregando más palabras y convenciones, así hay más organización en las traducciones al español.

@zogstrip, can you please change this thread to "wiki" type?

Ps, I hope you do not mind that the whole thread is written in Spanish.

Posts: 1

Participants: 1

Read full topic

Hiding "toxic" messages?

Error in CSS - theme_variables.scss

$
0
0

@Emmanuel_Straschnov wrote:

Since our last upgrade (yesterday), we see this at the bottom of the page.

Syntax error: Invalid CSS after "...er_background: ": expected expression (e.g. 1px, bold), was "#nil !default;"\A on line 5 of theme_variables.scss\A from line 1 of custom stylesheet

We haven't changed our CSS, so not sure it's on our end. Where can I see this file and see what is happening?

Posts: 5

Participants: 3

Read full topic

Username lookup popup rendering offscreen

Quote button on closed topics still does not behave as expected

$
0
0

@RGJ wrote:

Continuing the discussion from Quote post from closed topic:

I was trying to reply using selecting text and pressing the quote button, but the selected text was not appearing in the editor. Turns out the topic was closed and I was creating a new topic.

I found a few other threads about this and they all suggest that everything is working as expected now, but I am still puzzled why I get a quote button that does not actually quote the selected text....

Posts: 1

Participants: 1

Read full topic

Automatically set category incoming email address based on slug

$
0
0

@LeoMcA wrote:

This is work I've just started doing in a plugin, but requires me to submit a PR to add a DiscourseEvent.trigger to the category model *, so I wondered if the whole feature might have a place upstream.

* I mean I could probably find a way to monkey patch it, but that's never fun

Proposal for standardised email-in addresses here: https://discourse.mozilla-community.org/t/standardised-emails-in-proposal/13154

We want to automatically set this, rather than having to manually update each category's address.

This would probably take the form of a plugin, which updates everything on startup, hides the edit field, and runs whenever the slug or parent of a category changes.

There would need to be a global setting, to set the domain of the email address, and the plugin would also need to run whenever this changes.

The feature would sit behind a site setting, and in addition to the settings specified in the plugin brief above, a setting to set the subslug divider would also make this more useful for everyone else. We're going to be going with ., so addresses would be formed like:

<slug>.<subslug>@discourse.mozilla.community

#pr-welcome?

Posts: 2

Participants: 1

Read full topic


Where are the logs?

$
0
0

@alehandrof wrote:

I got the following error on my Discourse earlier today:

500 Internal Server Error
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.

Where are the logs?

Posts: 3

Participants: 2

Read full topic

Emoticons (and more) in Banner Posts

$
0
0

@Er00 wrote:

It seems that emoticons don't show properly (they just show the code, eg :slight_smile: rather than :slight_smile:) when used in a banner. They show correctly in the post view, just not in banner view.

There are some other things that don't work in banners (like videos and other images) but I wouldn't expect them to really, it's just the in-line-with-text nature of emoticons which makes them seem like they ought to display.

Posts: 1

Participants: 1

Read full topic

Possible backup bugs

$
0
0

@Dmitry_Krasnoperov wrote:

Short story
Backup files takes space on HDD but doesn't shown in Backup section of Admin UI.

Long story
I do have DO plan that gives me 40GB total.
Now I have only 2.2 GB free spaces.

/var/discource takes

21.2GiB [##########] /shared
3.8MiB [          ] /.git
172.0KiB [          ] /image
108.0KiB [          ] /templates
24.0KiB [          ] /samples
20.0KiB [          ]  launcher
16.0KiB [          ]  discourse-setup
12.0KiB [          ] /containers
12.0KiB [          ]  README.md
12.0KiB [          ] /scripts
4.0KiB [          ] /cids
4.0KiB [          ] /bin
4.0KiB [          ]  Vagrantfile
4.0KiB [          ]  .gitignore

Then /var/discourse/shared/standalone

11.4GiB [##########] /backups
    5.7GiB [####      ] /uploads
    2.5GiB [##        ] /postgres_data
  867.4MiB [          ] /postgres_data_old
  736.4MiB [          ] /log
   70.6MiB [          ] /redis_data
  164.0KiB [          ] /postgres_run
   28.0KiB [          ] /state
   4.0KiB [          ] /postgres_backup

Then
/var/discourse/shared/standalone/backups/default (one without GZ)

5.8GiB [##########]  da-stereo-2017-02-23-033658-v20170215151505.tar
5.7GiB [######### ]  da-stereo-2017-02-20-033130-v20170215151505.tar.gz

I have following configuration:
Backup: enabled
Maximum backups: 1

PROBLEM

Only one backup visible in Admin UI

I may have several "invisible" backup files that eats all the free space.

Posts: 6

Participants: 2

Read full topic

Discourse on CentOS 7.3

$
0
0

@napcok wrote:

I'm running CentOS 7.3
When i try to botstrap this happens:
# docker -v
Docker version 1.13.1, build 092cba3
# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

# ./launcher bootstrap app
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && chown -R discourse /var/www/discourse failed with return #<Process::Status: pid 276 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"]}
d5f9b0e0bb45020d8b9e1f25cc8b96091eba69a505a60b4178e641530e4ac159
** FAILED TO BOOTSTRAP **

SELinux is disabled.

What can I do?

Posts: 1

Participants: 1

Read full topic

Sudden email delivery failure

$
0
0

@Nicholas_Tolstoshev wrote:

Last night around 8pm emails stopped sending from our community. There weren't any errors on the admin page or sidekiq. When I tried sending a test email from the email settings page that worked, but any other action that generated an email didn't send. After a reboot of the community the emails sent ok and the backlog of past failed emails ended up getting processed. I'm assuming whatever job or process that sends the emails stopped working for whatever reason. My questions are:

a. Where in the logs would I be able to find any info about why the email service stopped working?
b. Is there a way to restart that email process without having to do a full reboot of the community?

We use Mandrill for our email sends, in case that is relevant.

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images