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

Hidden closed-archive lines doesn't allow marking topics as visited

$
0
0

@zsero wrote:

Here is what I did:

On 1.6:
1. Closed a topic
2. Re-opened the topic
3. Hidden both lines so it's not visible / annoying.

Later, I upgraded to 1.7, now on latest beta.

The bug is the following: Those topic which have this hidden ending, cannot be made "visited" (CSS class). They always show up with dark black as admin. As a normal user it's OK.

Posts: 4

Participants: 3

Read full topic


Plugin could not be activated because it triggered a fatal error

$
0
0

@alefattorini wrote:

Hi folks,
I installed and used the plugin until some weeks ago when during an update it break my blog :frowning:
Deactivated and de-installed it now I can't install it anymore

public static function get_options() {
$options = []; <---- line 23

            $discourse_option_groups = get_option( 'discourse_option_groups' );
            if ( $discourse_option_groups ) {

That's my record on mysql, I just removed it but... nothing :frowning:

| 32290 | discourse | a:19:{s:3:"url";s:31:"http://community.nethserver.org";s:7:"api-key";s:64:"xxxxxx";s:16:"publish-username";s:12:"alefattorini";s:16:"publish-category";i:1;s:17:"full-post-content";i:1;s:12:"auto-publish";i:1;s:10:"auto-track";i:1;s:18:"allowed_post_types";a:1:{i:0;s:4:"post";}s:22:"use-discourse-comments";i:1;s:25:"existing-comments-heading";s:0:"";s:12:"max-comments";s:1:"5";s:11:"min-replies";s:1:"1";s:9:"min-score";s:1:"0";s:15:"min-trust-level";s:1:"1";s:24:"bypass-trust-level-score";s:2:"50";s:21:"custom-excerpt-length";s:2:"55";s:22:"custom-datetime-format";s:0:"";s:10:"login-path";s:0:"";s:10:"sso-secret";s:0:"";} | yes |

Any hint?

Posts: 11

Participants: 4

Read full topic

Categories access based on custom fields

$
0
0

@Nicolas_Goutaland wrote:

Hi,
Thanks for your amazing work. Discourse is a very great forum.

Long story :
We have a mobile application were users are required to login. Onced logged, they may access to a forum, and are automatically logged in throught SSO. If user do not exists on discourse, it will be created, else, its profile will be updated with current user data. We have several special fields that describe our users, such as company, department, etc...
We are transfering them to discourse.

That was the easy part, now, we want to grant access to forum categories based on these metadata. If there a way to achieve that ? We may create groups for each metadata value, but it will be a mess to configure. So, is there something like that in discourse ? Should we develop a plugin allowing us to determine categories access based on users custom fields ?

TLDR : I want to know if there is a built-in way to grant categories access based on user custom fields.

Thanks for your help.

Regards

Posts: 4

Participants: 2

Read full topic

Why do I have the cake next to my name?

Force email notification for new users

$
0
0

@weneverknow wrote:

Hello,

I am using a discourse instance to manage a co-ownership website.
Most of house owner are noobs, and they won't come very often on the website.

I invited all the user to use the website but i would like to force email notification for EACH topic that is created on discourse in ALL categories. I would like also that they receive an email when somebody answer in a topic.

Problem is, i can't call each owner and tell him "you have to clic on follow this thread" or "Watch this category" for all category. How can i force that in the discourse instance for all user ? Alternatively, how can i tweak the database to get them receiving email notification each time a topic is created ?

Please apologies my poor english, i'm French :smiley:
Thank you community !

Posts: 1

Participants: 1

Read full topic

Forcing users to read their mail is confusing my users

"undefined" in tweet when sharing

$
0
0

@Steven wrote:

Hi everyone,

Since a few days, when I want to share a topic or a post on twitter, the title is not automatically added, instead it shows "undefined".

I tried it here too, and it's the same.

Is it just me ? It's not a big issue tho

Posts: 2

Participants: 2

Read full topic

DNS error for autogenerated links and uploaded images

$
0
0

@isomerase wrote:

Hi all, I searched for posts to see if someone has had a similar problem before and I don't see anything. I'm new to Discourse so any help is greatly appreciated!

I followed the docker installation for Digital Oceans to a T. My install is live at http://shitpost.kitchen/, and I have posting, inviting, and posting by email working smoothly. However, the install is at "http://forum.shitpost.kitchen/" and when I try to navigate to that URL it fails. All the autogenerated links (for invites, password changes, etc.) have the "forum." suffix, so none of them work. I've been working around this by having users delete the "forum." suffix from autogenerated links and that seems to work fine.

All uploaded images on my site are also broken, though. For example, I examined the empty picture container of one of my uploads and the URL is http://forum.shitpost.kitchen/uploads/default/original/1X/846e640df44e38ef4d6319be96c13eebd16c46d2.jpg and if I delete the forum suffix the picture appears.

I tried poking around /var/log to see if I can find a clue but no luck. Help!

Posts: 7

Participants: 2

Read full topic


Adding an arbitrary custom_field with a specified type to a plugin

$
0
0

@jgujgu wrote:

Hi @joebuhlig. I hope to make a plugin that extends what types of attributes models, like Topic, have, and I noticed you have a reasonable custom_field called vote_count added to the Topic model...

I'm familiar with Rails and expected a migration or a least a type declaration for vote_count somewhere (I did search the repo for vote_count, and only saw it in code/templating). Moreover, all the discussion on Discourse meta pertains to custom_fields for Users, not really custom_fields in general. Is there a how-to guide on adding an arbitrary custom_field with a specified type to a plugin that you might point me to?

Posts: 4

Participants: 2

Read full topic

Avatar server issues?

Link rewriting for affiliate codes

$
0
0

@daath wrote:

I saw this and was thrilled:

Then I installed it, and realized that it still only works for Amazon. Would it be hard to add support for ShareASale? Maybe even a "generic" rewrite where you regex an URL and do a replacement?

Posts: 1

Participants: 1

Read full topic

Choosing Google account when logging in on iOS Safari

$
0
0

@mcwumbly wrote:

Our site is configured to only allow Google authentication and restricted to our domain.

Many of our users have iPhones, use Safari, use their phone for both personal and work stuff, and have a personal google account as well as the one through Google apps at our office.

One user tried logging into our site on their iPhone with Safari and mistakenly chose their personal google account. After going through the OAuth flow, the site tells them they cannot log in with that email address, as expected. But when they try to log in again, Safari does not present them with an option to choose a different google account, so they are stuck in this infinite loop.

Has anyone run into such a thing and have any suggested work-arounds?

Unfortunately, I do not have an iOS device to reproduce this issue myself, but I had someone help me today. We didn't have time to reproduce this exact issue, but I did witness something similar or try.discourse.org.

They did the following:

  1. clicked login
  2. clicked google
  3. filled in google account info
  4. logged successfully
  5. logged out
  6. clicked login again
  7. clicked google
    were immediately logged in, rather than given the option to choose a google account.

On chrome they get presented the option to choose a google account the second time they log in, but not on Safari.

Any help with how to work around this would be much appreciated... Thanks!

Posts: 3

Participants: 2

Read full topic

Time is not correct after new installation and data restoration

$
0
0

@benyang wrote:

I install a new discourse in a different server, and restore the backup data from the admin control panel, but the time of the new post is not accurate. After I post a new topic, it just showed it was posted 7 hours ago.

What seems to be the problem, and how to fix it?

Posts: 2

Participants: 2

Read full topic

Re-enabling Mobile View Tag Field

$
0
0

@Blumiere wrote:

Sorry if this is the wrong category. I noticed here that tag entry on mobile view has been done but was suppressed due to space concerns.

This feature is actually pretty critical to my use case (a Discord bot uses tag RSS feeds to let several different groups initiate conversations with each other).

So if possible I'd really like to re-enable this in my own install somehow. Is this still in the source code somewhere? Is there a way I can turn this on?

Posts: 1

Participants: 1

Read full topic

Docker Install w/ Letsencrypt bombing

$
0
0

@director wrote:

I've been trying to debug why a new docker install of discourse wasn't coming up. So I went for a deep dive, and found that inside the container, port 80 would not respond to telnet, but port 3000 would.

So something going on with nginx.

in /shared/log/var-log/nginx/error.log, I found a repeated line every second:

2016/11/16 10:56:13 [emerg] 11755#11755: PEM_read_bio_X509_AUX("/shared/ssl/discourse.md8d.org.cer") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)

I'm going to reinstall this without letsencrypt for now :slight_smile:

Posts: 4

Participants: 2

Read full topic


Upfront File upload size limit alert - Specially for mobile users

$
0
0

@ewanly wrote:

When I was trying the mobile UX, at the file upload, after waited a long time to complete the upload, I've got the Alert saying that my file size was large.

It would be nice if we are able to control the files size and alert before starting the upload. It would save time and resources and give better UX. Specially for mobile users but not limited to!

Posts: 5

Participants: 4

Read full topic

Run Ruby code on page change

$
0
0

@Alavi1412 wrote:

I want to write a pluggin with ruby and I Have a code to run on each page change.
I have read :


completely all parts
but there wasn't any content about where to put ruby code on plugin and what should I do for running code on page change?
I khow soloution for javascript in plugin but I know nothing about ruby in plugin .
what should I do and which refrence should I read?

Posts: 1

Participants: 1

Read full topic

Problems changing emails to an email that an alt has

$
0
0

@zombieslayer124 wrote:

Ok, so I really love reading summaries, but it always ends up in my main. I have an alt with my alt email. And I would like to switch it. The reason I want to swap them, is that I litteraly get spammed with summaries, I love reading them but my email gets filled up. Since my alt account has no email notification stuff, I would like to swap it, but I am unable to at the moment, could I get some help with that?
If an official representative helps me, could we do it in a PM? Since it would be easier to get things clear :smile:!
Have a great day!!

Posts: 3

Participants: 2

Read full topic

Can't update setting, getting gateway timeout eveytime

Creating Custom Flag

$
0
0

@fredlima wrote:

Hi there,
I'm deploying an development instance of discourse at the company I work,
and I need to add a custom flag with something like this "candidate to knowledge base".

Someone knows an plugin or configuration for me to create a custom flag, not only the "inappropriate" and "others" flag that it is already on the discourse?

Thank you.

Posts: 5

Participants: 4

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images