Jump to content



Photo
* * * * * 1 votes

[Addon] Banner Box for 2.3


  • Please log in to reply
172 replies to this topic

#1 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 31 August 2011 - 03:43

This module allows you to add a banner to the left or right column of your store. This can be a credit card image, a Paypal button. or an advertising banner for your products. The banner can be linked to a page in your store.

You can have more than one banner assigned to the box, and have one selected at random every time a visitor loads the page. Banners are controlled by your Banner Manager.

The box header is optional, and can also be linked to a page if it is shown.

Download it here.

Regards
Jim

Edited by kymation, 31 August 2011 - 03:48.

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#2   Ausgirl

Ausgirl
  • Members
  • 936 posts
  • Real Name:Ruth
  • Gender:Female
  • Location:Brisbane, Australia

Posted 07 September 2011 - 01:44

Hi,

I installed this & my box isn't showing. It states in the instructions:

You can assign one or more banners to this box. If more than one banner is assigned, the
module will pick one at random to show on each page when that page is viewed by a customer.
You must assign your banner(s) to the box_module class for them to show in this box.

How do I do this?

Thanks /smile.png' class='bbc_emoticon' alt=':)' />

#3 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 07 September 2011 - 01:50

From the last paragraph in that section:

Use the Banner Manager that comes with osCommerce to upload and configure your banners.
See the instructions that came with your copy of osCommerce to learn how to use the Banner
Manager.


Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#4   Ausgirl

Ausgirl
  • Members
  • 936 posts
  • Real Name:Ruth
  • Gender:Female
  • Location:Brisbane, Australia

Posted 07 September 2011 - 02:19

I know what I did, I was assigning a size to the banner group when if fact you need to assign box_module as the Banner Group /smile.png' class='bbc_emoticon' alt=':)' />

#5   KomplikatedOne

KomplikatedOne
  • Members
  • 29 posts
  • Real Name:kieren brown

Posted 08 September 2011 - 12:10

works a treat, many thanks
only issue i found is with the pixel width
the accompanying users manual states 237pixels in width will fit with std oscommerce boxes
as far as i am aware my site is standard, but had to reduce to 130ish to make fit, more likely the problem is with me, but i thought i would mention incase

#6 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 08 September 2011 - 16:22

You are right; that's a typo. It should be 137 pixels wide. I'll fix that in the manual.

Thanks for reporting a bug.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#7   g2777

g2777
  • Members
  • 39 posts
  • Real Name:Graham Moore
  • Gender:Male
  • Location:Torquay, Devon, UK

Posted 09 September 2011 - 12:36

Hi kymation,

Thank you for this Add-On, it was just what I needed. Quick question though... any idea why, even though I've got the box set to the right with an image in it, IE stubbornly refuses to place it anywhere but the bottom left? It's fine in FF and Chrome.

I've tried:
FF 3+ ( up to 6)
Chrome 12+
and IE 8

I'm working on XP so can't try IE 9.

here's the link. http://www.rain-e-daze.co.uk/shop/

Any thoughts would be appreciated but bear in mind that I've only been using osC for about 12 hours. :s

Thank you,
Graham
Not enough time in the day. Need a time machine...

Would build one, but not enough time. Ironically.

#8 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 09 September 2011 - 17:34

Try temporarily setting another box to the right column. If it also ends up in the left column, you have something wrong in your HTML code that is pushing the columns together.

Regrds
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#9   Gergely

Gergely

    Action Hero

  • Community Team
  • 1,257 posts
  • Real Name:Gergely Tóth
  • Gender:Male
  • Location:Budapest

Posted 09 September 2011 - 20:05

Hi Jim,

Here is basic bannerRotator plugin with bm_banner. I'm not expert of english so someone could edit it would be appreciated.

Best regards,
Gergely
Attached File  banner_box_rotator.zip   206.75KB   47 downloads

some rewrites :-


#10 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 09 September 2011 - 20:18

Thanks for the code. I'll take a look at this a bit later; I have something that has to be done now, so I'm doing that first.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#11   g2777

g2777
  • Members
  • 39 posts
  • Real Name:Graham Moore
  • Gender:Male
  • Location:Torquay, Devon, UK

Posted 09 September 2011 - 20:20

OK, so now I look like a complete noob. It turns out that the image was fractionally over the 137px size limit. I dropped it to 130px and it's fine now in everything.I've got.
I wouldn't have got that it I hadn't checked the HTML, thank you JIm

