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

Domain names pointing with shared AWS instance

$
0
0

@jwtan wrote:

Hello,

I have my website (Wordpress) and Discourse forum sharing the same AWS instance with the same public ip address. The website has the domain name while Discourse forum has its subdomain. Both domain names point to the same public ip address (set in GoDaddy), my app.yml has the subdomain name for discourse forum set.

This probably isn’t the right settings because after rebuilding app both the main domain and subdomain (supposed to go to Discourse) go to my website. Discourse is no where to be seen.

Am I missing something in the setting? Can you shed some light?

Posts: 6

Participants: 2

Read full topic


Restoring lost posts from mails

$
0
0

@gwmngilfen wrote:

We recently had a catastrophic failure of the hypervisor running or Discourse VM, and had to restore from a previous backup. Huge props to the people who on that, it was trivial to restore the site.

My question is about the data lost in the intervening time. Many of my users have mailing list mode enabled, and as such have a complete archive of the lost data. Is it possible to import that data in some way? have some vague ideas about dumping the data to disk in appropriate maildir / mbox format and using the importers… thoughts?

Posts: 3

Participants: 2

Read full topic

Replacing email/notification.html via custom Plugin - tips?

$
0
0

@Maisy wrote:

I’ve reached a bit of an impasse and I’m looking for a spot of help.

As part of our switchover to Discourse, we want to change the design of the default email templates and obviously, as only the copy can be changed via the control panel, we figured we’d need to substitute the email templates by building a plugin that allows our email templates to persist between upgrades.

I’ve sussed out how to override the digests, thanks to this thread here:

…however, this doesn’t help when it comes to the notification.html.erb template, which seems to be impervious to ::ActionMailer::Base.prepend_view_path.

Poking into the business end of user_notifications.rb, I noticed this:

html = UserNotificationRenderer.new(Rails.configuration.paths["app/views"]).render(
          template: 'email/notification',
          format: :html,
          locals: { context_posts: context_posts,
                    reached_limit: reached_limit,
                    post: post,
                    in_reply_to_post: in_reply_to_post,
                    classes: Rtl.new(user).css_class
          }
)

I assume this is what is responsible for setting the location of the template file to be used, but see no obvious way to manipulate this without overriding the method in a plugin and admittedly, my experience with Ruby is somewhat limited, so any help you could provide would be very much appreciated.

Posts: 2

Participants: 2

Read full topic

Website settings do not work

Tags, icons (not removed)

Membership via LifterLMS

$
0
0

@knittingtoday wrote:

I’m moving my membership from Wishlist to LifterLMS and wondering if the module assigning levels and courses could work? Has anyone tried it?

Posts: 1

Participants: 1

Read full topic

Oauth2 plugin sso, how to switch off email verification

$
0
0

@shahidmir wrote:

Hi guys,
For about 4 weeks or longer I have been working on SSO between Auth0 and discourse, on and off. I have gone for different solutions and had to change my approach a few times. I am now at a point where I need further advice.

1- I started by using the SSO approach mentioned in this article:

Recently it has come to light that the redirect approach mentioned in this article (redirecting from auth0 rule to discourse via the SSO login url) results in an incomplete login on Auth0 end, hence a customer login is not registered, which impacts the SSO cookie etc on Auth0 side. So we have to move away from this approach.

2- I have now deployed the 0auth2 plugin and am using the approach specified below:

The issue I have now is the “requirement to verify email” before discourse creates the user record and logs the user in. Is there no way to turn this feature off via the dashboard config?
What is the best approach to work around this if the feature cant be turned off? I dont want the user to have to verify the email in discourse.

I have found a few articles but the seem overly complicated.

Regards
shahid

Posts: 19

Participants: 3

Read full topic

Interact with discourse from Python?

$
0
0

@Bar_Smith wrote:

Hi everyone! Love discourse, it’s the backbone of our community.

We are an open source project with a strong presence on Github. We have a robot written in Python which manages our Github repositories and does things like merge pull requests automatically if they have been approved. Since we have a lot of repositories and not everyone follows every repository it would be awesome if the robot could post in the forums when a new project is created or when a pull request needs to be reviewed.

Can anyone point me in the direction of how I could best call the Discourse API from Python?

Posts: 3

Participants: 2

Read full topic


Clicking on plugin "Settings" no longer goes to the settings view filtered by only that plugin's settings

Discourse metrics don't match Google metrics

$
0
0

@Mila_Ferrer wrote:

Hello!

I manage a diabetes online community and have noticed our Google metrics are way different from the Discourse ones. Any idea why? All the settings seem to be okay, i would aprreciate any help or guidance.

Posts: 4

Participants: 3

Read full topic

What is the recommended workflow for managing a live Discourse site?

$
0
0

@j127 wrote:

I’m trying to figure out a good workflow for managing a live Discourse site and have a few more questions:

1. Development Environment

I have Discourse running on my laptop (Ubuntu 16.04), but the cloned Github repo is missing files like app.yml. Some of the tutorials here in the forum mention that I should edit the app.yml file, but it doesn’t exist in my development versions. How do people manage that difference on production sites? Are the local development versions always different codebases than the live site? Is there a recommended way to have a staging environment for the live codebase too?

2. Backups and Server Migration

I put an experimental Discourse forum online to test workflows before migrating my main site. When I backup the site through the UI, I get the database and uploaded files. How do people generally backup the rest of the site? What else needs to be backed up if I want to rebuild the site on a new server in the event of a disaster (like getting hacked) on the original server? Do I need to backup app.yml or any other files to rebuild it?

