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

Cloak/mask outgoing links?

0
0

@helmi wrote:

Hey there,

we're using Discourse a private setup with only a few people posting in a small team forum. We would like to cloak/mask outgoing links so the forums URL isn't visible through referal statistics.

Is there any known solution to do this with discourse?

Posts: 2

Participants: 2

Read full topic


How can i help in the translation of missing strings

0
0

@Pad_Pors wrote:

there are some few strings which can not be translated through the "admin -> customize -> site_texts" tab; I mean if you change the text in the admin-text panel, nothing will happen in the main forum.

some of them are in the tag plugin; mentioned here:

and

and some others with the "selected answer" feature.

currently i use a simple css trick to cover the issue, e.g.:

.ember-view .tag-drop .tag_all {   font-size: 0px;}
.ember-view .tag-drop .tag_all:after {
    content: "موضوع";
    font-size: 15px;}

but this is not the best way to do it.

is there anyway i may help in this issue, so that localized discourse can be as good as the English version?

Posts: 1

Participants: 1

Read full topic

Localized email templates

0
0

@JohnP_BlitWise wrote:

Hello everyone,

I was wondering if there was a way to allow for multi-lingual emails to be sent out from Discourse. I am fimiliar with the already-existing localization system, but want to extend that functionality out to the notifications and emails Discourse sends out is what my issue is.

All insight is appreciated!

Thanks,
John

Posts: 2

Participants: 2

Read full topic

Cannot drag selected text on a topic page

0
0

@MT_ wrote:

On any website, I’m able (and used to) to use drag-and-drop of selected text to browser’s tab bar to open the dragged text as URL (sometimes URL is unfortunately pasted as is, without marking it down). At least Firefox and Opera have this feature.

In Discourse, this does not work on a page of a topic (though works e. g. on a topic-list page). It is probably a side effect of the JS handler intended to display a “quote reply” popup once text is selected. Thanks.

Posts: 1

Participants: 1

Read full topic

Is there a way to create a tag visible to mods only?

0
0

@meglio wrote:

I'd like to create hidden collections of topics for internal use, then run queries in data explorer with using these collections.

For this to happen, I'll need internal use only tags, which are not visible to the public.

Is it possible in Discourse?

Posts: 2

Participants: 2

Read full topic

How to rebake Bios

0
0

@pfaffman wrote:

I've written an importer that pulls in a database of email addresses and Bios and sticks the bio into the About (aka bio_raw) field. It works fine, but the bios don't show up because they aren't getting baked. Inquiring minds want to know:

  • Will a posts:rebake rebake them?
  • Is there a way to rebake just the bios (and not 230K posts)?
  • Is there a way to trigger the rebake in the importer script?
  • If I'm patient will sidekiq notice?
  • Is there a question I should have asked other than these?

Posts: 1

Participants: 1

Read full topic

Cannot merge first and second post in a topic even though both are written by the same author

0
0

@meglio wrote:

If you select the first and the second posts of a topic, no "Join" option appears in the admin wrench menu. Is this a bug?

Please note that both messages are written by the same author.

Posts: 5

Participants: 4

Read full topic

No Status Message After New User Clicks invitation link

0
0

@cogdog wrote:

My site is site up for accounts created by invitation only. When a new user is sent an invite, either by email or direct link, it sends them to the site. I thought there was a status message that/should appear letting them know to check their email for the next link to click to make their password.

It tends to confuse people on the first link click, because they are at the site, but they are not logged in.

Am I missing a setting? Am running v1.7.0.beta3 +32

Posts: 6

Participants: 3

Read full topic


Find all topics in a category with no particular staff note attached to their owners

0
0

@meglio wrote:

Here is a use-case I solved with the query you'll find below.

I have a special category where users create their "personal pages" (for their goat farms).

Now we're creating a map with all these farms placed on it. Once a farm is put on the map, a particular staff note is attached to the user owning a corresponding personal page for the farm.

Now, I need a query to detect all topics in that special category for which no staff note can be found attached to the topics' authors.

WITH kozowners AS (
    SELECT user_id, t.id as topic_id
    FROM topics t
    LEFT JOIN users u ON u.id = t.user_id
    WHERE category_id = (
        SELECT id FROM categories
        WHERE name = 'ABC'
        LIMIT 1
    )
        AND username NOT IN ('aaa', 'bbb')
),
users_on_map AS (
    SELECT
        substring(key from 'notes:#"%#"' for '#')::int as user_id
    FROM plugin_store_rows
    WHERE plugin_name = 'staff_notes'
    AND value ILIKE '%your_match_string_or_regex%'
)
SELECT
    k.user_id,
    k.topic_id as topic_id
FROM kozowners k
LEFT JOIN users_on_map m ON m.user_id = k.user_id
WHERE m.user_id IS NULL
ORDER BY k.user_id
  • ABC - category name
  • aaa, bbb - usernames to exclude from the final list
  • %your_match_string_or_regex% - a string the staff note should match, for example: %added to the farms map%

This might be useful for teams which use staff notes actively

Posts: 1

Participants: 1

Read full topic

Update current user fields through JavaScript?

0
0

@OzRamos wrote:

Hi! So I'm starting a "How To" type community and wanted to give users the ability to create forms. For example, typing:

[] Checkbox
() Radio
__ Text Field

...

would autoconvert to their respective HTML fields. The plan is to store these in a single custom user field with key's represeting the topic ID. The idea is that people would see the same exact post except with their own data filled in.

Applications could be a Madlibs game, ingredients list, todo's...etc.

Anyways the data would look something like:

{
    postID : {
        formID : {
            fieldID : Value
        }
    }
}

The question is, how I can update the current users custom field? I see I can update fields in the API Docs but I'm not sure how I would do that from the front end (AJAX, assuming each user loads a copy of my script). How does the server authenticate you're you and prevent me from simply opening up the console and changing out the username?

Discourse.User.current() returns information on the current user, so I imagine I would do something like:

$.ajax({
    url : 'mysite.com/users/username.json',
    data : {
        myField : value
    },
    success : showUpdateNotification
})

I guess my real question is, what extra data needs to be passed in and how does the client find that data?

Thanks!

Posts: 1

Participants: 1

Read full topic

Incorrect incoming email parsing case (Ukrainian language)

0
0

@meglio wrote:

Here is how it appeared in a topic:

Спасибо еще раз, Антон. "Вилли милк" окончательно-точное)))))

30 серп. 2016 р. 20:45 "Антон" no-reply@kozovod.com пише:

The second line should not have been included.

Hope this will help to improve the parsing algorithm for Ukrainian language.

Posts: 3

Participants: 2

Read full topic

Are custom_fields on posts/topics available via the API?

0
0

@cappslock wrote:

I see from some digging that a custom_fields property exists on posts/topics and plugins make extensive use of it.

Is this field available through the API? Can it be set? Can it be queried against? Could a search be made for a topic with a certain value for a custom field?

Posts: 1

Participants: 1

Read full topic

Can't create new topic going from categories -> latest page

0
0

@nikdavis wrote:

Starting with a a fresh categories view, click on latest. If you try you click on New Topic the composer complains that it was opened w/o a draft key. This is reproducible on Meta right now.

edit: adding gif

Posts: 5

Participants: 3

Read full topic

Invite button for all

0
0

@thomasschmit wrote:

The Invite button located at the end of the topics seems to be hide for non-admins.

Why ? Shouldn't be anyone able to invite other people to a given topic ?

Thanks for your support :slight_smile:

Posts: 8

Participants: 4

Read full topic

Inaccuracies with post count stats on User page

0
0

@HAWK wrote:

/users?order=post_count&period=monthly implies that it displays all users that made a post in the last month, ordered by post count.

If I scroll down to the end of the list there are users with replies logged for the period, that didn't actually make any.

Here is an example: (1 reply recorded in the period of Jul 31 - Aug 31, last post actually back in March).

This user has never responded to a PM and has no flags.

Am I misunderstanding the report, or is the data unreliable?

Posts: 4

Participants: 4

Read full topic


Can't add plugin outlet to view

0
0

@sevenmaxis wrote:

I want to add some extra plugin outlet for plugins
For example I added line
{{plugin-outlet "bread-and-tee" tagName="li"}} to app/assets/javascripts/discourse/templates/components/bread-crumbs.hbs
in development environment and I can't see any change.
Is there some procedure to build views? Should I do rake assets:precompile

Posts: 3

Participants: 2

Read full topic

Python module (WIP)

0
0

@Hamish_Milne wrote:

Hey all. I've used the REST API to do some web apps in CherryPy for our website ( https://theovermare.com) and want to expand them further. Since it's a little painful to use direct HTTP requests each time, I figured I'd write a little Python module. It's very much WIP, only handling a subset of user, group and category operations right now, but the plan is to cover pretty much everything you can control through the web interface.

I'm mostly doing this for myself, but comments will fuel my development efforts, so leave one if you're interested!

Posts: 1

Participants: 1

Read full topic

Request header field Dont-Chunk is not allowed by Access-Control-Allow-Headers in preflight response

0
0

@brahn wrote:

After setting up Full site CDN acceleration for Discourse I am seeing the following in chrome console:

XMLHttpRequest cannot load https://mydomain.com/message-bus/d487d3e56113405b95d297fbc468c99d/poll?dlp=t. Request header field Dont-Chunk is not allowed by Access-Control-Allow-Headers in preflight response.

Also, it doesn't seem to always happen and it seems to be only those requests with the ?dip=t parameter:

The site is on stable, v1.6.1 and I am assuming that something in my config is not quite right but I am not sure where to start.

Any hints on where to look or how to approach diagnosing this?

Posts: 6

Participants: 2

Read full topic

Top Menu Removal Crashes Site

0
0

@charles wrote:

It seems if I remove each item for top menu, save and then try to refresh the main page, it "crashes" and gives me a blank page. If I then go back and reset, the blank page goes back to regular view.

Anyone else having this issue using the latest build?

Posts: 7

Participants: 2

Read full topic

Last message vs Seen - inconsistent minutes value in user profile

0
0

@meglio wrote:

Here:

  • last message says 29 minutes
  • seen says 30 minutes

I think it is impossible for "seen" to be earlier than "last message". If last message was written 29 minutes ago, then the user was for sure seen 29 minutes ago.

Unless I'm missing some piece of the logic here.

Things like this hardly qualify as a "bug", but are still an issue in some sense. What if we make a sub-category like "minor bugs" or "tweaks" or something like that in the "bug" category. Just thinking aloud.

Posts: 3

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images