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

Typo in app.yml, possible to salvage my install

0
0

@ajoy39 wrote:

I made a typo in my DISCOURSE_HOSTNAME, unfortunately I'm just now realizing this after about 2 hours of general configuration and design work. Didn't show up until I started uploading images and they were all broken in threads. Is there any way I can fix this without starting from scratch? I looked at some of the config files in the docker container but nothing immediately jumped out.

Posts: 3

Participants: 2

Read full topic


"Sorry, An error has occurred" when changing a badge sql trigger to "When a user is edited or created"

0
0

@db0 wrote:

I've created a new badge which is assigned when a user fill out a custom field. Unfortunately if I set the SQL to trigger when they edit their profile, I get this pop-up. Setting it to query daily works.

I checked for error logs but there seems to be nothing there.

Posts: 3

Participants: 2

Read full topic

Page is broken! (v1.3.0.beta9 +166)

Amazon onebox issue

Static backup of discourse forum

0
0

@Quatro wrote:

Hey guys.

I'm an admin of a private discourse forum and I would like to scrape it to get a static backup of the site.

Why? In a few years, the forum might not exist and I would like to share with all its users a local copy so we can remember the good old times smile .

I think a scraper(httrack/wget) can do it, but is there a better solution? If not, has anyone already used a scraper on discourse and could give me some pointers?

Thanks wink

Posts: 7

Participants: 6

Read full topic

/etc/resolv.conf has wrong permissions on install in standalone docker

0
0

@stewsnooze wrote:

We just had a strange event where inside the standalone docker instance the root user could do lookups on DNS but the discourse user couldn't. This was because /etc/resolv.conf has 600 perms rather than 644

/etc/resolv.conf has wrong permissions on install

The discourse user which the apps is running as can't read the file and therefore email polling Jobs::PollMailbox was failing due to having no available DNS servers.

Posts: 2

Participants: 2

Read full topic

Single login through different websites and platforms

0
0

@luisconsab wrote:

Hi,

This is what we have now (different sites in different domains):

Site 1: phpBB site - 700 users
Site 2: wordpress-vbulletin site - 30.000 users

This is what we plan to have:

Site 1: Migration from phpBB to discourse
Site 2: Migration from vbulletin to discourse. We keep wordpress also
Site 3: New: Site with wordpress and discourse
Site 4: New: Site with wordpress
Site 5: New: Site with wordpress

We have thought using wordpress multisite for SSO through all wordpress sites, but we would like to have all users in the same database and SSO for all sites, using wordpress, discourse, or both.

I have read similar threads but still have no clue if this is possible (I'm not a programmer).

Thank you very much in advance!

Posts: 1

Participants: 1

Read full topic

Red One over the admin hamburger menu but no detail

0
0

@billgraziano wrote:

I have a red one at the top of the hamburger menu. Usually this means there's a flagged post to moderate. However there isn't. I can't find anything for the flag to attach to.

None of the menu items have a red one. I clicked through most of the admin screens and didn't see anything. I've looked at the log but didn't anything there.

Is there anywhere else I can look? I even checked my profile.

Posts: 9

Participants: 5

Read full topic


Include notifications of likes, mentions, replies, edits etc in email digest

0
0

@tobiaseigen wrote:

In our community, we have a handful of people who still only use email to participate in discussions. It occurs to me that these people are missing out! They don't know that people are liking their posts or what else is happening, including renaming or recategorization etc by mods.

Of course we do want these people to start logging in, but until they do - and as an encouragement to do so - it would be interesting to show them the latest notifications directly at the top of the digest email.

Posts: 4

Participants: 3

Read full topic

How to run uploads:migrate_to_new_pattern rake task

0
0

@tobiaseigen wrote:

Can you explain step by step how to run this rake task? I am having problems with accessing attachments on my discourse and need to get this sorted out quickly. Any urgent assistance gratefully accepted! heart_eyes

Continuing the discussion from Attachment not found (Latest update):

Posts: 4

Participants: 3

Read full topic

How does discourse format erb/html?

0
0

@jayd3e wrote:

When developing a web application, you end up with some pretty complex markup at times. In the past, I've always indented markup to fit within a certain character limit(usually 120). However, recently I've found that some blocks of text are better just left as long uninterrupted blocks of text. I'm basically talking about the difference between:

<tr>
    <td class="panel-content">
        <div class="posted-in">
            <p class="posted-in-course">
                There ${ pluralize('was', 'were', course_data['unseen_count']) } <strong>${ course_data['unseen_count'] } posts</strong> in <a href="${ request.route_url('course', id=course.id) }">${ course.name }</a> while you were away.
             </p>
        </div>
    </td>
</tr>

And

<tr>
    <td class="panel-content">
        <div class="posted-in">
            <p class="posted-in-course">
                There ${ pluralize('was', 'were', course_data['unseen_count']) }
                <strong>${ course_data['unseen_count'] } posts</strong>
                in
                <a href="${ request.route_url('course', id=course.id) }">
                    ${ course.name }
                </a>
                while you were away.
             </p>
        </div>
    </td>
</tr>

How does the discourse community generally like to format its markup? Is there a style guide in place for this purpose? At the end of the day I just want things to be consistent, but it's hard to develop hardcore rules when it comes to markup it seems.

Posts: 4

Participants: 3

Read full topic

Cannot move post to an existing topic

0
0

@WillHuxtable wrote:

I've just noticed that on my forum I cannot move post/s to an existing topic. When the post/s are selected, pressing the "Move to existing topic" button does nothing, while the delete and move to new topic buttons work fine.

I've checked the logs, and there doesn't seem to be anything related to it in there. Does anyone have any ideas as to what is going on?

Posts: 5

Participants: 3

Read full topic

Automated messages for flags and staff

0
0

@boomzilla wrote:

When a moderator has already commented in a message topic generated by a flag, there is no canned reply generated. This makes sense when a moderator has already engaged in discussion, but is confusing if it was a moderator who did the flagging.

This is mostly confusing. If the moderator post is the OP / initial message / post #1, could we still generate the canned message?

Posts: 3

Participants: 3

Read full topic

Integration with Smyte for Spam protection

0
0

@justin_gordon wrote:

I'm working with Smyte and Pete Hunt on integrating their spam protection system with discourse. One of my sites keeps getting the same darn spammer over and over again. Time to fix this!

Here's a couple doc links:

We're going to open source the integration.

Any tips?

I'm looking for documentation on adding triggers or other Discourse extensions.

I found this thread:

@sam? @eviltrout? @codinghorror?

I'll put this up on github for a PR, if that's the right way to add this.

Thanks,

Justin

PS: I absolutely love discourse at http://forum.railsonmaui.com. The only issue is that it's made me a bit lazy about creating full length blog articles!

Posts: 5

Participants: 4

Read full topic

Security implications of exposed SSO Secret in multi-user install?

0
0

@jetatomic wrote:

What security risks may be involved with others knowing the sso secret?

My WordPress install is multisite and multiuser. There doesn't seem to be a way to set Discourse settings at the network level from the WP plugin. This doesn't seem to be a huge problem otherwise (though it would smooth workflow), but I can't find a way to prevent the subsite admins from having access to the plugin settings, which include the sso secret.

Discourse is using the network level user table as the endpoint so that the Discourse users are basically an aggregate of all sites. I'd rather not provide access or security holes for subsite admins to see the full network user list/details. All of the subsite admins do not have admin/moderator privileges in Discourse. In effect, my Discourse admin privileges are more like Super Admin privileges in Wordpress multi-site, and the lack of plugin settings at the network level blurs this line.

Have I simply failed to discover the plugin's network level settings? If not, is anyone working on improving Wordpress multisite compatibility?

Posts: 6

Participants: 3

Read full topic


Official Google DFP plugin feedback

0
0

@codinghorror wrote:

Can I use this plugin just with Google DFP? I don't want to use Adsense - I have my own advertisers I work with directly.

Also - Amifrid - you mentioned that you did some customized JS code to insert other ad slots between the topics - can you share that code by any chance (or have you already?)

Thanks.

Posts: 5

Participants: 3

Read full topic

Layout improvements to topic summary / topic map

0
0

@codinghorror wrote:

I've never been super happy with the topic summary / topic map layout. What's the topic summary?

When you arrive at Disneyland, they hand out maps at the entrance -- since the first post is the entrance to the topic, this is the map we hand out to visitors arriving at the entrance to the topic!

It contains overview information about the topic, such as:

  • When was this topic created?
  • When was the last post in this topic?
  • How many posts are in this topic?
  • How many links were posted in this topic?
  • Which users are posting in this topic, and how much?

It does stuff too! Try clicking the parts of it.

  • Click the Last post to zap yourself to the bottom of the topic.
  • Click the big down chevron to expand the Topic Summary or Topic Map to see:

    • The complete Cast of Characters in this topic, along with how many times they've posted. Click on users to filter this topic to just posts by those particular user(s).

    • A list of "top" links posted in the topic, ordered by click count and thus popularity.

    • If the topic is long, a Summarize Topic button that filters the topic to just the "greatest hits" so it can be read more quickly without losing anything essential.

Looking at it with a designer friend of mine, we decided to add headers and make the numbers bigger.

Before:

After

While there is more we can and should do here, I think this helps keep the topic summary from getting too busy while we figure the rest out.

Posts: 10

Participants: 6

Read full topic

SSL + AWS ELB >> 503 Service Unavailable (Back-end server is at capacity)

0
0

@stroupaloop wrote:

Back again smile and as always, apologies for my noob devops questions, but here it goes ...

I'm trying to setup https for a docker instance of Discourse that's deployed on AWS. I'm able to successfully run Discourse on AWS using the following setup:

  • EC2 t2.medium instance (attached to an elastic IP address)
  • RDS postgres db.t2.small (SSD / 100GB)
  • ElastiCache Redis server cache.m3.medium (2 clusters)
  • SES
  • appropriate VPC and Security Groups setup for SSH, HTTP, HTTPS, Postgres (5432), and Redis (6379)

I recently tried to setup HTTPS for the Discourse server and have ran into a few issues, hoping someone has either seen before or I can get help resolving:

I have my key and certs and following AWS' tutorial, I created an Elastic Load Balancer (to include HTTPS setup), where I uploaded the certs. Some things to note:

  • I had to setup the Health Check to TCP:80/ because the root URL redirects to /login if not logged in (this is just a note for others trying to do this).

Discourse docker app doesn't support listening (at least for ELB) on HTTPS (443).

  • I setup two Listeners: (Load Balancer Protocol > Instance Protocol)
    • HTTP (80) > HTTP (80)
    • HTTPS (443) > HTTPS (443) >> which includes referencing the SSL cert and cipher

NOTE: This does NOT work. I have to change the second Listener to HTTPS (443) > HTTP (80) even though I've gone into the EC2 server (cd /var/docker/containers sudo nano app.yml) and added in the "443:443" to the expose: section.

Rebuilding the app (sudo ./launcher rebuild app) breaks ELB, causing:

  • the Health Check to fail and returns a 503 Service Unavailable (Back-end server is at capacity)
  • to resolve, requires the EC2 instance to be removed from the Load Balancer, EC2 instance reboot and reattach the instance to the ELB

I found a thread regarding the 503 error, not sure if it's 100% the same, but may be helpful for troubleshooting, but this is out of my realm of expertise. >> https://forums.aws.amazon.com/thread.jspa?messageID=542790

I started to follow @sam's SSL + Docker setup (https://meta.discourse.org/t/allowing-ssl-for-your-discourse-docker-setup/13847), but I may be missing something because I can't find the folder

/var/discourse/shared/standalone/ssl/

instead when I cd / ls through the directory, I get

/var/discourse/shared/web-only/

with no path to an ssl folder within web-only (the folders available are: backups, log, state, uploads), which is when I stopped and decided to start this thread.

With all this said ...

If I have everything configured as noted above in AWS, the outstanding issues that still remain are:

  • the Discourse server doesn't let the ELB listen on HTTPS (443) even if you set "443:443" in app.yml
  • I don't have a good resolution on how to perform updates that don't break the ELB, forcing me to detach, reboot, and reattach the EC2 instance
  • I can't get HTTP to redirect to HTTPS (am I missing something here?)

I know there's the setting in Security (below) that sets Discourse.base_url, but that doesn't seem to change any actions regarding a redirect from HTTP to HTTPS

Any help on this would be awesome. I feel like I've gotten 90% of the way there, just need help identifying how to resolve these last couple of issues smile

Posts: 6

Participants: 4

Read full topic

RE: Comment form directly on embedded blog comments

0
0

@purldator wrote:

Making this a separate topic since I've seen this issue brought up recently here and here, and elsewhere.

But yes, on the subject of the comment form being on a blog's permalink pages (instead of @eviltrout's current method that requires someone to jump to the Discourse forum itself to make a comment), it was already considered by @sam when he implemented Discourse as his blog's backend. He mentioned it in detail with this blog post. To further this, he pointed out the fact one has to jump to a separate page to make an actual comment:

