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

Add website link to existing title

0
0

@jasondgray wrote:

When I paste a link in the topic title it creates a link somewhat like a tag.

How do I add a link like this to an existing post? I tried adding the website link as a tag, but that creates an actual tag and not a clickable link to the website.

screenshot

Posts: 2

Participants: 2

Read full topic


Bug - only for RTL installs

0
0

@eba wrote:

New install, no extra plugins.

1- default theme
2- Set to RTL language (Hebrew)

There’s an inline style applied to #topic-progress-wrapper and it looks like this:

right: 1em;

1em is not enough clearing for the progress bar + wrench menu in RTL languages. In LTR languages, the wrench is on the left side and it works.

It needs at least 2.5em. (for now, applied manually but this should be fixed globally)

This is only a problem if the user can see the wrench menu, when the user is not an admin / mod, I don’t think there’s an issue.

Posts: 1

Participants: 1

Read full topic

Display list of topics by arrray of topics ids

0
0

@adopilot wrote:

In our company we use discourse for everyday business.
Discourse is deeply integrated in our erp software.
For better organization of topics,our erp holds many kind of topics ids and posts ids.
In some parts of our app we want to show user list of specific topics in discource. (filtered by our citiera).
In our app there is form which users fills and our app has array of filtered topics.

Is there a way to send query string or formdata to discource endpoint among with array of wanted topics ids and to get list of topics in discource. (ideally with predefined order or ordered as array was)

Same needs we have for getting specific lists of posts by providing array of topics ids.

Posts: 1

Participants: 1

Read full topic

"Topics Viewed"

0
0

@David_Kwan wrote:

What counts as a topic being viewed (as shown in a user’s profile as “Topics Viewed”)? We are hoping to create a badge for users who have read a certain number of topics and are not sure how it’s currently been calculated within Discourse.

Posts: 2

Participants: 2

Read full topic

Thunderbird and ML mode - peculiar indentation

0
0

@desrocchi wrote:

Hi,
it seems like some of our users who prefer accessing through the ML interface using Thunderbid have this peculiar issue that at the beginning of the paragraphs an indentation of 5 or 6 blank spaces are added.

This would not be a problem if not that Discourse interprets those blank spaces as an “inline code” markdown.

This is what happens

I suspect that this is a Thunderbird problem but maybe there’s some knowledge to be gained here too :stuck_out_tongue:

So, can anyone give any suggestion about this problem: either removing the indentation from Thunderbird or the markdown coding from Discourse?

Posts: 5

Participants: 2

Read full topic

Install problem: `getaddrinfo: Name or service not known`

0
0

@pfaffman wrote:

I’ve got three new servers running Ubuntu 16.04 & apparently have some Docker problem. Though I suspect it’s a trivial and “obvious” Docker problem, I’ve searched more widely for answers, but have come up empty. I’d like to think that it’s some new Docker bug (and not something stupid that I’ve done), but clean installs on Digital Ocean work fine.

It seems that the container can’t download gems.

Docker version 18.04.0-ce, build 3d479c0
I, [2018-05-04T00:42:53.689239 #15]  INFO -- : > echo "done configuring web"
I, [2018-05-04T00:42:53.690557 #15]  INFO -- : done configuring web

I, [2018-05-04T00:42:53.690718 #15]  INFO -- : > cd /var/www/discourse && gem update bundler
ERROR:  While executing gem ... (SocketError)
    getaddrinfo: Name or service not known
I, [2018-05-04T00:42:53.829426 #15]  INFO -- : Updating installed gems

I, [2018-05-04T00:42:53.829592 #15]  INFO -- : Terminating async processes
I, [2018-05-04T00:42:53.829620 #15]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec

It looks like it can’t resolve something, but I’ve tried putting DOCKER_OPTS="--dns 1.0.0.1 --dns 1.1.1.1" in/etc/default/docker (as suggested here) and no joy. Another container I can get in to and ping google.com. (That container is a VPN, which worked fine for a while and I can’t connect to now; I have no idea whether that’s related.)

I tried this (as suggested here):

docker run -it --rm ubuntu bin/bash
apt upgrade
apt install iputils-ping
ping google.com 

and it works.

The host has several static IPs. Could docker not know how to bind to them to the right one? No. I changed to a single IP and that didn’t fix it.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:e0:4c:68:02:54 brd ff:ff:ff:ff:ff:ff
    inet 38.242.7.195/28 brd 38.242.7.207 scope global enp1s0
       valid_lft forever preferred_lft forever
    inet6 fe80::2e0:4cff:fe68:254/64 scope link 
       valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:6f:3a:ac:26 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:6fff:fe3a:ac26/64 scope link 
       valid_lft forever preferred_lft forever
6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:e3:f5:bd brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
7: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:e3:f5:bd brd ff:ff:ff:ff:ff:ff

Posts: 5

Participants: 3

Read full topic

Custom notification tips per category

0
0

@adopilot wrote:

Apologies if this was discussed before.

It will be great if we could set ours custom notification tips in topics creator category specific.
As we can pin topics per category / subcategory inmagine that we can pin tips per category.

Here is one of scenario used.

We have category gallery where users posts pictures.
Recently we start using theme which provides gallery plugin.
When user starts writing new topic in gallery category , I want to tip him to use category button.

Posts: 1

Participants: 1

Read full topic

Group Inboxes in User Messages

0
0

@BlackKnob wrote:

Is there a way to make group inboxes visible in personal messages?
It already works like this in admin accounts, but regular members don’t have this option.
It there a setting to turn it on?

42%20PM

Posts: 1

Participants: 1

Read full topic


Tag merge: editor, composer

0
0

@riking wrote:

Was taking a look at the tag list and notice that these two mean the same thing. Should be merged?

Posts: 2

Participants: 2

Read full topic

Discourse 2.0.0.beta9 Release Notes

0
0

@jomaxro wrote:

New features in 2.0.0.beta9

beta9 is a minor update to beta8 released yesterday

Discourse Cronos renamed to Discourse Local Dates

Discourse Cronos, added as a core plugin in Discourse 2.0.0.beta8 has been renamed to Discourse Local Dates. This change also simplified the BBCode element from [discourse-chronos ...] to [date=.... Unfortunately, this change will break any existing dates, so you’ll need to fix them manually. See Localised inline date/time for more details.

Include participants at the bottom of PM emails

Email notifications for PMs now display all users and groups included in the message. For more details see Email Notification recipients unclear when PM is sent to multiple users.

Additional Features and Fixes

Click to expand

New Features

  • Remove support for legacy auth tokens

Bug Fixes

  • Recurring attribute was undefined on local-dates cooked posts
  • Show a nicer message when there aren’t any flagged topics.
  • Missing translation for PM mentions

Posts: 1

Participants: 1

Read full topic

Upgrade Spoiler Alert!

0
0

@maiki wrote:

This is not a support ticket! I just wanted to share something that tickled me:

Screenshot-2018-5-4%20Docker%20Manager(1)

My brain did a back-flip when I switched back over to the tab and saw that heading, which both enticed and warned me from looking at the same time!

It’s okay, everything worked out…

Upgrade Spoiler Alert!

Posts: 2

Participants: 2

Read full topic

Android live notifications are now in core!

0
0

@featheredtoast wrote:

On mobile browsers that support it*, the live notifications feature is now available!

To turn on notifications, navigate to your user preferences, and hit “enable notifications” just as you would on desktop.

You will receive a confirmation notification if all went well.

Admin options

There are two new admin options, the push notifications prompt, and the push notifications icon url

push notifications prompt

Adds a consent prompt asking a user to turn on notifications. This will only appear once the user has at least one post or reply.

push notifications icon url

This should be a transparent monochrome icon that will be displayed with the push notification, and will display in the top bar when the notification bar is minimized.

Push notifications plugin

This feature is a migration and integration of the push notifications plugin. This integration is intended to simplify notifications as a single button to enable notifications for both desktop and mobile devices (desktop notifications for desktop, and push notifications for mobile) and support mobile notifications by default.

If you have been using the push notification plugin previously to allow notifications for android devices, this plugin is no longer required.

In the event that you would like to give the choice to enable push notifications on desktop, this plugin has been redesigned to handle this.

*This feature is currently Android only. Supported browsers are those that support ‘push notifications api’.

Posts: 1

Participants: 1

Read full topic

Discourse Local Dates - who is it for?

0
0

@BlackKnob wrote:

I understand how to use it, but is it intended only for technical forums? Regular people won’t test and won’t remember what LLL or LTS does, or browse through the formatting docs. I know it’s a basic skill for users here on Meta, but everybody else will be discouraged to use the feature.

If you can’t display fully formatted choices in this window, you could display preprogrammed aliases instead of the symbols.

Posts: 2

Participants: 2

Read full topic

Object instead of users?

Plugins/discourse-local-dates has vim swp files checked in

0
0

@darix wrote:

plugins/discourse-local-dates/assets/javascripts/discourse/components/.discourse-c
ronos-create-form.js.es6.swp
plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/.discourse
-cronos.js.es6.swp

Posts: 4

Participants: 3

Read full topic


About add_more_topics_if_expected, and a bug inside it

0
0

@ballistic wrote:

I was wondering the logic behind “add_more_topics_if_expected”, why/when do we need the extra posts.

def find_grouped_results

  if @results.type_filter.present?
    ...
    send("#{@results.type_filter}_search")
  else
    ...
    topic_search
  end

  add_more_topics_if_expected
  @results
...
end

# Add more topics if we expected them
def add_more_topics_if_expected
  expected_topics = 0
  expected_topics = Search.facets.size unless @results.type_filter.present?
  expected_topics = Search.per_facet * Search.facets.size if @results.type_filter == 'topic' 
  expected_topics -= @results.posts.length
  if expected_topics > 0
    extra_posts = posts_query(expected_topics * Search.burst_factor)
    extra_posts = extra_posts.where("posts.topic_id NOT in (?)", @results.posts.map(&:topic_id)) if @results.posts.present?
    extra_posts.each do |post|
      @results.add(post)
      expected_topics -= 1
      break if expected_topics == 0
    end
  end
end

There is one bug we need to fix - the last page of topic_search. In this case expected_topics > 0, and we added the previous pages’ results back.

Proposed fix:

expected_topics = Search.per_facet * Search.facets.size if @results.type_filter == 'topic' && offset <= 0

Before sending a PR, I want to understand the original logic.

Posts: 1

Participants: 1

Read full topic

Big Header - Little Header

0
0

@tshenry wrote:

This theme component will provide a stationary header with a large logo when scrolled at the top of the page. As you scroll down the page, the normal Discourse header bar will appear. This allows a large site logo to be cleanly displayed at the top of the page.

On mobile, the header bar will only display when the phone is in portrait orientation. Vertical space is usually fairly limited when you are in landscape orientation, so this will keep things open. To see the header again, you can either scroll to the top of the page or rotate the phone back to portrait orientation.

The best way to see what this theme component does is to try it out, which you can do by visiting:

https://theme-creator.discourse.org/theme/tshenry/big-header-little-header

Here is my attempt at a small GIF of it in action (highly recommend clicking on the link above for a better illustration :slight_smile:)

demo

Settings:

There are currently three settings that should be pretty self-explanatory:

Installation:

IMPORTANT: You must be running Discourse Version 2.0.0.beta4 or later for this theme to work.

Take a look at this topic for instructions on how to install the theme component:

Import Link:

https://github.com/tshenry/discourse-big-header-little-header.git

About:

The original proposal for this came from @ryanerwin on the #marketplace. He asked that I generalize what I created for him and share it with the rest of the community. So this theme is very much inspired and brought to you by him :slightly_smiling_face:

Notes:

Being that users love to customize their headers and the general area near the top of the page, there may need to be some additional adjustments made to handle conflicts with other customizations. I have tested this to work on a clean Discourse theme, but be prepared to tinker with it depending on how many other customizations you’ve done. It would be ideal to do as many of the modifications to this as a separate child theme component so that you do not lose track of your changes if/when the theme is updated.

Known issues:

Since this adds padding to the div#main-outlet, the topic timeline can be affected depending on how large your logo is. There are hard-coded ways to handle it, but that’s not ideal. I will most likely make a post in #dev to outline all that I’ve tried and see if anyone has ideas on how to compensate for the extra padding.

Repo:

GitHub - tshenry/discourse-big-header-little-header

As always, please feel free to post if there are any questions, problems, or suggestions! My time is a little tight right now, but I will try address everything as quickly as possible :slight_smile:

Posts: 4

Participants: 3

Read full topic

Groups button problem?

Simulate real Discourse traffic?

0
0

@ryanerwin wrote:

How would you simulate real users on a Discourse site? My (very limited) understanding is that the Discourse front end is a single page JavaScript application making requests to the server… I’m trying to simulate real users to understand real peak load capacity.

Seems like simulating this something like curl isn’t so straight forward because you would need some intelligence in the client to know what to request next, correct?

Ideally I would like to simulate real posting/replying/reading by both logged in and anonymous users…

Any tips about where to start? Are there parts of the Discourse rspec suite that could help me simulate real users?

Posts: 2

Participants: 2

Read full topic

Monetized forum

0
0

@dave_odiakaose wrote:

hello very soon i will be installing discourse via the $99 method and i plan on creating a community were people with divers occupation meet to discuss about their proffession and improvements but i like to monetize it partly so how can i archieve this? is their a plugin to make it happen? how can i monetize such community?

Posts: 6

Participants: 3

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images