# Fix these adplugin issues for better user experience

**URL:** https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773
**Category:** Support
**Tags:** advertising
**Created:** [July 25, 2020, 12:18pm UTC](https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773 "2020-07-25T12:18:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![iamjdk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamjdk/32/94977_2.png) [@iamjdk](https://meta.discourse.org/u/iamjdk)
#### Post date: [July 25, 2020, 12:18pm UTC](https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773/1 "2020-07-25T12:18:06Z")

</div>

I have seen 2 issues in the discourse forum. one in the ad plugin settings and second in adplugin performance. Let’s me explain here.

### #1 adpplugin settings not working

When I visit setttings \>\> plugins and click on discourse-adplugin settings button, I see this this “no result found”

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/8/381ba97103766cf2869138dd6805201c6046daba.png)

You can fix this with showing all results. For this, please replace this url in plugin.

**Replace this**

`https://example.com/admin/site_settings/category/plugins?filter=plugin%3Adiscourse-adplugin`

**with this url.**

`https://example.com/admin/site_settings/category/all_results?filter=plugin%3Adiscourse-adplugin`

This is good for better user experience and no need to click on left navigation options.

### #2. Adplugin script loaded when not using plugin.

I see that when I have not used adplugin and have not placed any ads via this plugin, than why this plugin’s script loaded.

I see your other plugin and they have enable/disable option. Please add this setting in plugin otherwise stop script to load by default, it should be load only when plugin is used.

![image](https://global.discourse-cdn.com/meta/original/3X/6/3/6301eafadec3f2d00b20db7e9f40800e488dd9c9.png)

I hope you will take good action about it,

Thanks!

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 25, 2020, 12:51pm UTC](https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773/2 "2020-07-25T12:51:39Z")

</div>

@iamjdk Yes this is things we should fix, I will look at this.

---

<div class="post-metadata">

### Author: ![iamjdk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamjdk/32/94977_2.png) [@iamjdk](https://meta.discourse.org/u/iamjdk)
#### Post date: [July 25, 2020, 12:53pm UTC](https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773/4 "2020-07-25T12:53:19Z")

</div>

> [@j.jaffeux](#):
>
> I will look at this.

Thanks dear, it will be good for me and many other users. 😊

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 1, 2020, 3:32pm UTC](https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773/5 "2020-08-01T15:32:44Z")

</div>

> [@iamjdk](#):
>
> #1 adpplugin settings not working

@nbianca is working on a fix for this, most likely available next week or so.

> [@iamjdk](#):
>
> #2. Adplugin script loaded when not using plugin.

Will be fix by [FIX: defines an enabled\_site\_setting · discourse/discourse-adplugin@75fb2bf · GitHub](https://github.com/discourse/discourse-adplugin/commit/75fb2bf89229881afd713e8ce3016ff2999785ed)

Thanks for report.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [August 3, 2020, 11:12am UTC](https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773/6 "2020-08-03T11:12:51Z")

</div>

> [@iamjdk](#):
>
> #1 adpplugin settings not working

I submitted a fix [here](https://github.com/discourse/discourse/pull/10358).

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 5, 2020, 11:12am UTC](https://meta.discourse.org/t/fix-these-adplugin-issues-for-better-user-experience/158773/7 "2020-08-05T11:12:56Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
