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

Using Discourse on a Drupal site


How to wrap `main-outlet` in a different markup?

$
0
0

@iamntz wrote:

I’m trying to wrap the <div id="main-outlet" class="wrap"> into a custom markup, in order to have the following markup:

<div class="my-main-outlet">
  <div class="my-main-outlet-before"></div>
  <div id="main-outlet" class="wrap"></div> <<<<<<<<<<<<<<<<< the existing element
  <div class="my-main-outlet-after"></div>
</div>

What i’ve tried:

  1. A very basic plugin, connected to below-site-header and above-footer outlets. This leads to compiling error, because I can’t have unclosed tags;
  2. A js file that will generate the desired markup. This will add some markup, but the problem is that it will also wrap my markup into ember-view elements.

Am i doing it wrong? There is another way that i didn’t think of?


Also, sligthly related: if i overwrite a Discourse template, I could reuse it as a partial?

Posts: 3

Participants: 2

Read full topic

Installing discourse and connecting it to cloudflare

$
0
0

@Dexter1 wrote:

Hi

am new here i ordered 20$ vps from Vultr and i want to install discourse on it and connect it to cloudflare and also i purchased a domain name from dream host, please advise me from where i have to start ?

thank you

Posts: 9

Participants: 3

Read full topic

Exporting data-- is it possible?

What is the latest recommended workflow for local development? (Ubuntu 16.04)

$
0
0

@j127 wrote:

I’ve been searching around for the ideal way to develop a discourse site on my laptop (Ubuntu 16.04), but am unsure about the most current best practices. I’m new to Rails and am having trouble figuring out how to setup a local development environment for migration from Drupal, theme development, and plugin development.

Are people generally using their system’s environment, or Vagrant, or Docker?

If I do use my local environment, what is the general, recommended workflow for syncing code and data with the live, production Docker install?

Posts: 4

Participants: 3

Read full topic

SendGrid email statistics - best practices?

$
0
0

@jedc768 wrote:

Has anyone here done any work to figure out how their users engage with Discourse email content? We use SendGrid, and I suspect we can use the Event API to track how many and which people read the emails that Discourse sends out.

If anyone has done anything like this, could you please share? I’m really interested in measuring Discourse email engagement and would love to learn from someone that has already solved a problem like this.

Posts: 1

Participants: 1

Read full topic

Broken in new Safari

$
0
0

@chezmax wrote:

So, today I tried to load community.wanikani.com in Safari on my mac, like I always do, and… I got nothing. Just a tab that says “WaniKani Community” in the title, and a white screen. (Note: meta.discourse.org also does not display)

Inspect Element shows that the HTML loaded, but nothing displays.

Safari Version 11.0 (12604.1.38.1.7), which I think just updated yesterday, on macOS 10.12.6.

I have tried some basic troubleshooting: removing related saved data, turning off extensions, etc.

I’m posting this using FireFox.

Posts: 1

Participants: 1

Read full topic

Awarding badges multiple times with custom SQL

$
0
0

@barryvan wrote:

I have a badge that’s awarded to people who attend one of our regular events. Because it’s not straightforward to grant badges en masse, I’m using custom SQL to grant the badge. What’s not working, though, is receiving the badge multiple times. I’ve tried to make this work by having one group per event, and including the group’s creation date as the granted_at field:

SELECT
	user_id,
	created_at granted_at,
	NULL post_id
FROM
	group_users
WHERE
	group_id IN (
		SELECT g.id FROM groups g WHERE g.name IN (
			'vit-2016-s2',
			'vit-2017-s1',
			'vit-2017-s2'
		)
	) AND (
		:backfill
		OR user_id IN (:user_ids)
	)

Even though I’m a member of all three of these groups, and in Data Explorer I see three results for my user, there’s still only one instance of the badge that’s granted.

How would I go about changing this so that the badge will automatically be awarded to each user for each group they’re a member of?

Posts: 1

Participants: 1

Read full topic


New Method For Promoting Discourse Forum. Need Suggestion If It will Works Or Not

$
0
0

@burningman wrote:

Hi Discourse Community, for promoting and making user engaged on my community BuzzBasement Community, I am thinking about starting a ‘NEW YEAR GIVEAWAY’.
As there are many different category and 3 months of time that’s why I thought about some point, kindly correct me where I should change

  1. Enter into minimum of 200 topics because there is 3 month time.
  2. Received at least 1k likes because if one creates 200 topic he/she will easily able to received 1k likes.
  3. Information should be valuable.
  4. Share on social media is important.
  5. As this is too MUCH, that’s why what prize I was thinking about choosing is given below
  • First winner - 500$ + Forum Admin
  • Second Winner - 450$ + Forum Admin
  • Third Winner - 400$ + Forum Admin
  • Fourth Winner - 350$ + Forum Admin
  • Fifth Winner - 300$ + Forum Admin
  • Sixth Winner - 250$ + Forum Moderator
  • Seventh Winner - 200$ + Forum Moderator
  • Eight Winner - 150$ + Forum Moderator
  • Ninth Winner - 100$ + Forum Moderator
  • Tenth Winner - 50$ + Forum Moderator
  • All Other - A lot of new and interesting knowledge on the forum

