anyone know how to add flash / swf banners in the "normal" spot here? I use this theme fisubsilversh and a few others like this theme on phpnuke 7.7.
Is there a simple fix? I use ibdeeming advertising modules and the blocks work fine for flash. It would be nice to be able to upload a swf to my banner folder, select normal and it runs. Any help would be greatly appreciated.
Chris
astalavistabd Captain
Joined: Dec 19, 2004
Posts: 663
Location: Canada
Posted:
Mon Mar 20, 2006 1:35 pm
If your flash ad works fine for the Ads block it should work with your header banner too. I would suggest you to use some mod/hack like the one you are using right now.
Try this one if the current one does not work for you:
hey thanks asta... I did finially find the fix. I need to replace some lines in my theme.php
For the ibdeeming mod here it is.
Code:
How do I fix a Theme that doesn't show the FLASH banners?
Most themes follow the standard required by PHPNuke to incllude the banners.php file where you want to see your banner displayed. There are a few out there that actually have the logic imbedded. As long as you aren't skiddish about making edit changes to your php files - than proceed on!
As stated, you will typically find within your themeheader function in the theme.php file something like
if ($banners) {
include("banners.php");
echo "<br>";
}
If this is your case, you chouldn't have to do anything else. More than likely, you have a lot more code between the "if" and the end curly brace!
Here's where it may get tricky, but you want to find code that looks something like
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum