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

Cannot reach images folder via ssh terminal

$
0
0

@Ankhamax wrote:

I cannot reach the following folder via ssh

/var/www/discourse/public/images

It keeps returning the "/var/www: No such file or directory". How to solve it?

I am trying to upload the logo of my site.

Thanks

Posts: 12

Participants: 4

Read full topic


How to increase Discourse avatar resolution with JS?

$
0
0

@Drew_Warwick wrote:

I prefer to increase the avatar sizes on Discourse so I can see them better. You'll run into an issue doing this though because since the avatar images are 45x45 pixels, if you stretch them they get blurry. I had been using a snippet of of javascript (not made by me, and I forgot where I found it) to upscale the resolution of avatars since around last September, but a month or two ago it stopped working. Here is what I was using:

var originalAvatarImg = Discourse.Utilities.avatarImg;
Discourse.Utilities.avatarImg = function(options) {
    if (options.size === 'large' || options.size === 45) {
        options.size = 120;
    }
    return originalAvatarImg(options);
}
Discourse.Utilities.avatarImg({size: "large"});

What was changed in Discourse in the past month or two that would break this, and how can I change that code to fix it?

Posts: 9

Participants: 5

Read full topic

How to add translation client.xx.yml and server.xx.yml files to the server?

$
0
0

@Ankhamax wrote:

I am trying to upload the custom client.xx.yml and server.xx.yml files to the server to the following location, but I couldn't access it at all.

/var/www/discourse/config/locales/

Thanks

Posts: 3

Participants: 2

Read full topic

UNICORN_WORKERS vs UNICORN_SIDEKIQS, DISCOURSE_DB_POOL?

$
0
0

@Caswal_Parker wrote:

Like a lot of people I am wanting to migrate my phpbb3 forum across to discourse. It's a reasonable sized forum of 38,000 users and 98,000 threads. I have done one trial run and impressed by the import process so far.

The problem is the queued jobs processing time, and reading advice about creating more sidekiqs etc. Just across the posts people seem to be approaching this with different methods (setting workers, sidekiqs etc). I have search around but can't find any description as to what is best.

Within your app.yml you can set:

UNICORN_WORKERS

But what does that set/do compared to setting

UNICORN_SIDEKIQS

In one post about increasing SIDEKIQS, it was recommended to increase DISCOURSE_DB_POOL as well, do you have to do this if you increase the workers? Or does the workers setting wrap sidekiqs? So what is best practice? Just setting UNICORN_WORKERS and it works it all out?

I am running my site more old school. (None of this cloud business). So it is a dedicated box:

Xeon E5-1620v2 4 Physical Cores, 8 Logical Cores, 3.7ghz
64gb Ram
2x2TB Spinny Disks Soft Raid.

The only other thing the box is currently running is an apache2.4 server, covering my wordpress install, and the old phpBB forums.

My current app.yml sets db_shared_buffers to 16GB, db_work_mem to 40MB.

Thanks for any help, Cheers.

Posts: 4

Participants: 2

Read full topic

Discourse 1.5 stable?????

Hide user profile and from user page & user search

$
0
0

@PeteB wrote:

Hi

Is it possible to for users to hide their Discourse profile and hide themselves from the user page & user search?

Secondly is it possible to give users read-only access?

Finally can these setting be set via the API?

As some background:
We have a closed Forum setup, authenticated via SSO to a separate systems where users already have profiles and the ability to hide their profiles from other users. I'm thinking if a user set their profile as private in the other system, we would hide their discourse profile, and hide them from the user page and search, and restrict them to read-only access.

Pete

Posts: 1

Participants: 1

Read full topic

Translation site_settings.manual_polling_enabled

$
0
0

@fefrei wrote:

I'm confused by the translation key site_settings.manual_polling_enabled.

Earlier, the English text was Poll via POP3S for email replies., but it now changed to Push emails using the API for email replies.. Is this really correct? What does this setting control, exactly?

Posts: 1

Participants: 1

Read full topic

Spoilers not working for external images

$
0
0

@Alankrit_Choudh wrote:

Tried.

[spoiler]http://i.imgur.com/zJ4M8Fx.jpg[/spoiler]

[spoiler]https://i.imgur.com/zJ4M8Fx.jpg[/spoiler]

[spoiler][img]http://i.imgur.com/zJ4M8Fx.jpg[/img][/spoiler]

PS: the pic is very lewd be careful when you click it.

One of our community members reported me about this spoiler not working. After few tests on my community. The image uploaded to my discourse over there the spoiler works perfectly, but external image links do not work.

Posts: 1

Participants: 3

Read full topic


How to embed my forum like this? Or maybe customize?

$
0
0

@kalihman wrote:

Hello, I would like make a website with forum that almost exactly same as this one. http://discuss.littlebits.cc/
I already running a discourse instance on digitalocean by the way.
What I'm trying to do is to make a few landing pages, and embed forum in navbar like that. If possible, I want to make a custom login page as well (seems this website is using discourse's db as its shopping mall instance as well, which is interesting) . I don't think it made a custom static page inside the forum, but rather embed the forum to different instance. Can somebody give me a hint how to do this?? Thank you!!

