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

Imported topics don't respect "Auto-close topic" setting

$
0
0

@smaffulli wrote:

I just migrated a quite large forum from mybb into Discourse: what a relief, the migration went very well, users are very happy, traffic and engagement is already visibly better. The one little issue I have noticed is the imported topics don’t respect the category’s “Auto-close” time: while for the topics that were created ‘natively’ on Discourse there is the visible warning This topic will close a month after the last reply. for the imported topics that warning is not there. It would be great if the old content could be put to bed instead of resurfacing at any time

Is there way to force old imported topics to follow the same Auto-close setting as newly created topics?

Posts: 1

Participants: 1

Read full topic


Simple Unread List Plugin (discourse-simple-unread)

$
0
0

@David_Taylor wrote:

This plugin adds another option to the top menu site setting, which gives you a new tab labelled “Unseen”. It is an exact replica of the “Latest” tab, but only shows the unread topics.

It has the same live-update functionality as the built-in pages:

There is a button to mark all topics in the list as “read”:

There are no site settings to enable/disable this plugin. You simply install it, then add “Unseen” to your top menu site setting.

“Unseen” is not a great title, but it needed to be something different to “Unread”. On my forum, we have renamed the existing “Unread” page to “Tracked”, and then renamed “Unseen” to “Unread”.

How is this different from the existing new/unread tabs?

Repository: https://github.com/davidtaylorhq/discourse-simple-unread

Posts: 1

Participants: 1

Read full topic

After Header image causing huge user avatars on mobile devices

$
0
0

@ron_jeremy wrote:

I just added a header image to my forum and thought all was good but not so…

Here’s what the site looks like without the image:

Here’s what the site looks like with the image:

As you can see, the avatars are huge. This is likely due to my undoubtedly crappy html. Here’s the code I used in the “After Header” section (desktop and mobile devices):

<style>
img {
width: 100%;
height: auto;
}
</style>
<img src="https://www.dropbox.com/s/wtwkcf2jidfd92r/single-track-bc-
header.jpg?raw=1" style=padding-bottom:18px; alt="Single Track BC header
image">

I have put a band-aid on it for now by hiding the users

