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

More buttons in editor

0
0

zh99998 wrote:

discourse support bbcode to format posts, but some function are supported only by writing codes by hand. such as color, font size, emoji.

not everyone could write code. especially if my forum is not for hackers. just for normal people, newly to the internet. 90% of them don't know how to make texts in red, or bigger, or send emoji.

it's better to add some buttons in GUI editor.
font size color table emoji.

Posts: 5

Participants: 5

Read full topic


Error when trying to start sidekiq on Ubuntu 12.04

0
0

Aaron Baker wrote:

I'm using Capistrano 3. When I run cap production sidekiq:start I get this crazy error output http://pastebin.com/gsvaTVw2. I have no idea what is going on. My versions of Sidekiq and Sidetiq are the exact same as they are in discourse master. If anyone has any insight into what's going on here, that'd be amazing.

If you have any questions about what configs I have or what commands i'm running let me know and i'll update the post.

Thanks so much.

Posts: 19

Participants: 6

Read full topic

Should audio and video tags be allowed?

0
0

Kane York wrote:

I was just going over the html sanitizer whitelist and wasn't sure what to do about <audio> and <video>.

It seems that they do, in fact, work, but only if you specify src= in the audio tag, not in source tags.

This works:

<audio controls autoplay src="http://wiki.teamfortress.com/w/images/6/6c/Spy_DominationDemoMan07.wav?t=20100625234555"></audio>
<video controls autoplay loop src="http://tehurn.com/media/LUIGI_9001_SUPER_SWAGG_XXXX.mp4" >


Click to expand the audio/video

(TF2 Spy voice reaction and end of Luigi's Mansion plus Twitch chat jokes on top of Numa Numa, respectively.)

But this doesn't:

<video controls autoplay>
  <source src="http://wiki.teamfortress.com/w/images/e/e9/Spy_specialcompleted04.wav?t=20100625234706" type="audio/x-wav">
</video>
<video autoplay loop>
  <source src="http://tehurn.com/media/LUIGI_9001_SUPER_SWAGG_XXXX.webm" type="video/webm">
  <source src="http://tehurn.com/media/LUIGI_9001_SUPER_SWAGG_XXXX.mp4" type="video/mp4">
</video>

What to do?

Also note that "autoplay" doesn't actually do anything on a Discourse site.

Posts: 3

Participants: 2

Read full topic

Digest formatting and customization

0
0

Barry Chertov wrote:

The digest is looking pretty good. Can someone direct me to how the threads that are selected for the expanded presentation on the top of the digest are selected? Is there a way that moderators can pick them or otherwise be chosen (such as a paid option?).

Also on the bottom "Other New Topics", I think it would be helpful if they were sorted by category, with an optional header (and possibly footer) for each category. This is also a good place where banner ads can be inserted.

I trust the formatting is easily customized via templates or such, right?

I'd like it a section for, "not-new thread that had activity" were also available to be included in the digest.

Thanks,
Barry
(Meta lurker, anxiously waiting for Discourse 1.2 ) smile

P.S. although I managed to insert a smile above, I'm not seeing a way to insert smilies.

Posts: 4

Participants: 2

Read full topic

Leaving a Forum / Deleting your own account

0
0

Scott Schaffter wrote:

Is there any scope to allow users to delete their own accounts or "leave" the forum. Or at least show that they are no longer participating so it may leave the topics / comments they added but show that they have since "left"?

Posts: 6

Participants: 2

Read full topic

Debugging on Docker

0
0

Jonathan Allard wrote:

I just noticed my node on Docker wasn't sending out mail.

I put the required settings in app.yml:

  DISCOURSE_SMTP_ADDRESS: smtp.sendgrid.net
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: xyz
  DISCOURSE_SMTP_PASSWORD: abc

I took a look to the other posts

But none really apply here. Besides, ain't those settings supposed to be set correctly by Docker?

Two things are weird to me:

root@dockerdiscourse-app:~# ls /var/www/discourse/log
development.log  production_errors.log  production.log  unicorn.stderr.log  unicorn.stdout.log

No mail or sidekiq log.

Also,

Delivery Method 	sendmail

which seems weird considering it should be SMTP.

I don't know where to check anymore.

Posts: 10

Participants: 3

Read full topic

One Year of Discourse

Integrating Discourse with WishList Member (Wordpress Membership Plugin)

0
0

Leonard Baumgardt wrote:

I'm looking to use Discourse as discussion platform within a membership site – but as a non-techie, I don't know how to "make it fit".

The membership site runs on Wordpress, together with the plugin "WishList Member" (WLM).

WLM receives notifications from my payment provider about new members who purchased, and about old members who cancelled their subscriptions. So WLM manages the user database, and assigns levels to the different users.

WLM also controls, which pages on the site a user can see. For instance, non-members might be able to see only the "Welcome" page, whereas only paid members with active subscriptions can access other pages.

In my case, I'd want several parts of my site to be "paid content", and one part of that would be the Discourse forum.

That means...

  1. Discourse needs to use the Wordpress user database.

  2. There should be no separate login to Discourse once a user has signed in on Wordpress.

  3. The Discourse forum needs to be integrated into a Wordpress page, so that WLM can control who can see it, and who cannot.

I'm looking to hire someone to help me with this. But I think I'm not competent enough about how Discourse and Wordpress work to be able to hire the right person... or even to describe the project well enough for a programmer to know what needs to be done.

Any advice is greatly appreciated.

Thanks guys,
Leo

Posts: 1

Participants: 1

Read full topic


Single Sign On for Enterprise and support for 20+ Social Providers

0
0

José F Romaniello wrote:

Single Sign On plugin using Auth0 for Social and Enterprise identity providers.

Location: http://github.com/auth0/discourse-plugin

What do I get by using Discourse with Auth0?

  • Support for Active Directory / LDAP (see animated gif)
    • No matter if Discourse is on the cloud or on-prem, it will work transparently
    • Support for Kerberos too (configured by IP ranges)
    • Very easy configuration in the AD side, doesn't need open ports
  • Support for other enterprise logins like SAML Protocol, Windows Azure AD, Google Apps, Salesforce, etc. All supported here: https://docs.auth0.com/identityproviders.
  • Support for social providers without having to add OmniAuth strategies by hand. Just turn on/off social providers (see animated gif)
  • Support for Single Sign On with other Discourse instances and any other application in your account (see animated gif.

Demo: https://ask.auth0.com


Adding Active Directory / LDAP

Adding Social Providers

Single Sign On Between multiple Discourse forums

Single Sign On with Windows Authentication

Using Discourse Login Dialog instead of the Auth0 widget

You can keep using Discourse Login dialog and integrate only a specific connection from Auth0. It will show up as another button like the social providers.

Go to admin site settings for Auth0 and change the auth0_connection with the connection name you want to use from Auth0.

Installation

  • Create an account on Auth0 and register a new Rails application, note: ignore the rails tutorial in Auth0.

  • Run in your discourse root folder:

$ rake plugin:install repo=https://github.com/auth0/discourse-plugin name=auth0
$ rm -rf tmp public/assets
$ rake assets:precompile
  • Login as an adminstrator to your discourse setting using one of the pre-existing auth plugins.

  • Configure the Auth0 plugin in the admin section

̇
  • Enjoy!

Posts: 1

Participants: 1

Read full topic

LDAP login into Discourse

0
0

Roni Baby wrote:

Can you possible to integrate LDAP login into Discourse? If possible let me know the steps
We are using Discourse in Ubuntu 12.04LTS server

Thanks
Roni

Posts: 13

Participants: 7

Read full topic

Missing has_best_of index?

0
0

Graeme Stuart wrote:

I had a problem when I upgraded to the latest-release where I was getting a 500 from categories.json so I upgraded to the bleeding edge today and that seemed to fix it. However, I am still getting loads of failed jobs in sidekiq. Many like this:

PG::UndefinedColumn: ERROR: column t.has_best_of does not exist LINE 14: (t.has_best_of IS NULL OR t.has_be... ^ : UPDATE topics AS t SET has_best_of = (t.like_count >= 1 AND t.posts_count >= 50 AND x.max_score >= 15), score = x.avg_score FROM (SELECT p.topic_id, MAX(p.score) AS max_score, AVG(p.score) AS avg_score FROM posts AS p GROUP BY p.topic_id) AS x WHERE x.topic_id = t.id AND ( (t.score <> x.avg_score OR t.score IS NULL) OR (t.has_best_of IS NULL OR t.has_best_of <> ( t.like_count >= 1 AND t.posts_count >= 50 AND x.max_score >= 15 )) )

Is there a missing has_best_of index on the topics table? I have looked at the table and can't see an index or field named has_best_of. Is this missing in the migration?

I'm also getting these:

PG::Error: ERROR: duplicate key value violates unique constraint "index_top_topics_on_topic_id" DETAIL: Key (topic_id)=(45) already exists. : INSERT INTO top_topics (topic_id) SELECT id FROM topics WHERE deleted_at IS NULL AND visible AND archetype <> 'private_message' AND NOT archived

Is this normal?

Posts: 1

Participants: 1

Read full topic

Security settings not working (or I'm doing it wrong)

0
0

DDK DDK wrote:

Hello - thanks for this great platform

In our discourse platform trying to make certain categories only viewable/postable by registered users (ie not viewable/postable by simple visitors). To make this work have setup the "default_trust_level" to 1 (as opposed to 0 in the original parameters) and in the security paratmeters of the category made it viewable/postable to users with that trust level

Testing as a new user who has this trust level the category displayed on their profile the category does not appear, is there anything I'm doing wrong or is this a bug?

Thank you

Posts: 18

Participants: 6

Read full topic

New category permission : "Create and see"

0
0

Nicolas_Blanco wrote:

Hi,

I would like to have your opinion about a new permission for categories.

I'm building a support platform using Discourse in which users can ask questions and "professional" users can answer.
I would like to create a category in which standard users can ask questions but can only be answered by "professional" users. Standard users can see the questions and answers of others but can only create their own topics or answer their own topics.

Currently we have "Create, answer, see", "Answer, see" and "See", this permission would be something like "Create and see or answer own topic".

What do you think of this feature? Do you think it would be easy to implement?

Thanks.

Posts: 5

Participants: 4

Read full topic

"Unfortunately, your browser is too old to work on this Discourse forum"

0
0

A Zeynel wrote:

I thought I google my forum and I got the following:

I am using the latest version of Chrome (Version 32.0.1700.107). How can I fix this?

Posts: 7

Participants: 6

Read full topic

Private Profile Notes

0
0

Benjamin Kampmann wrote:

As described here already, I created a little plugin to easily store and retrieve private notes on a per-profile system. Let me show it to you in action:

With add open:

And after posting a private note to self:

staff-shared notes

Aside from private notes only for oneself, staff members can also tick a check-box to put the note into the shared "staff"-bucket. Those notes then show up for all staff members, like the following:

You can find the [plugin on github][1]. Here are the install instructions from the Readme:

README

This simple plugin adds private profile notes functionality to the discourse forum system.

Details

This neat little plugin adds the possibility for any user to leave private, personal notes on another persons profile allowing them to read them later. Only the user, who created the note can view them.

On top, Staff can decide to share the note with the rest of staff. In which case other staff will see what that person noted on it. This works on a per-note-bases and doesn't inhibit any staff person to still have their own personal notes.

Installation

Just two easy steps. From your main discourse do:

cd plugins
git clone https://github.com/ligthyear/discourse-plugin-profile-notes.git   # clone the repo here
cd ..
RAILS_ENV=production rake assets:precompile

Then restart your discourse and enjoy the fun on ever /user/*/activity-page.

Changelog:

  • 2014-02-18
    • way improved UI. If you had a version before this one run in development, make sure to clear your cache (rm -rf DISCOURSE/tmp/cache/*)
    • Bugfix: as staff all notes were shared with staff. Now only when actually selected.
  • 2014-02-17

    • initial version

TODO:

(in order of importance)

  • Notes can't be deleted atm
  • Notes should support markdown, too

Authors:

Benjamin Kampmann

License (BSD):

Copyright (c) 2014, Benjamin Kampmann
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Posts: 1

Participants: 1

Read full topic


Bad date in "Latest" column

0
0

Tom Spilman wrote:

Not sure how this happened...

That "New Website" post was made 2 hours earlier... not December of 1969. Clicking thru shows the correct date and time for both the post and a single reply.

This post was made automatically by the WordPress plugin which may be a hint as to what happened.

Posts: 1

Participants: 1

Read full topic

Start a new topic via email

0
0

Paul Apostolos wrote:

I am trying to move our users away from the listserv they are currently using and onto Discourse. One feature the users are asking for is the ability to start a new topic via email. Don't pile on me about how they should just go to the site to start a new topic, they asked me, so I'm asking here.

I'm thinking each category could have it's own email address (optional) and any new email sent to that address would have a new topic created from it automatically.

Any thoughts?

Thanks!

Posts: 4

Participants: 3

Read full topic

Janky scrolling (under 60fps)

0
0

Jo Liss wrote:

You probably know this already, but I figured it might still be worth opening a topic about this: Scrolling discussion pages in Chrome is janky. It seems to happen on any topic pages, but it's easiest to see on lengthy topics.

This might be non-trivial to fix. It seems related to the way Discourse implements infinite scrolling, as Ember views are being rendered while scrolling.

Maybe the performance improvements coming down the pike with HTMLBars will alleviate some of this (I hear it's 2-3x performance), but it will still be hard to consistently get under 16ms.

Twitter seems to be doing an OK job at 60fps infinite scrolling. Maybe we can learn from them.

(There is an old thread about Discourse scrolling performance, but I didn't want to resurrect it...)

Posts: 6

Participants: 5

Read full topic

MathJax Plugin (supports math notation using LaTeX)

0
0

Kasper Peulen wrote:

Location: https://github.com/kasperpeulen/discourse-mathjax

Author: @Kasper / @sam / @masda70

Provides MathJax support to a discourse forum. This means that you can display mathematical notation using LaTeX markup (ASCIIMathML markup is also possible using the right settings).

You can find installation instructions at the github page. If you any problems installing this, send me a message. This plugin uses roughly the same settings for mathjax as used at http://math.stackexchange.com, and works therefore very similar.

Screenshot:

Posts: 1

Participants: 1

Read full topic

Feature request: disable "mail" for forum import

0
0

Roberto_Pezzali wrote:

Is possible to have a simple feature in the admin panel that disable any email activity while importing data from another forum?

The same flag could also remove all the restrictions about user levels (max daily topic, etc)

Posts: 4

Participants: 3

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images