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

User API cannot be used by admins of TL0

$
0
0

@fefrei wrote:

While trying to log into my admin account in the Discourse iOS app for my new installation, Discourse told me that I do not have the required trust level to access the user API. Admins are usually exempt from permission checks, so they should probably also exempted here :slight_smile:

Posts: 1

Participants: 1

Read full topic


WordPress Plugin with Discourse on Subdomain

404 in admin when enabling must_approve_users

$
0
0

@ryan.platte wrote:

I installed Discourse following the Docker+DO instructions to the letter. Most everything is working perfectly, except the settings.

I am trying to enable the must_approve_users setting, but it fails, saying "Sorry, an error has occurred." My web inspector and my nginx server logs both show PUT /admin/site_settings/must_approve_users requests being sent and getting 404 responses.

This seems like a bug. Is it a known bug? a regression? Is there a workaround?

Way less importantly, several of the settings have failed to save on the first try, throwing an error until I press the confirm button again once or more (I haven't looked into why because I have a workaround). But the must_approve_users setting doesn't ever succeed. I mention this other issue in case it's relevant context.

Posts: 2

Participants: 1

Read full topic

Tags on categories playing around

$
0
0

@james-007 wrote:

Hi,

On categories I am using " Tags that can only be used in this category:"

All the upper case tags are automatically converted to lower case. This creates an issue that these tags are not comming up if the user enters it in upper case.

Example, for abreviation, I have tag "WAF", when I enter this tag in tags tab into category it is converted into "waf". As it is abbreviation so most of the users uses it as "WAF" and this does not show the tag, as the system converted it into lower case.

Any help will be appreciated.

Posts: 1

Participants: 1

Read full topic

Admin only categories don't show in list

$
0
0

@jamesmarkcook wrote:

Just wondering if any changes have gone in recently that stopped private categories from being available for Wordpress to publish to.

I know this used to work as it was how I tested the integration without any of my forum members seeing it. However I can't seem to see any non public categories in the publish list anymore.

Posts: 4

Participants: 2

Read full topic

Search Issues with Large amount of posts

$
0
0

@Jose_C_Gomez wrote:

Hi we have very large categories with 30K posts in it, search seems to only return 50 results and there is no way to ask it to show more, or next 50. Is this an option somewhere?

Posts: 1

Participants: 1

Read full topic

Customize home page?

Can't get incoming mail to poll

$
0
0

@pfaffman wrote:

I'm testing incoming mail for a site. It worked fine in a previous test (though it was with 1.7.x; this is 1.6.1). I turned on the "insecure apps" thing. It was all good.

Now it doesn't seem to be polling. Before mail was moving to archive when it was checked; now it's not. I tried changing the gmail setting to "mark as read;" it's not marking as read either.

I've tried on both a production site and on my dev host. Neither seems to be polling. When I click the "poll via POP3" it does the check and appears to be authenticating (if the password is wrong, I get an error).

I thought it might be that I have "Prevent Discourse from sending any kind of emails" checked, but it's unchecked on my dev box and I peeked at the source and it doesn't appear that polling is affected by that setting.

Here is a screenshot of all overridden changes. Am I crazy?

Have I overlooked something?

Posts: 2

Participants: 2

Read full topic


Group long names - help give full citizenship to groups for mentions, messaging, group pages

$
0
0

@tobiaseigen wrote:

Continuing the discussion from Group name character limitation:

Discourse Groups are awesome! :rocket: We use them very actively on our community, and want to use them even more.

One barrier is group name length and appearance in various places. An example - mentions, where long names screw up the display. They can't have spaces as well which is not pretty.

Better would be to replicate the look of user mentions. This would allow us to have short groupnames (up to 15-20 chars) based on acronyms (eg @lel2016) and longer names that clearly indicate who's in the group (eg 2016 Legal Empowerment Leadership Course Participants)

Examples of both below.

Posts: 2

Participants: 2

Read full topic

Missing space after [PN]

$
0
0

@fefrei wrote:

When my German Discourse instances send out mails for personal messages, the subject looks like this:

[Discourse] [PN]Topic Title

Note that there is no space after [PN]. I'd assume this is a translation mishap, but the strings look fine:

So where is this space hiding? :mag_right:

Posts: 3

Participants: 2

Read full topic

Suspend as way to expire membership

$
0
0

@ryan.platte wrote:

Continuing the discussion from Suspend Indefinitely:

If a paid user lets their membership expire, they could be out for 10 minutes or forever. It doesn't make sense to put some specific date down when they'll be back.

And in the original thread we saw a few other use cases for an indefinite suspension.

Supporting a 0 value for suspension length, and adding a different suspension message for that indefinite case, would address the needs I see completely.

Would you accept a PR that did this?

Posts: 2

Participants: 2

Read full topic

Editor markup issues when toggling text attributes

$
0
0

@Remah wrote:

It is nice that Discourse allows toggling of text attributes. Many forums I use simply insert the codes around the selected text and do not toggle the attributes if I apply the same attribute to the same selection.

When you bold text and then unbold it, the editor appears to assume only the bolded text is selected. If you select the bold text and the markup the text will be unbolded but the selection is shifted right by the two markup characters that no longer exist so the following text is selected by the four markup characters that no longer exist:

Even worse if you select an entire line when only the last word is bolded then you lose text:

Test bold
No bold text

Lose the first two characters of the line:

st **bold
No bold text

If the bold text is not at the end of the line then I lose no text although the markup could be improved:

Test **bold text**
No bold text

The same occurs with italic but I only lose one character because the markup is only one character:

est _italic
No italic text

Posts: 1

Participants: 1

Read full topic

Avatar Upload - 500 Error. But all other images upload fine

$
0
0

@JamesNorth wrote:

Hello all,

It seems on my Discourse install, avatar uploads are mostly failing.

I can upload as many category icons, category backgrounds and other images and files as I like all over the site ... but the avatar upload dialog box only allows me to do one.

Here is the log file line that occurs:

NoMethodError (undefined method `custom_upload_id=' for nil:NilClass) /var/www/discourse/app/controllers/users_controller.rb:595:in `pick_avatar'

(That's the fatal error and it has happened 15 times with 15 different users - I am the admin).

The only "weird" thing I'm doing on my box is running an NGINX proxy to forward 80 to 8080. But - all other image/file uploads are working fine on the site.

The avatar will render in the upload dialog box:

But then once I press 'Save Changes':

The other weird thing is that I have managed to upload a number of avatars ... it just barely works. And yes, ImageMagick is installed.

Posts: 1

Participants: 1

Read full topic

User page stops loading when I add a link

$
0
0

@Novice wrote:

Hi, I am new to discourse. Firstly, a big ups to the discourse team for creating such a beautiful site.

I am trying to add a button to the user-profile-controls plugin outlet. I have gone through the guides available on meta and have managed to create a route and template. The template loads with the route I assigned. Also, if I add the button alone it appears on the outlet. However, whenever I try and add a link to, to the button the user profile doesn't show up when refreshing the page. See code below:

{{#link-to 'user.userViews' }}
{{#if currentUser}}
{{d-button id="user-views"
class="btn-default"
icon="plus"
label="USER VIEWS"}}
{{/if}}
{{/link-to}}

If anyone can help it will be appreciated. I am new to rails, discourse, ember and coding in general. Hence the name.

Posts: 1

Participants: 1

Read full topic

Insert, Read and Update Post custom fields from plugin

$
0
0

@ShankarG wrote:

I'm new to rails and ember and also i can't find any documentation for using post custom fields in plugin. I have added two additional fields to post composer form (using plugin outlet) like below

I need to save this two fields to post custom fields table and retrieve it. Any code sample or any existing plugin code reference will be appreciated.

Posts: 1

Participants: 1

Read full topic


TypeError: Discourse.Dialect.postProcessText is not a function

$
0
0

@DanielMarquard wrote:

I'm writing my first plugin for Discourse, modeled after the plugin in this tutorial, but I'm encountering an error.

In my error log, I see the error "TypeError: Discourse.Dialect.postProcessText is not a function" for this server-side file.

Any thoughts on this? Is it that the function is too long?

Posts: 5

Participants: 2

Read full topic

Safe for Work Mode - No Images

$
0
0

@seaninsound wrote:

A few of the users on http://community.drownedinsound.com have asked if it's possible to have the option to set the site in a safe for work mode. A lot of them are concerned about NSFW images appearing whilst they're accessing the site.

Was thinking it must be simple enough to either hide or maybe spoiler blur all images for a user who toggles this setting on?

Apologies if this is 1) already possible 2) has already been discussed (I did check the thread archive first)

Posts: 2

Participants: 2

Read full topic

How to show registered users the ability to add title

$
0
0

@AshishS wrote:

The way codinghorror has 'cofounder' - how can I have this field for all registered users (and preferably during onboarding)?

I am on V. 1.7 beta.

Posts: 1

Participants: 1

Read full topic

Setting up Mailgun with forwarding and Namecheap

$
0
0

@KevinWorkman wrote:

I'm trying to setup Mailgun (to get rid of that pesky warning about using gmail) and I'm having more trouble than I probably should. I'm trying to follow this guide.

I've got Mailgun setup, and I've set the DNS records at Namecheap. They've propagated and the "Check DNS Records Now" button on my Mailgun dashboard has verified that everything is correct. I left out the DNS Records for Receiving, because I have catch-all forwarding setup at Namecheap.

However, now my email forwarding is broken. I contacted Namecheap support, and they said I couldn't use their email forwarding with Mailgun. That doesn't sound right, but okay, I'm fine with doing the forwarding from Mailgun. So I setup a catch-all forward in the Routes section of Mailgun. But I'm still not getting any email forwards.

I gather this is because I originally left out the DNS Records for Receiving on Mailgun (which means that forwarding from Namecheap should still work...). Now that I'm looking at that setting, it's telling me to setup MX records for forum.MyDomain.com. But I want to send and receive emails from MyDomain.com without the forum. subdomain.

But oh well, I set the DNS records for forum.MyDomain.com on Namecheap, and Mailgun says they're set correctly. But I'm still not getting email forwards if I send a test email to kevin@MyDomain.com or kevin@forum.MyDomain.com.

(The email address I'm using to send the test emails is on a completely separate domain, so it's not the issue of sending emails from the address being forwarded to.)

I'm just generally confused. I want to be able to forward emails sent to whatever@MyDomain.com to my personal account, and I'd like to use Mailgun to send emails from the forum. I'd like those emails to be sent from an @MyDomain.com account, not an @forum.MyDomain.com account. But even so, shouldn't my current settings be forwarding stuff sent to kevin@forum.MyDomain.com correctly?

I'm sure at least one of my assumptions is incorrect. I figure that somebody out there has the setup I'm looking for, and I appreciate any pointers on what I'm doing wrong.

Edit: Okay, emails to @forum.MyDomain.com work correctly (it just took a while to forward). But I'd still like to maintain forwards through @MyDomain.com. Is this possible? What am I missing?

Posts: 1

Participants: 1

Read full topic

SIGTERM during assets:precompile

$
0
0

@tomspilman wrote:

I have an older Discourse install... not on Docker (yeah I know)... and i'm running into the same issue as described in Upgrade failed due to process terminating.

At the bottom of the thread @Noya mentions:

How do I go about setting the keepalive_interval to 0 ?

Posts: 1

Participants: 1

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images