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، اختفى مكون إضافي لأزرار التداول. لا يزال موجودًا في ملف app.yml، لكن لا توجد أي أثر له في واجهة مستخدم Discourse “العادية” ولا في واجهة مستخدم الإدارة لموقعنا. في الواقع، اختفت الفئة بالكامل التي كانت مخصصة لاستخدامها مع المكون الإضافي من واجهة المستخدم.
هل لديك أي أفكار حول سبب ذلك، وما الذي يمكن فعله لإعادة الفئة والمكون الإضافي معًا؟
شكرًا لك!
Gunnar
مرحبًا! هل جربت تعطيل ثم تفعيل الإضافة (مع إعادة تشغيل في المنتصف)؟ هل تستخدم أي إضافات أخرى؟ هل اختفت تلك الإضافة أيضًا؟
هل تقصد إعادة تشغيل حاوية Discourse أم إعادة بناء Discourse؟
لدينا بعض الإضافات الأخرى، ويبدو أنها تعمل جميعها بشكل صحيح.
شكرًا لك!
كنت أقصد إعادة تشغيل Discourse فقط، وليس إعادة البناء. إذا لم يساعد ذلك، فسأبحث في الأمر… مع ذلك، إنه إصدار تجريبي ![]()
على أي حال… لم أجرب هذا الإصدار من Discourse بنفسي… سألقي نظرة عليه.
سأحاول إعادة التشغيل وأبلغك بما يحدث. شكرًا لك!
لا أملك حاوية Docker تحتوي على الإصدار v2.4.0.beta8… لكنني قمتُ بتحويل نسختي المطوّر إلى تلك النسخة التجريبية وعمل كل شيء بشكل صحيح. ظلت فئة المبيعات موجودة، وكذلك المواضيع التي تحتوي على أزرار التداول. هل أنت متأكد من أنك لم تخفِ الفئة عن طريق الخطأ؟ ربما أزلتها فقط من الصفحة الرئيسية أو من داخل فئة أخرى. أو ربما لون النص مطابق للون الخلفية؟ :slight_smile> آسف… نكت سيئة.
بصراحة، لا أعرف كيف يمكن أن تختفي الإضافة أو الفئة. ربما يكون لدى أحد مطوري Discourse أفكار؟ هل يمكن لمشكلة في الإضافة أن تخفي الفئة بأكملها؟
@Gunnar، هل لديك أي شيء في سجلات Discourse يشكو من discourse-topic-trade-buttons أو شيء مشابه؟
