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

A basic Discourse archival tool

$
0
0

@mcmcclur wrote:

It seems that it's pretty tricky to save an entire discourse site to a static version. According to this post by Jeff Atwood, it's "much harder than you'd think". It doesn't appear that this is a priority for the Discourse team, either, which is perfectly understandable.

For my purposes, though, I found that I really needed some way to generate basic, static HTML versions of my Discourse sites. I've been using Discourse for a couple of years now as a discussion board when teaching my college math classes so, every few months, I retire one or two sites and start one or two more. Obviously, the discussions on the retiring sites have value so I really needed some way to save them. Ultimately, I figured I'd build my own tool.

The basic idea is simple: Rather than scan the HTML and use the HTTP protocol to crawl the site, I figured I'd use the Discourse API to crawl the site. You can view some results here:

Before looking at these, please temper your expectations. I'm a college math professor, not a professional web developer. And, while I'd like it to look pretty nice, I'm mainly interested in simplicity. My guess is that most folks here would consider this to be proof of concept, rather than a serious, working tool. Taking that into account, here are some features/limitations:

  • The code grabs the site logo and places it in a fixed banner at the top. If no site logo is found, it uses the site logo at the top of meta by default.
  • It uses the API to grab the topic list and generates a new page for each topic. You can limit the number of times you respond to more_topics_url.
  • There is a single main page that links to those topics.
  • MathJax is important for my needs so every page loads and configures MathJax.
  • There is no other JavaSciript and no other plugins are considered.
  • There are no user pages or category pages.
  • It's not very configurable without messing with the code directly.

In spite of all the limitations, it's sufficient for my needs and I'm rather happy with it. I have no particular plans to expand it, other than incrementally as needed. If anyone is interested, the code (which is Python) is available here:

Perhaps, someone will push it further or just be inspired by the idea?

Posts: 14

Participants: 6

Read full topic


Resetting or Destroying Single Sign On Records

$
0
0

@qco wrote:

We have recently transitioned our main website from an old Django backed website to a new WordPress based website. We have migrated users, and are trying to switch the SSO provider from our old platform to our new one. Is there a fast/easy way to delete old single sign on records so that the new WordPress platform can re-sync users with their existing Discourse accounts?

Posts: 2

Participants: 2

Read full topic

Decrease default session timeout

$
0
0

@Volodymyr_Fedak wrote:

Hello,

