Jump to content

Recommended Posts

Posted

On my hardware review site all the hardware i get to review is in exchange for banners on my site, i have the main site banners set up and am pretty happy with how it works, but what i'm wanting to do is add 1 rotating banner section on my forums at http://forum.x-trememodz.com

 

adding banners and stuff is easy in the entropy banner section, but it says to add this code

<!--#exec cmd="cgi-bin/entropybanner.cgi"-->

 

to the .shtml page that you want the banners to apear on, well I'm using a php forum so am i right in assuming i cant use entropy banner on my forums?

 

I downloded this php banner app last night and installed it with no problems

http://www.phpadsnew.com/one/ it has WAY more features than what you would expect from a free app but I'm still unsure how to implement the banner rotation.

 

All i need is a simple way to have a rotation of about 20 banners on my forums main page, any info/help or suggestions will be greatly appreciated!!

Posted

I am not an expert here, and it would be a good idea to wait until one haps along, but I believe that you would put that in the overall_header.tpl of the yoursite.com/public_html/forum/templates/subsilver/directory (assuming you went with the standard forum install and haven't installed any additional themes for your users.

 

But again, might want to double check on this, and don't forget to make a backup (copy as overall_header.bak) of the file first!

 

Good Luck,

 

Bill McCord

www.greatfolios.com

Posted

thats what I tried first, and it didnt work. I have been playing around with phpadsnew and have finally gotten it to display the banner on my forum, now i just cant figure out how to center it. I've tried the <center> HTML tag but that doesnt work. heres what the code looks like in my header file.

 

<script language='JavaScript' type='text/javascript'>

<!--

  if (!document.phpAds_used) document.phpAds_used = ',';

  document.write ("<" + "script language='JavaScript' type='text/javascript' src='");

  document.write ("http://www.x-trememodz.com/forum/phpadds/adjs.php?n=a554fcbb");

  document.write ("&what=zone:1&source=forum+index&target=_blank");

  document.write ("&exclude=" + document.phpAds_used);

  if (document.referer)

      document.write ("&referer=" + escape(document.referer));

  document.write ("'><" + "/script>");

//-->

</script><noscript><a href='http://www.x-trememodz.com/forum/phpadds/adclick.php?n=a554fcbb' target='_blank'><img src='http://www.x-trememodz.com/forum/phpadds/adview.php?what=zone:1&source=forum+index&n=a554fcbb' border='0' alt=''></a></noscript>

 

if someone can tell me how to get that to center the banner I'll be a happy camper.

heres what it looks like now http://forum.x-trememodz.com

Posted

This should do the trick:

 

><div align="center">
<script language='JavaScript' type='text/javascript'>
<!--
 if (!document.phpAds_used) document.phpAds_used = ',';
 document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
 document.write ("http://www.x-trememodz.com/forum/phpadds/adjs.php?n=a554fcbb");
 document.write ("&what=zone:1&source=forum+index&target=_blank");
 document.write ("&exclude=" + document.phpAds_used);
 if (document.referer)
     document.write ("&referer=" + escape(document.referer));
 document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.x-trememodz.com/forum/phpadds/adclick.php?n=a554fcbb' target='_blank'><img src='http://www.x-trememodz.com/forum/phpadds/adview.php?what=zone:1&source=forum+index&n=a554fcbb' border='0' alt=''></a></noscript>
</div>

 

Note: just added the first and last lines.

Posted

Not the subsilver skin! looks good though! (how is the sponsor thing working out for you? (you can reply via pm if you don't want to air over forum.)

 

 

Thanks,

 

Mr. Bill

  • 2 weeks later...
Posted

Now I am curious

 

can we not use entropy banner in our phpbb forum?

 

><!--#exec cmd="cgi-bin/entropybanner.cgi"-->

 

This by its self doesn't work (I also don't know php)

 

Thanks

Mr. BIll

 

Head Bash

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...