Posts: 5

Participants: 2

Read full topic

Help! Email issues after 1st digital ocean bootup. Curl test worked with email. Pasted password

$
0
0

@dylanh724 wrote:

Help :confused: digital ocean tier 3 (40gb ssd 2gb ram).

I tried this TWICE and still the same result. What am I doing wrong? I am using Sparkpost.

Posts: 2

Participants: 2

Read full topic

Seeking a current guide for DigitalOcean droplet using the 1-click "Discourse 14.04" button

$
0
0

@dylanh724 wrote:

Everything wants me to access some "yml" file that doesn't seem to exist with the latest and greatest way to install Discourse, now that it's an official 1-click app on DigitalOcean droplets.

Anyone have a non-dated guide? I'm struggling with setting up my SMTP :confused: I did a CURL test and my smtp works fine, but alas, not getting an email after registering with my admin! I'm using sparkpost for SMTP.

Posts: 3

Participants: 2

Read full topic

Discourse Version 1.7

Require email activation before Admin approval

$
0
0

@precessor wrote:

I have a discussion site where Admin approval of new users is a necessity. However, I would like to ensure email activation has occurred before the approval is requested. And, when the new user has activated their email address, to receive some sort of notification that a new user is ready for approval. I am not sure I can accomplish this.
The use case is

  • New user registers, automatically receives activation email, clicks the activation link. However, user does still not have access to content - Admin approval still needed
  • Admin receives notification, approves (or not)
  • User receives email "hey, you're in!"

Is this possible?
Thanks

Posts: 1

Participants: 1

Read full topic

How to access the discourse database?

$
0
0

@Newuser wrote:

Hi all,

This is probably a stupid question but how can I access the database?
Is there something equivalent to phpadmin (or another GUI) that I can use to view and edit the database of discourse? If not, then what is the best way to access/view/edit it?

Posts: 2

Participants: 2

Read full topic

Reply to staged user goes to Hotmail Junk folder

$
0
0

@Tom_Newsom wrote:

What I did:

  1. Set up a new email account and category for mailing in as per this howto
  2. Used a Hotmail account to send an email to it
  3. The Topic was created in discourse
  4. I replied to it in discourse
  5. The reply email ended up in Hotmail's Junk folder

I want to set up an incoming address for 3rd parties to contact our members, but it's no use if the replies don't come through. Maybe the issue here is that there so many addresses involved?

  1. notifications@southlondonmakerspace.org - which is the outgoing address
  2. slmsdiscourse@gmail.com - which is the incoming address
  3. slmsdiscourse+%{reply_key}@gmail.com - which is the replyto
  4. slmsincomingemailtest@gmail.com - which is the per-category incoming

Posts: 6

Participants: 3

Read full topic


Best way to implement a "thread prefix" option?

$
0
0

@Newuser wrote:

Hi all,

I succesfully set up Discourse and soon I want to migrate my old MyBB forum to this installation.
But before doing so, I want to implement a feature me and my members use a lot in MyBB.
It's called "thread prefixes" and I haven't seen an option in Discourse to enable a similar feature.

I want it to look like this when a member starts a new topic:

Is there a plugin available for this or do I have to edit the source code myself?
If the latter, where do I start and what would be the best way to do this?

I realize that a lot of people don't understand why I really want to have this option, but for me it is just really necessary.

Can anyone help me?

Posts: 5

Participants: 3

Read full topic

SSO - "There is a problem with your account. Please contact the site's administrator."

$
0
0

@programster wrote:

I just setup SSO on my discourse forum that I deployed through docker using the latest "stable" version (1.5). To clarify, I have my own SSO service that I am using to log into discourse. I am not using Discourse as an SSO provider. I used the cviebrock/discourse-php PHP package in order to develop the SSO service to work with discourse.

Whenever I hit login, everything redirects okay, but I land on the discourse forum with the message:

There is a problem with your account. Please contact the site's administrator.

The address I land on is:

http://discourse.mydomain.org/session/sso_login?sso=bm9uY2U9NzFiNGIzM2UxMGQxYWJiYzc1MGI3MDFjMzE4ZTQwZTMmZXh0ZXJuYWxfaWQ9NTcw&sig=a3250a90855912afdbeb13be004449df52f404934b0414de02444c0d9be812ad

I tested messing with the signature or the sso and if I do that I get a blank page. I also tested plugging in an incorrect secret and got a different error message.

Has anyone else received this error message and know what I should do? Are there logs anywhere I can get more detailed information from?

Posts: 6

Participants: 3

Read full topic

Spam is catching more messages and I don't know why

$
0
0

@billgraziano wrote:

I've noticed lately more messages that are false positives for spam. A number seem to be people posting Thank You messages. I checked the minimum message length and they are over that.

The GUI doesn't display the reason it was flagged (that I can find) so I don't know what setting to to change.

Posts: 3

Participants: 2

Read full topic

Default IP log retention time

Can't clear a grey unread counter on a meta topic due to Whispers

Viewing all 60613 articles
Browse latest View live




Latest Images