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

Make activating an Account Gmail-compatible

$
0
0

@Moter8 wrote:

First off: Gmail may just trigger this on actual subscription double-opt in emails. They possibly don't intend to display this on account signup confirmations, I'm not too sure.


There was a button just like on the screenshot that after clicking on sent the confirmation to them.

See the Source file of this mail, scroll to the bottom to the scheme divs.


Also look Google's documentation about this and a Mailchimp Blog post about the matter.

Posts: 2

Participants: 2

Read full topic


Wiki tag for wiki topic

$
0
0

@czhou1801 wrote:

can we have this feature:

after a topic is set as a wiki post, can a special tag (like, WIKI) be attached to it automatically?

we have some wiki topics. but it is not easy to manage them or search/list those topics. if we have a WIKI tag, it may help a lot.

thanks

Posts: 2

Participants: 2

Read full topic

Provide option to disable notifications when post moved, renamed, tagged

$
0
0

@tobiaseigen wrote:

I have started getting a bunch of notifications about older topics I've been involved in on meta because @riking is graciously improving their titles, moving them to new categories, adding/removing tags etc. I really appreciate him doing this and do think it's important for moderators to feel free to make improvements like this. It's all part of the gardening involved in running great forums. But I don't see why I should be notified. The same is true on my own discourse sites of course.

The feature that I'd like to request is a setting to enable/disable notifications when post is moved, renamed or tagged. This could be sitewide in admin, similar to the "Disables edit notifications by the system user when 'download_remote_images_to_local' is active" option, or on the user preferences for each user and on by default.

A related issue is that moving, renaming and adding tags indeed does bump up these old topics in topic listings, giving them prominence they don't require.

Another approach would be to bring back the "minor edit" idea discussed last year, which allows you to tick a box to indicate that this change is so minor it doesn't warrant notification. (and... the search for this reminds me I have talked about this before. blush)

Posts: 2

Participants: 2

Read full topic

Markdown lists don't render correctly in quotes

$
0
0

@abarker wrote:

When quoting a list, it doesn't render correctly in the quote. Here is a simple list:

  • This
  • is
  • a
  • list

It will be quoted in a reply to this post to demonstrate the formatting bug.

Posts: 3

Participants: 1

Read full topic

Markdown lists don't render correctly in quotes, Take 2

$
0
0

@abarker wrote:

tl;dr: This is similar to "Quoted replies don’t keep original formatting", but it is not a duplicate.


The initial bug report was closed as a duplicate of https://meta.discourse.org/t/quoted-replies-dont-keep-original-formatting/655/1. However, the bug I reported involved using the quote all feature. The supposed duplicate bug report only claims an issue with the highlight-and-reply technique (quote reply).

Further, the claimed duplicate indicates that it is an issue with returning HTML. However, if you look at the raw of my initial bug report, you will see that there is no HTML preventing the markdown from being processed. As stated previously, this is because I did a quote all, not a quote reply technique.

Here is the raw of the quote which is not displaying correctly:

[quote="abarker, post:1, topic:26029, full:true"]
When quoting a list, it doesn't render correctly in the quote. Here is a simple list:

- This
- is
- a
- list

It will be quoted in a reply to this post to demonstrate the formatting bug.
[/quote]

As you can see, the list does not render as expected. The markdown is ignored in the quote.

There is no reason the list in that quote should not be processed as a valid markdown list. Testing has shown that other markdown in full quote, such as italics, bold, and more, get processed properly, but un-ordered lists do not.

This is a unique bug. It is not a duplicate of "Quoted replies don’t keep original formatting".

cc: @zogstrip

Posts: 1

Participants: 1

Read full topic

Dynamic multisite deployment

$
0
0

@joeshidel wrote:

I have been exploring the source code to see if what I would like to do is possible, and I have come to the conclusion that it probably is with some modifications.

I would like to be able to create a discourse deployment where new forums can be created dynamically. I need a separate forum for each group that gets created on my main site.

The multisite gem uses multisite.yml to setup/manage all of the database connections. This means that this file needs to be modified in order to add a new forum (correct?).

What I would like to do is have a table, or store the data in redis. I would just need to modify the multisite gem to read from a database rather then the multisite.yml (correct?).

I would appreciate any tips on other approaches I could take, or steps I am missing in making this happen.

