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

Full screen on Android/Chrome when typing new topic

0
0

@Rob_Nicholson wrote:

As you can see from the attached screenshot, the Chrome toolbars at the top take up quite a bit of screen real estate. Normally on a web page when you scroll down, this toolbar disappears so it goes full screen. Is there anyway to get Discourse to go full screen to give a bit more real estate so one can see more of what you may be replying to?

Posts: 6

Participants: 4

Read full topic


Deleting posts within the grace peroid should instantly delete them

0
0

@Drew_Warwick wrote:

Occasionally I'll see posts deleted right after they were posted or delete my own post right after posting it. The most common reasons for doing so are:

1) Someone was ninja'd with a much better response and their own response is redundant (even though Discourse pops in new posts real-time, you can't see the latest posts at the bottom of the screen with the post editor coverting that area of the screen)

2) Someone had last-second thoughts about their post, decided it was too attacky/disruptive/etc, and decided to delete it

3) Someone rushes to post only to read the OP afterwards and find their post's main question had already been answered in the OP / they misunderstood the topic based on the title and their post is actually off-topic

There can be a variety of other reasons, but those have been the biggest three I've noticed on our Discourse forum. They're deleted shortly after so they don't exactly detract from the discussion, but it's sort of ugly having "This message has been removed" posts sit around in the topic and have people think "Oooh that person deleted their post they must have posted something bad! Naughty person!" I don't see any reason why posts within the grace period need to stick around on the thread since they haven't been up long enough for many people to see them. They're just taking up space as it is, so it'd be nice if posts deleted during the grace period were instantly removed from the topic.

Posts: 1

Participants: 1

Read full topic

Giphy onebox for animated gifs

0
0

@rriemann wrote:

Hey all,

I know some people were working on a gif plugin. However, I suggest to add http://giphy.com support to the onebox plugin as long as we do not have a proper plugin (and we might want to keep it for later as well).

Giphy provides all (most?) gifs as well as mp4. Unfortunately, the mp4 url does not end on mp4, but on html5. So that is why it does not work automatically.

Posts: 1

Participants: 1

Read full topic

Can current version change the date format?

Watching Categories based on on group in discourse

0
0

@Jared_Needell wrote:

I found this plugin

Is this only hardcoded for one category and one group? I'd like to try and set this up on a larger scale.

@tobiaseigen

Posts: 13

Participants: 4

Read full topic

Customising the preferences page

0
0

@Stelmsind wrote:

Hi,

I'm trying to apply some additional customisation to the preferences page, but I'm having some difficultly. I've created this in the '' template section:

<script type='text/x-handlebars' data-template-name='user/preferences'>
  contents of 'app/assets/javascripts/discourse/templates/user/preferences.hbs'
</script>

But this doesn't work 100%. There's a couple of elements of the preferences page that don't work properly.. I've highlighted them below.

Can anyone point me in the right direction?

Posts: 5

Participants: 3

Read full topic

Can't upload files

0
0

@legendno13 wrote:

Hello,

I recently deployed a new forum by using Discourse, but I suffered a updating issue, it looks like the following:

The status indicator is 100%, but it will keep this percentage and never ends, I cannot upload any files. The avator uploading still has this issue. How can I solve it ?

Thanks

Posts: 2

Participants: 2

Read full topic

Header Menu behavior

0
0

@Akumetsu wrote:

Hi everybody, i'll try to get straight to the point :

I followed the https://meta.discourse.org/t/how-to-add-header-menu-links/29563 guide to add a new link to the nav-bar. My willing was to get a "status window" about a discord server, so i came up with this :slight_smile:

So a custom icon that open a window (can put only one image as a new user, but should be clear enough)

Everyhing is working so, my only issue is the behavior of other nav-bar links (when you click in the others it should close this tab and focus to the other)
This is my code :

<div id="top-navbar">
  <span id="top-navbar-links" style="height:20px;">
    <ul>
      <li class="dis-icon">
        <div id="discord"  class="ember-view drop-down hidden">
          <iframe src="https://discordapp.com/widget?id=127187891871809537&theme=light" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
        </div>
      </li>
    </ul>
  </span>
</div>

And the relative Js code :

$(function() {
  $(".dis-icon").click(function(){
    $("#discord").toggle();
  });
});

For now i only figured out to let the pre-existing links to close their tabs when i click in my custom link, but can't get to work the opposite. I know it's related to the JS listener of bootstrap, but for what i saw it seems Discourse use a different type of class (so i assumed that i should build the menu in the same way of the pre-existing links, but couldn't find an exhaustive documentation about that :/)

Hope to get some help :slight_smile:

Posts: 1

Participants: 1

Read full topic


Email blacklist default list of temporary domains as option?

0
0

@sidonaldson wrote:

I just found this gist of common temp email address providers and it crashed chrome when I pasted it into the textarea, probably as it was tokenized. It is a bit overkill to add them all in the UI so I wondered if it would be better to have it as an option.

As in true/false - "blacklist common temporary email domains" - and link to the list.

I can't comment about the performance of this but as this is only for sign-up it should be pretty low overhead?

I've attached the list of domains (pipe delimited) for your reference.

domains.txt (6.8 KB)

Posts: 1

Participants: 1

Read full topic

Cannot delete post because HTTP DELETE with body not supported in Jexus

0
0

@zwcloud wrote:

For example, when I click on the '×' mark on the right of a pinned message like 'PINNED GLOBALLY MAR 10' in a post. A HTTP request like below is sent.

Request URL      | http://XXXX/posts/18
Request Method   | DELETE
Request Body     | context:/t/some-post/12/3

Jexus is a web server software that can host .NET/C# website on linux. I have a site written with Nancy which is a C# web frame work so I'm using it. The discourse app is hosted on localhost and accessed by using a reproxy provided by Jexus.

The http protocol does not clearly specify whether DELETE should have a body or not. Different server application will use different standard to implement it. So using body when send HTTP DELETE makes it not free to choose the server application. Please consider removing DELETE body when send DELETE http request.

Reference:

PS: According to the post on SO, IIS also does not support DELETE with a body.

I'm not a native English speaker, so please pardon me if the tone of those words are not polite.:no_mouth:

Posts: 1

Participants: 1

Read full topic

Notifications live-added to the profile page don't combine

0
0

@Drew_Warwick wrote:

When I opened my profile page, I was short of two likes that I currently have now. When those two likes came in, instead of combining with the existing entry, they created their own entries:

This is how it should look and how it does look once I refresh the page:

Posts: 1

Participants: 1

Read full topic

Forgot to configure letsencrypt and email--Will I lose stuff?

0
0

@chemical wrote:

Hi,

A few hours ago I installed Discourse on a custom iso Vultr machine using a minimal Ubuntu image. Once I set everything up, including discourse settings. I forgot to install letsencrypt and the mail are not sending due not having a email server, I am using SparkPost at the moment. How do I setup letsencrypt, and rebuild the discourse app without losing anything.

Posts: 3

Participants: 3

Read full topic

Jquery not working in my plugin

0
0

@stevenpslade wrote:

I have a plugin that working fine on my local environment. Upon, including this plugin on my server version of Discourse, it has some really weird behaviour.

The functions in the plugin work inside the initialize and withPluginApi. console.log works as well. But NO Jquery works...so document.ready, on click events, etc.

Any ideas?

Here is the code:

import Composer from 'discourse/models/composer';
import { withPluginApi } from 'discourse/lib/plugin-api';

export default {
  name: "new-question-position-initializer",

  initialize() {

    withPluginApi('0.1', api => {

      console.log('this works');

      const currentUser = api.getCurrentUser();
      console.log(currentUser);

      var tbfNewTopic = function() {
        console.log('tbfNewTopic start');
        var composerController = Discourse.__container__.lookup('controller:composer');
        var username = window.location.pathname.split('/')[2];

        composerController.open({
            action:      Composer.CREATE_TOPIC,
            usernames:   username,
            archetypeId: 'regular',
            draftKey:    Composer.CREATE_TOPIC
        }).then(function () {
            return '';
        }).then(function (q) {
            composerController.get('model').appendText('');
        });
        console.log('tbfNewTopic end');
      };

      tbfNewTopic(); //THIS WORKS

      $(document).ready(function(){
        console.log('document on ready inside of api THIS DOES NOT WORK');
      });


    });

    $(document).ready(function(){
      console.log('document on ready outside of api DOES NOT WORK');
    });

    console.log('outside of api and document ready THIS WORKS');


  }
}

Posts: 5

Participants: 3

Read full topic

Template for serving through an .onion address with Docker

0
0

@RomeoPapa wrote:

Hi there, I've submitted a pull request to discourse_docker.

It creates a new onion.conf file in the nginx config folder. The new onion.conf is created by copying nginx.sample.conf and editing that copy.

This new config file creates another site on nginx's port 80, that listens to requests made to the specified .onion address.

The template checks that a DISCOURSE_ONION ENV variable is defined.

Posts: 1

Participants: 1

Read full topic

Handlebars.compile is not a function?

0
0

@stevenpslade wrote:

I have a handlebars template for my site's nav and I am getting that Handlebars.compile is not a function, por qué?

Uncaught TypeError: Handlebars.compile is not a function

   import { withPluginApi } from 'discourse/lib/plugin-api';

    export default {
      name: "notification-menu-item",

      initialize() {

        withPluginApi('0.1', api => {

          $(document).ready(function() {
            var source                 = $("#notification-menu-item").html();
            var template               = Handlebars.compile(source); //not a function?
            var user                   = Discourse.User.current(); //api.getCurrentUser();
            var logged_user            = false;
            var pro                    = false;
            var notification_url       = "";
            var data_url               = "";
            var new_notification_class = "";
            var notification_count     = "";

Posts: 3

Participants: 3

Read full topic


Icon for chat Discord

Does enable_staged_users break anonymous incoming emails?

0
0

@downey wrote:

Continuing the discussion from Can I turn off staged users?:

Sorry to re-open this conversation so soon, but what will this do to the configuration where a category is configured with the "Accept emails from anonymous users with no accounts" option enabled and a value for "Custom incoming email address"? Previously, this would allow non-users to email in to a category. I hope this change didn't break that ....

Any ideas?

PS: In the future it would be nice to leave the discussion open for a little longer than 6 hours after designing and implementing a new feature for follow up questions. :wink:

Posts: 4

Participants: 3

Read full topic

"Google_oauth2" - means nothing to a user

0
0

@DeanMarkTaylor wrote:

I just created an account on a Discourse instance (1.5.0.beta13b) and it displayed the message:

Your email has been authenticated by Google_oauth2

To an average user the oauth2 part means nothing, as such should probably be removed from display.

Posts: 2

Participants: 2

Read full topic

Not all posts loaded

0
0

@DeanMarkTaylor wrote:

Not all posts loaded

In the screen grab below are two instances of Google Chrome with two different profiles running at the same time (i.e. they don't share cookies).

  1. Open meta Discussion window on left: https://meta.discourse.org/t/blank-page-unless-i-start-a-new-session/17127/19
  2. New post came in by vi0oss (in left window)
  3. Within that first minute opened same topic in 2nd profile window right
  4. Visually vi0oss post was missing (on right)
  5. Almost immediately codinghorror's post was seen on the right
  6. Then almost immediately codinghorror's post was seen on the left.

The page on the right required a full-refresh to get vi0oss's post to load.

Posts: 1

Participants: 1

Read full topic

Tagging plugin: an ability to create tags with non-latin letters is broken

0
0

@dmitry_fedyuk wrote:

Expected behavior

Real behavior:

So it is impossible now to add the new тест tag.
It was working early.

Posts: 1

Participants: 1

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images