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

How to hide a DIV with javascript on Discourse? and then change as users navigate?

$
0
0

@charleswalter wrote:

Has anyone here used the custom fields to hide a div using Javascript? I’m not clear why this code would not work for me. It works if I put it in the Javascript console in chrome.

<script>
document.getElementById('notopic').style.display='none';
</script>

I’m trying to include a particular div on topic pages vs. non-topic pages. I assume it needs to be activated differently due to the JS coding of the discourse application?

Ultimately, I would then include it as part of a separate code to load, but I remember now that the fragments in our header and footer do not get reloaded as users navigate, so this will be trickier, no?

<script type="text/javascript">
if(window.location.href.indexOf(“/t/“) > -1) {
       document.getElementById('notopc').style.display='none';
    }
</script>

Posts: 3

Participants: 2

Read full topic


How to read commits on Github?

$
0
0

@tophee wrote:

Continuing the discussion from Onebox shown as iframe raw html:

Could you explain what the :x: means next to a commit on Github if it doesn’t mean "tests not passed? Or, perhaps more importantly, how do I know if tests have passed or failed?

And, while we’re at it, another question about reading discourse on Github: when @techAPJ recently fixed an issue I had reported I wanted to upgrade as soon as this commit reached “'tests-passed”:

So I went to admin/upgrade and clicked on the discourse build number (or whatever it is called) to check the diff view showing all the commits that I would get if I upgraded. But I couldn’t see Arpit’s commit at all. Where or when would I have seen it?

Posts: 4

Participants: 2

Read full topic

Shared topics between multiple discourse instances

$
0
0

@tophee wrote:

Continuing the discussion from Facebook Groups - Zuck is coming for us:

I take it that this is not going to be a priority any time soon, but I really like this idea of linking different discourse instances. So here is a more specific feature suggestion: multi-forum topics.

Not sure if and how this could be implemented, but the idea would be that users could request a topic to be shared by another discourse forum, i.e. that the topic would be shown in both forums and members of either community can reply to it.

Use case: @HAWK asked the same question on the feverbee forum and here:

And this topic of mine would probably also be suitable for both these fora:

Posts: 7

Participants: 3

Read full topic

Show matching tags in search results?

$
0
0

@mcwumbly wrote:

I feel like I saw another post or topic about this here recently, but I can’t find it.

When I search here for feature, the results include a link to the #feature category.

But when I search for pr-welcome, the #pr-welcome tag is not show in the results.

It’d be nice if it did, as that’d make matching tags more discoverable and it’d be an easy way to navigate to a particular tag.

Posts: 7

Participants: 3

Read full topic

Singleboard computer recommendation

$
0
0

@Seferi wrote:

Hi, I’m planing to create a small forum. Which single board computer would you recommend for it? Like Raspberry pi 3, Odroid c2, xu4 etc. I appreciate if you could point me in the right direction.

Posts: 4

Participants: 3

Read full topic

A little friendlier hidden post message?

$
0
0

@tophee wrote:

Below is the current default copy that a user receives if their post has been automatically hidden.

Hello,

This is an automated message from %{site_name} to let you know that your post was hidden.

%{base_url}%{url}

%{flag_reason}

Multiple community members flagged this post before it was hidden, so please consider how you might revise your post to reflect their feedback. **You can edit your post after %{edit_delay} minutes, and it will be automatically unhidden.**

However, if the post is hidden by the community a second time, it will remain hidden until handled by staff  - and there may be further action, including the possible suspension of your account.

For additional guidance, please refer to our [community guidelines](%{base_url}/guidelines).

The reason for the flagging and hence for the hiding can vary. Based on the options users get in the flag modal, I’m assuming that it can be either: off-topic, inappropriate, spam or “Something Else”. Here I want to focus on the scenario where the reason is that the post was considered off-topic.

For that scenario, I find it inappropriate to threaten people with suspending their account, even if it’s just mentioning the possibility in general terms. You write something that three people consider off topic and are treated like a potential criminal? Not particularly civil, if you ask me.

I’m not sure how this could be improved given that it’s the same message template that gets used for really offensive behaviour and bring off-topic. On my forum, I simply deleted the part part that says

  • and there may be further action, including the possible suspension of your account

Because I don’t think it’s necessary, even for the other flagging reasons but if people think that suspension should be mentioned by default, perhaps something like this would do:

Please remember that in cases of severe misconduct, a user's account may be suspended.

Posts: 1

Participants: 1

Read full topic

Job's mail fail after my installation

Setting discourse evrytime you open putty?

$
0
0

@smota wrote:

Hi Expert, everytime I open Putty, discourse ask for configuration initial data.
Like email’s admin, and smtp mail and so on,
how can turn it of?

image

Posts: 6

Participants: 3

Read full topic


The only solution I have found to workaround «429 Too Many Requests» failure from rubygems.org

$
0
0

@dmitry_fedyuk wrote:

The only solution I have found is to revert my Discourse installation to the previous version.
This does work for me on every container rebuild attempt:

params:
  version: e0285bc20ec10e117743e671c45643e63eccfdbc

This fails for me on every container rebuild attempt:

params:
  version: tests-passed

So I think it is definitely a Discourse bug, and if the new Discourse release exceeds the rubygems.org rate limits, it is Discourse problem, not rubygems.org problem.
A possible solution for Discourse could be to implement some timeouts in gems fetching to be compatible with the rubygems.org rate limits:

http://guides.rubygems.org/rubygems-org-api/#rate-limits

Posts: 5

Participants: 3

Read full topic

How edit code discourse?

$
0
0

@huynhthai824 wrote:

Hello Discourse,
I wanna change code, but when i go to server i dont see file need to edit?
How i go to that file? and edit it?
my file is: D:\SOft\discourse-master\app\assets\javascripts\discourse\templates\components\edit-category-general.hbs

image

Posts: 7

Participants: 4

Read full topic

How to keep track of trial?

$
0
0

@Jimble wrote:

I have no idea what day I’m on in my 14-day trial.
I’m nervous about getting billed 100 dollars for the next month.
We just wanted to try it out so that we can host it ourselves.
I can’t find any information about this in the emails or on your webpage describing the trial.

Our forum is: http://art-of-life.trydiscourse.com/

Posts: 2

Participants: 2

Read full topic

Show top and not recent post

$
0
0

@pain wrote:

how do i set discourse to show main topic instead of most recent post on topic click

Posts: 4

Participants: 2

Read full topic

Bootstrap fails because of the wrong IP Address

$
0
0

@Seferi wrote:

Hi, i just installed ubuntu server on my old laptop to try and experiment before i invest in a serious server. This is what i’m getting after answering the smtp questions:

Checking your domain name . . .

WARNING:: forum.example.com does not appear to resolve to 192.168.178.28

LET’S ENCRYPT cannot work if their servers cannot access your host by name.
Unless you think you know why this naive check failed, DO NOT USE Let’s Encrypt.
(A typical reason for failure is an AWS server with an elastic IP.)

You should probably answer “n” at the next prompt and disable Let’s Encrypt.

The IP adress is not the public IP but the one router is giving me. I appreciate if you could help. Thanks.

Posts: 6

Participants: 3

Read full topic

Plans to create a community.. Could use some help

$
0
0

@awb715 wrote:

Hello,

I’m planning on using discourse to create a community and I have some basic javascript/NodeJS knowledge that I think should be able to help me build it on my own with help.

I want the community to have a chat room with channels (most likely using gitter, I saw babble but it seems to be down at the moment) as well as a discourse discussion board.

The goal is to have user profiles display unique information about the user so when your in the chat or on the discussion boards, you can click the profile and view the unique info about the user. I was originally planning on using mongoDB to store the unique user data (some private, some public) but realize I might be able to completely alter the user profiles on discourse.

I also would like to be able to eventually offer job recruiters and users of the site a tool where they can connect and find jobs so I’ve read mongoDB isnt great for querying a ton of unique results.

Obviously the primary use of the website will be to connect with the people you share the same degree, but for a user experience perspective and a business perspective, I would like to have unique/altered user profiles and the ability to distinguish users by their data.

Would anyone be able to guide me through the process of building this or just share their 2 cents on the idea?

Thank you

Posts: 2

Participants: 2

Read full topic

We're seeing random Japanese characters


Setting up Avatar Flair

Loop bug in Discourse Narrative Bot

$
0
0

@bletch wrote:

I started a thread on this a week or so ago but it seems to have been removed. Full details of the missing thread in this folded section as I don't want to clutter up this bug report.

I can’t find the thread I created ivia search and neither does it appear under my activity listing.

I’m sure @pfaffman will remember contributing a suggestion on the original thread which was titled “Loop bug in discobot / Narrative 'bot”.

I’ve got an open tab from yesterday that shows the thread. The thread had 4 posts but only the last 3 posts of the thread are now there as it appears that the original post has been deleted.

See here:

Apologies in advance if I’ve missed some sort of forum policy regarding the deletion and my re-posting this bug report.

The original thread ID was 67231.

Anyway, the ‘bug’ report…

The narrative 'bot has got itself caught in a loop. It works for the first two responses (bookmark and onebox link) but on stage 3 (the emoji interaction) it complains that it can’t find a link.

This link test appears to relate to the previous interaction (onebox link). See screen shots of the PM conversation with discobot.

In my original thread @pfaffman suggested that I make sure I have disabled the discourse-narrative-bot plugin. I have concluded that the plugin was not installed when I reported this problem and I have since double checked my app.yml file and rebuilt the app and I am still seeing the loop. See tail of app.yml:

I’ve tried to restart the discobot interaction with new user start and I have tried using different users but I see the same results.

In case it is relevant background, I previously had the plugin (not core) version installed and I had also previously completed all interaction stages, and received a certificate, with the user that is now looping. This was some time ago though.

Any suggestions.

Posts: 1

Participants: 1

Read full topic

I understand attachment of files is supported but which kinds and are they part of the backup?

$
0
0

@Jimble wrote:

The users of my forum tend to share a lot of plain textfiles with a SCL file ending (descriptions of microtonal music scales in the Scala format) and MP3 files for sharing their own music creations in those scales.

Does Discourse allow for sharing MP3’s created by yourself as attachments? Will they play inside Discourse?

Will these SCL and MP3 files be backed up with the site so that if you export all the content, they will be part of that backup in a designated folder?

Posts: 2

Participants: 2

Read full topic

What does "blog integration" mean?

$
0
0

@Jimble wrote:

I see that one of the features listed on the Discourse website is “blog integration”?

  1. What does that mean practically?

  2. Does Discourse support a kind of blogging system workaround? Not in the traditional sense, but maybe through tags?

This way a user can keep a blog within the forum by tagging a post with the “blog” or “blogpost” tag and they will be sorted in chronological order when a user searches for posts tagged with “blog” or “blogpost” by an other user.

A possible feature request would be that such a search result will be embedded in the URL, so that you can share these blogs in a sticky post or in other ways.

Posts: 2

Participants: 2

Read full topic

Onebox does not work in "Hide Details"

$
0
0

@kiki wrote:

Below is a wiki page:

When i put the wiki page url in details,it just displays a link, while it is expected to be the same as above.

Summary

Apache Hadoop - Wikipedia

Posts: 5

Participants: 3

Read full topic

Viewing all 60613 articles
Browse latest View live


Latest Images