(.topic-list .posters {display: none;}

but for some reason it only works with the Desktop css, not the Mobile css.

Any pointers as to where I went wrong?

Posts: 3

Participants: 2

Read full topic

How to access Client.en.yml from the site?

$
0
0

@chi wrote:

Is there are way I can edit the Client.en.yml in the site?

discourse/config/locales/client.en.yml

Posts: 3

Participants: 2

Read full topic

Autocomplete doesn't contain suspended users

$
0
0

@JagWaugh wrote:

Just ran into this on our site (v1.9.0.beta8 +88)

Hamburger>> users>>typing the beginning of the username shows only one user with those starting characters.

/admin/users/list/active shows both users with the same starting characters.

The user in question (the one who only appears via admin/users) is currently suspended, does hamburger>>users filter out suspended users? (If yes, why?).

Posts: 5

Participants: 3

Read full topic

Why new users blocked automatically?

$
0
0

@bekircem wrote:

Hi,

In my Discourse forum, most of new users block automatically, not all but most. What is the reason of this?

Posts: 5

Participants: 3

Read full topic

Can API queries disable pagination?

Multiple usernames for same account - email address

$
0
0

@chsakell wrote:

Is there any way to use multiple usernames for the same email address?

Using SSO for login, the main site supports different type of accounts under the same email address. Those accounts have the same email address but different usernames. Assuming a user signs in Discourse using a specific account and creates some topics, if he/she logs out and signs in with different main site account (but same email address), the username for all the previously created topics will be updated. Is there something we can do to prevent it?

Posts: 2

Participants: 2

Read full topic


Discourse SSO using auth0 via URL

$
0
0

@pdias-cci wrote:

I am using trying to perform SSO using Auth0 for wordPress and discourse from my own application.
the flow is mentioned below.

The user enters user name and password in the application, the details are sent to the server which authenticates the user with the auth0 API and send back the token.

I have installed auth0 SSO plugin from GitHub in Discourse and all the client ID, client secrets are added to the plugin.

I want to know who to perform SSO in case of Discourse when I have logged into my application.

For wordPress were are using the following method.

    <form *ngIf="userService.isAuthenticated()" ngNoForm action="http://xx.xx.xx.xx/index.php?auth0=implicit&client_id=xxxxxxxxxxxxxxxxxxxxxxxxx&connection=xxxxxxxxxx"
        method="post">
        <input class="hidden" type="text" id="token" name="token" value="{{tokenValueIsHereReturnedbyAuth0Authentication}}" />
        <input class="hidden" type="text" id="redirect_to" name="redirect_to" value="http://xx.xx.xx.xx/index.html" />
        <input class="btn btn-primary pull-right" type="submit" value="View" />
    </form>

So How to do similar thing in discourse?

Posts: 1

Participants: 1

Read full topic

Embedded topic goes to Uncategorized

$
0
0

@hellekin wrote:

This might be related to Embedded topic split bug (500's) - 1.8.0 beta 4.

Situation

  • running Discourse v1.9.0.beta8 +115
  • I created an authorization for a host with pattern /zoethical/ and a specific category to assign topics from web comments.
  • the site owner created /zoethical/index.html with discourseEmbedUrl: 'https://nethood.org/zoethical/'
  • he added a comment for testing… The comment appeared in a new topic under the Uncategorized category.
  • I moved the topic to the right category.
  • The topic has the mention: This topic will be closed after 7 days. according to the settings in Uncategorized.
  • Important note that might affect the bug reproduction: the target category is a sub-category with permission restrictions, so that people using the embedding feature can discuss without polluting that main topics. The sub-categories have default permissions.

Expectation

  • The topic should be created in the right category.
  • When the topic is moved, it should comply with the auto-close settings of the new category.

Unfruitful Steps Towards Resolution

I tried several things:

  • moving to a new conference and adjusting settings in Admin > Customize > Embedding
  • setting auto-close for the category, then resetting
  • change the pattern from /zoethical/ to /zoethical/.*

Nothing works.

Is there a way to fix this from the console?

What is the proper way to set a pattern for a sub-directory on the remote server?

Posts: 1

Participants: 1

Read full topic

Remove attachment completely

$
0
0

@precessor wrote:

As Admin I have edited a post in which there was an attachment which is not allowed by our forum rules.

I removed the link to the attachment but the link remains in the edit history, and the attachment also remains (it can still be downloaded).

Can I completely remove/delete the attachment? (it’s a PDF file)

Posts: 6

Participants: 5

Read full topic

Banner not dismissing

$
0
0

@jordan1909 wrote:

Hello all
I have implemented custom code to inject a more dynamic banner into Discourse. I essentially just
set #banner-content to be an object with my secondary page as the body. This works quite well and
I am getting almost all of the results I expect.

The problem I have to manually set the banner-content depending on the URL as it wasn’t propagating properly. Once doing this however on a page refresh the banner comes back regardless of if the user dismissed it or not.

My question is this: Is there a site setting I can access via Discourse.user to determine if they’ve dismissed the banner?

Code I am using
<script type="text/discourse-plugin" version="0.4">
api.onPageChange((url, title) => {
    if(url === '/'){
        $('#banner').css({'display' : 'block'});
        $('#banner-content').html('<object class="banner-container" data="https://myforumurl/banner.html">');
    }

    //Display the whos online plugin only for staff.
    if(Discourse.User.currentProp('staff') !== true){
        $('#whos-online').remove();
    }

    /**
    * If the banner is showing detect if we are away from the main page.
    * If we are on any page other than home set the banner to be invisible.
    * Don't use .remove(); as that would require re adding the element after.
    */
    if($('#banner').is(':visible')){
        if(url !== '/'){
            $('#banner').css({'display': 'none'});
        }
    }
}

Update

So it appears that the dismissed_banner_key is not being properly updated. When I select to update this key I get a new value which appears correct but I additionally get a NOT FOUND error. I know this is in reference to the dismissal as it only appears when I select to dismiss the banner. This was working fine before the most recent update. Has something happened in the most recent rev?

Not Found
s@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14:27536
o@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14:27393
i@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14:27322
trigger@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19:4711
_onError/<@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19:6692
invokeWithOnError@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:17919
flush@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:18364
flush@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:19124
end@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:19469
run@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:20538
u@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:13:1629
e/i.error@https://myforum.com/assets/application-9e0a922055fc3f9e9e6a011c36bea139b9b6d7fe31884a4038e65a13fb75b5e1.js:2:1160
l@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:6359
fireWith@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:7127
r@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:10013
n/<@https://myforum.com/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:15842

Posts: 7

Participants: 2

Read full topic

Annonymous users on private forum?

$
0
0

@rebel wrote:

Hi everyone,

I have a standard docker installation for a private login only forum.

I was a lttle worried to the see annonymous statistic thusly. Is it possible to point me towards somewhere I can learn more about this? Should I even have annonymous users on the forum if it requires a log-in to view?? Many thanks…

Posts: 3

Participants: 3

Read full topic

How to handle users that don't really read the answers they get?

$
0
0

@Sujan wrote:

Psychology question:

Imagine you get a lot of users that don’t have English as a first language.
Also imagine lots of them tend to not really read and respond to the answers they get, but repeat their initial question over and over.

Example:

How do I do x?

You shouldn’t really do that. Why do you want to do x?

I have to do x. How do I do that?

Example 2:

I want to do y with z.

y is not necessary. How did you implement z in your code?

I alread did z. How can I do y?


One way I currently sometimes use is to call them out publicly:

Please read my posts and answer the question I asked. I won’t repeat what I wrote above.

I used to do this via private message about their post, but this tended to get a lot of “How do I do x?” questions responded back via PM as these users also don’t understand the difference between a public post and a private message.

I am pretty much out of ideas how to help these people…

Posts: 2

Participants: 2

Read full topic

Keep a topic pinned permanently

$
0
0

@achamess wrote:

Hi,
Is there a way to keep a topic pinned permanently? I’m the admin of a forum, and I want to keep a particular post at the top. I used the setting in the admin panel to not automatically move pinned topics down, but it didn’t work. Is this something I can do?

Posts: 2

Participants: 2

Read full topic


Whispers Break Frequent Posters' Post Count

$
0
0

@jcoates wrote:

Thanks @zogstrip for fixing the whispers showing up in frequent posters.

I noticed the fix breaks the numbers of posts above each user’s avatar. They appear with no numbers whenever there is a whisper present in the topic. When no whisper exists the numbers appear at the upper right corner of the avatar as before.

Is there an easy fix for this? I doubt anyone would mind this being left as a known issue if not. Again looks pretty good.

Posts: 8

Participants: 3

Read full topic

GSoC 2017 ends - Outreachy winter round begins

$
0
0

@erlend_sh wrote:

Originally published at: GSoC 2017 ends – Outreachy winter round begins

Since May this year we’ve been working with a handful of incredibly talented students. Google Summer of Code 2017 has now concluded, and we have some kick-ass new features to show for it. If you’re interested in a similar type of program, you should read about Outreachy further below, which is an internship for people…

Posts: 1

Participants: 1

Read full topic

Figcaption as plain text issue

EmojiPicker stores state in global module-level variables

$
0
0

@schungx wrote:

In emoji-picker.js.es6:

The following variables are used for emoji-pickers, but they are currently module-GLOBAL variables instead of instance fields.

let $picker, $filter, $results, $list, scrollPosition, $visibleSections, _checkTimeout;

In particker, $picker is used to popup the emoji-picker. It is a module-global variable, so what that means is that there CANNOT BE any permanent emoji-picker’s on the page (e.g. discourse/babble and discourse/retort both put emoji-pickers permanently on the page).

When the compose-reply window is open, the standard emoji picker is created, overwriting $picker for everybody, causing all permanent emoji-pickers on the page to break.

Suggestion is to move all these variables into the class definition, and make them instance-specific fields. This should then allow for multiple emoji-pickers to co-exist on the same page with conflicts.

Posts: 2

Participants: 2

Read full topic

Discobot tutorial errors

$
0
0

@joey.blake wrote:

I’ve been going through the discobot tutorial, and after a certain point in the walkthough, clicking the “Reply” button results in a javascript error being thrown.

It does not stop you from closing the error window and proceeding through to the next step. But it does fire again when replying to the next tutorial step.

Has anyone else noticed this? the toString error almost feels like it is because a message string is missing.

Posts: 3

Participants: 2

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images