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

Rebake all posts?

0
0

@bekircem wrote:

I’ve installed spoiler alert plugin. It works correctly. But old post doesn’t work spoiler tag.

“If you change this, you must rebake all posts with: “rake posts:rebake”.”

How can do that?

When i ./launcher enter app

rake is not installed!

I’ve 300k post. Even if I did, the process may take a long time. Is there a way to do it in a short way?

Posts: 9

Participants: 3

Read full topic


Upgrade Discourse's droplet on Digital Ocean

0
0

@bekircem wrote:

Hi,

I am using Discourse with Digital Ocean’s 1GB droplet. I want to upgrade that 2GB droplet. If i power off droplet and after upgrade 2gb droplet and power on again it works? Do I have to take another action?

Posts: 4

Participants: 3

Read full topic

Noob questions (polls, youtube and plugins)

0
0

@Bblue wrote:

Hi, I’m new here and I would like know some things.

a) are polls included in the core or I they require a plugin?
b) to show videos from youtube do I need a plugin?
c) how works Assignment plugin?
d) what plugins are you using here (meta discourse)?
e) can I disable email notifications for all users by default?

:roll_eyes:

Posts: 4

Participants: 3

Read full topic

About trust level?

0
0

@bekircem wrote:

Hi,

As I said before i’ve import my forum Mybb to Discourse. My all users imported. I’ve problem with users trust levels. My old users is can’t trusted, so they do not have normal member authorizations. How do I set it up for users in mass?

Posts: 9

Participants: 4

Read full topic

Returning Topic User avatar template with RSS feed

0
0

@Simon_Cossar wrote:

Could topic.user.avatar_template be returned with the latest and top RSS feed? It’s possible to get it with a API call, but it’s an expensive query if you’re looping through multiple items. There might be a more standard way of doing it, but this seems to work:

// list.rss.erb
// ...
        <% avatar_template = topic.user ? topic.user.avatar_template : "" %>
        <item>
          <title><%= topic.title %></title>
          <dc:creator><![CDATA[<%= "@#{username}#{" #{name}" if (name.present? && SiteSetting.enable_names?)}" -%>]]></dc:creator>
          <dc:avatar_template><%= "#{avatar_template}" -%></dc:avatar_template>

I’m turning the RSS feed into something like this:

Posts: 1

Participants: 1

Read full topic

Logs -> Watched Words

0
0

@RobMeade wrote:

Hi,

I’m not sure if what I am experiencing is intended behaviour or not, so I thought I would ask.

I have today added some words to watch for, profanity etc.

I have tread gently initially and just set Discourse to Flag the posts as inappropriate rather than take any action. This evening one post triggered this and I took a look - working really nicely.

I then searched the entire forum for some various words and found some posts which contained them. I edited the posts, replacing the word with asterisks. Having done this on about 4 posts I noticed that I now had four new flags!

It would seem that the version history of the post, which still contains the original word, is triggering a flag to be raised. When you view it you of course only see the most recent version and thus it isn’t clear as to why the post is deemed inappropriate.

Even as an Admin I am unable to edit previous versions of a post (as far as I know), so I don’t think there is a manual way to avoid this issue.

Any thoughts from those of you that work on / know the system much better than I?

Posts: 1

Participants: 1

Read full topic

[PAID-job] Redirect urls

0
0

@bekircem wrote:

What would you like done?
I’ve imported my Mybb forum to Discourse. It works now. I want to redirect old topic urls to new.

My Mybb forums link structure is different from Discourse. I want to redirect all topics to news.
Mybb thread structure: site.com/thread-title.html or site.com/thread-title-id.html

When do you need it done?
The sooner the better. Max 1 week. :slight_smile:

What is your budget, in $ USD that you can offer for this task?
I can divide the budget 50$ for that job. I can get your other offers.

My other needs (apart from this job, i can get offer)

  • I want to remove tags on the post like [color], [font] or something like these tags.

Posts: 2

Participants: 1

Read full topic

Export list specific badges


Fast User Switcher for Developers (discourse-dev-login)

0
0

@David_Taylor wrote:

When developing Discourse, I often find it’s useful to switch between user accounts. My general workflow currently looks something like this:

  • Open incognito window
  • Login using the admin account credentials that I remember (most of the time)
  • Hamburger
  • Admin
  • Users
  • Pick a user
  • Impersonate

If I want to change to another user, or inevitably close the incognito window by accident, I repeat that process again. Gets tedious very quickly.

When experimenting with various chat systems for discourse-chat-integration, I installed the development version of Zulip. I really liked the way they handle authentication when running in development mode: you just click a username and you’re in!

So, stealing that concept, this plugin replicates that functionality in Discourse. It adds a box to the footer, containing a list of every user (max. 50) on your development instance. All you do to login is click the username :tada:. The implementation is identical to the admin “impersonate” feature, but without all the safety features.

The footer is visible on every page, so you can switch users without even logging out!

52

The repository is available at https://github.com/davidtaylorhq/discourse-dev-login

Posts: 3

Participants: 2

Read full topic

Conditions for granting badge

0
0

@luiz_heiras08 wrote:

hi,

what SQL should I use to put conditions on my badge.

in case I want to:

the badge will be awarded if the person posts a video and in the text have the hashtag
#desafiodaaction1

Posts: 2

Participants: 2

Read full topic

Discours + Direct Admin (VPS)

0
0

@Tumi wrote:

Hi guys !

Can i install discourse next to the Direct Admin ? I dont want to create bug or somethink ? Should i change Port for somethink ? If yes how should i do it ? Just only set domain on www.mydomain.com:1234 (every availble port)

For information i can use ssh :wink:

regards,
sorry for my bad english

Posts: 1

Participants: 1

Read full topic

304 response logged in as admin trying to access admin url

0
0

@Jen_Lijo wrote:

Hi,

In dev mode, I’m trying to access a url in the browser that’s only visible for admins. I’m getting a Oops! That page doesn’t exist or is private. in the frontend, even tho I am logged in as an admin. The logs are throwing a 304 response. I’m not familiar with Ember so I can’t debug if the issue is there. Can someone give me a hand with this please?

This is the code related to it:

Controller :

class DownloadersController < Admin::AdminController
  requires_plugin 'discourse-sync-to-googledrive'

  def index
    google_list = DiscourseDownloadFromDrive::DriveDownloader.new(nil).json_list
    render json: google_list
  end

end

Route:

get "/admin/plugins/discourse-sync-to-googledrive/downloader" => "downloaders#index"

Ember route map:

export default { resource: 'admin.adminPlugins', map() { this.route('discourse-sync-to-googledrive', { resetNamespace: true }, function() { this.route('downloader'); }); } };

Ember route:

import { ajax } from 'discourse/lib/ajax';

export default Ember.Route.extend({
  model() {
    return ajax("/admin/plugins/discourse-sync-to-googledrive/downloader.json");
  }
});

LOGS:

I, [2017-09-05T09:04:43.699690 #10845]  INFO -- : Started GET "/extra-locales/admin" for ::1 at 2017-09-05 09:04:43 +0200
D, [2017-09-05T09:04:43.705422 #10845] DEBUG -- :   UserOption Load (2.7ms)  SELECT  "user_options".* FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1  [["user_id", 1]]
D, [2017-09-05T09:04:43.732613 #10845] DEBUG -- :   UserOption Load (3.6ms)  SELECT  "user_options".* FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1  [["user_id", 1]]
D, [2017-09-05T09:04:43.742188 #10845] DEBUG -- :   UserOption Load (1.2ms)  SELECT  "user_options".* FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1  [["user_id", 1]]
D, [2017-09-05T09:04:43.806084 #10845] DEBUG -- :   Theme Load (1.2ms)  SELECT  "themes".* FROM "themes" WHERE "themes"."color_scheme_id" IS NULL LIMIT 1
D, [2017-09-05T09:04:43.817138 #10845] DEBUG -- :   Theme Load (4.2ms)  SELECT  "themes".* FROM "themes" WHERE "themes"."id" = 2 LIMIT 1  [["id", "2"]]
D, [2017-09-05T09:04:43.825475 #10845] DEBUG -- :   Theme Load (1.9ms)  SELECT  "themes".* FROM "themes" WHERE "themes"."color_scheme_id" IS NULL LIMIT 1
D, [2017-09-05T09:04:43.835408 #10845] DEBUG -- :    (2.4ms)  SELECT "stylesheet_cache"."created_at" FROM "stylesheet_cache" WHERE "stylesheet_cache"."target" = 'admin' AND "stylesheet_cache"."digest" = '8832c23fd65ae3bec4b4a5540dbc9819579e1d4d'  [["target", "admin"], ["digest", "8832c23fd65ae3bec4b4a5540dbc9819579e1d4d"]]
D, [2017-09-05T09:04:43.841650 #10845] DEBUG -- :    (1.5ms)  SELECT "stylesheet_cache"."created_at" FROM "stylesheet_cache" WHERE "stylesheet_cache"."target" = 'desktop_theme_2' AND "stylesheet_cache"."digest" = 'e8ca894d8cb2d1e4fba20190e83be3da2fd6751b'  [["target", "desktop_theme_2"], ["digest", "e8ca894d8cb2d1e4fba20190e83be3da2fd6751b"]]
I, [2017-09-05T09:04:43.907198 #10845]  INFO -- :   Rendered text template (0.0ms)
I, [2017-09-05T09:04:43.924108 #10845]  INFO -- : Processing by ExtraLocalesController#show as */*
I, [2017-09-05T09:04:43.926601 #10845]  INFO -- :   Rendered text template (0.0ms)
D, [2017-09-05T09:04:43.940254 #10845] DEBUG -- :    (1.2ms)  SELECT "stylesheet_cache"."created_at" FROM "stylesheet_cache" WHERE "stylesheet_cache"."target" = 'desktop' AND "stylesheet_cache"."digest" = '8832c23fd65ae3bec4b4a5540dbc9819579e1d4d'  [["target", "desktop"], ["digest", "8832c23fd65ae3bec4b4a5540dbc9819579e1d4d"]]
I, [2017-09-05T09:04:43.942487 #10845]  INFO -- : Completed 304 Not Modified in 342ms (Views: 37.9ms | ActiveRecord: 9.4ms)
I, [2017-09-05T09:04:43.948467 #10845]  INFO -- : Completed 304 Not Modified in 318ms (Views: 19.3ms | ActiveRecord: 12.4ms)
I, [2017-09-05T09:04:43.960358 #10845]  INFO -- :   Parameters: {"bundle"=>"admin"}
I, [2017-09-05T09:04:43.969817 #10845]  INFO -- :   Rendered text template (0.0ms)
I, [2017-09-05T09:04:43.987751 #10845]  INFO -- : Completed 304 Not Modified in 412ms (Views: 15.9ms | ActiveRecord: 19.9ms)
D, [2017-09-05T09:04:43.990724 #10845] DEBUG -- :   UserAuthToken Load (6.1ms)  SELECT  "user_auth_tokens".* FROM "user_auth_tokens" WHERE ((auth_token = '3SDv/Ct6bIs8u9lMYzFAlZjNFVw=' OR
                          prev_auth_token = '3SDv/Ct6bIs8u9lMYzFAlZjNFVw=' OR
                          (auth_token = '13dfae79b07173902c8e7995d438676c' AND legacy)) AND rotated_at > '2017-07-07 07:04:43.983681') LIMIT 1
D, [2017-09-05T09:04:44.025991 #10845] DEBUG -- :   User Load (10.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  [["id", 1]]
D, [2017-09-05T09:04:44.040488 #10845] DEBUG -- :   UserOption Load (1.9ms)  SELECT  "user_options".* FROM "user_options" WHERE "user_options"."user_id" = 1 LIMIT 1  [["user_id", 1]]
I, [2017-09-05T09:04:44.113604 #10845]  INFO -- :   Rendered text template (0.0ms)
I, [2017-09-05T09:04:44.119780 #10845]  INFO -- : Completed 200 OK in 138ms (Views: 4.5ms | ActiveRecord: 27.6ms)

Posts: 1

Participants: 1

Read full topic

Facing problem during installation of Discourse on Centos6.9 VPS

0
0

@burningman wrote:

Hey everyone, I need a little help in installing discourse on my VPS.

I tried these two articles

Install Discourse on CentOS 7 - Vultr.com
How To Install Discourse on a CentOS 6.4 x64 VPS | DigitalOcean

But I failed everytime. I am trying to install it from last 3 days and every time a new problem comes up.
Links, I mentioned above may be works perfectly and it’s going very hard for me on VPS.
On my server, I have 3 domains and I want to install “discourse” with one of my domain means forum.example.com.
Currently facing problem on three place. See screenshot


Also after putting command “nano containers/app.yml” for edit this file, There is no place where I can edit this file.

Docker is installed and I failed in staring this.
Command I found for this are
systemctl start docker
systemctl enable docker
But these commands are not working. it says command not found
Every help really appreciated

Posts: 1

Participants: 1

Read full topic

Cant install Advertising Plugin for Discourse

0
0

@trangchongcheng schrieb:

I install Advertising Plugin follow the instructions GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum

But plugin not add Discourse.
This is my app.yml file.

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-adplugin.git

Please help me.Tks!

Beiträge: 6

Teilnehmer: 2

Lese das vollständige Thema

Reply to tab Wrong behaviour in Persian forum


Can't change "default locale"

0
0

@erlend_sh schrieb:

Changing the default locale setting currently does nothing, as it does not save. Tested on Meta and Try.

  • Change language
  • Hit save
  • Refresh page: Language is still English (or, I’m assuming, whatever was the default language before this regression)

Edit: hmmm, seems it’s not quite as simple as I described it because language got changed on Meta now, but in settings it says it’s still English… I can change it to any language except English, because the interface insists that this is the current language in use.

Beiträge: 4

Teilnehmer: 3

Lese das vollständige Thema

Direct link to anonymous profile setting

Tagging rights for specific users?

0
0

@Sujan wrote:

Is it possible to give normal users the rights to tag (change and add) topics?

Posts: 4

Participants: 2

Read full topic

Sso redirect after account activation

0
0

@Andrey_Veryovkin wrote:

I use discourse as SSO provider
After sign up and account activation no redirect to my site
How I can implement redirect from discourse to my site after account activation

Posts: 1

Participants: 1

Read full topic

Standard language here non english!

Viewing all 60279 articles
Browse latest View live




Latest Images