Is there anything wrong in this plan and if yes how I can improve that.
Everyhelp really appreciated

Posts: 22

Participants: 6

Read full topic

Censor words should support sentence level censoring for Chinese

Username autocomplete in assign modal is not working anymore

Emoji-picker automatically add spaces

Docker install mac, fails to update app.yml

$
0
0

@Bas wrote:

I get the following errors if I follow the tutorial to the letter (skipping letsencrypt) on Mac OS Sierra after running ./discourse-setup

Any idea what can cause this?

DISCOURSE_SMTP_PORT change failed.
DISCOURSE_SMTP_USER_NAME change failed.
DISCOURSE_SMTP_PASSWORD change failed.
web.ssl.template.yml NOT DISABLED--Are you using a non-standard template?
web.ssl.template.yml NOT DISABLED--Are you using a non-standard template?

Any help would be appreciated.
Reason for installing docker locally is that I want to try to get some custom plugins in docker running locally before I push them to production.

Posts: 5

Participants: 4

Read full topic

Install and setup discourse on Windows server

$
0
0

@gashmicky wrote:

Is there any body who have experience on installing discourse on windows platform please if would you tell me the steps? Thank you in advance

Posts: 3

Participants: 3

Read full topic

Group mention prevents editing topic

$
0
0

@hellekin wrote:

Situation

After editing a topic’s description post containing a group mention, the server returns 500, preventing the edition.

Diagnostic

Log says “TypeError: Discourse.Markdown is undefined Url: https://ps.zoethical.com/assets/plugin-third-party-4d3728cb346366b10ae699230b046fac450fb2e79749c551e62df3d5756b4456.js Line: 9 Column: 12674 Window Location”:

@https://ps.zoethical.com/assets/plugin-third-party-4d3728cb346366b10ae699230b046fac450fb2e79749c551e62df3d5756b4456.js:9:12674
@https://ps.zoethical.com/assets/plugin-third-party-4d3728cb346366b10ae699230b046fac450fb2e79749c551e62df3d5756b4456.js:9:12663

It seems that one of the plugins is interfering with group mentions. But how to identify that plugin?

I had the occurrence already before upgrading to 1.9.0.beta11 but thought it was me using groups badly: I tried to send a group message, but failed with a similar error.

List of plugins

          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-voting.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-assign.git
          - git clone https://github.com/angusmcleod/discourse-locations.git
          - git clone https://github.com/angusmcleod/discourse-events.git
          - git clone https://github.com/lidel/discourse-openstreetmap.git

Posts: 2

Participants: 2

Read full topic


Onebox support for Vid.me?

$
0
0

@Jeremiah_Schultz wrote:

I’d appreciate that feature and I’d imagine one or two other people perhaps? :wink:

I also noticed that Oneboxing of https://gab.ai/ posts doesn’t seem to work properly. It doesn’t pull any text or photos from any of the posts. I’m not sure if that’s their problem or a discourse problem?

Thanks.

Posts: 1

Participants: 1

Read full topic

Newly created Discourse is loading forever on Firefox Quantum

$
0
0

@arunsathiya wrote:

Newly created Discourse is loading forever on Firefox. Pretty fine on Google Chrome though. What could be wrong?

Posts: 8

Participants: 4

Read full topic

Trading buttons: Buy, Sell, Exchange

$
0
0

@Janno_Liivak wrote:

I have created a simple plugin that allows category to show trading buttons above topic title. Still needs unit tests but it’s usable as a simple solution for sell/purchase/exchange type of categories.

You just enable the plugin. Allow appropriate buttons in category settings:

And every topic gets those buttons above title (of course you have to be the owner of a topic):

After you press the button you get confirmation whether you would like to continue and if you do continue the topic will be archived and it gets prefix according to the button you pressed:

Feel free to use it of fork it. Or if you are a dev and see something that’s not quite correct I’m all ears :wink:
Also, if you would like to add translations, create a pull request.

Posts: 1

Participants: 1

Read full topic

High Availability

$
0
0

@Rob_Spencer wrote:

Hey guys,

I just wanted to bounce some ideas around for HA…

I have prod server running discourse under nginx, which I need to install some plugins on. For various reasons, I can’t afford any downtime. There is also a test server running the same setup.

My plan is:

  1. Enable readonly mode in prod.
  2. Backup and restore to test, (restore from tombstone for the images)
  3. Update nginx on the prod box to repoint to test.
  4. Install plugins and rebuild
  5. Update nginx to point back to prod
  6. Disable readonly mode in prod
  7. Shutdown test app

How does that sound? What am I missing?

Happy to turn this into a How To… if there’s value in that :slight_smile:

Cheers

Rob

Posts: 9

Participants: 2

Read full topic

[Question] 2 Step Authentication login Discourse

$
0
0

@huynhthai824 wrote:

How can we login to Discourse with 2 Step Authentication?
Code Step 2 from admin provide.
Admin create list code, when user require, admin will send handmade

Posts: 2

Participants: 2

Read full topic

Viewing all 60678 articles
Browse latest View live




Latest Images