I want to create awareness for my forum. Marketing is hard, I know. I am thinking do running a competition to get users to my site. The user who generates the most activity, preferably signup and comments via referrals. Can anyone advice on the best way to track the activities of the users?
I need to create a plugin that will do a certain database query upon request and return data as JSON or push it to external server for further processing. Was trying to find some similar docs but most of plugin tutorials are related to "authenticate with that" or "make this look better". Does somebody know a good docs on creating such kind of plugin or advice how to do this?
Russian-speaking people simply don't understand what "1.3K" means - they keep asking our mods about the K. Is it possible to make it localized somehow?
Hello - I am embedding discourse comments on one of our websites. I want it to tie into our existing forum: forums.sketchup.com but one thing is -- I expect there to be a lot of comments everyday and I do not want that to "spam" or fill up the forum home feed with comments from the product page....
How do I manage this? Perhaps I create a category where those threads/comments from the product page will live and not be updated on the main page of the forum??
This may be a noob question, but on the dashboard I am getting a message that an upgrade available, please update. How do I do that on your hosted service?
What do you think about getting reply notifications when people respond to your poll by voting? I see that as a type of response, and think it should classify as such - but perhaps I'm an outlier on this, so just throwing it out there…
One of our customers moved 'unread' as the first item in the top_menu setting. This caused an error on the home page for non-authenticated users. 'sign up' and 'log in' were showing, but the top menu wasn't. It basically made the forum look down.
If 'unread' is the first item, it should be skipped for non-authenticated users, and the next item should be used as the home page.
Going to the User Directory > All Time > Read just gives me the loading spinner (however switching to 'this week' or any of the other options is fine).
In my logs I've got NoMethodError (undefined method `time_read' for nil:NilClass):
Also not sure if it's connected, but on rebuilding Discourse I noticed these warnings:
I went ahead and made the fixes - but what a nightmare.
While the server rebooted fine, on trying to rebuild Discourse my box just froze and needed a DC reset. I then reverted one item at a time and each time the same thing (requiring a DC reset). Then even with all changes reverted, the Discourse app failed to rebuild. Finally got it to rebuild after git pull.
When reading a topic, click on a user to open their user card, then right-click and choose open in new tab or middle click (on either red circled area), you are taken to the page you are currently viewing, not their profile
Left Clicking on https://meta.discourse.org/users/idontexist takes you to an error page, not the 404 page you get if you right-click and open in new tab or middle click the link.
Errors in Dev Console when left clicking
[object Object]Discourse.Route.extend.actions.error @ _application-ad8ffadeed762cdfb28b7fae4a9048bf.js:78237C @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:34235l @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:55158i.trigger @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:54983(anonymous function) @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:54788b @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:55600y @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:55612g @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:55583p @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:55525(anonymous function) @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:37309r.invoke @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:11597r.flush @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:11662n.flush @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:11467s.end @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:10892s.run @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:10947l @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:26183Discourse.Ajax.Em.Mixin.create.ajax.a.error @ _application-ad8ffadeed762cdfb28b7fae4a9048bf.js:83J.Callbacks.c @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:3364J.Callbacks.h.fireWith @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:3364r @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:3366J.ajaxTransport.Y.cors.e.crossDomain.send.t @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:3366
_vendor-cb7be21782ac642d67545fd3c9ee1618.js:37347 Error: Not Found
at o (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:37324)
at Object.e.default.trigger (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:56277)
at h._onerror (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:57291)
at p (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:55522)
at _vendor-cb7be21782ac642d67545fd3c9ee1618.js:37309
at r.invoke (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:11597)
at Object.r.flush (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:11662)
at Object.n.flush (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:11467)
at Object.s.end (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:10892)
at Object.s.run (_vendor-cb7be21782ac642d67545fd3c9ee1618.js:10947)o @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:37347e.default.trigger @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:56277h._onerror @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:57291p @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:55522(anonymous function) @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:37309r.invoke @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:11597r.flush @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:11662n.flush @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:11467s.end @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:10892s.run @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:10947l @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:26183Discourse.Ajax.Em.Mixin.create.ajax.a.error @ _application-ad8ffadeed762cdfb28b7fae4a9048bf.js:83J.Callbacks.c @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:3364J.Callbacks.h.fireWith @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:3364r @ _vendor-cb7be21782ac642d67545fd3c9ee1618.js:3366J.ajaxTransport.Y.cors.e.crossDomain.send.t @ _vendor-cb7be21782ac642d67545fd3c9ee161
Screenshot of error
Screenshot when Right-Clicking and opening in new tab or using middle click.
Dear Discourse users, we chose Discourse as the tool of choice for creating the online discussion forum for a new Horizon2020 project targeting research communities in Africa - Sci-GaIA. Discourse has many selling points, and we chose it over Liferay Discussion boards because of it's design and gentle adherence to the unified rules of civilised discourse. We had one critierion which was absolutely required and that was federated authentication since we would be bringing in users from research communities who manage their own identity federations.
So, we wanted an SSO that was decentralised, and SAML-based. Reading through the Discourse SSO documentation, it seemed that it was possible, given that this is built into it. However, we had to develop a small package which converted the attributes provided by the federated identity providers and those requested by Discourse. This was written by @fmarco76 and based on Flask.
Looking at the code I noticed that numbers aren't formatted using the locale configured by the user or administrator. This can be seen at the reply and view counts. On a German locale it looks like this:
But it should look like this:
In German we use a comma as decimal separator. And of course, as @downeyalready mentioned the "K" should be a lowercase "k".
The missing localization of numbers can also be seen in the poll plugin. The average rating uses the English decimal separator...
Could we use a library like FormatJS or Numeral.js in order to format numbers? Looks like not all major browsers support Intl.NumberFormat yet.