Regards,
Graham
Not enough time in the day. Need a time machine...

Would build one, but not enough time. Ironically.

#12 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 09 September 2011 - 20:26

I hadn't thought about the image size; I'll have to remember that. Glad to hear you got it working.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#13   madbusu

madbusu
  • Members
  • 44 posts
  • Real Name:Busu

Posted 26 September 2011 - 12:20

hey guys i try to use your addon ..but it's not working ...i mean i upload the files in the right places like it's said in manual ..i go to admin i instal the box ....i set the box to right column i put a order number , title link empty i click save and when i go back ti my store ....the main / index page won't load at all just the site banner and the background nothing else ..when i disable the box ...site load normally !

so what it's wrong ?

and yes i upload 1 img size 137 pixels with banner manager but i don't see any link with banner box addon ?

#14 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 26 September 2011 - 17:26

I might be able to tell by looking at the site. PM or email a link if you don't want to put it here.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#15   OSC-Sevilla

OSC-Sevilla
  • Members
  • 391 posts
  • Real Name:George
  • Gender:Male
  • Location:Sevilla, Spain

Posted 27 September 2011 - 08:10

Installed as per your instructions - ERROR

Fatal error: Cannot redeclare class language in /home/content/g/e/o/georgefasal/html/FASAL/business/includes/classes/language.php on line 16
OSC 2.3.1
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/ CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups / Ultimate SEO URLS 5 Pro / Kiss Tags/ ..Custom Admin Mods /

#16 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 27 September 2011 - 17:14

I've never been able to duplicate this error. I suspect it has something to do with a server setting or the PHP version. I might be able to track it down given more information.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#17   Gergely

Gergely

    Action Hero

  • Community Team
  • 1,257 posts
  • Real Name:Gergely Tóth
  • Gender:Male
  • Location:Budapest

Posted 29 September 2011 - 12:01

Installed as per your instructions - ERROR

Fatal error: Cannot redeclare class language in /home/content/g/e/o/georgefasal/html/FASAL/business/includes/classes/language.php on line 16


Hi Gemma and Jim,

i had the same problem. See my previous post and install that my package attached there.

Edited by Gergely, 29 September 2011 - 12:08.

some rewrites :-


#18 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 02 October 2011 - 01:43

Hi Jim,

Here is basic bannerRotator plugin with bm_banner. I'm not expert of english so someone could edit it would be appreciated.

Best regards,
Gergely

Sorry it took me so long to get to this. I've made a few minor changes to the instructions, plus I moved the install SQL into the module's install method to avoid having to manually modify the database. Please test this out and see what you think. It works on my test server, but I've never been able to see the language bug, so yours is clearly different. Here's the file.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#19   Gergely

Gergely

    Action Hero

  • Community Team
  • 1,257 posts
  • Real Name:Gergely Tóth
  • Gender:Male
  • Location:Budapest

Posted 02 October 2011 - 14:06

Sorry it took me so long to get to this. I've made a few minor changes to the instructions, plus I moved the install SQL into the module's install method to avoid having to manually modify the database. Please test this out and see what you think. It works on my test server, but I've never been able to see the language bug, so yours is clearly different. Here's the file.

Regards
Jim



Hi Jim,

no problem. Thanks. This will work. Two constant parameter missing.

I inserted plus defines for test working into execute() function and works without SQL errors.

		} else {
		  define('MAX_DISPLAY_BANNER_ROTATOR', 4);
		  define('BANNER_ORDER', 5);
		  //banner rotator

It would be appreciate to insert these parameters into database install. I don1t do it because if others like to use the same banner rotator JS code in modular frontpage or header footer modules can be conflict. I think we have to rename this constant names before.

MAX_DISPLAY_BANNER_ROTATOR to MODULE_BOXES_BANNER_ROTATOR_MAX_DISPLAY
BANNER_ORDER to MODULE_BOXES_BANNER_ROTATOR_ORDER

This prevents conflicts with other modules and can set in module box by admin configurations.

Regards,
Gergely

Edited by Gergely, 02 October 2011 - 14:08.

some rewrites :-


#20 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,344 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 02 October 2011 - 16:22

I agree that they should be renamed. They should be set in the module as you suggest.

Thanks for all the work you've done on this.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated