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

Configure message shown when forum is not available to public?

$
0
0

@Karthik wrote:

Hi Guys,

When the forum is closed to public (requires registration to view content), the following message shows up on the homepage. Is there a way to customize it?

An account is required. Please create an account or log in to continue.

Posts: 2

Participants: 2

Read full topic


Duplicate Uploaded Files

$
0
0

@fearlessfrog wrote:

Hi!

We're on 1.6.0.beta8 and recently experience a quick disappearance of our local server disk space, as detailed here:

We've found out that one user has taken 9GB of uploads disk space, despite not uploading that many files (file limits kept to defaults etc).

Looking at the upload::original_filename values it seems like we have a repeating set of 14 files duplicated 1729 times, i.e. 24,206 new files. The files themselves in that 14 file set are roughly the right size that when repeated would explain the sudden loss of disk space.

An example of the original filename that is duplicated also contains what looks like a hash:

RWRGuide08_zps91rnnhqk.png

Here's a tail extract of doing a loop for that user's upload so you can see the pattern and the type of files we are seeing:

print "#{upload.original_filename}, #{upload.filesize}, "

guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085, guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085, guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085, guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085, guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085, guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085, guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085, guide01_zpsyrgnbijn.png, 322155, RWRguide01_zps14rq1hk3.png, 580557, RWRguide02_zpsopafqq9p.png, 489787, RWRguide03_zpsml0uvds9.png, 595934, RWRguide04_zpsbj5xz2re.png, 710352, RWRguide06_zps5rkrzzew.png, 264144, RWRguide07_zpsarqkybgy.png, 265842, RWRguide08_zps91rnnhqk.png, 272160, RWRguide09_zpslyunlou1.png, 262078, RWRguide10_zpsz2mxpowq.png, 291464, RWRguide11_zpsaj3yptns.png, 548966, RWRguide12_zpswbt1oldj.png, 680332, RWRguide13_zpsiik40wve.png, 307085,

Here is one of those files details:

[3] pry(main)> Upload.find_by_original_filename("RWRguide01_zps14rq1hk3.png")

=> #<Upload:0x007feb02bafe60
 id: 8490,
 user_id: 251,
 original_filename: "RWRguide01_zps14rq1hk3.png",
 filesize: 580557,
 width: 690,
 height: 388,
 url:
  "/uploads/default/original/2X/c/cef57cd38aff4a6288438fe8e2121f40856dbd28.png",
 created_at: Wed, 08 Jun 2016 19:33:25 UTC +00:00,
 updated_at: Wed, 08 Jun 2016 19:33:25 UTC +00:00,
 sha1: "cef57cd38aff4a6288438fe8e2121f40856dbd28",
 origin:
  "http://i1133.photobucket.com/albums/m600/Sryan1991/RWRguide01_zps14rq1hk3.png",
 retain_hours: nil>

With a PostUpload.find_by_upload_id(n) call, it looks like these uploads are orphaned, and if created on June 08 then within the 30 day window of clean-up? I won't change anything as it might be better to determine root cause first. We have changed over from local_storage to S3_storage on 16 June, so I hope that doesn't confuse the 'deleted/orphaned' clean-up code?

How do we (a) clean up these files without losing content and (b) prevent this from happening again, especially as we have now switched to S3 storage so might be growing somewhere where the disk isn't a problem.

Thanks for any help.

Posts: 3

Participants: 2

Read full topic

Link dialog New Topic does not always include context

$
0
0

@mcwumbly wrote:

When I click + New Topic the composer is blank. Shouldn't it be filled in with the link or something?

Posts: 7

Participants: 5

Read full topic

AddThis buttons not reflecting changes to page

$
0
0

@tomwrench wrote:

I appreciate there is already a sharing option within Discourse posts, however I thought I'd play around a bit with the AddThis sharing buttons (https://www.addthis.com) on my site (see screen shot below) to see if they can promote sharing a little more. Having had a play around I've found the buttons fail to recognise changes in URL when the different pages are dynamically loaded.

E.g. I load the home page, then click through to a post, but when clicking on one of the AddThis buttons to share the post they are stuck with the URL of the original page it loaded on (the home page).

Currently I have the javascript code in the section in the customize admin option. Does anyone know a way to make this code to force reload so it shares the correct page when sharing?

Posts: 3

Participants: 2

Read full topic

Enable s3 uploads issue

$
0
0

@Louis_He wrote:

hi,guys
i has enable s3 uploads file image and have configure cdn domain images.xxx.com
working fine but have a issue just user uploaded images loading Thumbnails link is https://images-qun.s3-us-west-1.amazonaws.com/optimized/1X/8ecc8b292361112ef95a5a6ca5c0f01424a6d06b_1_375x500.jpeg
not is https://images.xxx.com/optimized/1X/8ecc8b292361112ef95a5a6ca5c0f01424a6d06b_1_375x500.jpeg
full image click loading link is right //images.xxx.com/original/1X/8ecc8b292361112ef95a5a6ca5c0f01424a6d06b.jpeg

thank you

Posts: 1

Participants: 1

Read full topic

NULL first_visited_at dates in the topic_users table

$
0
0

@Mittineague wrote:

While investigating the topic users table last month

Mysterious entries in topic_users table:

I noticed quite a few rows had NULL first_visited_at dates even though the last_visited_at date was not null.

Not certain whether or not it might be due to my dev set-up I ran this query to clean up the cruft.

UPDATE topic_users
SET first_visited_at = last_visited_at - interval '1 hour'
WHERE last_visited_at IS NOT NULL
AND first_visited_at IS NULL

(* I didn't think to give a total_msecs_viewed - a query for another day)

Shortly after more of the mysterious NULL first_visited_at fields appeared.

I've finally narrowed it down to Category Watching.

i.e. when a member is Watching a Category a row is created in the topic_users table. The first_visited_at date is NULL when the member hasn't visited the topic yet.

Unfortunately, when the member does get around to visiting the topic the first_visited_at field does not get populated.

These two queries should give much the same result

SELECT COUNT(id)
FROM topic_users
WHERE topic_users.first_visited_at IS NULL
AND topic_users.last_visited_at IS NOT NULL

SELECT COUNT(topic_users.user_id)
FROM topic_users
JOIN topics
ON topics.id = topic_users.topic_id
WHERE topic_users.first_visited_at IS NULL
AND topic_users.last_visited_at IS NOT NULL
AND topic_users.notification_level = 3
AND topics.category_id IS NOT NULL
AND topics.category_id IN( SELECT category_users.category_id
    FROM category_users
    WHERE category_users.notification_level = 3 )
AND topic_users.user_id IN( SELECT category_users.user_id
    FROM category_users
    WHERE category_users.notification_level = 3 )

Posts: 1

Participants: 1

Read full topic

How can I use domain instead of subdomain when Installing?

$
0
0

@hzung wrote:

Hi everyone,

When I set:
DISCOURSE_HOSTNAME: mydomain.com
instead of
DISCOURSE_HOSTNAME: forum.mydomain.com
The server always shows 502 Bad Gateway.
I try subdomain and it works, but I really want to point mydomain.com to Discourse on my VPS.

Please help!

Posts: 1

Participants: 1

Read full topic

Can i use a single e-mail id for multiple user registration in my TEST FORUM

$
0
0

@srikanth413 wrote:

HI,

i am creating a TEST FORUM in my vps. here my problem is with users creation, i want to use a single e-mail id for multiple user registration in my TEST FORUM. is it possible,or i have to create multiple e-mails for multiple user registrations. please help me out....

Posts: 4

Participants: 4

Read full topic


Topics from suppressed categories from the homepage are still shown in the latest

$
0
0

@Pad_Pors wrote:

this happens when the latest is not the set as the homepage. is it a bug or does it meant to be like this?

if it's going to be like this, is there a simple way to have the category page as the homepage, and suppress some categories from the latest page?

Posts: 1

Participants: 1

Read full topic

The translations are not applied in the mobile version

$
0
0

@Pad_Pors wrote:

the customized texts are not changed in the mobile version.

some of the texts are still shown in English and some others are the same as translated in transifex.

Posts: 1

Participants: 1

Read full topic

What is "Mailing List mode"?

$
0
0

@kuba-orlik wrote:

What does the "Mailing List mode" do? How does it affect my notifications?

The only information given to me in the UI is:

This setting overrides the activity summary.
Muted topics and categories are not included in these emails.

Posts: 4

Participants: 3

Read full topic

Moving from 1GB to 2GB Server

$
0
0

@Idan wrote:

I am installing Discourse on a 1GB memory server and I have 2GB swap file. I wanted to know if I upgrade the server to 2GB, will Discourse will adjust and use memory instead of the sawp file?

Posts: 3

Participants: 3

Read full topic

Email delivery issue

$
0
0

@Idan wrote:

I am using SparkPost as my SMTP Server email provider. I verified my subdomain by adding SPF and DKIM as TXT records in Route53 on Amazon Web Services.

I use Discourse forum software. When I signed up as admin, the email arrived to the designated email address, but in Mozilla Thunderbird it says:

This message may be a scam.

The email address comes from a noreply@sub.mydomain.com (an email just for an example) address.

noreply@sub.mydomain.com is not an active email address. I mean, I didn't set it up.

Is there a way to tell SparkPost to receive emails from this address or to do something that it won't be counted as a spam email. I'm suer there are some checking that is done in email providers that check if the email address is legit.

I probably missing some email configuration that tells email providers that this email is ok. I'm sure that email provdiers mark is as spam because they see it as address forgery, Any ideas?

Posts: 3

Participants: 2

Read full topic

What is site contact username, when it is used?

$
0
0

@Idan wrote:

What the site contact username means?

Does it mean that that the sender which users get to see when they recieved mails?

If so, I need to create a specific user with a username like 'Admin' so it will appear as the sender?

Right now I get:

A valid staff username to send all automated messages from. If left blank the default System account will be used.

When trying to put a random user name.

Posts: 4

Participants: 2

Read full topic

Auto install latest version

$
0
0

@Idan wrote:

When I went to the shadboard, it automatically installed version 1.6.0.beta8 and set it to "You're up to date!".

1) Is it suppose to be automatic?
2) Why is installed a beta version?

