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

Link to canonical user profile from Discourse profile in SSO setup

0
0

@harto wrote:

Hello,

I apologise if this has been asked elsewhere already — I couldn't find exactly what I was looking for.

In an SSO setup, is there a way to show, on a user's Discourse profile, a link to their canonical user profile?

For example, given the Discourse URL https://99designs.community/users/stuart99, can I somehow include a link back to the canonical profile on 99designs.com? (In this case it's https://99designs.com/profiles/stuart99, but the usernames won't necessarily match.)

Posts: 1

Participants: 1

Read full topic


Tag dropdown covers header when scrolling

0
0

@cpradio wrote:

I apologize for the crappy title (still trying to think of a better way to describe it), but here is a screenshot

And the repo steps:

  1. Navigate to a Topic
  2. Click the Edit Pencil on the Topic Title
  3. Place cursor/focus in Tag box
  4. Scroll down the page.

Posts: 1

Participants: 1

Read full topic

Tips: read before you start translating

0
0

@meglio wrote:

Hi there! My name is Anton and I'm moderating the translation of Discourse to Russian (might moderate the Ukrainian translation eventually as well).

Now that I have more than 1 year experience in translating and moderating translations, I'd like to share a few important points that every translator should be aware of.

Please read them carefully before you contribute, otherwise your effort might become an obstacle rather than help.

Following a few recommendations outlined below will make your effort and help much more valuable.

Always check UI context

If you don't check the context where a string is used, the user interface can quickly become a mess.

For example, there are 5 buttons in a row. 4 of them have captions that start with a capital letter. You should translate the 5th one the same way - it must start with a capital letter:

Another example - in a single group of elements, all items should be translated with using the same grammatical construction, i.e. be in the same tense etc:

Here is an example of what happens if you don't check the context:

Always check translation key context

For example, you have to translate this key: js.topic.notifications.tracking_pm.title

Before you do, you should search in Transifex for all the keys from the same keys group, so that you can make sure your translation fits well with the existing ones. In our case, the group is js.topic.notifications - it can be intuitively assumed that all topic notification strings are in this group:

I recommend to always focus on translating all strings in a single group at once, so that you use the same tone and grammatical structure within that group.

Use glossary

There is a nice Glossary in Transifex. It's like a dictionary of translations for various terms that we use in Discourse:

Always look at available translations in the glossary. This will help you to keep your translation consistent across all user interface. The goal is to use the same translation for the same thing wherever it is shown. If different names are used for the same thing, the end users will quickly become confused.

If you don't know how to translate a particular term, ask us first! Discourse community is big - someone will help you quickly if you ask in the Translation section of this forum.

Do some research

You will find out that it is sometimes quite difficult to come up with a good translation. Or there is simply more than one good translation, and you can't choose which one.

If this is the case, please don't be lazy to do some research. Review some popular websites in your language (not necessarily forums!), find out what terms they use for the same functionality. Does it read well? Will it be understood in the context of a discussion platform?

Another good source of ideas would be to ask your friends. To translate some words to Russian and make it easy to understand, I sometimes have to ask my friends who I know for sure are good in Russian language and have higher education in literacy, history, read a lot etc. Sometimes it takes hours, sometimes even days to find out a good translation! But believe me, it pays off.

I can well distinguish whether some translation is good or not based on questions that come from our small community I run with Discourse. If it is confusing - people will keep asking questions continuously, or would just not use the feature. I can see how bad translation affects our community all the time. That is why I can tell you for sure - researching is very very important.

Having more translation suggestions to choose from does not help

Some people think that if they provide translation reviewers with more translation suggestions, it will simplify their jobs. Actually, the effect is the opposite.

Every responsible moderator will have to read every translation (including inaccurate ones) and think about it in order to decide whether it is good to accept or not.

What is more, every suggestion will be seen by everyone in the "Suggestions" tab in Transifex. This means people will have to read them all before they can start writing their own own translation suggestion.

Reading through 9 translations just for one string does not save time, especially if translations are inaccurate:

All this simply means it's better to translate 10 strings in a month but so well that nobody will ever question your translations, rather than translating 100 strings in a day but so bad that nobody will use the translations.

Don't use Google Translate

Please, just don't.
Don't ask me why.

If you think Google Translate is a good source, you should probably not start translating before you improve your English to the point when you stop trusting Google Translate.


coffee afterword

Translation is not as easy as you might think.

The more popular Discourse becomes, the more responsibility you take by translating. Your translations will be seen by thousands of people. So if you want to help, please try doing it the right way, accurately and responsibly.

By this, I'm not saying "stop translating", but rather trying to convey a simple idea: if you are about to donate your time to help Discourse flourish, do it so that everyone will benefit from your effort.

Keep looking over the small things described above and the value of your help will increase tremendously. If you don't, chances are your help might be useless, or, in the worst case, might just eat time of those who review translations.

Posts: 1

Participants: 1

Read full topic

Trouble changing fonts

0
0

@Rene_Vucko wrote:

How do I change the header background color? I've tried several html and css methods but none seem to work. Also the header is different when you scroll down and how do I change that too?
I have also noticed that after you click on a post and close it it fades out with blue color, how do I change that color?

Also, any possible way to change all the fonts and the font-size?

Posts: 2

Participants: 1

Read full topic

Discourse delivering blank web pages on Ubuntu 14 on Linode

0
0

@austinjp wrote:

I've installed Discourse and Docker as per the instructions on GitHub.

My setup is Ubuntu 14 LTS at Linode. This machine delivers a bunch of PHP+MySQL websites via Apache on port 80, hence I've set up Apache at subdomain.host.com on port 8080 to connect to Discourse running on container port 3000.

See my previous post for the gory details on how I got that running:

I've added a proxy directive to Apache to pass all traffic on subdomain.host.com:80 to subdomain.host.com:8080 so that users can simply type subdomain.host.com into the browser without needing the :8080 bit:

<VirtualHost subdomain.host.com:80>
    ServerName subdomain.host.com
    ServerAlias subdomain.host.com

    DocumentRoot /home/host/subdomain.host.com

    <IfModule mod_pagespeed.c>
        ModPagespeed off # Disabling this to make debugging simpler.
    </IfModule>

    <IfModule mod_proxy.c>
        ProxyPass        /       http://localhost:8080/
        ProxyPassReverse /       http://localhost:8080/
        ProxyPassMatch   ^/(.*)$ http://localhost:8080/$1
    </IfModule>

    LogLevel Debug
    ErrorLog /home/host/subdomain.host.com/log/error.log
    CustomLog /home/host/subdomain.host.com/log/access.log combined
</VirtualHost>

However now when I point a browser to subdomain.host.com I am faced with a blank screen. Literally nothing in browser. Or so it appears. If I view source, I can see what appears to be a successfully delivered web page. So why is there nothing in the browser?

Looking through the source, I've tried to follow all the links in the HTML source to see if my server is delivering them, for example this lot:

<script src="/assets/preload_store-8d9173c7fdb49e0fc758a572fc829b20.js"></script>
<script src="/assets/locales/en-54e7e7ca87a0948886f81429f53da979.js"></script>
<script src="/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js"></script>
<script src="/assets/application-79a710ee3ddb255d335596d4c815ffcc.js"></script>

Oh dear, they are all 404:

root@www:~# curl -I 'http://subdomain.host.com/assets/preload_store-8d9173c7fdb49e0fc758a572fc829b20.js'
HTTP/1.1 404 Not Found
Date: Wed, 01 Jul 2015 09:13:40 GMT
Server: Apache/2.4.7 (Ubuntu)
Status: 404 Not Found
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Discourse-Route: exceptions/not_found
Content-Type: text/html; charset=utf-8
X-Runtime: 0.043835

That can't be good. Same goes for CSS, images, everything. This must be why the page is blank.

I suspect this is a problem with the Apache VirtualHost proxy config above, I'll tinker with it. However the log files are uninformative: no errors, just mod_proxy reporting success (initialising; granting auth; running scheme http handler; acquiring connection; connecting; completing; releasing connection).

I'm hoping this isn't anything more gnarly than the Apache config. Hunting around, apparently Docker has problems with certain storage drivers:

So here's my docker info:

root@www:~# docker info
Containers: 1
Images: 27
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.0-x86_64-linode59
Operating System: Ubuntu 14.04.2 LTS
CPUs: 2
Total Memory: 1.945 GiB
Name: www
ID: BLAH:BLAH:BLAH:BLAH:BLAH:BLAH:BLAH:BLAH:BLAH:BLAH:BLAH:BLAH
Username: me
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

If anyone has any pointers, I'd appreciate it.

Many thanks.

Posts: 2

Participants: 1

Read full topic

Blank page after install

Discourse ignoring Category trust_level_0 (registered user) making posts public

0
0

@nickjharrington wrote:

I'm running http://magistrates.today/ version 1.4.0.beta1 as a private member-only forum.

I have one Category Public with security "everyone" can Create / Reply / See. Therefore a couple of posts can be public for visitors; inviting sign-up before approval.

Topics posted to Category Judicial are with security "trust_level_0" so that only approved users can view content. However, new posts or post replies to this topic are appearing as public when their Category explicitly makes these hidden to a non-member.

When spotted, I have to set the thread to a Category Public and then re-categorise as Judicial.

I'm pretty certain I've got the security settings correct.

Is this a bug?
Is there a security configuration trick to guarantee posts don't leak public when expressly set to only trust_level_0 for registered approved users?

