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

Filezilla and attempting to log in for first time

$
0
0

@riseUp wrote:

Hello.

I'm a beginner at this so please bear with me. I was able to install Discourse for the $99 method. I received an email from Discourse stating the following: "Log in to your server via SSH and change the root password."

On the email, it provided me the IP address, user name, and password.

I'm using Filezilla, and I can't seem to log in. I added the word "root" to the user ID for Filezilla but I don't think this is right.

Can anybody please advise me? Greatly appreciated.

Posts: 10

Participants: 3

Read full topic


Blockquotes on Profile Page

$
0
0

@cpradio wrote:

Blockquotes can be unreadable on the Profile About Me area.

Dark Theme (missing left border, but readable)

Light Theme (unreadable)

PR Submitted:

With PR Dark Theme (border is visible again)

With PR Light Theme (it is readable)

Posts: 1

Participants: 1

Read full topic

Can't add group member or owner to group

$
0
0

@ccdw wrote:

I'm trying to add members and owners to groups on:

trydiscourse.com

Although, I can add a member to a group by going to admin/users/user-name and adding the user to the group within the user admin page.

To reproduce:

Go to:

.trydiscourse.com/admin/groups/custom/group-name

and try to add an owner or member (note member from screen grab below was added in user admin page)



It does allow me to select an owner - see below:




But once I've saved and refreshed the page the group owner has disappeared - see below.

Have I missed something?

As I said above, I can select group members by adding the member in the user admin section - but not from the group management page itself.

Also whilst here - is there any chance of ever being able to have group names with spaces in them?

Posts: 1

Participants: 1

Read full topic

How to make the queued posts visible to their authors?

$
0
0

@iva wrote:

Currently, if Discourse is configured to require approval of posts unless the user has a certain trust level, those pending posts are not visible to their authors.

I'm tasked with migrating an existing forum from another platform where this works differently, and one of the requirements is to preserve the old system's behavior in this respect.

So, my goal is to make it such that when a "not fully trusted" user posts a reply or starts a new topic, the message is queued for approval and yet is immediately visible to its author, as if it has already been approved, while no other users (except for moderators) are able to see this post.

I'm only beginning to hack on Discourse, finding my way around the code. Can someone more experienced please point me in the right direction on how best to implement this?

Thanks.

Posts: 1

Participants: 1

Read full topic

Navigating between images within a post

$
0
0

@gdpelican wrote:

For posts with multiple images, it'd be really nice to be able to navigate between images while in the expanded 'lightbox' view (using :arrow_left: and :arrow_right:), rather than having to click out and find the next image within the post.

Specific use case I'm thinking of is 'I'm a developer looking at a design which is 8 images long. I want to be able to see each of the images in succession, without having to click each one, close it, scroll to the next one, click it, etc.'

Posts: 2

Participants: 2

Read full topic

Broken link here on meta

Cannot update preferences: Website is invalid

$
0
0

@pfaffman wrote:

I just tried to update my preferences to change "new" to mean "created in the last 2 days". When I click save changes, I get

website is invalid

I reloaded the preferences page and tried again, getting the same error.

Posts: 7

Participants: 5

Read full topic

"currently disabled" even when button shows that

$
0
0

@Xack wrote:

The picture above shows that the desktop notifications button is displaying it's enabled, otherwise it would say "Enable notifications" and not "Disable notifications". However, there's a "(currently enabled)" next to it, which feels unneeded since the button shows it's enabled anyway.

Just a minor nitpick. :smiley:

Posts: 2

Participants: 2

Read full topic


select2.png missing on meta

$
0
0

@gerhard wrote:

On meta the select2.png is missing.

GET https://cdn.discourse.org/assets/select2.png 404 (Not Found)

Works fine on my development machine:

Posts: 1

Participants: 1

Read full topic

Preformatted text or code block does not work in nested list

$
0
0

@jomaxro wrote:

OK, so this is a weird error I just encounted, not sure if I have reliable repro steps, but here I go:

So, I was trying to put code inside a nested list, and ran into all sorts of issues:
Typing this:

1. Foo
1. Bar
 1. Foobar
 1. Barfoo
```
some code
more code
```
 3. This should be 3!

Results in this:

  1. Foo
  2. Bar
    1. Foobar
    2. Barfoo

some code
more code
  1. This should be 3!

Adding a line above or below the code block doesn't work, and indenting the code block breaks it.

1. Foo
1. Bar
 1. Foobar
 1. Barfoo
 ```
 some code
 more code
 this isn't a code block anymore...
 ```
 3. Now this is a 3!

Broken code block:

  1. Foo
  2. Bar
    1. Foobar
    2. Barfoo

      some code
      more code
      this isn't a code block anymore...
    3. Now this is a 3!

If I try and use preformatted text instead, I managed to crash the tab. (I can't put the text here as it will crash, but I will attempt to explain). If you copy all the text below this paragraph and paste it into the editor, it will freeze and the tab will have to be closed. The same will occur if you attempt to take the preformatted section below and indent it by an additional 4 spaces (which I believe will cause the last list item to be a 3 not a 1.

  1. Foo
  2. Bar
    1. Foobar
    2. Barfoo
{
    "craftable_recipes" : {
        "building_parts" : {
            "ordinal" : 4,
            "name" : "Building Parts",
            "recipes" : {
                "wood_doorway_recipe" : {
                    "recipe" : "file(../recipes/wood_doorway_recipe.json)"
                },
                "wood_double_doorway_recipe" : {
                    "recipe" : "file(../recipes/wood_double_doorway_recipe.json)"
                }
            }
        }
    }
}
  1. This should be 3!

Posts: 3

Participants: 2

Read full topic

Error when opening user preferences while post editor is visible

User website validation doesn't allow IP addresses

Sample 3 instance multisite

$
0
0

@webeindustry wrote:

Here is a tested multisite YAML file which might ease the confusion some have in regards to setup:

# this is the base templates used, you can cut it down to include less functionality per container
templates:
  - "templates/cron.template.yml"
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
# - "templates/sshd.template.yml"
  - "templates/web.template.yml"

# which ports to expose?
expose:
#  - "7000:22"  ## for proxy front-end
#  - "2222:22"  ## for SSH
params:
  # git revision to run
  version: tests-passed

env:
  UNICORN_WORKERS: 8
  db_shared_buffers: "1G"
  db_work_mem: "40MB"
  DISCOURSE_DEVELOPER_EMAILS: 'developer@gmail.com'
  DISCOURSE_HOSTNAME: 'first.site.com'
  DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: developer@mandrillapp.com
  DISCOURSE_SMTP_PASSWORD: yaRGJVKjLJ8YqwJVKj

# These containers are stateless, all the data is stored in /shared
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared

# you may use the docker manager to upgrade and monitor your docker image
# UI will be visible at http://yoursite.com/admin/docker
hooks:
  after_postgres:
     - exec: sudo -u postgres createdb discourse_dbase2 || exit 0
     - exec:
          stdin: |
            grant all privileges on database discourse_dbase2 to discourse;

          cmd: sudo -u postgres psql discourse_dbase2
          raise_on_fail: false

     - exec: sudo -u postgres createdb discourse_dbase3 || exit 0
     - exec:
          stdin: |
            grant all privileges on database discourse_dbase3 to discourse;

          cmd: sudo -u postgres psql discourse_dbase3
          raise_on_fail: false

     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase2 <<< "alter schema public owner to discourse;"'
     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase2 <<< "create extension if not exists hstore;"'
     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase2 <<< "create extension if not exists pg_trgm;"'

     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase3 <<< "alter schema public owner to discourse;"'
     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase3 <<< "create extension if not exists hstore;"'
     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase3 <<< "create extension if not exists pg_trgm;"'

  after_code:
    - exec:
        cd: /var/www/discourse/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-bbcode-color.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-tagging.git
          - git clone https://github.com/discourse/discourse-akismet.git
          - git clone https://github.com/discourse/discourse-solved.git

  before_bundle_exec:
    - file:
        path: /var/www/discourse/config/multisite.yml
        contents: |

         discourse_instance2:
           adapter: postgresql
           database: discourse_dbase2
           pool: 25
           timeout: 5000
           db_id: 2
           host_names:
             - box.site.com

         discourse_instance3:
           adapter: postgresql
           database: discourse_dbase3
           pool: 25
           timeout: 5000
           db_id: 3
           host_names:
             - rebox.site.com

  after_bundle_exec:
    - exec: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate

# Remember, this is YAML syntax - you can only have one block with a name
run:
   - exec: awk -F\# '{print $1;}' ~/.ssh/authorized_keys | awk 'BEGIN { print "Authorized SSH keys for this container:"; } NF>=2 {print $NF;}'
#  - exec: rails r "SiteSetting.notification_email='developer@gmail.com'"

The part to take note of is after the

hooks:

There are chunks for each additional instance, in this case two extras. You can adapt this as need be.

Each chunk to add would be

1.

     - exec: sudo -u postgres createdb discourse_dbase4 || exit 0
     - exec:
          stdin: |
            grant all privileges on database discourse_dbase4 to discourse;

          cmd: sudo -u postgres psql discourse_dbase4
          raise_on_fail: false

2.

     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase4 <<< "alter schema public owner to discourse;"'
     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase4 <<< "create extension if not exists hstore;"'
     - exec: /bin/bash -c 'sudo -u postgres psql discourse_dbase4 <<< "create extension if not exists pg_trgm;"'

3.

         discourse_instance4:
           adapter: postgresql
           database: discourse_dbase4
           pool: 25
           timeout: 5000
           db_id: 4
           host_names:
             - unbox.site.com

Adding those 3 chunks below their similar in the YAML would provision a 4th site.

:smile: :+1:

Posts: 1

Participants: 1

Read full topic

"Sidekiq is not running"

$
0
0

@renai wrote:

hey folks,

Firstly, Discourse rocks. Best forum software ever. Thanks so much for creating and supporting it!

Secondly, I have a small bug. I have a Discourse instance at http://forum.delimiter.com.au. It was installed in a DigitalOcean droplet by the Discourse team for me.

Everything has been performing fine for months, but recently I've been getting the following error:

"Some problems have been found with your installation of Discourse: Sidekiq is not running. Many tasks, like sending emails, are executed asynchronously by sidekiq. Please ensure at least one sidekiq process is running. Learn about Sidekiq here."

Can anyone tell me what I need to do to resolve this?

Kind regards,

Renai

Posts: 7

Participants: 2

Read full topic

Going live tomorrow - need help

$
0
0

@gokeeffe wrote:

Hi Guys,

So excited about going live with our new Discourse site....we are currently getting read for the switch over but we are also concerned as you would expect.

So would like to know what exactly the warning message below means...this is in Settings > Login

Staff must approve all new user accounts before they are allowed to access the site. WARNING: enabling this for a live site will revoke access for existing non-staff users!

What does revoke access...for non staff users mean?

Posts: 16

Participants: 5

Read full topic


Quick messages plugin

$
0
0

@angus wrote:

Here's something I've been playing around with for a bit. Will definitely still be some issues to iron out, but it mostly works. Would be good to get some feedback at this stage. Please use with caution :slightly_smiling:

repo: https://github.com/angusmcleod/discourse-quick-messages

Description

Adds a dropdown in the header that shows you your latest private messages and a 'chat' experience for private messages similar to Facebook Messages or Google Hangouts.

User notes:

Please note that this plugin extends the existing private message feature. If you are looking for a chat experience separate from the private message feature, I suggest @gdpelican's Babble plugin.

  1. You cannot yet have multiple chats open at once. If you open a new private message topic from the messages menu, it will override any existing private message compose and message stream you have open. Multiple chats open at once may be a future feature.

  2. New private messages composed from the "New Message" compose button in the messages dropdown behave like chat streams, i.e.:

    1. The topic title will be the usernames of the participants in the topic, e.g. "Bob & Mary".
    2. If the participants in the new topic match the participants in an existing topic, the existing topic will be continued rather than a new topic created.
  3. Notifications about private messages will no longer appear in the notifications stream in the user menu. Whenever there is a new post in any private message topic, that topic will automatically move to the top of the message menu list. The unread private messages count will appear above the messages menu icon, rather than the user menu icon.

  4. Using any compose action other than the two in the messages menu will display the normal discourse compose and should work as normal. It should be possible to transition seamlessly between the two types of compose experience.

Technical notes:

I have tried to override as little of the existing discourse composer functionality as possible. Where I have overridden existing discourse methods I have made a note of it in the code. See in particular here and here

Using this plugin on the same page as another topic does not produce conflicts in topic tracking as I have replicated some the functionality of screenTrack, rather than use it at cross purposes. See here.

Known issues

  1. The post button stays visible for a moment after closing the docked chat compose.

  2. Various CSS issues, including the messages menu loading spinner.

Posts: 5

Participants: 3

Read full topic

Chargebee Events plugin

$
0
0

@liliakai wrote:

A little rough but seems to work, feedback appreciated: https://github.com/liliakai/discourse-chargebee

This plugin creates an endpoint that listens for Events from Chargebee. The migrations create a table for recording chargebee events, as well as adding a chargebee_id field to users and invites.

After installing, generate an api key in Discourse for the system user and configure a webhook in Chargebee that points at <site_url>/chargebee?api_key=<api_key>.

The intended use case is a paywalled Discourse instance using Chargebee as a third part billing service. Hence, the following event handlers:

When a customer is created, they are invited to Discourse. If they accept the invitation, their chargebee customer id is associated with the resulting Discourse user. This is handled by storing chargebee_id on the invite and then cloning it over to the resulting User in an :after_create hook.

When a subscription is cancelled, the corresponding Discourse User is suspended.

When a subscription is reactivated, the corresponding Discourse User is unsuspended.

Posts: 1

Participants: 1

Read full topic

Where the welcome email template is used

$
0
0

@meglio wrote:

There is a key in Transifex for the "welcome" email: system_messages.welcome_user.text_body_template

In its body, it contains the %{new_user_tips} macro.
It also uses the following macros:

  • %{site_name}
  • %{base_url}/guidelines
  • %{base_url}/about

Now, there is a key in Transifex named system_messages.usage_tips.text_body_template. Its content is pushed into the above to replaced the %{new_user_tips}.


The question, is... if we have a separate template for %{new_user_tips}, it should be used somewhere else besides that welcome email. Where?

Posts: 1

Participants: 1

Read full topic

Embedding Video on Homepage

$
0
0

@Safa_Faheem wrote:

I'm trying to figure out how to embed a video on the homepage of a Discourse site I am an admin on. When I go to Admin settings, I see "Text Content" which contains the wording for what is shown on the Welcome page and "HTML/CSS", which I can use to embed a video but it does it on BOTH the homepage and the forum that shows after I login. I only want to embed a video on the homepage. How do I do that?

Posts: 2

Participants: 2

Read full topic

Creating a Footer

$
0
0

@Safa_Faheem wrote:

I'm trying to create a footer for the Welcome (pre-Login) screen of a Discourse site I'm working on. The footer should be divided like how the header is shown on this website with the gray line and the discourse symbol. There is a "Footer" section under HTML/CSS in the Admin site but it won't apply to the homepage. Any ideas?

Posts: 2

Participants: 2

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images