Can you make a pull request? You should add client and server files under config/locales.
Thank you @j_assuncao for the Portugese translation and GitHub user przemyslawwilde for the Polish translation (don’t know your Meta username
)
Hi, I can’t get seem to get this plugin to work. I’ve followed the instructions, installed it and enabled it, and turned the Sold etc. buttons on for a new “Classifieds” category. However, I can’t see the buttons anywhere when I create a new topic. New topics display with no buttons.
We’re using Discourse 2.2.0.beta9+29. discourse-topic-trade-buttons 3157f19.
Have you tried to restart the app after enabling the plugin and after enabling category buttons?
You mean restart Discourse? No, but I’ll give that a try and report back. Thanks!
Yup, that did it. Thanks again!
How can we add more buttons? Our classified category have a deal section . We want a expired button when a deal is no longer available.
There’s no way to add buttons dynamically. As you can read from plugin descriptions, trading buttons will archive the topic and people can no longer edit or comment. Also prefix (e.g “[SOLD]” or “[CANCELLED]”) is also a good indicator that topic is no longer valid.
I’m curious… who will push that button? What is the nature of “deal section”? What are “deals” exactly?
Example : A store can be selling a product at a reduced price for a limited time so any user can copy the link to the product on our Deals category on our discourse forum . When the deal expire a simple Expired button would archive the topic and add Expired in front of the title .
I’m confused, what does that have to do with a plugin that’s aimed at members trading between themselves?
You’re talking about promoting links and maybe discount codes. Discourse already supports sharing links (title field) and tags could be used to indicate when a post is not longer relevant.
A plugin can have a specific job but that doesn’t mean that’s the only job it can do. Anyway I modified the code,this is what I wanted :
Thank you @Janno_Liivak for the plugin .
It seems that you just wanted to use a general term … expired is just sold and cancelled put together. In my forum it was kind of important to know if person sold or just cancelled (gives a little bit more information to potential buyers… and more information to moderators, as all trading topics were moved under the archieve category where only market-moderators could still see them). But if modified project fits you needs… you ‘re welcome ![]()
価格を入力しますか?価格検索メニューはありますか?ありがとうございます。
こんにちは!価格の挿入や、価格での検索・フィルタリングは、このプラグンの機能ではありません。申し訳ありません。
こんにちは @Janno_Liivak さん、
Discourse 2.4.0.beta8 へのアップグレード後、Trading Buttons プラグインが消失しました。app.yml にはまだ記載されていますが、通常の Discourse UI でも当サイトの管理 UI でも、その痕跡は一切見当たりません。実際、プラグイン用に割り当てられていたカテゴリ全体も UI から消えています。
なぜこのようなことが起こるのか、またカテゴリとプラグインの両方を復元するにはどうすればよいのか、ご存知でしたら教えてください。
よろしくお願いいたします、
Gunnar
こんにちは!プラグインを無効化して再度有効化しましたか(その間に再起動を挟んで)?他のプラグインも使用していますか?それらのプラグインも消えてしまいましたか?
Discourse コンテナを再起動することと、Discourse を再構築することのどちらをおっしゃっていますか?
他のプラグインもいくつかありますが、それらはすべて正常に動作しているようです。
ありがとうございます!
Discourse を再起動するつもりが、再ビルドしてしまいました。それでも解決しなければ詳しく調べます…でも、これはベータビルドなのでね ![]()
とにかく…私はこのバージョンの Discourse をまだ試していないので、見てみます。
再起動を試みて、結果をお知らせします。ありがとうございます!
v2.4.0.beta8 が入った Docker コンテナは持っていないのですが、開発者用バージョンをそのベータ版に切り替えたところ、すべて正常に動作しました。販売カテゴリも残っており、取引ボタン付きのトピックもそのままありました。もしかしたら、カテゴリをうっかり非表示にしてしまったのではないでしょうか?メインページから削除したか、あるいは別のカテゴリの中に移動させてしまったのかもしれません。あるいは、文字色が背景色と同じになっていて見えていない可能性もありますね:slight_smile ごめんなさい、悪い冗談でした。
プラグインやカテゴリがどうして消えてしまったのか、正直なところわかりません。Discourse の開発チームの誰かに何かアイデアはないでしょうか?プラグインの問題でカテゴリ全体が隠れることはあるのでしょうか?
@Gunnar さん、Discourse のログに discourse-topic-trade-buttons 関連のエラーや警告のようなものは出ていませんか?