Happy to give you Admin for a looksee.

Nick

Posts: 1

Participants: 1

Read full topic

Topic title Emoji not supported in notifications

0
0

@meglio wrote:

Please take a look at the screenshot.

While using emoji in title is something we really love, showing them in the notification popup really makes no sense. Is this something that should be fixed?

Posts: 2

Participants: 2

Read full topic


Invite only - trust level?

0
0

@martindoersch wrote:

I want to run my discourse in invite only mode.
For me as admin it works just fine. But standard users don't see the invite friends button.
Is invitation connected to a trust level?

Posts: 2

Participants: 2

Read full topic

Biggest/busiest Discourse forums?

0
0

@AstonJ wrote:

Just wondering what the biggest Discourse forums are... and the busiest (concurrent users or posts per day).

Anyone got any ideas? sunglasses

Posts: 6

Participants: 3

Read full topic

Alter String Shown?

0
0

@Er00 wrote:

I wondered if there's a good way of altering strings (specifically in this case we want to alter "like" to "kudos" which will be a bit of a pain because "like" is both a noun and a verb whereas "kudos" isn't but I digress...).

I could alter it by altering the translation files, but I'd prefer not to cause issues when there are updates to merge in, etc. so was hoping someone might have a suggestion for a better way to approach this.

Thanks in advance! smile

Posts: 3

Participants: 2

Read full topic

Missing keys in transifex

0
0

@Maya_Leshkowitz wrote:

Hi, I am having trouble finding the keys docker.upgrade, docker.perform_upgrade in transifex. (translating to Hebrew) Is it possible that they are missing or am I not searching correctly. I did find other keys that I searched for.

Posts: 5

Participants: 3

Read full topic

Ipad mini with IOs 6.02 display but won't link to single Suggested Topics

0
0

@anja wrote:

Hello there,

i have a user with Ipad mini IOs 6.02 and its Safari. If she tip on a topic inside the Suggested Topics it won't load the topic. In our Office we habe an bigger and newer Ipad with IOs 8.x and its Safari. On this is works fine.

My Discource version is v1.4.0.beta3 +3 .The server runs on normal Ubuntu 14.04 at Digital Ocean -> http://diskutierbar.com

Do you have a hint to fix it with the older Ipad Mini?

Thanks for your great piece of Software ok_hand

Posts: 6

Participants: 2

Read full topic

Keyboard shortcuts in editior break standard OSX shortcuts

0
0

@kportertx wrote:

On OSX, I frequently use the following standard shortcuts that work across all applications:

  • ctrl+e for end of line
  • ctrl+a for beginning of line
  • ctrl+k to copy from the cursor to the end of the line
  • ctrl+y to paste copies made with ctrl+k

Of these ctrl+k and ctrl+y do not work which has been somewhat frustrating since this is the only app I use where they do not work confused. This negatively impacts my user experience frowning.

Posts: 2

Participants: 2

Read full topic

Upgrade console has no content during upgrade

0
0

@eriko wrote:

When I run an upgrade via /admin/upgrade the upgrade works but the console never shows what is happening and the grey "upgrading..." button stays greyed out and the "Reset Upgrade" buttons stays available. While upgrade does happen and complete the upgrade page shows not status and does not complete. Any thoughts.

Docker, multisite, Current docker image and code base, Docker version 1.6.1, build a8a31ef/1.6.1 on Oracle Linux (7 RHEL7)

Posts: 3

Participants: 2

Read full topic


To see the number of anonymous visits

0
0

@tenzan wrote:

Admin : Dashboard : API requests : Anonymous - is this where to see the number of anonymous visits?

Posts: 2

Participants: 2

Read full topic

Upgrade from Admin: Operation not permitted

0
0

@hongquan wrote:

I tried to upgrade Discourse from Admin UI, but failed due to "Operation not permitted" error

$ cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}
warning: unable to unlink app/assets/javascripts/admin/models/report.js: Operation not permitted
warning: unable to unlink app/assets/javascripts/discourse/templates/search/category_result.hbs: Operation not permitted
warning: unable to unlink app/assets/javascripts/discourse/templates/search/post_result.hbs: Operation not permitted

Tried looking for similar topic in this forum, but not found. So I have to create this topic. Here is the Linux account detail:

  • The docker software is installed with sudo apt-get, by kaka_root user. This user is normal user, but is "sudoer".
  • The git repo discourse_docker is cloned by kaka_dev user. This user is not "sudoer". This user can run ./launcher ssh app successfully, and become root inside container after that. This user can also run ./launcher rebuild app successfully.
  • Inside container, the folder /var/www/discourse/ is under discourse user.

Platform detail:
Linux hostname 3.5.0-52-generic #79~precise1-Ubuntu SMP Fri Jul 4 21:03:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I can upgrade Discourse successfully with ./launcher command. But my team want to be able to do in Admin UI.

