![]() |
You only need one set of them, not two. So just use this:
Code:
<script language='JavaScript' type='text/javascript' src='http://www.XXXXXXX.com/openads/adx.js'></script> |
Thanks for all your help, but this is not working at all.
So I thought I'd just try to keep the ads from feeding in to one specific forum entirely, but I haven't had any luck with that, either. Any suggestions? |
Code:
<script language='JavaScript' type='text/javascript' src='http://www.XXXXXXX.com/openads/adx.js'></script> |
I know it sounds nuts, and I really appreciate your help, but this doesn't work, either.
Boy, this is frustrating!!!!!! |
What happens? Have you replaced the XXXXXXX.com's?
|
Are you using "forums" as a general word, ski diva?
If you're trying to get this to show up in individual threads shouldn't "$thread[forumid]" be used then? Also, I've never even used "$foruminfo['forumid']" either.. I've only used "$forumid" or "$forum[forumid]".. I'm not saying "$foruminfo[forumid]" is wrong, but is there any actual benefit in using it over the shorthand, Dismounted? I also don't understand why single quotations are required in the code? (e.g. $foruminfo['forumid']). Also, speaking of the single quotations, I've noticed in the code ski diva has posted there are extra spaces in the conditional code ($foruminfo[SPACE'forumid'SPACE]). Not sure if this matters. Well, anyway.. I was just trying to offer up some possible reasons why the code isn't working. Also, if you were getting double ads on each page, I'd say you were copying the code twice? I don't think even vBulletin misunderstanding the conditional code could cause double ads in this situation. Although.. Dismounted is wayyyyyyyy smarter than me, so probably everything I've suggested is wrong. :) Anyway.. You haven't been very descriptive about where you're trying to use this code, so maybe just try $forumid == 11 or $thread[forumid] ==11 instead. |
Quote:
Quote:
|
Quote:
Now if the OP would respond so we (meaning you :p) can figure out what's going wrong. :D |
Okay, I'm here.
What I'm getting now is the ads that are linked to the second zone in the code are appearing in all cases -- that is, across all forums. This applies to the forum that I want to get its own ad, too without the others appearing (this is the first zone in the code). The ad that I want delivered to that zone specifically is not appearing at all. Weird, huh? BTW, Dismounted, I took your advice and only put in the block of code you gave me once; I guess I misunderstood when you said I needed multiple zones. I thought that meant I had to put in the code in for all the multiple zones. |
I use an iframe tag and invocation code to display ads on my word search puzzle pages.
First off, I'm not a coder by any stretch of the imagination and I don't know if what I did will work in your instance but it worked for me to rotate ads. I simply created a new html page, place the invocation code in it (generated by openads for javascript) and set a metatag refresh time in it. The ads are displayed in a page using an html iframe tag in that page to call the invocation code html page. The html page with the invocation code: 1)create new html page 2)place metatag for refresh near top. 3)place invocation code from openads below metatag for refreshing ads in iframe. 4)save it as: WhateverYouWantToNameYourFile.html Invocation code was the code generated by openads 2.0 for javascript. I simply copied that into a new HTML page and named it something. Above the invocation code I placed the metatag for refresh the invocation code and set a time in it. The metatag is: <META HTTP-EQUIV="refresh" CONTENT="60"> The 60 simply is the time in seconds. Also in the page with the invocation code, at the very top, I have: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> which works for me. Iframe tag: <iframe height="140" width="760" scrolling="no"frame frameborder="0" border="0px" src="WhateverYouWantToNameYourFile.html"></iframe> Be sure to include the quotes in this example. Above code for iframe to be placed in whatever page you want the adds to refresh or rotate. I added the height and width because I don't know how to have an iframe automatically fit an ad. I set scrolling to no to eliminate the scroll bars which appear in the iframe. The frameborder numbers are set to 0 so no border appears. You can see it in action here. All my word search puzzle pages have the iframe code I mentioned above so if you want to see other examples just choose one of the puzzles. The ads will refresh in 60 seconds without changing the puzzle. For the majority of ads on my forum board I use vb admanagement with openads. It works fairly straightforward. |
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|