Before any of this, let me address the elephant in the room. Commenting on this blog just became way more complicated. I plan to address that, in a future update, this is a temporary state. I want to bring back the traditional commenting box.

He planned on bringing back the traditional comment box on each permalink (like WordPress, Drupal, Disqus, et al). But after a bit of time with this new set up, he had a change of heart.

That post I linked just now mentions something that's been happening a lot: bloggers turning off comments entirely. A simple google search brings up the entire mass conversation. Both sides are seen: yes you should, no you shouldn't.

But Sam brought up the fact that since he made that one single extra click (or few) to have someone log into a separate Discourse forum to make a comment, the stress of allowing comments went down to nearly zero.

I bring this up for a few reasons. One, this shows that it has at least already entered the mind of another main Discourse dev besides @eviltrout. This tells me specifically that they aren't idiots. They know exactly what they did (or didn't do) and the possible repercussions because of it.

Two, Sam's experience makes a valid point on a possible mitigation technique to be able to have one's cake and eat it too. One can keep comments enabled while having the experience be nearly pain-free in the long term.

Third, I agree with it. So much in fact that I was planning this set up elsewhere. I planned (and still plan) to post excerpts of my content elsewhere (like twitter, facebook, deviantart, tumblr, ect) but then have a link to a comment page hosted by me so I have full control over the 'official' feedback I get on a specific item. Sure, others can make comments elsewhere on their social media platforms; that's their right. But if they want to speak to me front and center, I planned on having full control. AND make that single barrier of participation to mitigate the crap open comments get.

