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

Difference between Using Postgres instead of working directly with database

$
0
0

@Alavi1412 wrote:

This is my plugin.

because I don't know how to add with postgres, I have added them directly. so should I change the sequence if I want to work exavtly like discourse? instead of using postgres?
If I add increment directly to user_custom_fields_id_seq, Will my problem be solved?

NOTE:I found a function that is add_to_serializer.
Can anyone help me using this function.

Posts: 5

Participants: 3

Read full topic


Discourse for a faculty. Nested categories required - perhaps not?

$
0
0

@Moter8 wrote:

Hello, I'll keep it short. My sister wanted to revamp an old, ugly forum that not many people use because the UX was pretty bad.

Now they have changed the forum's styles but well, it still looks like one of those 2005 boards but with 2010 design.

She asked me if I know any software which could do the job better and I said sure, I'll run Discourse on my server to show you if that would be better; she really liked it, but it's missing one thing: Multiple nested categories.

She needs some "browsing experience" or categories like B.Sc > Renewable Energies > Only for Students > Optional Subject something > Another Subject 1 > Exercises.

So that's about 5-6 nested categories and sadly Discourse only allows two. I've looked at tags but they won't do the job either because it can't be browsed well etc.

How can I solve this issue, with Discourse, of course? I'm guessing there isn't a way without coding a lot myself and revamping categories and more?

Posts: 8

Participants: 5

Read full topic

Discourse install another hosting

$
0
0

@incendies wrote:

Can you help me for hosting migration linode or digitalocean from cloudways. Because Cloudways doesn't support docker for now. I want to use discourse my website and my visitors. Can anybody help me ? :slight_smile:

Posts: 5

Participants: 3

Read full topic

Discourse has learned to jump! (Viewport moving up and down without user input)

$
0
0

@jomaxro wrote:

So I just encountered this...

Some notes:

I have yet to find another set of topics that cause this.
I can only repro this in Google Chrome (latest stable). Both Firefox and IE do not appear to have this issue.

Posts: 2

Participants: 2

Read full topic

Suggested topics displaying content and author

$
0
0

@jidetheblogger wrote:

The suggested topics are displaying content of thw topics and also the name of the author.

i expect it to display only the title and category.

how do i fix this?

Posts: 5

Participants: 2

Read full topic

I want to code a kanban interface to categories .. lets put a spec together

$
0
0

@vikaskedia wrote:

In my team we use kanban (aka swimlanes/trello) for planning programming work.

I want to stop using gitlab issues / trello boards and use discourse as one place to co-ordinate all this.
(Why? I love the UX of discourse and everyone hates using multiple systems)

Here is my idea for coding a kanban interface:

  1. Each sub category will be a separate column.
  2. Topic in each category are cards in each column.

So for e.g. Under the features category I can create sub categories like

Incoming feature request.
Being planned
Being developed
Being tested
Released to production

In the kanban interface on one page i will be able to see all the features separated out in the above 5 columns.

Dragging and dropping the card between column will move them along the process.'

I have coded something similar in the past and programming it would be trivial.

The order of the cards in each column will be determined by the votes of that card.

Is this the right spec? Or is there a better way to do things?

Posts: 2

Participants: 2

Read full topic

Bug in rendering text between < and >

$
0
0

@RBoy wrote:

I understand that Discourse is CommonMark complaint, so I took the suggestion of one of the threads to use html2commonmark to try and migrate a few posts.

I've noticed some issues:

Rending this:

*\<enc\>-vid*

Doesn't render properly, the "encoder" is missing all together and renders as:

-vid

One needs to put a space after the < for it to render properly

*\< enc\>-vid*

Renders as:

< enc>-vid

EDIT: Any workaround for now on how to get it to render without including a space?

Posts: 8

Participants: 2

Read full topic

Invites API returns HTTP 422 but no json encoded response

$
0
0

@nogthree wrote:

Hi folks,

I'm currently writing some simple PHP using CURL to invite users to our discourse forum from another system.

Whenever the /invites endpoint is POSTed the expected data, I get a JSON encoded response of success: OK and the expected HTTP 200 response.

Whenever I do anything that will get me a HTTP 422 response from the server I get nothing but the HTTP response back. This is both from CURL and testing via postman.

From my testing the /invites endpoint returns 422 when an invite has already been accepted, when you give it the wrong API key (or have a space at the end of the key) OR when you're trying to invite a user to a domain you've blacklisted in
the email domains blacklist. I need to let the end-user know which of these it was so they know why it failed.

This is happening on the most recent commit as well as the commit we've been running on for a few months - I did a rebuild to be sure it wasn't something weird.

Posts: 1

Participants: 1

Read full topic


Error response on port 443

$
0
0

@danielK wrote:

Hey,

I'm fairly new to discourse but trying to get it running. However, I was able to install a fresh discourse and it worked perfect. After that I imported existing data from an old phpbb platform. This also worked pretty well but after trying to start the app, I received the following error:

root@Ubuntu-1604-xenial-64-minimal ~ # /var/discourse/launcher start app

starting up existing container
+ /usr/bin/docker start app
Error response from daemon: driver failed programming external connectivity on endpoint app (968b81cbbd373c581d13a6f733ceba1a3b04aceaf292ecc51141fb26f133c7bf): Bind for 0.0.0.0:443 failed: port is already allocated
Error: failed to start containers: app

netstat:

root@Ubuntu-1604-xenial-64-minimal ~ # netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1027/sshd
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      17467/postgres
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      28390/redis-server
tcp6       0      0 :::22                   :::*                    LISTEN      1027/sshd
tcp6       0      0 :::443                  :::*                    LISTEN      14632/docker-proxy
tcp6       0      0 :::6379                 :::*                    LISTEN      28428/redis-server
tcp6       0      0 :::80                   :::*                    LISTEN      14644/docker-proxy
udp        0      0 0.0.0.0:68              0.0.0.0:*                           788/dhclient

I had vsftpd and mysql on the server but removed it. Any ideas on how to solve the issue?

Thanks,
Daniel

Posts: 4

Participants: 2

Read full topic

Create new topic link available on topic

$
0
0

@charleswalter wrote:

I feel this has come up before, but I'd like to start a discussion on whether others think this should be a community level option

We get tons of people landing from search engines on our topics. And it seems difficult to get people to visit the list of topics. If we can spur users to share something, it would really help build up our user base and get users engaged right away.

additionally, we have a number of topics about immigration that have grown a few thousand posts long and Id really like to encourage new users to post their questions directly in the forum. But i'm struggling on how to do that without have a clear call to action for a new topic on the topic page itself

Posts: 4

Participants: 3

Read full topic

Cross referencing a post doesn't create onebox

$
0
0

@RBoy wrote:

I'm trying to cross reference another post while replying to a post, it only posts the link and doesn't create a OneBox embedded post.

Is there any setting to enable this feature? I just see it a circle briefly as I post the thread link on the same forum and then it just stays as a link.

Posts: 11

Participants: 4

Read full topic

How to open hyperlinks in a new tab

$
0
0

@RBoy wrote:

This thread spoke about directly links embedded:

I'm referring to links using hyperlink button:

