Jump to content

[Module] Banner manager / multiple advertising


Recommended Posts

  • Replies 205
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hi everyone, Here is a new module BANNER MANAGER to upload as many banners you want to, for either left and right column.   Version 0.8 Improved/changed features: [*] Changed id name to avoid

Version 0.9.1 =========== [*] Now work with AdBlock [*] Improvements in banners tab [*] Clean up code and templates   Added Features: [+] View banners with fancybox [bO] [+] Image folder move

Hi everyone,   Here is a version 0.9 of the prestashop module Banner Manager (multiple advertising).     Banner manager version 0.9 ========================= Improved/changed features [*] CSS

Posted Images

  • 3 weeks later...

Merci pour cette belle invention... c'est mieux que le module advertising intégré à PrestaShop

Thanks for this, it'good! It's better than native blockadvertising in PrestaShop.

Share this post


Link to post
Share on other sites

Work great in version 1.4.0.17 , but have a problem , when click in banner always open a new window how to correct this to use only internal links ? thanks

Share this post


Link to post
Share on other sites
  • 3 weeks later...

From the images it looks like a very useful module.

Does it support multiple languages? I mean, If I have an image with English text on it and a version with French text on it, will I be able to set it so that visitors see only the appropriate one when they switch languages in the cart?

Share this post


Link to post
Share on other sites
  • 2 weeks later...
Work great in version 1.4.0.17 , but have a problem , when click in banner always open a new window how to correct this to use only internal links ? thanks


in your files bannermanager_right.tpl and bannermanager_left:

replace




with




and that's it.

  • Like 1

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Hi there.

Great module, but I do have a problem: the links always open in a new page. I tried to change bannermanager_left.tpl and bannermanager_right.tpl, changing




to




but the links keeps opening in a new window, even if I didn't checked the "blank" option in the BO.

Any help?

Share this post


Link to post
Share on other sites
  • 3 weeks later...
  • 4 weeks later...
  • 2 months later...
  • 2 weeks later...

New Window bug can be fixed by replacing the folliwing like

 

REPLACE (line 6) in bannermanager_left.tpl and bannermanager_right.tpl

 

<a href="{$banner.image_link}" target="_blank">

 

BY:

<a href="{$banner.image_link}" target="{if $banner.open_blank==0}_self{else}_blank{/if}">

 

Thanks

  • Like 1

Share this post


Link to post
Share on other sites
  • 2 weeks later...

hey, this is the best Banner Manager module that I have found but it doesn't work on 1.4.4, can someone out there to help for the scripts?? thank you so much :)

 

 

<div id='bannermannager-left' class="right">

{foreach from=$banners_right item=banner}

{if $banner.active}

<p>

<a href="{$banner.image_link}" target="{if $banner.open_blank==0}_self{else}_self{/if}">

<img src="{$this_path}{$banner.image_name}" />

</a>

</p>

{/if}

{/foreach}

</div>

Share this post


Link to post
Share on other sites
  • 3 weeks later...
  • 4 weeks later...

New Window bug can be fixed by replacing the folliwing like

 

REPLACE (line 6) in bannermanager_left.tpl and bannermanager_right.tpl

 

<a href="{$banner.image_link}" target="_blank">

 

BY:

<a href="{$banner.image_link}" target="{if $banner.open_blank==0}_self{else}_blank{/if}">

 

Thanks

Thanx for fixed this module. Now it's working fine with me PrestaShop 1.4.4.1

Share this post


Link to post
Share on other sites
  • 1 month later...

Hi All

 

I just seeing if any one can help

 

I am trying to install the modual on PS 1.3.1.1

 

I have followed the install tex and uploaded the modual to ps_moduals . abaut it is not showing in the back office to install

 

Dose anyone know were im going wrong

 

Many Thanks

 

Gary

Share this post


Link to post
Share on other sites

Hi evererybody, great news for all of us! I'm working on updating this module to work on the last version of the PS platform (1.4.6.2).

 

Also I has been reviewing all your comments, so be sure that I will solve the problems, and will include the functionality suggested.

 

Coming soon. Keep posted!

Share this post


Link to post
Share on other sites

Hi

To complete my problem with 1.4.7.0

The installation works. But no configure button. And the button install still there.

But when you click again sur install, it says it is already installed.

But still no configure button and still the install button !!

Share this post


Link to post
Share on other sites

I like this Module but it dont work, i use 1.4.5.1 and i can install it, i see the config but when i upload a Picture i dosent see it on the Homepage :(

 

Update: Firefox does not show me the Pictures, but Chrome does it ?!?!

 

Update2: And i cant delete the Uploadet Pictures anymore..

Share this post


Link to post
Share on other sites
  • 3 weeks later...

I like this Module but it dont work, i use 1.4.5.1 and i can install it, i see the config but when i upload a Picture i dosent see it on the Homepage :(

 

Update: Firefox does not show me the Pictures, but Chrome does it ?!?!

 

Update2: And i cant delete the Uploadet Pictures anymore..

Hello, i have the same problem works fine in Chrome, IE, Safary but Firefox does not show the banners, did you find a solution?

Share this post


Link to post
Share on other sites

Very good, congratulations, you just need one thing, had to add the blocks will prestashop theme around the pictures? a procedure for this?

Share this post


Link to post
Share on other sites

I want to refer me, if I could do an update of the module, but we have to per banner is added automatically block the website, type that square that appears around the entire shopping cart.

Greetings

Share this post


Link to post
Share on other sites

From the images it looks like a very useful module.

 

Does it support multiple languages? I mean, If I have an image with English text on it and a version with French text on it, will I be able to set it so that visitors see only the appropriate one when they switch languages in the cart?

 

Hi There, did you receive an answer cause i am looking also for multi language banners.

 

Thank you

 

Andy

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Excellent module.. exactly what I was looking for..

however I need some help.. When I use "Left" column banner, then it is not limited to left column only.. It overlaps with my homepage content.. What should I do, please anyone suggest?

Share this post


Link to post
Share on other sites
  • 3 weeks later...

it works on prestashop 1.4.7.3

 

but it doesn't work for swf with these errors :

"Incorrect file type."

"Error creating banner."

 

 

please help how to add swf banner.

 

probably below script would help to allow swf format ???

 

type="application/x-shockwave-flash"

pluginspage="http://www.macromedia.com/go/getflashplayer"

swLiveConnect="true" allowScriptAccess="samedomain"

Edited by ringo1 (see edit history)

Share this post


Link to post
Share on other sites

Hello there:

 

Thanks for this great module.

 

I have one problem on V 1.4.5.1

 

After I set a banner for the homepage, The banner only shows in Opera browser. it is not showing properly in Firefox, IE, Chrome.

 

Please see attached photos.

 

1. it is from Opera Browser, Working great.

2. It is from Firefox,IE,Chrome.ONLY show one piece there.

 

Please help!

 

Thanks

post-265312-0-92025100-1336881640_thumb.jpg

post-265312-0-66773900-1336881648_thumb.jpg

Edited by kangaroobaby (see edit history)

Share this post


Link to post
Share on other sites
  • 1 month later...
  • 4 weeks later...

Excellent module.. exactly what I was looking for..

however I need some help.. When I use "Left" column banner, then it is not limited to left column only.. It overlaps with my homepage content.. What should I do, please anyone suggest?

 

This also happened to me. I thought of editing the pictures. Not making the ones on the left too large.

Share this post


Link to post
Share on other sites
  • 4 weeks later...

great module !

 

just wondering,

since it available for the home content, is there any chance to making it tile horizontally instead of just vertically ?

(like the homepage featured product)

Share this post


Link to post
Share on other sites
  • 4 weeks later...

Hey Kamil_ltb is right ... the problem is an extension in Firefox (which I installed), is precisely Adblock Plus 2.1.2 (in my case), you have to disable it in the complements->Extensions.

 

Apparently it produces some kind of script what generates a CSS class with random name, and it makes reference a global xml file (general.xml) on the web, doing something allusive to "chrome" (I guess the browser).

 


.dtsdjhijlecdibsublje {
-moz-binding: url("chrome://global/content/bindings/general.xml#foobarbazdummy") !important;
}

 

Ok, obviously there is a conflict with this but will have to decide whether to use the module and disable the complement for annoying pop-ups. The problem is that if someone has installed this complement on firefox and go to our store, we will have the problem. Hopefully the creator of the module can do something to get around it.

Edited by spartacus_gdl (see edit history)

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 2 weeks later...

Hello everybody!

 

I've recently posted an updated version with the following improvements:

 

 

Version 0.8

Improved/changed features:

[*] Changed id name to avoid adblockers. Now CSS and ID are called bnrmanager

[*] Active value is checked as default

 

Expect your comments.

 

Enjoy! ;)

 

PS: Module file is on the first post of this topic.

  • Like 1

Share this post


Link to post
Share on other sites

Excelente modulo, pero tengo un problema, ¿Como puedo reducir esta área? ajuste el margin-bottom:10px en *.css , pero sigue casi igual.

 

You should tackle the CSS and edit the margin-bottom of the <img> banner.

 

Hope this help!

Share this post


Link to post
Share on other sites

Hi PEPPE83, new version 0.8 has avoid adblockers, please check this out and let me know your comments.

 

mmmmmm sorry but the version 0.8 dont bypass adblock (in my case).

I have upgraded from 0.7version by substitution of the dir modules/bannermanager with the 0.8. Smarty cleared, but adblock continues to block banners (on firefox and chrome).

I need to re-create banners with the new version?

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 2 weeks later...

Hi lafondadebaco, can you tell me how to center the banners ? the liitle ones are very to the right corner or to the left corner, can you make one update to put the banners always centered in the right and left column and home ? like this code : <CENTER> and </CENTER>..

 

If possible can you make one box to put the px of images ?, imagine the image have 90x85 and i want to increase the image, so we change to 120x110, and the image is changed and centered.

 

Finaly for updates, try to do one thing if possible, when we click in one image already inserted, the disk folder of our PC appear and we choose a new image and he change automatically, and the order of image not work now if we want to change to other number, this must be editable to ok..

 

Tks.. Great Job..

Edited by AngelSpeedy (see edit history)

Share this post


Link to post
Share on other sites

Hey guys, help me please, smth goes wrong... I try to add banners in my own hooks (instead of standart LeftColumn, RightColumn and Home), but I get 500 Internal Server Error when I click "add banner" button. What I've done...

I've registered my hooks in FrontController.php and bannermanager.php files, inserted new fields main_banner, main_banner_news, main_banner_spec in db ps_hook table, transplanted the module in these positions, also I tried to use "public function" instead of "function" in bannermanager.php, but it changes nothing.

The module version is 0.8. My prestashop vers. is 1.5.2

 

I've attached my bannermanager.php file and I would be happy if you watch it and try to help me... Thank you all...

bannermanager.php

Edited by anna8097 (see edit history)

Share this post


Link to post
Share on other sites

Hi again!

The problem is not actual any more.

It was only my silly mistake.

I didn't fill "banner order" input form and that's why I got 500 Error. Every field is necessary to be completed as I suppose.

Iafondadebaco, can you make please some warning messages about incomplete forms in the next versions? Because some users may be puzzled, as in my case.

Good luck everyone !

Edited by anna8097 (see edit history)

Share this post


Link to post
Share on other sites

AngelSpeedy,

 

For centralization, there are rules for elements/selectors inline and block. For inline elements (<span>, <strong>, <em> etc), use "text-align: center". To block elements (<div>, <p>, <hx>) use "margin: 0 auto;"

 

Alignment and layout style you can do everything in css.

--

AngelSpeedy,

 

Para centralização, existem regras para elementos/seletores em linha e em bloco. Para elementos em linha(<span>,<strong>,<em> etc), utilize "text-align: center". Para elementos em bloco(<div>,<p>,<hx>) utilize "margin: 0 auto";

 

Alinhamento e estilo de layout voce pode fazer tudo em css.

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Thanks for this GREAT module !!.

 

But I have a problem, I can´t "separate" banners in the same column.

The order of this banners are 5 and 9 but it appears together, cand you help me please ?

 

You can see them at my webpage below: ( the banners on the right are PayPal and "mistiendas" )

 

THANKS A LOT in advance !!

Share this post


Link to post
Share on other sites