3. Upgrades

How do I upgrade a live site? If I click the upgrade button, the live site upgrades, but my local development version doesn’t update. Should I update the sites locally with Git and then push the changes to the live server by creating another remote setting in a fork of the main Discourse repo and working in a custom branch? Or do people generally have a development version that is a completely different installation of Discourse?

4. Plugins

Is it correct that I should write my plugins in separate repos, clone them to the live server, and then symlink them in the plugins directory? Or should I use app.yml to install them? Different posts in the forum here seem to suggest different things.

Posts: 5

Participants: 2

Read full topic

Add more metrics to Discourse Prometheus

$
0
0

@ssvenn wrote:

I would love to see some of these user activity metrics exposed in the Prometheus exporter plugin for Discourse as well!

Simple counters for total posts, visits, searches, users, topics and a gauge for currently active users should be enough to do fun stuff like very granular graphs for what hours your site is busy, alerting if there is a sudden spike in new users, posts and so on, and it would be easier to correlate the existing performance stats with user activity.

The built-in graphs are great of course, but the more stuff I can add to a Grafana dashboard the happier I get :wink:

Posts: 2

Participants: 2

Read full topic

[Paid] Redesign

$
0
0

@mtipsey wrote:

What would you like done?
I would like to have significant changes to the Discourse front-end made.

  1. Visual changes to the category display so that they show as block icons
  2. Visual changes to how topics are loaded and how the topic data (replies, likes, etc.) is displayed.
  3. Visual changes to the topic creation module
  4. Visual changes to modals system wide.
  5. Social media integrations (assuming not already in place. Twitter, Facebook, Google Plus, dig, reddit, stumble upon and pinterest)
  6. Custom header

A full brief of all changes available upon request.

When do you need it done?
~20 - 30 days (around mid June)

What is your budget, in $ USD that you can offer for this task?
A few thousand.

Posts: 2

Participants: 2

Read full topic

Custom footer disappears in group -> activity -> topics

$
0
0

@sarahann wrote:

I am not sure if this behavior is intentional or not.

Prerequisites:

  1. Have a custom footer in your Discourse (mine is defined in my theme /common/footer.html)
  2. Have a group in your Discourse

Repro steps:

  1. Click on the “hamburger menu” and go to “groups”
  2. Select a group
  3. Click “Activity” in the nav pills menu
  4. Click “Topics” in the stacked nav menu
    observe that when you scroll to the bottom (or inspect the DOM) the custom footer isn’t there.

Expected Behavior:
The custom footer shows on all pages

This felt like an issue in my development environment of Discourse. However, when I was testing it on Discourse Meta it made me realize that maybe the footer was intentionally not added to this page. Possibly due to the infinite scrolling?

I just thought that I’d raise this just in case.

Posts: 1

Participants: 1

Read full topic

Email Sending Problem

$
0
0

@Turko wrote:

hi

My site was going well but today I got email problem. I didn’t change anything and site was sending emails with no problem.

when I check sidekiq I see this error log;

Jobs::HandledExceptionWrapper: Wrapped EOFError: end of file reached

Posts: 9

Participants: 4

Read full topic


Specify user by external id

$
0
0

@mattman wrote:

I’m just starting to learn how to use the Discourse API.

I’ve got data coming back when I send an api_key and api_username to an endpoint.

However, specifying the user by their username seems mysterious and brittle. I need to know the right username but the user can change their username and I don’t know what it actually is from outside.

My Discourse users can only import an account from my Bubble app. In the SSO section there’s an ‘external id’ that looks like it’s the account’s unique id from Bubble.

Is there a way to specify the user I want based on their external id instead of their username?

Posts: 9

Participants: 4

Read full topic

Username always priotitized

$
0
0

@jtbayly wrote:

I disabled “Prioritize username in ux” but the usernames are all that show still. I simply cannot get the names to show on posts at all.

I don’t know if there is something else necessary, but I logged in on another browser and the problem remained. I’m running the latest code (rebuilt in order to enable ssl this afternoon).

Posts: 4

Participants: 2

Read full topic

Not receiving Activation Email- bitnami discourse google

$
0
0

@Joe_Lei wrote:

I installed bitnami discourse by using binami launchpad google, the forum is successfully launched, however, the new user is not receiving Activation Email, what should I do about it ? Anyone had experience of this before, thank you very much :slight_smile: and the discourse installed looks a very old version, how to upgrade the things?

Posts: 2

Participants: 2

Read full topic

What are the "score" and "percent_rank" fields on the topics table?

$
0
0

@mcwumbly wrote:

I was exploring some data this evening and came across the score and percent_rank fields in the topics table. But it wasn’t immediately obvious to me what these fields are, how they are calculated and what they are used for. I can spelunk through the source code if necessary, but I thought I’d ask if anyone has the TL;DR; on that info close at hand first.

Posts: 2

Participants: 2

Read full topic

Influencer Leaderboards

$
0
0

@balibebas wrote:

Continuing the discussion from Help us build the new Dashboard:

As requested by @sam, a little color on what an influencer Dashboard metric might look like as I see it. Please feel free to share your thoughts. And my apologies if I understate anything. I’m still pretty new around here. :slight_smile:

Trust levels and badges have taken Discourse far in the way of building a loving community. Perhaps it could be gamefied with an influencer leader board and weekly competition akin to what Swarm app does for social check-ins, and visualized as most influential people in the administration dashboard. This may also satisfy some individuals’ competitive itch while improving user retention for self-starting community builders.

Posts: 3

Participants: 2

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images