Also I would be happy to contribute my work back to the project If it is something that is desired, or already on the road map.

Posts: 1

Participants: 1

Read full topic

Reply as linked topic should default to same category

$
0
0

@badevguru wrote:

This is a particularly thorny issue if the topic is in a private category because the category drop down of the reply will default to the most popular category, not the category of the original topic which people would assume meaning high likely hood they will end up posting an intended private forum post publicly.

Steps

  1. Select a topic that is not in the same category that defaults to the top of the category drop down box.
  2. Select the reply-as-linked topic option

Expected Behavior

The category drop down matches the category selected in step 1.

Actual Behavior

The category drop down just defaults to the normal default for any new topic post

[Image is big enough that you need to click it to see the animation...]

Posts: 2

Participants: 2

Read full topic

Cannot upgrade from Docker Manager (missing gem)

$
0
0

@frbn wrote:

I seem to be unable to use Docker Manager to upgrade my installation. It fails because it can't find the gem 6to5-source, which according to RubyGems.org has been yanked.

This is the log:

$ cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}
HEAD is now at a26853c try to work around caching bug in spec
********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
$ bundle install --deployment --without test --without development
Fetching source index from https://rubygems.org/
Could not find 6to5-source-3.3.7 in any of the sources

Also, the manager does not seem to handle this well - my site is unavailable now. It probably should check that all gems are available before bundling, but that's a different issue.

I managed to download the correct version of the gem from RubyGems.org manually, but is there a way to install it so the manager can upgrade?

Thanks in advance

edit: I figured maybe restarting the containers and reloading the upgrader would help, but that was a bad idea. Now the manager tells me everything's up to date, which it most definitely isn't.

edit: Can't reach it at all now, this is the output of ./launcher logs:

ok: run: redis: (pid 30) 78s
ok: run: postgres: (pid 33) 78s
supervisor pid: 567 unicorn pid: 572
Could not find 6to5-source-3.3.7 in any of the sources
Run `bundle install` to install missing gems.
config/unicorn_launcher: line 44: kill: (572) - No such process
config/unicorn_launcher: line 10: kill: (572) - No such process
exiting

Posts: 6

Participants: 3

Read full topic


What is the SQL to detect if a user has cast a vote in a poll?

Display real names and titles on badge lists

Long usernames overlap on badges page

What is the id/class of the currently viewed topic (want to extract data from it)

$
0
0

@asden wrote:

If a user creates a new topic I would like them to be able to have an image displayed above the topic whenever people are reading their post. So they would insert the image url will be in the format
image:/imagename.jpg:
The end colon is just to make it easy to extract from the topic content.

My question is, using js or jquery, how do I read the content of the currently displayed topic (so I can extract the image url if there is one). I have successfully read it from the header meta tag but that doesn't distinguish between the currently open topic and the suggested topics.

Or is there a way to add an extra field for topic posts and how do I read that with js or jquery?

Posts: 2

Participants: 2

Read full topic

Text info box in category header

$
0
0

@Rene wrote:

Is it possible to have a sticky text box at top of a category? Something similar to the info box provided by discourse that contains the text "Create at least 5 public topics and 30 public posts to get discussion started. New users cannot earn trust levels unless there's content for them to read. This message appears only to staff."?

Posts: 7

Participants: 4

Read full topic

Why it has to be Docker?

$
0
0

@Maestra_Powers wrote:

Wanted to ask this right at beginning, but decided to figure out how stuff works before. So if I understand correctly, you run Ubuntu on server, on Ubuntu there's Docker, on Docker there's another Ubuntu, and on this Ubuntu there's Discourse. That's a lot of Ubuntus for me. Why don't just install Discourse on first Ubuntu? Maybe Docker suppose to make Discourse install easy, but I don't see it. I installed Discourse on Debian today with multisite-config to test it out. Although both sites shows "not found" for some reason, so I can't use it, but Discourse service runs fine with 2 processes. And here's memory usage to compare:

Ubuntu:

Debian:

So there's 838 Mb difference. I'm writing this not to be a douche or something, I want to point out that there's another services out there, like packager.io, that can be used to package stuff into easy installation, but not by creating "inseption" on your server. So why Docker? If I don't understand something and there's more profit from Docker than I see, please share.

Posts: 10

Participants: 6

Read full topic

Censor specific text patterns

$
0
0

@optimus wrote:

Hi, I saw in Discourse that there is a way to censor words in admin/site_settings/category/posting - does anyone know of a way to censor specific patterns? For example, I foresee HR people eventually using the Discourse forum and to protect them from themselves posting sensitive info I want to automatically remove SSNs (i.e. XXX-XX-XXXX). Has anyone had this need before and found a way to do it?

Please share any advice smile

Cheers,
Chris

Posts: 5

Participants: 3

Read full topic


Docker not installed correctly

$
0
0

@Kiki_Hui wrote:

    root@discourse:~/var/discourse/discourse_docker# ./launcher bootstrap app
time="2015-03-05T16:38:23-05:00" level="fatal" msg="Cannot connect to the Docker daemon. Is 'docker -d' running on this host?"
Cannot connect to the docker daemon - verify it is running and you have access
root@discourse:~/var/discourse/discourse_docker#

I followed the Quick Install guide. I keep getting the error above. I think docker has not been installed correctly. How do you reinstall it? When I run docker -d, I get the following

INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] +job init_networkdriver()
INFO[0000] -job init_networkdriver() = OK (0)
INFO[0000] WARNING: Your kernel does not support cgroup swap limit.
INFO[0000] Loading containers: start.

INFO[0000] Loading containers: done.
INFO[0000] docker daemon: 1.5.0 a8a31ef; execdriver: native-0.2; graphdriver: aufs
INFO[0000] +job acceptconnections()
INFO[0000] -job acceptconnections() = OK (0)

Then it just does nothing. Please help!

Posts: 5

Participants: 3

Read full topic

Theming/Plugin Workflow?

$
0
0

@Zinglish wrote:

In reference to this post, I am wondering what's the best way to go about developing/editing themes and/or plugins for Discourse?

I had a fairly long look at Docker (as I am new to it) and I got a vanilla setup going on my Debian machine. I also took some time to see any potential development setups I could go with to develop plugins and themes and I couldn't think of anything that would be efficient.

So my question to you guys is: What exact setup do you guys use when developing plugins and themes? I saw somewhere that people were basically stopping and starting the Docker app? That seems tedious and unnecessary surely or is that the only way?

Posts: 4

Participants: 2

Read full topic

Increase Avatar Size to 120x120 pixels

$
0
0

@SiriusAnkh wrote:

Hi everyone,

With the help of some meta contributors on here, I managed to finally change the avatar size on my instance.

Someone helped me from this thread: https://meta.discourse.org/t/how-to-change-topic-avatar-size/20689/6

To change the avatar size to 120px by 120px, add the following code to the </head> in customisation.

<script type='text/x-handlebars' data-template-name='post/poster-avatar.raw'>
    <a href="{{post.usernameUrl}}" classNames="trigger-user-card {{classNames}}" data-user-card="{{post.username}}">{{avatar post imageSize="120"}}</a>
    </script>
    <style>.topic-avatar{
        border-top:1px solid #e9e9e9;
        padding-top:15px;
        width:120px;
        height:120px;
        float:left;
        position:relative;
        z-index:2
    }
    </style>

You can make it smaller/larger by changing the values of '120' to whatever you want.

So far only works with square images.... Looking into making a plugin that does this, so getting my thinking cap out and going to try work it out smile

Regards

Posts: 10

Participants: 3

Read full topic

Is there any way to access the public folder outside of Docker?

$
0
0

@kkershaw wrote:

The title is quite self explanatory, I was wondering if there's any way to access the public folder in /var/www/discourse/public outside of Docker so I can easily copy files in and out to the host filesystem?

Posts: 7

Participants: 4

Read full topic

Is there an easy way to mass-notify?

$
0
0

@chrisgalpin wrote:

I'm making a significant change to one of my Discourse forums and would like to one-time email the users who have posted, about 50. I globally pinned an announcement but I'm not sure everyone is emailed with a notification of it, are they?

I tried mentioning the users by name with @ in the post but that part is immediately deleted, I'm guessing from hitting a spam protection threshold, which is awesome but I hoped my admin account would be exempt.

Any good way to accomplish what I want? Just having a globally pinned topic isn't sufficient in this case unless they're each informed via email. I'm not sure if the digest gets to everyone or...?

Posts: 9

Participants: 4

Read full topic

Viewing all 67391 articles
Browse latest View live