renny Posted November 24, 2003 Posted November 24, 2003 I noticed that OSC Affiliates only support gif or jpg file. Is it possible for me to use Flash Banner with OSC Affiliates? My client wants Flash Banners only. Please help. Thanks, Renny Quote
jrwrestling Posted November 24, 2003 Posted November 24, 2003 It would require a few minor alterations in the affiliate_banner.php I believe. Quote
renny Posted November 24, 2003 Author Posted November 24, 2003 Hello, Thanks for the reply. Can you elaborate more in what should I do with the affiliate_banner.php file? Any help is very much appreciated. Thanks, Renny Quote
jrwrestling Posted November 24, 2003 Posted November 24, 2003 Renny, I'll look into it on my free time tonight, PM me to remind me and I'll post how to do it here. Quote
Sharad Posted December 2, 2003 Posted December 2, 2003 Dear Renny, I needed the same changes like you. Here goes - Changes to be made in - catalog/includes/footer.php 1. At the bottom look for the following and delete it: <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> 2. Just below that look for the following: <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> and replace with the following: <td align="center"><embed src='images/Movie.swf' type='application/x-shockwave-flash' width='650' height='75' border='0' palette='FOREGROUND'></td> change the name 'Movie.swf' to the name of your flash banner and the "width" and "height" as per the dimensions of your flash banner. This will work :) Sharad. Quote
Sharad Posted December 2, 2003 Posted December 2, 2003 Forgot this - upload your flash banner to catalag/images folder Quote
BarryLSalter Posted December 3, 2003 Posted December 3, 2003 (edited) I mean catalog/images What about the ending "}" ? When ever you deal with an "IF" statement, there is always an ending "}" as there is a beginning "{" after the "if". How does he locate this to remove it? Also, on a very relevent note: I'm new to osCommerce and have just tried adding a banner after removing the osCommerce (only banner in rotation) banner. My banner is reporting something about text and no banner shows at the bottom. Is there a bug or is there a right way and I'm not doing it (more likely I'm sure)? Barry L. Salter Edited December 15, 2003 by Johnson Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.