PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
monejim
New Member
New Member


Joined: Dec 13, 2006
Posts: 1

PostPosted: Wed Dec 13, 2006 3:02 am Reply with quote Back to top

I'm trying to use nsn banner ads to use also flash banner on my website.
I would put flash banner in different size than the file click_v.swf 120x600 , for example 120x180.
if i put the banner using the admin control panel i see the banner but is smaller then the orginal one, something don't work.
I think the only solution is change the click_v.swf file or create another one with different size (the exact size that i need), right?
but the problem is that there isn't the source file .fla.
Someone can help me?
View user's profile Send private message
BobMarion
Site Admin


Joined: Oct 30, 2002
Posts: 1039
Location: RedNeck Land (known as Kentucky)

PostPosted: Sat Dec 16, 2006 11:03 pm Reply with quote Back to top

There are a couple of things you can do. One is to create a holder .swf in the correct size so the clicks get counted or do the following:
find in your babannersX.php files:
Code:
    $babannersX  = "\n\n<ob-ject classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width='".$bidinfo['width']."' height='".$bidinfo['height']."'>";
    $babannersX .= "\n<param name=movie value='images/banners/clicksba_h.swf'>";
    $babannersX .= "\n<param name=quality value=high>";
    $babannersX .= "\n<param name=FlashVars value='imageurl=".$bidinfo['imageurl']."&bid=$bannum'>";
    $babannersX .= "\n<embed src='images/banners/clicksba_h.swf?imageurl=".$bidinfo['imageurl']."&bid=$bannum' quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width='".$bidinfo['width']."' height='".$bidinfo['height']."'>";
    $babannersX .= "\n</embed> ";
    $babannersX .= "\n</ob-ject>\n\n";


Change to:
Code:
    $babannersX  = "\n\n<ob-ject classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width='".$bidinfo['width']."' height='".$bidinfo['height']."'>";
    $babannersX .= "\n<param name=movie value='".$bidinfo['imageurl']."'>";
    $babannersX .= "\n<param name=quality value=high>";
    $babannersX .= "\n<embed src='".$bidinfo['imageurl']."' quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width='".$bidinfo['width']."' height='".$bidinfo['height']."'>";
    $babannersX .= "\n</embed> ";
    $babannersX .= "\n</ob-ject>\n\n";


This will not count the clicks on the flash banner but you won't have display size problems either. Also take the - out of ob-ject , had to add that so it would post Smile
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum