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

Facebook sharing topic

$
0
0

@Francois_Douville wrote:

Can we choose and set a different image for each topic in Discourse?

This is my topic

The first image is too small for facebook, this is what it said Sharing Debugger - Facebook for Developers and I understand that.

But facebook don’t put my default image that I put in Discourse… it takes my logo… why?

My default image : https://lepeuplier.ca/wp-content/uploads/2018/02/Le-peuplier-e1519434609606.png

Posts: 2

Participants: 2

Read full topic


'top page default timeframe' does not affect 'Top' page?

$
0
0

@bartv wrote:

I changed the ‘top page default timeframe’ option to ‘weekly’. This correctly changes the behavior of the ‘desktop category page style’/‘Categories and Top Topics’ view, but not that of the ‘Top’ navigation item - this still defaults to the Yearly top view.

Posts: 4

Participants: 2

Read full topic

Get only top level posts in topic via discourse API

$
0
0

@coopaloop wrote:

I would like to be able to get the 20 most recent posts that are top level on a topic without having to recursively re-fetch and filter post replies until I have 20. Is there a filter for this and I have just missed it somewhere in the api?

Right now it just looks like the stream array in response includes post replies by post number. So, if I have 4 posts, [1,2,3,4] and post a reply to post 1, the stream will now be [1,2,3,4,5] and the only way I can tell that 5 is a reply to 1 is by examining the post itself, finding “reply_to_post_number”=>1 and filtering it out. Am I missing something?

Posts: 3

Participants: 3

Read full topic

Changing custom user field ID#

$
0
0

@Denis_Heraud wrote:

We had our webmaster adjust our SSO to pass data to some custom user fields. Sadly he didn’t assign them the right field ID’s. Is there any way that I, on my end, can change our custom user field ID’s in (or out) of Discourse?

I tried deleting all of our user fields and starting over thinking they would reset and start at 1, but unfortunately they start at 6 instead (since I had previously created 5 user fields).

i.e. "user_fields":[{"id":6,"name":"Membership Type","description":"Membership Type"...

EDIT: On a side note, why isn’t this information visible in the Admin interface? If I’m creating a bunch of user fields, how would I even know what their ID is in the first place? The 1,2,3,4… convention only really works if you a) never delete a user field; and b) never move a user field up or down.

Posts: 1

Participants: 1

Read full topic

Improved “letter avatar” generation

The /about page does not display moderators that are also administrators

Customizing CSS

$
0
0

@Denis_Heraud wrote:

I’m somewhat new at customizing some parts of Discourse by modifying CSS, so is there a good primer out there that would teach me how to look up what part of the Discourse interface I’m looking at and what needs to be modified in order to change it?

For example, I’m trying to hide Full Names from anonymous users on our semi-private forum

Capture16

When I Inspect the code this is what I see:

Capture17

However, I’ve tried modifying the CSS a bunch of different ways but can’t get the Names to hide, for example:

.anon .second .full-name {
    display: none;
}

Any care to help me out with this? What class should I be targetting?

P.S.: This code is based on discussion in this post:

Posts: 3

Participants: 2

Read full topic

Bizarre Problems with migrate_from_s3

$
0
0

@pfaffman wrote:

I was migrating from S3 and had some strange problems. First, shouldn’t the rake task be looking at cooked, and not raw? Or maybe this is a vestige of the old way images were put into raw?

The rest of this is a bizarre story. I don’t know whether it will help anyone. It’s another story that ends with “it got fixed by rebooting.”

But I decided to take matters into my own hands. The images had already been downloaded from S3 and manually put into uploads, so I fixed up the uploads like this:

bads=Upload.where("url like '//xxx-discourse%'")