Barriers of participation is not a new concept for online community management. A few clicks and an extra tab down the line won't stop someone if they really want to say something where you're going to see it. One comment on Sam's epiphany blog post shows one view of that type of reader that doesn't mind the extra few clicks:

The fact that the process of "jumping to another site to log in" involves me simply saying "yeah use my Google account" completely outweighs any friction in the process. It might take a few clicks and a few popups rather than just banging the keyboard and hitting send, but the fact that you piggyback off existing authentication more than makes up for all that.

In the long run, you have to ask yourself: "Do I want a high number of comments on my blog? Or do I want quality comments on my blog?" Everything about Discourse is the answer to that question: "We want quality".

I will say that I'm not throwing the dev's a good excuse to not implement it. My opinion is as useful as a submarine on a screen door most days. But I at least wanted to show and explain why doing everything "as is before" isn't always the best solution. I know @codinghorror said that in some form to me when I got heated on Discourse's lack of online presence. I still think lack of online presence is a big mistake. But hey, I can just code it in myself. I know nothing about Ruby, Rails or Javascript, yet. But if I want something, I'm going to take the time to learn it so I get what I want.

tl;dr There's good, legit reasons to not having the comment form on blog permalinks. In the end, you can always code it yourself, even if it means yak shaving some Ruby/Rails/Javascript research.

Posts: 5

Participants: 4

Read full topic

Allow Custom URLS for S3

Viewing all 60279 articles
Browse latest View live




Latest Images