How can I solve this?
Thanks and regards.

Posts: 1

Participants: 1

Read full topic

Email Digest bug? Sending out emails with visited articles

0
0

@stroupaloop wrote:

My users are experiencing a weird issue with digest emails where even if they visit a post OR several weeks have passed, posts still end up in their email digest.

Based on some research, we understood the classification of whether a post is included in the email digest is the following:

Topics you've never entered are governed by the second dropdown; those are highlighted with the "new" indicator, they don't get post bubbles.

Basically, as far as the topic list is concerned, topics can have three states: new, visited and tracked. New topics have the indicator, visited ones have no indicator and tracked topics get post bubbles.

From your perspective, a topic starts out as "new". It becomes "visited" when you view it or the "Consider topics new when" time has elapsed. It becomes tracked either manually or after you've spent "Automatically track topics I enter" seconds viewing it.
Thus, if auto-track is set to "always" and consider new is set to "until viewed", topics will never be "visited", the only state in which they have no indicators in the topic list. smiley

From: https://meta.discourse.org/t/marking-all-new-topics-as-new/27451/6

I'm getting reports from users that even though they've visited articles and/or it's been several weeks, those posts are still getting included in the email digest. Any one else experience this issue?

It's become a significant enough problem where I'm receiving complaints by multiple users.

Posts: 2

Participants: 2

Read full topic

After upgrade to 1.4.0.beta4 Admin->Overview is empty

0
0

@anja wrote:

Hello again,

the latest update flush the data. What can i do?

Edit: Restore from old internal discource backup don't work. The restore is not finishing and results in an error Message like this ";-)"
I restored a backup from digital ocean and then a restore of the internal discource backup. All works fine now . I think this version i will skip smile

Thanks

Posts: 4

Participants: 3

Read full topic

Cannot rebuild my forum instance it gives the error "Failed to bootstrap"

0
0

@Mohit_Gupta wrote:

Tried to upgrade the forum from web upgrade option. There were some error during upgrade process, which I did not note down. After some time, discourse stopped working. Now I am getting below error on rebuild

I, [2015-07-02T07:14:15.628794 #44]  INFO -- : > rm /root/upgrade_postgres
I, [2015-07-02T07:14:15.629839 #44]  INFO -- :
I, [2015-07-02T07:14:15.630236 #44]  INFO -- : Replacing data_directory = '/var/lib/postgresql/9.3/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.632044 #44]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.649887 #44]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.650550 #44]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.651186 #44]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.651881 #44]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.652786 #44]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2015-07-02T07:14:15.654626 #44]  INFO -- :
I, [2015-07-02T07:14:15.654982 #44]  INFO -- : Replacing (?-mix:#?max_wal_senders *=.*) with max_wal_senders = $db_max_wal_senders in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.655698 #44]  INFO -- : Replacing (?-mix:#?wal_level *=.*) with wal_level = $db_wal_level in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.656362 #44]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.656991 #44]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.657615 #44]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-07-02T07:14:15.658270 #44]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/9.3/main/pg_hba.conf
I, [2015-07-02T07:14:15.658919 #44]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/9.3/main/pg_hba.conf
I, [2015-07-02T07:14:15.659795 #44]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.3/bin/postmaster -D /etc/postgresql/9.3/main
I, [2015-07-02T07:14:15.672821 #44]  INFO -- : > sleep 5
2015-07-02 07:14:15 UTC [73-1] FATAL:  could not write lock file "postmaster.pid": No space left on device
I, [2015-07-02T07:14:20.678370 #44]  INFO -- :
I, [2015-07-02T07:14:20.679125 #44]  INFO -- : > su postgres -c 'createdb discourse' || true
createdb: could not connect to database template1: 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"?
I, [2015-07-02T07:14:20.721297 #44]  INFO -- :
I, [2015-07-02T07:14:20.722077 #44]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
psql: 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"?
I, [2015-07-02T07:14:20.764965 #44]  INFO -- :
I, [2015-07-02T07:14:20.765680 #44]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
psql: 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"?
I, [2015-07-02T07:14:20.807213 #44]  INFO -- :
I, [2015-07-02T07:14:20.807989 #44]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
psql: 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"?
I, [2015-07-02T07:14:20.851425 #44]  INFO -- :
I, [2015-07-02T07:14:20.851798 #44]  INFO -- : Terminating async processes


FAILED
--------------------
RuntimeError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #<Process::Status: pid 99 exit 2>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
38d5c6f1d5969c769186535764858642adc4076ab2e1aef3e56579738d673a40
FAILED TO BOOTSTRAP
[ec2-user@ip-172-31-22-139 discourse]$

Posts: 3

Participants: 2

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images