Help with putting my adds on my forum..

Status
Not open for further replies.

Holic

New Member
Messages
74
Reaction score
0
Points
0
First off, thanks for the hosting. It's top notch! :biggrin:

Currently, I just have my forums up, and I'm having trouble getting the little add up. How do I add it to at the bottom of my page? If an admin/mod could help, or do it for me I would greatly appreciate it.

Thanks again
 

Holic

New Member
Messages
74
Reaction score
0
Points
0
Thanks for the links, I'll give it a go when I get home from work.
 

Holic

New Member
Messages
74
Reaction score
0
Points
0
I'm using phpBB, and I see nothing on here about how to add my ad to my forums. Could I can some help please?
 

Holic

New Member
Messages
74
Reaction score
0
Points
0
Chris said:
Again, a simple forum search would bring you to Placing the Ads in Various Pages or even a simple look in the tutorials section as it is a sticky.

If you have any further problems, feel free to ask.

Yeah, I search around and read that. But I'm still a little puzzled on exactly where it should go. I'm fine with webpages, but forums are another story. :confused:
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
I find the best place is in the overall header of the template you are using
 

Holic

New Member
Messages
74
Reaction score
0
Points
0
Alright..here are the possible files for me to use.

simple_header.tpl
overall_header.tpl

And which of the following 2 codes do I use?

<?php include("http://www.r0fl.info/adcode.php?id=advanced"); ?>

or

<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random); document.write ("&amp;what=zone:2&amp;target=_blank"); document.write ("&amp;exclude=" + document.phpAds_used); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a4f0eec1' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:2&amp;n=a4f0eec1' border='0' alt=''></a></noscript>
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
overall_header.tpl is the one to use

Unless you are using the xsmod you can use php code in phpbb templates

so you need to use the second one
 

Holic

New Member
Messages
74
Reaction score
0
Points
0
Alright Seeker, thanks for the advice. I appreciate it, any thought on where the best place would be for the code?
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
if you can between the title and the phpbb logo would be a good place
 

Holic

New Member
Messages
74
Reaction score
0
Points
0
This is becoming a pain, but no matter where I place the code in my forum's head, it never works.

I've got the codes on my sites, all pages. But they don't always appear. They'll be there one click, and when I go back, they're gone. Then they'll re-appear after a refresh or two.

Any idea what I could be doing wrong?
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
I think it is caused by a missing image on the ad server
 

Holic

New Member
Messages
74
Reaction score
0
Points
0
If that's the case, I'm really having a hard time telling if the ad is on my forum or not. I just want to get the ad there so my site doesn't get terminated/suspended/closed. Maybe an admin/mod could post something official as to if theres an ad missing on the server or something..
 

Chris

New Member
Messages
1,538
Reaction score
0
Points
0
Are you using the code from http://x10hosting.com/ads.php?

Is it all formatted EXACTLY how it is on the ad page? If it's all on one line, it will not work.

As for the problems you had with it appearing. I'm not sure exactly what the problem is, but it is normal for it to not be there every once and a while. Now if it does it a ton, then I'm not sure. But every 10 times or so, it will disappear.
 
Status
Not open for further replies.
Top