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

Creating custom badges Discourse hosted in cloud

$
0
0

@VNVJeep wrote:

We are hosting Discourse with your hosted cloud option... is it still possible to create custom badges in this configuration, or would we have to host it internally in order to manipulate SQL/triggers/etc? I'm not seeing any way of how to add SQL code to a custom badge. Or am I missing something? Could you please point me to a detailed how-to if this is possible to do in a hosted cloud environment?

Thank you!

Posts: 3

Participants: 3

Read full topic


Reset my development environment, but it's stuck in read-only mode

$
0
0

@pfaffman wrote:

I was running a dev environment in

~/src/discourse-1.6/

and switched over to

~/src/discourse

(Yes, I'm too stupid to actually use git, so this was my solution.)

I did

    RAILS_ENV=development
    export RAILS_ENV
    RAILS_ENV=development bundle exec rake db:drop db:create db:migrate

But now when I go to the site and try to log in I get "Login is disabled while the site is in read only mode".

I saw something somewhere about nuking, blowing away, or resetting redis, but I can't figure out how to go about that.

Posts: 4

Participants: 2

Read full topic

Need help deploying Discourse on a VPS server with WordPress on it

$
0
0

@mhwebee wrote:

I totally new to Discourse and I'm looking for information to see if I have enough hardware to host Discourse for a small forum.

I have a VPS with 1.5GB of RAM (burstable up to 4GB) and 2.5GB of swap (on SSD, if that makes any difference) running kernel 2.6.32. I'm also currently running WordPress with MySQL and Apache.
The largest amount of RAM used by WordPress I've seen is around 600MB and about 200MB of swap memory.
For now, I believe there won't be more 5-10 users at a time, tops 15-20 around users but not all the time.

Any help will be appreciated.
Thanks,

Posts: 6

Participants: 2

Read full topic

Closing brace missing in webhook JSON

$
0
0

@DanielMarquard wrote:

I set up a webhook in Discourse today for the first time. I've got a great use case for it and can't wait to finish the code. :slight_smile:

But the post and topic event JSON sent by Discourse is not playing well with my receiving PHP script. PHP fails to parse it. Through json_last_error_msg, I saw that there is a syntax error somewhere in the payload, which is why json_decode is failing.

From the webhook's log panel in Discourse, the request JSON validated when I tested it, so I set up a simple script to verify that PHP is receiving the same data that Discourse is reporting, but that doesn't seem to be the case.

<?php

$data = file_get_contents('php://input');
print_r($data);

?>

Discourse receives a response that seems to show that a closing brace is omitted in the payload being received by PHP.

Here's the well-formed JSON payload reported by Discourse:

...and here's what print_r returns to Discourse:

http://pastebin.com/qCcyusu9

Posts: 6

Participants: 4

Read full topic

Deleting all of a users threads and posts

$
0
0

@funvill wrote:

I am looking for a way to delete all threads started by a user. The whole thread including the replies by other users.

I found this thread talking about how to DESTROY a user but I can not seem to find the DESTROY button in the admin panel.

I found the "Delete all posts" under the user page. Does this also delete the threads with all the replies that they have created?

Posts: 2

Participants: 2

Read full topic

£3 Discourse hosting questions

$
0
0

@Gabor wrote:

Hi! I would like to create a blog with Discourse. I am not planning to do any specific modifications on the forum except of the installation of the Basic plugins from here. My users cannot create new topics, they just can answer the ones I created. I would like to start a budget friendly way, so I found these two really cheap, ~£3 Discourse hosting alternatives:

  1. OVH VPS SSD 1
  2. Scaleway VPS VC1 S

The most notable differences between the two are the processor and the SSD size. While OVH has a really fast CPU (faster than DO or Linode), Scaleway has Atom CPUs which are about 2-3 times slower. However, both of them can run Discourse.

The SSD size which worries me more. OVH has only 10 GB SSD which can be problematic for Discourse. I am planning to use S3 for backup and images, but it can be problematic in the future or at an upgrade. OVH offers two option to fix this problem: VPS SSD 2 has 20GB SSD (and 4 GB RAM!) for about £7 or you can buy additional 50GB SSD for £7.

On the other hand Scaleway has 50 GB SSD from the start but slower CPU.

I would go with OVH if 10 GB SSD can be enough for my use case. When I need more SSD I can just use one of the fore-mentioned update options. The reason I would prefer OVH is the performance. It can be useful if one of my blog post get attention on HN or any of a popular websites. Is 10 GB SSD enough for Discourse?

If it is not possible to safely use Discourse on 10 GB SSD, I will go with Scaleway. My problem is that I am not sure whether it can handle higher peaks in traffic. It is not an option to upgrade on Scaleway as you will still use Atom CPUs (but with more cores) which has bad single core performance. Can Atom processors handle occasional higher traffic on Discourse?

Thank you!

Posts: 22

Participants: 6

Read full topic

Is it possible to have public i18n?

$
0
0

@deltaskelta wrote:

Here is the problem. I am halfway through integrating discourse with a django site that I run, and the rest of the site has publicly available translations in the form of a select menu with different language options and country flags.

I just realized however, that to offer localization options in Discourse one would have to create an account in the default locale, navigate to settings and set their UI locale. Shouldn't there be a way for anonymous users to change their locale? I need to be able to put it on the main header or somewhere easily accessible by all users.

Did I miss something? Can this be done?

Posts: 5

Participants: 4

Read full topic

"Visit link to respond" and "To unsubscribe..." - translation not being used in emails

$
0
0

@sniepoort wrote:

The text translation - visit_link_to_respond - and - unsubscribe_link, are not being used in our notification emails. We have translated them via the text content tab, but they are ignored (or they are not the ones being used?) in the notification email that is sent when a new PM has been received. Possibly also a new topic.

Posts: 4

Participants: 3

Read full topic


Stop discourse blocking CIDR blocks

$
0
0

@wasimkham wrote:

I find that Discourse starts automatically blocking CIDR blocks instead of individual IP addresses when it starts seeing a pattern in spammy IP addresses. This results in many genuine users being blocked from using the system. I keep deleting the blocks but they reappear soon after.

Is it possible to stop discourse automatically blocking CIDR blocks?

Posts: 4

Participants: 2

Read full topic

Globally disable posting/viewing

$
0
0

@kourou wrote:

Hello.

Is there any way to globally disable posting/viewing of the whole Discourse forum, rather than changing permissions for each category? "Turn off forums" or something like that?

Thank you,
Ilias

Posts: 2

Participants: 2

Read full topic

Missing Category Logo Image

$
0
0

@Jose_C_Gomez wrote:

We have a live site where we have Category Logo's for each category. Yesterday we noticed that all our category images were just gone... We thought that was odd and we added them back... today some of them are gone again.
Files are physically removed.
Version: v1.7.0.beta4 +59
Host: Digitalocean

I am wondering if the cleanup task is somehow picking these up as not used?

Site : https://e10help.com/

Off Topic and FAQ are missing.... now

Posts: 4

Participants: 2

Read full topic

Pictures pop out or not

$
0
0

@xiasummer wrote:

I don't know when the picture can pop out and when not.Because sometimes it can, and sometimes it can't. And some pictures continusly inserted, some can pop out some can't.

Why? What's the problem?

Also there's another big problem when continusly insert pictures the sizing problem.

So, I wonder what is the markdown editor integrated in Discourse. I think I can report such bugs to that project.

Posts: 2

Participants: 2

Read full topic

Inconsistent count behaviour in /tags and dropdown filter

$
0
0

@LeoMcA wrote:

Continuing the discussion from Private tags incorrectly shown in tags drop-down:

The tags dropdown filter and the tags page have surprisingly different behaviours, I'll use https://community.namati.org/ as my example to demonstrate these behaviours (since @tobiaseigen is finding this discrepancy particularly troublesome).

Here we see the dropdown and /tags page side by side. If we look close we can see that there are tags which appear in /tags but not the dropdown (such as africa), and the opposite (like with birthday).

Tags appearing in /tags but not the dropdown is explainable and expected with a max_tags_in_filter_list which is less than the number of tags which exist, but the reverse is unexpected and seems to me to be a bug.

birthday is a tag which belongs to quite a number of topics, but none of them are accessible to a non-logged in user. The /tags page is, quite sensibly, using a count of the number of posts each tag belongs to which are accessible to the current user, and hiding tags which belong to no accessible posts. The dropdown is exhibiting quite different behaviour by using a count of the total number of topics, accessible to the user or not, in determining whether to show the tag.

Instead, I believe the dropdown should have the same behaviour as the /tags page, determining whether tags should be shown or not based on the number of accessible topics to the current user.

Posts: 5

Participants: 3

Read full topic

New badge for users with personalized avatars?

$
0
0

@SidV wrote:

Hello, I've been thinking the idea to congrats the users with TL1 and personalized avatar.
Is it possible?
How should be?

Ps, I don't know how to put #badge in this topic. :thumbsup:

Posts: 2

Participants: 2

Read full topic

Homepage doesn't have canonical URL

$
0
0

@michaeld wrote:

Long story short: it seems like the homepage doesn't have a canonical URL tag... ?

That's relevant when you change the hostname of the site and don't want to redirect everything yet,

and in order to avoid search index entries like http://forum.domain.com?blahblahblah in case someone links to it that way.

Posts: 1

Participants: 1

Read full topic


I get "Body is invalid; try to be a little more descriptive"

$
0
0

@rsoutar wrote:

Even though I had lots of body text (3-4 lines) Still, users got "Body is invalid; try to be a little more descriptive"

Posts: 2

Participants: 2

Read full topic

Facebook OAuth working, but getting errors on /logs page

$
0
0

@mackk wrote:

I just set up login with Facebook on my Discourse site, and from my testing everything seems to be working. However, I keep getting this error on my /logs page:

(facebook) Authentication failure! no_authorization_code: OmniAuth::Strategies::Facebook::NoAuthorizationCodeError, must pass either a `code` (via URL or by an `fbsr_XXX` signed request cookie)

Does anyone have any thoughts as to what is causing this?

Posts: 1

Participants: 1

Read full topic

Mobile (only) latest count same as new count

$
0
0

@pmusaraj wrote:

Is this a bug or a feature? On the mobile view, the list controls dropdown has consistently the same count for Latest and New.

To reproduce, load a site (even meta) in desktop and also in mobile, with the same account. Desktop will show "Latest" and "New (xx)", whereas mobile will show "Latest (xx)" and "New (xx)", and in mobile the counts will always be the same for the two.

Hopefully this is clear...

Posts: 2

Participants: 2

Read full topic

Installing a plugin twice

$
0
0

@laserson wrote:

I would like to install this Slack plugin twice on one Discourse instance so that posts get pushed to two different Slack teams. I'm not very familiar with Ruby or Rails. In theory, if all the identifiers are namespaced, I would imagine there should be no problems in accomplishing this. I clone the plugin repo into two different directories in the plugin/ directory and for each plugin.rb file I change the name to be something unique. But it seems that there are some other things that may need to be globally unique and I'm not sure what they are. Thanks!

Uri

Posts: 7

Participants: 4

Read full topic

Emails initially skipped later sent

$
0
0

@ItsGhost wrote:

Skipping emails because a user has recently been online is great, but in our testing we've just noticed that there could be something the user doesn't notice because they have only just closed the window.
This may already exist but I could find how to reproduce, but waiting till the timeout then checking again would be a very nice feature indeed.

Posts: 1

Participants: 1

Read full topic

Viewing all 60653 articles
Browse latest View live




Latest Images