bads.each do |up|
  up.url.gsub!(/\/\/xxx-discourse.s3-ap-southeast-1.amazonaws.com\//,'/uploads/default/')
  up.save
end 

and then rebaked the posts like this:

bps = Post.where("cooked like '%//xxx-discourse%'")
bps.each do |post|
  post.rebake!
  post.save
end

But this didn’t fix all of them, somehow. After that, I still had a bunch of posts that still pointed to S3. I tried rebaking, but still there were some upload://serfsfsef.jpg that would rebake to the old S3 URL no matter what I did. And THEN I pasted that same URL into a new post, and it generated the right (not S3) URL. And then, I fixed up cook myself like this:

bps = Post.where("cooked like '%//xxx-discourse%'")
bps.each do |post|
  post.cooked.gsub!(/\/\/xxx-discourse.s3-ap-southeast-1.amazonaws.com\//,'/uploads/default/')
  post.save
end

And then, if I rebaked the post, it would still revert to the S3 URL.

And then, I rebooted the container, and it rebaked correctly. I guess something got cached somewhere, somehow.

Posts: 1

Participants: 1

Read full topic


Discourse Version 2.1

$
0
0

@codinghorror wrote:

Focus

  • Forward long email chains to Discourse, creating posts for each email in a new topic, staging all unknown emails as new users and attaching all matching existing users by email

Codename

  • Aeschines v1.1
  • Andocides v1.2
  • Antiphon v1.3
  • Demosthenes v1.4
  • Dinarchus v1.5
  • Hypereides v1.6
  • Isaeus v1.7
  • Isocrates v1.8
  • Lycurgus v1.9
  • Lysias v2.0
  • Unknown v2.1 ←

Start date

June 1st, 2018

Planned release date

TBD

Posts: 1

Participants: 1

Read full topic

Updating SSO documentation

Available Locales Plugin

Experimental Desktop PWA works with Discourse!

$
0
0

@sam wrote:

I remember getting pretty upset when Chrome shutdown the app launcher, this was a feature I used on quite a few sites.

Luckily thanks to work we have done for Android you can have it back now on your Discourse site.

Head to: chrome://flags/#enable-desktop-pwas , turn it on.

If you also want to capture links and send to the page enable Desktop PWAs Link Capturing and there is also some extra caching you can turn on.

Then, visit your Discourse site and click “Install to desktop…”

You now have a dedicated application you can launch for your Discourse site.

image

Special thanks to @Falco and @featheredtoast for pushing us to support this fancy on Android cause now it pays off and we get it on desktop as well!

On Chrome on Mac the terminology is a bit different, but it works nonetheless.

It is important to note that this will not work with for you on all sites, you need a manifest and some fancy to support it.

Note This is definitely a big Electron killer for simple repackages given that it is stuck on Chrome 59 now.

Posts: 11

Participants: 5

Read full topic

How are theme setting fields created?

$
0
0

@Biscuit wrote:

When you import the theme below from Github, “theme settings” appear set under Customize > Theme > Theme_Name.

Theme_Settings

The Github files include a YML file with the theme settings inside it. The “Import theme” process presumably uses that YML file to make the setting fields appear. But, when I’m writing my own theme (not plugin), how do I create theme settings / parameters like this?

Posts: 4

Participants: 2

Read full topic

Simplify private invites for new users?

$
0
0

@EddieC wrote:

I have a private community where I invite customers to join. So I have their email after purchase, and I know it’s valid.

Is there a way to make the invitation process as simple as possible (SSO not being possible right now)?

This is how it works now:

  • I send out an invitation to them
  • the click the link, fill out their details and are logged in immediately (I see the user as “active” in the dashboard)
  • they get another email with an “activation link” to click on (if they don’t, they can’t log in the next time)

Is it possible to deactivate the need for activation since I know their email is valid?

My customers are often older people, and they have problems with the whole process.

Any idea how to make this as simple as possible for them?

Thanks,
Eddie

Posts: 1

Participants: 1

Read full topic

Recovered post is auto-deleted by system

$
0
0

@Pad_Pors wrote:

what happened?

someone has deleted his post.
admins recovered the post (before 24 hours).
then the “system” user deleted the post again!

no matter how many times recovery is done, system is deleting the post automatically. here is a snapshot showing two of the system actions:

p.s.: there is no errors in log.

Posts: 6

Participants: 2

Read full topic


How it works (muted remove tags from latest)?

Cannot log in or create a new account

$
0
0

@PTKen wrote:

Hello. I’m setting up my first forum and I make a mistake! I’m not sure exactly what I did but I’m hoping someone can suggest a way out.

I have correctly installed my Discourse forum, set up SSL, and I was logged in as admin to setup categories, welcome topics, etc. I made some unknown change to the log in options. I decided to log out of admin and log in as a new user to see what it looks like to a non-admin.

Oops!

Not only can I not create a new account, I also cannot log back in at all! Both the Create Account and Log In pop ups have no fields in them. See the screen shot below.

How can I log in from my terminal and fix this? What settings do I need to set/change? Note, I can follow instructions to use the command line, but I’m not well versed and do not fully know my way around, so I appreciate as much specifics as possible.

Thank you in advance for any insight/help you can provide.

Ken

Posts: 4

Participants: 3

Read full topic

No access error for customizing a site text

$
0
0

@Pad_Pors wrote:

minor issue: when trying to translate (edit) a especial string to Farsi, I get:

“Opps! this page doesn’t exist or …”

the string name when I am in Farsi locale: system_messages.unblocked.subject_template

when I go to English locale, that string doesn’t exist at all, and I can translate what I want via editting “system_messages.unsilenced.subject_template”.

Posts: 2

Participants: 2

Read full topic

Add ability to Embed GitLab Onebox

Not getting the confirmation mail

$
0
0

@MitchOnline wrote:

Hey, I have tried reinstalling the droplet and tried with other email servers like ElasticeMail and Mailjet, but when I try to activate my first account on the forum and it says Sent confirmation email I dont recieve it in my email box.

Posts: 5

Participants: 4

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images