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

Send official warning to multiple recipients

$
0
0

@TechnoBear wrote:

It is currently not possible to send an official warning to more than one recipient. Adding a second recipient removes the "This is an official warning." checkbox, even if it's already been checked.

There are odd occasions on which sending the same warning to multiple members is desirable and it would be useful to have this facility.

Posts: 1

Participants: 1

Read full topic


Use the same user database and login credentials in multiple discourse instances

$
0
0

@auryn_macmillan wrote:

I know that it is possible to run multiple instances of discourse on the same server using a multisite setup. I'm wondering if it would be possible for multiple instances of discourse to make use of the same user database? So that a user could sign-up on any one of several different forums and use those same credentials to log in to all of the others. If a user's whole profile (trust level, profile detail, pictures, etc) could be synced across each instance, this would be ideal for our use-case.

Posts: 11

Participants: 4

Read full topic

Composer bug on Firefox

$
0
0

@Alankrit_Choudh wrote:

firefox -
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0 ID:20160611030214 CSet: b6f7d0eb61b1878d3d906bd231edf225463ece3f

As shown in the above image, one of my community members reported this. On English (Default) language, it is working fine as i have checked it.

Edit:
It happens on English default (using latest firefox) Google chrome is just fine. (When i tried it out)

Posts: 5

Participants: 4

Read full topic

Hide part of post

$
0
0

@shai_shapira1 wrote:

hi,

there is a way to hide part of post (example username / password) and this information will be shown only to admins / team?

i would like to use discourse as support platform which will allow users to find answers for old questions and to admins to replay and manage it

i saw something like this here:
https://community.theme.co/forums/group/support-center/ - ( i dont think its discourse)

found this post about something close:


but its not exactly what i mean

Posts: 2

Participants: 2

Read full topic

About pages missing/broken

$
0
0

@victoria wrote:

Hello!

I have just started working with discourse on an already existing forum that I just updated to use docker.

In the about pages all three of the tabs FAQ, Terms of Service and Privacy are all broken. They were broken in the old version as well. I want to bring back these pages to the forum. I'm running a translated discourse forum in Swedish.

I am unsure of how to address this issue. Could anyone give me some pointers?

Regards,

Victoria

Posts: 2

Participants: 1

Read full topic

Frontend performance

Add/Delete badge

Attention Onebox experts: Help requested resizing an iFrame embedded via oEmbed

$
0
0

@Travis_Kriplean wrote:

I've extracted this question from this thread

I've been working on an oEmbed endpoint for consider.it that returns HTML that can be Oneboxed in a Discourse thread. Currently, the oEmbed html snippet is mostly just an iframe, along with a small javascript library injected into the containing window. This javascript library is capable of communicating with the iframe to dynamically adjust its height. This library is designed to play nicely with the containing window.

The specific code is e.g. :

   <iframe id='considerit-embed-4186' src='https://dao.consider.it/embed/proposal/slockit1' width='700' frameborder='0' style='overflow:hidden' scrolling='no'></iframe>
   <script src='https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.3/iframeResizer.min.js'></script>
   <script type='application/javascript'>
     var resize_interval=setInterval(function(){
       if (typeof iFrameResize != 'undefined'){
         iFrameResize({log:false, checkOrigin:false}, document.getElementById('considerit-embed-4186'))
         clearInterval(resize_interval)
       }
     }, 40)
   </script>

The javascript in the above code is unfortunately not consistently executing in a Discourse thread, and I'm at a loss as to why. I've observed the following bizarre but replicable behavior from Discourse:

  • javascript DOES NOT run if I just load a thread containing a Oneboxed considerit link
  • javascript DOES run if I have the post editor open with the link, but only for the Oneboxed link in the thread, not in the preview window.

This behavior is consistent when refreshing the page. I recorded this riveting 40 second video to demonstrate the behavior.

I can't tell if:

  1. Discourse intends to disable javascript for Onebox'd html oEmbeds (and the edit post behavior is a bug), or
  2. Discourse intends to enable javascript but there is a bug in Discourse or my own code that is preventing it from happening.

If (1), is there a recommended method for the provider to enable dynamically resizing Oneboxed content? Or is it impossible to dynamically resize Oneboxed content in Discourse?

If (2), is there a workaround or recommended course of action?

Thanks for your time,
Travis

Posts: 7

Participants: 5

Read full topic


Show your Forum

Confusion about CSRF URL querystring timestamp

$
0
0

@repository wrote:

Dear Discourse Team,

Before logging in and sending a POST request to do so, a GET request is sent to retrieve and use a CSRF token.

http://try.discourse.org/session/csrf?_=1465847188888 is an example using the test server.
Currently the token, as depicted by the '_' parameter, is being generated using Linux Epoch time.

This means that effectively the CSRF token login authentication can be bypassed by converting the current time that your browser visits a Discourse login page (and through trial and error of seeing how long it takes to submit the login form) in the GMT timezone to epoch time.

We believe that this could be an issue as it could allow an attacker to bruteforce our forum users, or perhaps check another user's inbox (in theory, I may be wrong as I haven't had the time to write up a script just yet - I'm busy with exams).

Posts: 3

Participants: 2

Read full topic

An Importer for Google Groups

$
0
0

@steinwaywhw wrote:

Hi,

I would like to open a new thread to continue the discussion here about an importer for Google Groups. In short, I have a simple python scripts based on Scrapy that scraps all messages of a group to a JSON file. I hope someone who knows Ruby and Discourse API could make it into a real importer (json-discourse importer).

That prior discussion mentioned an importer too. But it seems to me that it can not scroll down to the bottom of a page to load complete messages. It sounds like that one doesn't really work. I report here that my script can follow links like "more topics" until there is no more, thus scraping all messages.

Another trick is that I found the Google Group url has the format of base_forum_url+range. Not sure if anyone noticed, but that basically works pretty well for me. For example, you can use

https://groups.google.com/forum/#!forum/ats-lang-users[10-20]

to get a range of topics from index 10 to index 20. Therefore you have a way to iterate all topics in a group.

Anyway, I would like to share my scripts as a starting point. I hope someone who has experience with Discourse can pick it up and make it one-click to import Google Groups to Discourse.

The Github Repo is here: https://github.com/steinwaywhw/google-group-exporter
There is a python script, depends on scrapy.org <- it should be a clickable link, but I'm a new user, I can' put more than two links in a post ...
There is an example Google Group topic page as seen by the scraper
There is an example output from my scripts.

BTW, "New users can only have two links in a post" - why is that? it's annoying.

Posts: 5

Participants: 3

Read full topic

Good way to "Go back" feature after hitting "jump to the quoted post"?

$
0
0

@awole20 wrote:

One of the things I'm finding in my day to day use of discourse is when navigating across quotes is that I feel like I will lose my place if I hit a "jump to quoted post" button, so I tend to avoid it. I think I'd use it much more to get context if I could get back to where I was previously.

If the quoted post is not in direct reply to the post, there is no easy way to get back to where I was pre-jump, as it doesn't show up in the "n replies" links. I don't see any indication on the post I jumped to to bring me back. Something like the "back" mark on the timeline might be a good indicator of what I'd like. Using u is not saving history in the jump.

Is there an easy way to jump backwards through posts and get a breadtrail to return through that I'm missing? Should I be using my bookmarks for this? Would it be up for discussion to save history so the back button/shortcut can return me down in-topic links?

Posts: 5

Participants: 2

Read full topic

Uploading Image via Safari and Evernote

$
0
0

@ringgit wrote:

I am using a Mac OS X El Capitan. And I use Evernote Skitch to capture screenshot. When I copy the screenshot in memory and paste it into Discourse, it didn't work in Safari (nothing happened). The same screenshot but paste into Discourse using Firefox is ok (it uploads).

Posts: 1

Participants: 1

Read full topic

Resizing window causes small post navigation widget to freeze

$
0
0

@jomaxro wrote:

Noticed recently on my Windows Desktop, Chrome Stable, that resizing the window while in a topic such that the timeline disappears, reappears, then disappears again will cause the small post navigation window to "stick" to a post number.

Screenshot of view with "post 20" in widget, but view at bottom of topic.

Posts: 1

Participants: 1

Read full topic

Why are integration specs written in QUnit?

$
0
0

@rimian wrote:

I'm wondering what was the reason behind writing integration tests in QUnit when RSpec is available?

The advantages of RSpec would be:

  • Runs the phantomjs driver directly rather than through a shell command
  • Removes the layer of abstraction on top of QUnit (really a unit testing framework)
  • RSpec has a nice DSL that is easy to use. Not much ruby experience needed.
  • Far less boiler plate code (javascript)
  • RSpec can run single tests or groups of them (tags, etc) with options like --fail-fast
  • Headless browser tests run faster
  • Native output to stdout and correct exit code
  • support for creating fixtures and transactional tests.
  • There are already some integration specs in spec/integration

The list goes on. I've written complex AngularJS applications with RSpec integration tests. It's pretty simple really.

Posts: 2

Participants: 2

Read full topic


Limited replies history in Profile

Getting User Badges

$
0
0

@P16 wrote:

We have customized our user card to be something like this:


We wanted to display a similar card when the user clicks on a button in the header.

Since the user card is not a widget, we built a custom card that opens when a button in the header is clicked. We are having an issue with how to get the badges for the current user and insert them in the card. Any help would be appreciated :slight_smile:

Also, can the "poster-name" widget be used in the header - we tried doing that but had issues?

Posts: 1

Participants: 1

Read full topic

Better cooperation between staff members

$
0
0

@mathias.kallberg wrote:

Hi guys!

I'm trying to find a way to let our support staff cooperate better. Each staff member has his or her own account, but they can't see if someone else in the staff has already seen and answered a question. This forces everyone in the staff to read every new topic to see if there are any unanswered questions somewhere.

Is there already some function or plugin that solves this problem, or am I maybe thinking the wrong way about this?

How do others do?

Posts: 4

Participants: 4

Read full topic

Sender email name

$
0
0

@znq wrote:

I'm running a hosted Discourse setup (hosted on discourse.org). I've set up all my email settings properly (SPF and DKIM) and I've received a test email from test@mydomain.com successfully as configured in notification email. However I can't figure out how to set the sender's real name. Currently the email arrives with an ugly test@mydomain.com real name.

Is there a way I can change this?

Posts: 2

Participants: 2

Read full topic

Translate email notifications and digests into user preferred locale language

$
0
0

@tobiaseigen wrote:

Many of the people in my community who don't speak English also don't log in often because they live in parts of the world where Internet access is scarce. So they participate by email.

It occurs to me that it would be quite useful for these people to get emails from our discourse in their language. Has anyone looked into this or considered it? Digests and notifications could all be provided in the user's preferred language, perhaps with the original text clearly identified directly below it. We already have localized versions of posts in the database thanks to @tgxworld's Discourse-Translator++ plugin, and default translation text for the rest.

Posts: 3

Participants: 2

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images