Asgaros Forum v1.12: Ads Management & Other Improvements
Quote from stevew00t on December 4, 2018, 9:06 pmThank you. I get it about the frequency.
I deleted this line:
$(‘#ad-editor textarea[name=ad_code]‘).html(ad_code);
and added this line:
$(‘#ad-editor textarea[name=ad_code]‘).text(ad_code);
There was no changelog section in my version of the file /wp-content/plugins/asgaros-forum/admin/js/admin.js
It doesn’t seem to have made any difference. I do see a broken image symbol.
If I right click on the broken image I get a fresh page that has a funky address:
https://sidecar.com/forum/sidecar.com/usca_ads/large/escstep.jpg/
If I get ride of the first bit through …/forum/ and the last “/” after jpg, then I see the image. I would just move my ad folder to the forum folder, but I don’t see how to do that. 🙂
Thanks again,
Thank you. I get it about the frequency.
I deleted this line:
$(‘#ad-editor textarea[name=ad_code]‘).html(ad_code);
and added this line:
$(‘#ad-editor textarea[name=ad_code]‘).text(ad_code);
There was no changelog section in my version of the file /wp-content/plugins/asgaros-forum/admin/js/admin.js
It doesn’t seem to have made any difference. I do see a broken image symbol.
If I right click on the broken image I get a fresh page that has a funky address:
https://sidecar.com/forum/sidecar.com/usca_ads/large/escstep.jpg/
If I get ride of the first bit through …/forum/ and the last “/” after jpg, then I see the image. I would just move my ad folder to the forum folder, but I don’t see how to do that. 🙂
Thanks again,
Quote from Asgaros on December 4, 2018, 9:25 pmHello @stevew00t
Please try the following code – you forgot the http/https-protocol in front of the URL:
<img src="https://sidecar.com/usca_ads/large/escstep.jpg">
Hello @stevew00t
Please try the following code – you forgot the http/https-protocol in front of the URL:
<img src="https://sidecar.com/usca_ads/large/escstep.jpg">
Quote from N3k0 on December 5, 2018, 8:47 pmQuote from Asgaros on December 4, 2018, 11:20 amHello again @stevew00t
With the ad-frequency you define how often an ad should appear. For example when you create an ad which should be displayed between posts with an ad-frequency of four, your ad will be shown after the 4, 8, 12, … post.
How your ad-code looks like depends on your ad-provider (for example adSense). It can be HTML-code, JavaScript-code, if you manage your ads via another WordPress-extension it also can be a shortcode. You get this information from your ad-provider. Just paste their code into the code-textfield.
@n3k0 I just fixed this problem in the development-version of the plugin. You can find the patch here:
https://github.com/Asgaros/asgaros-forum/commit/8ca99911f73fef98bb8ff1c04f41025bf2ea7035
Its just a little change in one line of code inside the /wp-content/plugins/asgaros-forum/admin/js/admin.js file around line ~211. It would be nice if you could check this fix and give me feedback if its working well for you.
Sorry for the late response, I make the changes and works perfect to me 🙂 the field no more goes to blank.
Cheers!
Quote from Asgaros on December 4, 2018, 11:20 amHello again @stevew00t
With the ad-frequency you define how often an ad should appear. For example when you create an ad which should be displayed between posts with an ad-frequency of four, your ad will be shown after the 4, 8, 12, … post.
How your ad-code looks like depends on your ad-provider (for example adSense). It can be HTML-code, JavaScript-code, if you manage your ads via another WordPress-extension it also can be a shortcode. You get this information from your ad-provider. Just paste their code into the code-textfield.
@n3k0 I just fixed this problem in the development-version of the plugin. You can find the patch here:
https://github.com/Asgaros/asgaros-forum/commit/8ca99911f73fef98bb8ff1c04f41025bf2ea7035
Its just a little change in one line of code inside the /wp-content/plugins/asgaros-forum/admin/js/admin.js file around line ~211. It would be nice if you could check this fix and give me feedback if its working well for you.
Sorry for the late response, I make the changes and works perfect to me 🙂 the field no more goes to blank.
Cheers!
Quote from Asgaros on December 5, 2018, 8:59 pmThanks for the feedback. I already bundled the new version which fixes this problem. It should be available via the updater in the next 12 hours. 🙂
Thanks for the feedback. I already bundled the new version which fixes this problem. It should be available via the updater in the next 12 hours. 🙂
Quote from v490 on February 18, 2019, 8:07 pmHallo zusammen,
kann mir jemand sagen, wo ich den Code von Adsense einfügen muss?
Wo soll das Formular sein?Danke für eure Antworten.
Gruß Robert
Hallo zusammen,
kann mir jemand sagen, wo ich den Code von Adsense einfügen muss?
Wo soll das Formular sein?
Danke für eure Antworten.
Gruß Robert
Quote from Asgaros on February 19, 2019, 6:53 pmHallo @v490
Wenn du “Enable Ads” in Forum -> Settings aktiviert hast (ziemlich weit unten), dann solltest du einen neuen Admin-Menüpunkt unter Forum -> Ads finden. Dort kannst du den Code für die verschiedenen Bereiche hinterlegen.
Hallo @v490
Wenn du “Enable Ads” in Forum -> Settings aktiviert hast (ziemlich weit unten), dann solltest du einen neuen Admin-Menüpunkt unter Forum -> Ads finden. Dort kannst du den Code für die verschiedenen Bereiche hinterlegen.
Quote from v490 on February 20, 2019, 8:59 pmQuote from Asgaros on February 19, 2019, 6:53 pmHallo @v490
Wenn du “Enable Ads” in Forum -> Settings aktiviert hast (ziemlich weit unten), dann solltest du einen neuen Admin-Menüpunkt unter Forum -> Ads finden. Dort kannst du den Code für die verschiedenen Bereiche hinterlegen.
Danke, hat prima funktioniert.
Quote from Asgaros on February 19, 2019, 6:53 pmHallo @v490
Wenn du “Enable Ads” in Forum -> Settings aktiviert hast (ziemlich weit unten), dann solltest du einen neuen Admin-Menüpunkt unter Forum -> Ads finden. Dort kannst du den Code für die verschiedenen Bereiche hinterlegen.
Danke, hat prima funktioniert.
Quote from joshjaks on May 22, 2020, 1:17 amQuick question about Google auto ads. If I check the header option and copy/paste my auto ads code into the code section, would that enable the auto ads within the forum posts?
I think that would work, but thought I’d verify before I start injecting code since I’m not super good at the code side.
Quick question about Google auto ads. If I check the header option and copy/paste my auto ads code into the code section, would that enable the auto ads within the forum posts?
I think that would work, but thought I’d verify before I start injecting code since I’m not super good at the code side.
Quote from Asgaros on May 28, 2020, 3:53 amHello @joshjaks
If you add the code to the header-section, then the add will appear in the top-area of all forum-pages.
Hello @joshjaks
If you add the code to the header-section, then the add will appear in the top-area of all forum-pages.