What would you like done?
I am looking for a developer that can help me with some different tasks over time:
- Extend this theme component (see repo)
- Debug the same theme component
- Check some errors in log
- Long-term help me maintain it
- Long-term retainer to help me with different Discourse-related tech questions
The purpose of the component (create div with specific ID and execute a JS-script to fill it)
The theme component extends functionality of the HouseAds-plugin by adding ad-spaces between posts. In simplest terms it:
-
Adds
<div id="rikatillsammans_desktop-panorama-1_X"></div>
between posts and keeps track of X so it increases with 1 for each interval. -
Executes the following javascript to fill the div with an ad:
<script>
lwhb.cmd.push(function () {
lwhb.loadAd({
tagId: "rikatillsammans_desktop-panorama-1_X"
});
});
</script>
</body>
See it in action here in a sandbox test:
Tasks
-
Add option in settings so I can decide if we should show / hide unfilled ad spaces. Now I think the code hides them? (Since googletag-console shows ad slots but they are not displayed between posts).
-
Try to figure out why sometimes it stops requesting new ads. See the additional info section.
-
Help me understand the code what is done where. Basically let me ask questions. I know how to code, but I haven’t worked with Discourse so I am not familar with structure etc.
-
See why there isn’t added an ad-space after the last post in topic.
-
Try to figure out why the 1x1-area doesn’t load.
Additional info
Google tag manager and ad spaces when it works
When one runs javascript:googletag.openConsole()
in console on a page and it works it looks like this:
No creative ID-error / no request made
and subsequent totally empty ad space
Possible error (not sure)
When do you need it done?
As soon as possible.
What is your budget, in $ USD that you can offer for this task?
Give me a suggestion of your hourly rate since I would like to retain you for future work as well.
I appreciate good communication which we can do through e.g. slack and if you can also communicate with my ad supplier, that is a great plus.