[Google Test](http://www.google.com)

Google Test

How do I get this to open in a new tab?

Posts: 5

Participants: 4

Read full topic

Bootstrap failure of the stupidest degree

$
0
0

@Alexey_Ayzin wrote:

https://pastebin.com/WmfJhk6U

I honestly don't know what the hell happened. I'm logged in as super user. I tried manually creating the folder it says it fails at creating, succeeded, then bootstrapped again and it gave me the same error. Thanks in advance for any help.

Posts: 2

Participants: 2

Read full topic

Reset password URL: password-reset or admin-login?

$
0
0

@snakeninny wrote:

Hi,

When a user of my site iosre.com tried to reset his password this morning, he received an email containing a resetting URL, in the form of http://bbs.iosre.com/u/admin-login/randomNumber, and when he clicked it, it redirected to the homepage.

When I tried to reproduce the bug, the resetting URL I received was in the form of http://bbs.iosre.com/u/password-reset/randomNumber, and it worked as expected.

So I told him to replace admin-login with password-reset and try again, it worked.

Is that a bug?

Thanks,

Yinglu

Posts: 5

Participants: 3

Read full topic

Flood of Emails from Embedded Discourse due to forced mailing list mode

$
0
0

@Heather_Miller wrote:

We're an open source software project with a lot of documentation pages. On each of our documentation pages, we decided to replace Disqus for commenting with (embedded) Discourse. After all, we already have a community of users using Discourse – the idea of merging the two places beginners ask questions seemed like a great idea.

However, it seems that whenever someone reloads one of our documentation pages (without actually attempting to comment – they're just visiting the pages...) a new Discourse thread is created and everybody in mailing list mode (the default) is notified.

This is particularly problematic because when we set up embedding, the problem of new threads being created upon page visits did not present itself. It was only when users organically began visiting individual documentation pages that this flood began, some hours or days later.

This is what our Discourse for our users looks like now; it's been totally overtaken by embedding. It's caused an exodus of our users away from our community:

Is there some way to fix this? Ideally, a new thread would only be created when someone actually comments.

For reference, the community I'm referring to is here:

Posts: 3

Participants: 3

Read full topic


How to cleanup my stats?

$
0
0

@TheDrDentz wrote:

Hello everybody,

I'd like to reset all of the forum's stats to the default values, before launching my discourse (things like given and recieved likes and number of posts and comments).
So that these numbers actualy represent the forums history and not the history of seting it up.
Is there an easy way to reset all of that without deleting existing topics?

Thank you :sunny:

Posts: 1

Participants: 1

Read full topic

Inexperienced with backend, have a 502 Bad Gateway error on forum. Help?

$
0
0

@Bernstein wrote:

I have someone who usually helps me sort these things out but he's unavailable right now.

Can I enlist the help of someone to sort this out? I'm self-hosted on Digital Ocean and using only 1 of 32 gigs.

The error just popped up this morning here:
forum.basecamp33.com

Any help would be appreciated. I can pm access.

Posts: 4

Participants: 2

Read full topic

Change discobot's commands

$
0
0

@precessor wrote:

I encouraged my existing users to check out discobot. They see the suggested command discobot start new user.

Some of them tell me that they thought "I don't want to create a new user" and they stop there.

Can I change the command to discobot teach new user?

Posts: 2

Participants: 2

Read full topic

What does "send digest label" do?

$
0
0

@hnaseri wrote:

There is a section called "send digest label" in preview digest page, and it takes an email. What does it do? when I press send button, It gives internal error.

Posts: 5

Participants: 2

Read full topic

What are the limitations of download remote images

$
0
0

@RBoy wrote:

I've enabled the Download remote images to local option in the admin settings (I'm assuming this isn't a per user option).

Then I created a test post:

http://3.bp.blogspot.com/-J9fTEDADHTQ/TejcTyXqfFI/AAAAAAAAADQ/SlOrlRq2M9c/s1600/TESTING-white.png

[Some Text](http://3.bp.blogspot.com/-J9fTEDADHTQ/TejcTyXqfFI/AAAAAAAAADQ/SlOrlRq2M9c/s1600/TESTING-white.png)

[img]http://3.bp.blogspot.com/-J9fTEDADHTQ/TejcTyXqfFI/AAAAAAAAADQ/SlOrlRq2M9c/s1600/TESTING-white.png[/img]

The results showed that all the 3 images still pointed to the remote server (atleast the code didnt' change to show it was pointing locally or to amazon). Note that I've enabled the option to upload content to Amazon S3 (if that matters).

I've been through some posts which talk about ways to prevent it from downloading but in this case the 3 most common ways of posting an image doesn't seem to download it.

So under what conditions does downloading remote images work and what's the best way to configure it?

Posts: 3

Participants: 2

Read full topic

Viewing all 60739 articles
Browse latest View live


Latest Images