Post Ad troubles
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=31473
Printed Date: 29 March 2026 at 10:55pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Post Ad troubles
Posted By: Sanne
Subject: Post Ad troubles
Date Posted: 20 April 2017 at 4:12pm
Hello!
I've added a script to my forum that shows rotating banners in the header. When I wanted to get these rotating ads to show in the ad space between the first and second post of forum topics, they wouldn't show up.
I used this code: https://gist.github.com/danielhaim1/e1012f6cf3aaffd2b9cc and pasting
| <layer id="placeholderlayer"></layer> |
<div id="placeholderdiv"></div>
in the Custom Header text box worked fine. When I added the same code to the text box for Post Ads it didn't work. Any idea why?
Thanks for any help!
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 21 April 2017 at 7:25am
Do you not also need to include the javascript in the custom header for the place holders to work?
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: Sanne
Date Posted: 21 April 2017 at 8:10am
I put the javascript code in the /includes/header.asp so it would be added in the <head> of every page. The place holders work in the custom header field, but not in the post ad field. I tried adding the javascript code to the post ad field as well as the place holder code but that didn't work either..
|
Posted By: WebWiz-Bruce
Date Posted: 21 April 2017 at 2:30pm
Javascript can be placed within the head of the page using the custom headers within the admin area of the forum.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: Sanne
Date Posted: 24 April 2017 at 9:01am
Ok, but the javascript code works fine for me for the custom header. I have the rotating banners on top of every page. The problem is the ad space between the first and second posts in forum topics. When I paste the placeholders in that text field, it doesn't work. And I don't really understand why the code would work in one place, but not in another. Any ideas?
|
|