We're launching discourse as a docker image where we have possibility to modify app.yml.
Also we're using SSO feature to log in/out users to discourse forum. And the problem is that existing framework doesn't allow to trigger user logout from forum when user session is expired in main app. (When user makes logout it's ok but when user closes browser his forum session is still open ).
That's why there is a case that it will be good to decrease default session expiration period at least expire discourse user session when he's inactive 1 hr.

Is it possible to do it using some configuration ?

Generally I've read this: https://meta.discourse.org/t/session-timeout/34686 discussion however it doesn't provide an clear answer how to deal with that problem.

Posts: 3

Participants: 2

Read full topic

Some topics that are read, inluding one authored by me, are listed as unread by me

$
0
0

@grahamperrin wrote:

In views such as /latest I have two topics that inexplicably never become greyed out, no matter how many times I read each one carefully in its entirety:

The first example (uppermost in the screenshot above):

– just two posts, both by me. Why is the topic listed as if I have not read it? Any idea?

TIA

Posts: 8

Participants: 3

Read full topic

Not receiving Activation Email

$
0
0

@naupe wrote:

Hello Discourse community,

This is a continuation from this thread: https://meta.discourse.org/t/attempting-to-install-discourse-on-private-apache-server/59586/5

Well, I have installed Ubuntu 16.04 from scratch (this time without Apache) and have successfully gotten the "Congratulations, you installed Discourse!" screen. When I go to register the Admin account, and click Register, I'm told that I'm supposed to receive a confirmation email ... and I haven't received one. What am I doing wrong?

So, this is currently how I have my discourse-setup:
Hostname: epoch-nexus.net
Email: admin@epochgames.co.uk
SMTP address: smtp.sparkpostmail.com
SMTP port: 465
SMTP username: SMTP_Injection
SMTP password: [My_generated_API-Key_from_Sparkmail]

In the past, I also tried setting up admin@epochgames.co.uk as the SMTP username, but I realize that this email address can't be used for SMTP:
Hostname: epoch-nexus.net
Email: admin@epochgames.co.uk
SMTP address: cloud18.unlimitedwebhosting.co.uk
SMTP port: 465
SMTP username: admin@epochgames.co.uk
SMTP password: [admin@epochgames.co.uk_password]

epoch-nexus.net is the hostname of the machine to host Discourse. That admin email address is an email address created on our team's hosting site (cloud18.unlimitedwebhosting.co.uk is the provider), and I'm trying to use Sparmail as mentioned in this link:

https://github.com/discourse/discourse/blob/master/docs/INSTALL-email.md

I've set up the SMTP address and username as per the link, and created an API Key on Sparkpost. Also on Sparkpost, I set up the Sending Domain as "epoch-nexus.net" (or should epochgames.co.uk be the Sending Domain?).

As you can probably tell, I'm not interested in using DigitalOcean hosting (as mentioned, I'd like to host Discourse on my own dedicated Ubuntu machine I'm creating for Discourse). I've been told before that DigitalOcean hosting isn't necessary, and that this guide can mostly be followed for home setup: https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md

So, what am I doing wrong? What should I do next? I really don't understand how I need to setup email.

Posts: 3

Participants: 2

Read full topic

Change backup download link to 2-3 time usage!

$
0
0

@Pad_Pors wrote:

after the recent change in the backup download, where a link is sent to the admin email, I couldn't download any backup using the admin panel.

the reason is from our side and the slow internet connection:

the backup starts, it goes all the way down to the end, and at some point near the end, it fails!

and since the link is one-time usage, retrying the same backup doesn't work and I can't use the downloaded volume so far.

is it possible to change the new secure way a little bit: for example to make the download link available for 1 hour rather than only one click?

Posts: 1

Participants: 1

Read full topic

Thumbnail is sometimes bigger in size than actual image

$
0
0

@GlitchMr wrote:

EDIT: Nevermind, I never realized that the post I linked to is really old. I'm fairly sure by now it's fixed? It still may be worth considering updatiing old images, but whatever, it's probably not big of a deal.

While browsing Rust Discourse, I noticed this post: https://users.rust-lang.org/t/the-rustdt-eclipse-ide-thread/2087/5?u=xfix. It included the following image.

I'm using a limited bandwidth mobile connection, which is why I'm using an add-on to not download huge images (which I currently defined to be at least 50KB in size). Hovering over it shown me that the image is 31kB, which should have been downloaded.

So I checked how big is thumbnail -- it ended up being 132kB in size or so, which is crazy compared to original 31kB. Discourse should in my opinion just use original image if thumbnail is bigger than original image.

Posts: 2

Participants: 2

Read full topic

Unable to enable the old welcome message

$
0
0

@nawthor wrote:

I have disabled the "discourse narrative bot enabled", as I would prefer to keep the old welcome message.
The problem is that the only setting mentioning a welcome message is "disable discourse narrative bot welcome post". And regardless of whether it is enabled or disabled, there is no welcome message sent to new users.

Could anyone inform me how I can re-enable the old welcome message?

Posts: 1

Participants: 1

Read full topic


Put forum under sub-domain and have website

$
0
0

@TheAdmin2 wrote:

Sorry if this has been solved and written somewhere but I will potentially need some help (I will pay someone) in getting this solved.

I have an installed Discourse forum and it works 100% for a few months. I have however thought about changing some things to make the site more popular (hopefully).

  1. I have the forum like this www.xxxxxxxxx.se but I want it like forum.xxxxxxxxx.se.

  2. I want www.xxxxxxxx.se to be a wordpress site (I have server for this already) with a link to the forum on top of the site.

  3. I may need some help setting up the page correctly as well. If you can't help with this it is ok but it would be great.

/Thanks

Posts: 2

Participants: 2

Read full topic

Sparkpost emails treated as spam

Moving a sub-category to its own category

$
0
0

@csorrows wrote:

I have a sub-category that is getting out of control. The posts are on a very broad range of topics. I would love to be able to move this sub-category out of its parent to make it its own category to enable me to filter topics into their own sub-categories. I only see an option to change the parent. Am I missing something?

I could create a new topic then move the posts but I really don't want to break all the existing search engine links and linked topics.

Posts: 6

Participants: 3

Read full topic

Can moderators track flags accumulated by users?

$
0
0

@Chiffchaff wrote:

Hello,

Under the flag panel in the Admin section there doesn't appear to be any way to filter for flags given to a specific user. Is there a way to do this?

I notice that it is possible to see how many flags have been given to someone by checking their user profile as per the below image, but this only shows the number of flags they've received and doesn't allow a moderator to know/check the number of flags upheld (agreed with).

Furthermore, I've just noticed that the number of flags received highlighted on a user's profile page, can be different to the number shown as received in admin user page (under the 'Activity' heading), what accounts for that discrepancy?

Many thanks.

Posts: 1

Participants: 1

Read full topic

How to allow new users to attach attachments in topics?

Why are Groups all Visible?

$
0
0

@xiasummer wrote:

when I search a discourse with /groups I will see all the groups which I feel really confused.

Like this:

meta.discourse.org/groups will get

You see, I believe we should let a normal user only can see the groups that they can join( by requesting or just join)
. What are all the other groups doing in this page.

Plus, I do think the groups function can be really important. So why is there not a button which can show

  • all the groups I'm already in.

  • all te groups that I can join.

Do we always have to see the groups by adding "/groups" ?


P.S. I also feel quite odd to let anyone see all the users by just typing "meta.discourse.org/users". Shouldn't it be only the managers that can see such information?

Posts: 6

Participants: 4

Read full topic

Vertical timeline: date discrepancy e.g. 12th versus 11th April, maybe timezone related

$
0
0

@grahamperrin wrote:

A minor issue, found with multiple browsers including non-extended Firefox 53.0:

A logged out view of the affected topic is no different; for a post dated 11th April, the timeline shows the 12th.

The post was reportedly made at 19:34 on the 11th:

From what I can tell, the poster lives in Alaska. If so, it would have been 12th April in my time zone when he posted on the 11th in his zone:


As demonstrated by the front window in the first screenshot, other topics are not affected.

(Before today, I never observed the issue, so it might be vanishingly rare.)

Posts: 1

Participants: 1

Read full topic


Cname digital ocean + sparkpost

$
0
0

@wiliamjoaquim wrote:

I enter the projetoscnc.com.br mo hostname and the sparkpostmail.com in IS AN ALIAS OF, but it does not work

I tried several ways, and it does not work, it seems that the fields that the sparkpost has to fill does not have in the digital ocean, I know it sounds a bit noob, but I've already researched it and there's no use.

Posts: 3

Participants: 2

Read full topic

Finally Got Discourse Running

$
0
0

@sulliops wrote:

I was finally able to get a DigitalOcean droplet up and running thanks to @pfaffman and GitHub for Education for a total of $60 in free credit to get me started. My new forum honestly has no reason to exist, but now that it does I can publish tech tutorials, talk about myself, and allow others to host temporary forums on my forum (in the form of categories).

Thanks to @pfaffman, @Falco, @cpradio, @codinghorror, and all the @staff for making Discourse a thing and helping me get mine running.

You can check out and sign up for my forum at https://discourse.sulliops.co!

Posts: 1

Participants: 1

Read full topic

Test email working but activation mail not working

$
0
0

@comdb2 wrote:

I installed discourse at my website Comdb2 Database Forum, I am able to get test mail, invites to new email is working however activation email is not being sent. Does anyone know what could be the reason?

Posts: 1

Participants: 1

Read full topic

Account confirmation link for new registered users

$
0
0

@AnorakTech wrote:

Hei there!

I have problems with the confirmation link that new users receive.
I use mailgun, the setup of mailgun is correct and works. So sending mails is fine.

The link the users receive looks like this:
https://anorak.tech/u/activate-account/33e38017978bb1ba31[.................]

But when the users click on that link, this one is opened:
http://email.anorak.tech/c/eJxNjjsOwyAQRE9jOlvAgoGCIk3usSzrGPkX2TjnD-[..............]

The template of that mail looks like this:
%{base_url}/u/activate-account/%{email_token}

Posts: 1

Participants: 1

Read full topic

No docker.io and working Discourse

$
0
0

@otlet wrote:

After troubleshooting i create Discourse docker container and work properly, but when i rebuild etc. i everytime get first line:

which: no docker.io in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)

What can i do? Discourse work but this error is annoying

Posts: 5

Participants: 3

Read full topic

Viewing all 60739 articles
Browse latest View live




Latest Images