إضافة لشبكة إعلانات ياندكس

Hi.
Is there any plugin to use Yandex Ad (https://partner2.yandex.ru) banners with Discourse (with auto disabling for trust users)?

Perhaps there is another way? The ads code doesn’t work (

تمكّنت من إضافة إعلانات من ياندكس. لكن الإعلانات تظهر فقط بعد تحديث صفحة الموقع (Ctrl + F5). لا تظهر الإعلانات تلقائيًا :frowning:

كيف تمكنت من ذلك؟ هل يمكنك مشاركة التفاصيل من فضلك؟

  1. لقد استخدمت GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum · GitHub. تحتاج إلى إنشاء إعلان خاص بك.
    تحتاج إلى إضافة كود من Yandex مثل:

<!-- Yandex.RTB R-A-******-* --> <div id="yandex_rtb_R-A-******-*"></div>

  1. وأضف الكود الكامل من Yandex إلى

  1. أضف إلى “content security policy script src” الكود https://mc.yandex.ru/metrika/tag.js

للأسف، يظهر الإعلان من Yandex فقط بعد تحديث صفحة الموقع (ctrl + f5). إذا تمكنت من حل هذه المشكلة، يرجى مشاركة الحل.

خطأ في التثبيت GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum