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

How to transition between big and small logo on scroll?

$
0
0

@pyn wrote:

How would I transition between the two site logos when someone scrolls down without the other image just appearing in its new spot? Is there any way to transition nicely between the two images with CSS?

Posts: 1

Participants: 1

Read full topic


How to use vagrant for discourse docker image by digital ocean

$
0
0

@raj97 wrote:

I am able to run discourse forum using './launcher enter app' after building the launcher dependencies.
Now I want to use vagrant for development but as i am able to see the rails app code is mounted to /var/www/discourse and if i use vagrant it does not include rails app code because there is not gemfile to bundle.

Please let me know how should i use vagrant.DO I need to setup vagrant after jumping to container path i.e /var/www/discourse or I need to do something else.

Posts: 1

Participants: 1

Read full topic

Manifest.json has orientation set to portrait, Users cannot turn device to landscape

$
0
0

@jms wrote:

When a User has installed the android web app via the "Add to Homescreen" feature the device is locked in the portrait orientation. Especially on a tablet, this is annyoing.

The manifest.json route is configured to point here: app/controllers/metadata_controller.rb, where the manifest.json rendered.

I logged into the docker container, removed the orientation: portrait line, but the changes are not taking; the delivered manifest.json still looks the same. I tried rake tmp:clear && rake tmp:create and also rake assets:clobber assets:precompile without succces. As you might have guessed, I am a ruby/rails novice. Does anyone know what to do, so that the changes takes effect?

I like the feature quite a lot but maybe the orientation could be moved to SiteSetting.web-app-orientation or something similar?

Posts: 4

Participants: 2

Read full topic

Static content doesn's load via document.getElementById().innerHTML

$
0
0

@Denis_Didkovsky wrote:

(edited). We would like to add static infosection on top of each page. We would like to have 0 (or close to 0) Ember code as we dont have any Ember dev skills available. the way we would like to keep static content - as a raw topic to read the "raw" like http://community.yoch.tv/raw/14
then load it via admin/customize/css_htm
Our Top html is

<div id="topBar"> <button class="ui primary button" onclick="load_section()"> Click to open infosection </button> </div>
<div id ="infosection" > </div>

JS

<script>
      function load_section(){
            document.getElementById("infosection").innerHTML='<object type="text/html" data="http://community.yoch.tv/raw/14" ></object>';
  }
</script>

the result - the HTML is escaped into text.

the link to model code and custom style -

Please advise if JS methods like setting document.getElementById.innerHTML are supported in html customizations and how.

Many thanks in advance

Posts: 3

Participants: 2

Read full topic

Search bar disappears on iPad in long topics

$
0
0

@erlend_sh wrote:

Let me know if you can also reproduce this. So far I've tested on iPad Air 2, Safari and Chrome:

  • Go to a topic long enough that you need to load a new batch of posts
  • Scroll to the bottom of the topic
  • Click the search button, then click the search field to invoke the virtual keyboard
  • The keyboard should go off-screen

Won't work on mobile because we immediately go straight to full-screen search there.

Posts: 3

Participants: 3

Read full topic

How to check error logs?

Muted category (default or not) appears in Latest

Inter-Discourse

$
0
0

@trajano wrote:

Playing around with Discourse, WordPress and Discus, I was wondering one nice feature Discourse could have is the notion of an "Inter-Discourse" (please find a better name, it sounds too close to intercourse)

The concept is to allow multiple discourse sites to sort of link to one another so they have a unified network much like Stack Exchange.

The concept would be a simple key exchange much like Nintendo Friend Codes between site owners.

What could be shared are likes, links, profile information between the discourse sites.

Posts: 1

Participants: 1

Read full topic


Custom user fields not showing on sign up page

Downloading remote images doesn't work with protocol-less srcs

$
0
0

@LeoMcA wrote:

The image above, embedded with ![Long](https://i.imgur.com/ejUyNRc.jpg) will be downloaded locally, and the image src will be replaced with the new url.

The image below, embedded with ![cat](//i.imgur.com/7Z8brhn.jpg) won't, because of the bug.

What happens is the image is correctly downloaded locally, but then the url replacement won't work, because the code is looking for a src with http: prepended to it.

(I'm going to look like a right numpty if this demonstration doesn't work, but anyway, there's a fix here: https://github.com/discourse/discourse/pull/4643)

Posts: 1

Participants: 1

Read full topic

Where to amend %{new_user_tips}

$
0
0

@Wil wrote:

Hello
I didn't find where I can amend the field new_user_tips as used in %{new_user_tips} in the Welcome message ?

I want to translate and change this part of the message

Thanks!

Posts: 1

Participants: 1

Read full topic

The idea of using a branch for broadcasting

Can't change names of trust_level groups?

$
0
0

@pfaffman wrote:

Is it possible to change the names of groups?

I hcanged groups.default_names.trust_level_2 to "members". It shows as changed in /admin/customize/site_texts, but that change isn't reflected on the admin/groups page.

Posts: 1

Participants: 1

Read full topic

How to change the /categories url to something else?

$
0
0

@pyn wrote:

I've changed categories to boards on my site. Is there anyway to have example.com/categories change to example.com/boards?

Posts: 1

Participants: 1

Read full topic

Docker and Discourse upgrade

$
0
0

@adam_beers wrote:

What is the correct way to upgrade Docker and Discourse? I tried clicking on the Upgrade buttons in the Web Admin section, but it messed up the image and I had to start with a fresh install. I would like to avoid that because I didn't have a backup.

I clicked on the Docker upgrade because it was required in order to upgrade the Discourse.

I'm running on DigitalOcean and followed the steps here to install:

Posts: 2

Participants: 2

Read full topic


Onebox-ing of Vimeo videos still appears not be working

$
0
0

@jmardenslp wrote:

Hi! We're running 1.7 of Discourse, and we've been able to embed Vimeo videos successfully for over a year. Suddenly, Vimeo links stopped working with Onebox in new posts. Vimeo embedding in previously created posts still works, but any vimeo link in a new post is not embedded. Searching meta.discourse, I found this post which seems to describe the same problem we're having:

The post is closed, and looking at the Github link, I see that the issue is noted as fixed in 1.6.7. However, in 1.6.10 and now in 1.7.0, we are still seeing the problem. Any ideas for what might be going on?

TIA!

Posts: 2

Participants: 2

Read full topic

Allow uncategorized topics

$
0
0

@carl0z wrote:

Hi

I've recently discovered that in v1.7.0stable the option "allow uncategorized topics" has no effect.
Users can still post topics without a category selected (after disabling the option, we also enabled and disabled again).

It's on a fresh/empty install of discourse.

Anyone else noticing this bug?

Mario

Posts: 3

Participants: 2

Read full topic

Messaging drop down menu not working

$
0
0

@Nick29 wrote:

When i click on the message icon in the top right, and then go to select a message from the drop down menu, when i click it the menu closes but i stay on the same page.

Any idea what's happening?

Posts: 1

Participants: 1

Read full topic

Add one button for topic create with pre-filled content without composer or API?

$
0
0

@Denis_Didkovsky wrote:

We run DS site to support meetups and part of it is to provide basic meetings RSVPs
We use poll option for self-registration

[poll public=true]
- Yes, I will attend event
- No, I will not attend
- Maybe
[/poll]

that solves part of our needs, however not all.
we would need
1. simple registration form (not all forum participans shown real names, so we cannot use username for RSVP),
2. meeting organizer should be alerted when someone registered.

The good solution for us would be to
1. include into /admin/customize/css_html/../top the easiest HTML reg form (for one category - Calendar) and 3 buttons at the botton of the form
Yes, I will attend No,I will not Maybe
2. After clicking to one of the buttons the prefilled topic with status is created and posted to dedicated categories(without composer being open (to simplify the registration process).

Is there some javascript approach to implement? Many thanks

FYI. We are aware of API approach (we dont want to use it as we want simple client-side addon)
We are aware of also about https://meta.discourse.org/t/compose-a-new-pre-filled-topic-via-url/28074 (that is not also not ideal as it opens composer and allow user to edit registration data)

Posts: 3

Participants: 2

Read full topic

Routes added under existing routes wont work

$
0
0

@piratdavid wrote:

After updating Discourse I am having trouble getting routes that are created under an existing route to work. These are put under the 'user' resource. Has anything changed with the route maps. Here are my route definitions:

export default {
  resource: 'user',
  path: 'users/:username',
  map() {
    this.route('music', { path: '/music' }, function() {
      this.route('callback', { path: '/callback' });
      this.route('connect', { path: '/connect' });
      this.route('tracks', { path: '/tracks' });
    });
  }
}

Now, trying to use:

{{#link-to 'music' class='btn btn-primary btn-profile'}}

Gives me:

"Assertion Failed: You attempted to define a {{link-to "music"}} but did not pass the parameters required for generating its dynamic segments. There is no route named soundcloud"

If I pass the user object as a parameter to the link-to widget It renders correctly but the url only shows a '#' after the current url. Clicking it gives me this:

"This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid."

It seems as if the 'music' route has never been created.

Edit: Actually, I realized I can access the url but the link-to widget won't recognize the route name 'music'. Should it contain anything before to tie it the the user path?

Posts: 2

Participants: 2

Read full topic

Viewing all 60565 articles
Browse latest View live




Latest Images