Thanks.

Posts: 3

Participants: 2

Read full topic


Dashboard alert for images

$
0
0

@Idan wrote:

In the dashboard it says:

"Set the graphic logos for your site. Update logo_url, logo_small_url, and favicon_url in Site Settings."

But I did set up URLs to my CDN where the images are, and I can see them on the site, so why the alert?

Posts: 4

Participants: 3

Read full topic

Configuring Google OAuth2

$
0
0

@Idan wrote:

1) When configuring OAuth2, should I use the exact discourse.org urls or use my own domain. It's not very clear?
2) Will the email address provided in consent screen will be presented to the users?

Thanks

Posts: 1

Participants: 1

Read full topic

Disable indexing site until live

$
0
0

@Idan wrote:

Is there an option to disable indexing of the site (e.g. for Google bot) until the site is ready. I need it to be live for certain social network integration and webmaster tools but I don't want it to be indexed just yet.

Maybe manually edit the robots.txt file myself?

Posts: 3

Participants: 2

Read full topic

How to create a new emoji set

$
0
0

@Geekess wrote:

I have tried to search this site, but couldn't find the answer to this question:
How can I create a new (custom for my site) emoji set that either extends one of the existing default sets, or is selectable in settings on its own?
I have recently migrated my forum from phpBB to Discourse, and while we love the modern look of Discourse, my members miss the large collection of custom emoticons for the old site.
I started adding them manually in Customization, but that poses three problems:
1. It is a large undertaking for all the emoticons
2. You can only use them if you type their exact name. You can't select them in the emoji-selector
3. Some of the sizes are off (squished), even though I haven't ticked the "force square dimensions" for emoji setting

I have probably overlooked something here, Discourse is very new to me. If someone could but point me in the right direction?

Posts: 5

Participants: 4

Read full topic

Different landing page for desktop vs mobile theme?

$
0
0

@smartwatchme wrote:

Is it possible to somehow set a different landing page based on desktop vs mobile? i.e when you're on mobile you land on /categories while desktop would land on /latest.

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images