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

Is it a feature: "Reply as new Topic" append posts quote multiple times

$
0
0

lid wrote:

When clicking the "Replay as new Topic" (right side of a post)
the "Create a new Topic" form will open (if it is not already open) and the selected post will be put into a block in the new topic body.

Continuing the discussion from [SUBJECT](https://meta.discourse.org/t/topicname/0/1):

[quote="user, post:1, topic:0, full:true"]
whats up
[/quote]

If you hit any "create as new Topic" button again it will just append it as another block below the one we already have.

And here is where I think the worm bit the apple: the wording create as new Topic imply that a new topic will be created. That is correct on the first usage of the button. But if the user for any reason decide to hit another "reply as new topic" button, it will reuse the topic form that is already open/minimized.

The Good
This button is actually the quickest way to add one's entire post as a quote to your topic it also does it more reliably then the (select + " quote reply feature) and it allows you to add multiple quotes from different topics even.

The bads
User expectations
it may not be the intended usage of the button
The user is more likely to expect that the button action will result in a new topic reference that related post
The user may not expect aggregation of quotes in the reply content.

Personally I would expect that the second time I hit the Reply as new Topic.
if not already replying as new to the same post => to prompt me with that abandon message warning.
This will let me acknowledge that I already have a new topic in the editing.

What do you think should be the right behavior.

Posts: 3

Participants: 2

Read full topic


Proposal: Notifications should not be timeless

$
0
0

lid wrote:

add time indicators to notifications.

currently notifications have no sense of how old or new a notification is.
you know when a new unread notification exists but you don't know how old it is.

I created a mock with some time variations to demonstrate the idea

Posts: 2

Participants: 2

Read full topic

Classes are not being sanitized in cooked markdown

Why to many buttons and clicks on "required" setting page

Support for displaying Embed ofice365 Excel insdde topics

$
0
0

Admir Hodzic wrote:

It will be nice to we try to enable embedding excel tables inside posts.
Since We do not have snippet for creating tables I my research leads me that there is very nice tool from Office 365 which create html IFRAME of an excel document.
When I create excel at Ondrive I can get HTML snippet for embedding it something like

<iframe src="https://onedrive.live.com/embed?cid=9724558E25892BE0&resid=9724558E25892BE0%21122&authkey=ABRoPyIK_qKqAbI&em=2" width="402" height="346" frameborder="0" scrolling="no"></iframe>

Unfortunately discourse won't show anything when I paste this inside topic editor.

Does discourse explicitly forbid IFRAME tag ?

Is there chance to we in close feature get support for oneboxing (inserting) any kind of tables inside posts.

Office365 (ondrive) also provides snippet for java script. Coud We Ebed this

   <div id="myExcelDiv" style="width: 402px; height: 346px"></div>
<script type="text/javascript" src="http://r.office.microsoft.com/r/rlidExcelWLJS?v=1&kip=1"></script>
<script type="text/javascript">
	/*
	 * This code uses the Microsoft Office Excel Javascript object model to programmatically insert the
	 * Excel Web App into a div with id=myExcelDiv. The full API is documented at
	 * http://msdn.microsoft.com/en-US/library/hh315812.aspx. There you can find out how to programmatically get
	 * values from your Excel file and how to use the rest of the object model.
	 */

	// Use this file token to reference kursna132.xlsx in Excel's APIs
	var fileToken = "SD9724558E25892BE0!122/-7555820205817386016/t=0&s=0&v=!ABRoPyIK_qKqAbI";

	// run the Excel load handler on page load
	if (window.attachEvent) {
		window.attachEvent("onload", loadEwaOnPageLoad);
	} else {
		window.addEventListener("DOMContentLoaded", loadEwaOnPageLoad, false);
	}

	function loadEwaOnPageLoad() {
		var props = {
			uiOptions: {
				showRowColumnHeaders: false
			},
			interactivityOptions: {
				allowTypingAndFormulaEntry: false
			}
		};

		Ewa.EwaControl.loadEwaAsync(fileToken, "myExcelDiv", props, onEwaLoaded);
	}

	function onEwaLoaded(result) {
		/*
		 * Add code here to interact with the embedded Excel web app.
		 * Find out more at http://msdn.microsoft.com/en-US/library/hh315812.aspx.
		 */
	}
</script>

Posts: 1

Participants: 1

Read full topic

User trust levels in Create Category dialog out of order

$
0
0

PJH wrote:

Is there suppose to be any sort of order to these?:

It seems to be (generally) higher to loser, but levels 5 and 0 appear in strange places...

Posts: 4

Participants: 2

Read full topic

Level 5? When did that happen?

$
0
0

PJH wrote:

Continuing the discussion from User trust levels in Create Category dialog out of order:

Just realised - what is level 5?....

Posts: 9

Participants: 2

Read full topic

Help me debug plugin

$
0
0

Tuan Anh Tran wrote:

So i saw this post on how to write a plugin to manipulate text in the composer

I want a plugin to : whenever see a new line char, replace it with 2 new line chars. since markdown doesn't create new paragraph on new line and a lots of users get confused with this.

so i forked it and replace the js file content with this.

function doubleNewline (text) {
  return text.trim().replace(/\r\n|\r|\n/gm, "\n\n");
}

Discourse.Dialect.postProcessText(function (text) {
  // markdown only add new paragraph on double new line
  text = [].concat(text);
  for (var i = 0; i < text.length; i++) {
    if (text[i].length > 0 && text[i][0] !== "<") {
      text[i] = doubleNewline(text[i]);
    }
  }
  return text;
});

i add my repo to app.yml and everything seems ok but the plugin is not working.

any idea?

Posts: 3

Participants: 2

Read full topic


How to rewrite some URLs in posts (Amazon Affiliate)

$
0
0

Camille Roux wrote:

Hi,

Using a plugin, I'd like to rewrite all the Amazon links to add "tag" parameter for Amazon Affiliate. How can i do that?

Thanks

Posts: 2

Participants: 2

Read full topic

Discourse Developer Needed

Can't get mail working on new install

$
0
0

Rod Van Meter wrote:

Hi,

I'm installing Discourse as of July 8, 2014, on a brand spanking new Ubuntu 14.04 LTS VM in a colo, with static IP.

The installation worked, I can see the default template pinned discussion topic on the front page, but I can't get mail working. I've been through half a dozen descriptions of how to get mail running, but I find them sometimes contradictory or more likely out of date, a little vague ("let's leave that there," -- not much help! Although I think that was in a deprecated doc.), and not tuned to my setup (simple install guide assumes Digital Ocean, but I'm on my own VM).

I installed postfix, and had it running perfectly fine as a local MTA, capable of sending email out to my email addresses elsewhere in the world, but

and a couple of other places convinced me I need to be sending mail through Mandrill, so I created a Mandrill account and got that working. I can send email from the shell to various places, with the mail going through Mandrill (confirmed on Mandrill's dashboard).

But when I try to create an account on my Discourse, no joy.

Watching /var/log/syslog, I see no indication at all that it's even attempting to contact either Mandrill or my local postfix.

The relevant section of my app.yml:

env:
  LANG: en_US.UTF-8
  ## How many concurrent web requests are supported?
  ## With 2GB we recommend 3-4 workers, with 1GB only 2
  UNICORN_WORKERS: 1
  ##
  ## List of comma delimited emails that will be made admin on signup
  DISCOURSE_DEVELOPER_EMAILS: 'rdviii@gmail.com'
  ##
  ## The domain name this Discourse instance will respond to
  DISCOURSE_HOSTNAME: 'discourse.quantumnetworks.org'
  ##
  ## The mailserver this Discourse instance will use
  # DISCOURSE_SMTP_ADDRESS: discourse.quantumnetworks.org          # (mandatory)
  DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com          # (mandatory)
  DISCOURSE_SMTP_PORT: 587                        # (optional)
  DISCOURSE_SMTP_USER_NAME: rdv@(mydomain) (as registered w/ Mandrill)      # (optional)
  DISCOURSE_SMTP_PASSWORD: (text from the API key as listed on Mandrill)               # (optional)
  ##
  ## the origin pull CDN address for this Discourse instance
  #DISCOURSE_CDN_URL: //discourse-cdn.example.com

After modifying this, I did a

./launcher rebuild app
./launchar start app

It might be worth mentioning that last night when I gave up and went to bed, I was getting

502 Bad Gateway
nginx

but it seemed to fix itself overnight, which makes me nervous.

I'm new to Discourse and Docker, and I feel like I'm still flying a little blind, I'm not sure what debugging tools I have available.

Help appreciated!

Posts: 8

Participants: 4

Read full topic

Community growth

Will there be a time where "breaking" CSS changes will not occur?

$
0
0

Ben Edwards wrote:

I love that the Discourse team is always working on the platform and submitting changes. I would like more of a heads up on changes that add visual elements to the pages or alter the CSS (and potentially overrides we have in place). After 1.0 will these changes be communicated better - or perhaps allow for a preview before they are applied so we can have time to style them?

Posts: 2

Participants: 2

Read full topic

Topic body flexibility

$
0
0

Ova Light wrote:

Can someone tell me whats the best practice to make the topic body flexible like the topic list? I have tried almost anything to no avail.

I have tried:

margin auto
flex 1
position flex
display block
float
width **%
min max width %
...
.
.
.
ect

I have been messing with those values for a while. Some together , some other seperately. Tried to apply them on the post, it's body, the post wrapper, the ember-view,#topic,article,post-cloak, and even it's container. and row as a whole No flex attidute was achieved to the body of the topic. Keeps overflowing when I try to make the browser smaller.

Posts: 3

Participants: 2

Read full topic

Bad Reply Key when pulling Autoforwarded Emails to Discourse

$
0
0

Austin Hamilton wrote:

Mentioned in a post here.

When processing an email (even in plain text) through Discourse, it seems to automatically bounce back whenever the source of the email is from auto forwarding. Scenario:

Three "Emails": The Source, The Forward, and the Discourse Receiver.

Source emails Forward with plain text emails/content. The Forwarder email then autoforwards this email to the Discourse Receiver. My Discourse forum polls the receiver, then it send a "Bad Reply Key" Email back to Source with this content:

We're sorry, but your email message to ["EmailForward@example.com"] didn't work.

The provided reply key is invalid or unknown, so we don't know what this email is in reply to. Contact a staff member.

Edit: Note that normal manual-forwarding seems to work fine!

So ultimately, the user gets a bounce back email, and the notice isn't posted to Discourse. The particular use here for me is when a user emails a mailing list which then sends the email out to the Discourse server, causing an annoying bounce back to the user. Additionally, it just seems like a bug that is probably unwanted. A similar topic, which might just be an older/undetailed error message of what's happening here: Forwarded Emails Fail.

As always, thanks again!

Posts: 3

Participants: 3

Read full topic


phpBB 3 Importer

$
0
0

Neil Lalonde wrote:

I committed a script to import from a phpBB 3 to Discourse, similar to our Drupal, Kunena, and bbPress importers. Contributions and fixes are welcome!

Thanks to ruby-bbcode and @haiku's ruby-bbcode-to-md, some bbcode can optionally be converted to markdown before importing into Discourse. I made a fork that does some conversion that is specific for Discourse. The script will also handle some other phpbb-specific markup, like smileys and links that use <!-- m -->, etc.

Usage:

Edit the bbpress3.rb file to change the MySQL connection info (PHPBB_DB, and Mysql2::Client.new(...)) so it connects to a local copy of the phpBB database.

To convert phpBB's bbcode to markdown before importing, install the ruby-bbcode-to-md gem. In a temp directory:

git clone git@github.com:nlalonde/ruby-bbcode-to-md.git
cd ruby-bbcode-to-md
gem build ruby-bbcode-to-md.gemspec
gem install ruby-bbcode-to-md-0.0.13.gem

Run the import, from the discourse project directory:

ruby script/import_scripts/phpbb3.rb bbcode-to-md

Posts: 7

Participants: 5

Read full topic

Can't Seem To Pin Topics Anymore

$
0
0

Tom Spilman wrote:

Did something change with pinning in 0.9.9.9? Under the wrench icon all I have is "Wiki post" (whatever that means) and nothing more.

Posts: 7

Participants: 3

Read full topic

Render discourse topic in my own Rails website

$
0
0

da.fans.lu wrote:

Hi Everyone,
I don't know if it is doable to render a discourse topic in my own website. Right now i have discourse set up on digital ocean as it is officially suggested. How do i get the content of one specific topic to display on my own site?
Thanks.

Posts: 2

Participants: 2

Read full topic

X-Accel-Mapping header missing

Admin cp ui broken after latest viewport update (master branch)

Viewing all 60565 articles
Browse latest View live




Latest Images