Members: 16,996
Threads: 38,867
Posts: 159,477
Online: 55

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etrackerŪ Web-Controlling statt Logfile-Analyse
Old 13.10.2004, 19:01   #1 (permalink)
Senior Mamber
 
Join Date: Jul 2004
Location: here
Posts: 241
ChicoMendez is on a distinguished road
Default Anyone got ArtBanners working with 4.5.1a

Anyone got ArtBanners working with 4.5.1a ???

i did everything as should but images are not showing im getting....
Quote:
Set Parameter 'categories' in Admininistration.

> i have it set !!!
ChicoMendez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 20.10.2004, 16:24   #2 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Location: Guatemala
Posts: 3
maleli is on a distinguished road
Default Re: Anyone got ArtBanners working with 4.5.1a

Having exactly the same problem. Please let me know if you were able to solve it.

Im actually thinking of managing banners with phpAdsNew instead in case I dont find a solution. Although I like ArtBanners.
maleli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.10.2004, 19:22   #3 (permalink)
Senior Mamber
 
Join Date: Jul 2004
Location: here
Posts: 241
ChicoMendez is on a distinguished road
Default Re: Anyone got ArtBanners working with 4.5.1a

Quote:
Originally Posted by maleli
Having exactly the same problem. Please let me know if you were able to solve it.

Im actually thinking of managing banners with phpAdsNew instead in case I dont find a solution. Although I like ArtBanners.
ya i sorted it..
i think there is a problem with the parameter passing therefore you need to hack the php file:
for example:
in

mod_artbanners1.php

change
Code:
  	$count = (@$params->count > 0)?$params->count:"1";
  	$banners = (@$params->banners)?$params->banners:"";
  	$categories = (@$params->categories)?$params->categories:"";
to

Code:
  	$count = (@$params->count > 0)?$params->count:"1";
  	$banners = (@$params->banners)?$params->banners:"";
  	$categories = (@$params->categories)?$params->categories:"";
	$categories = "1";
ie setting the category by hardcoding as opposed to parameters...


let me knwo if works

and add to the rep
ChicoMendez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 22.10.2004, 07:17   #4 (permalink)
Mamber
 
danakem's Avatar
 
Join Date: Apr 2004
Posts: 64
danakem is on a distinguished road
Default Re: Anyone got ArtBanners working with 4.5.1a

This hack works just fine
Anyone know if Artbanners will be released for 4.5.1?

/danakem
danakem is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 22.10.2004, 20:20   #5 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Location: Guatemala
Posts: 3
maleli is on a distinguished road
Default Re: Anyone got ArtBanners working with 4.5.1a

Thanks ChicoMendez, works now!

danakem, I searched and searched and dind find a more recent version for AdBanners, just the one posted in April I think.
maleli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 22.10.2004, 20:45   #6 (permalink)
Mamber
 
danakem's Avatar
 
Join Date: Apr 2004
Posts: 64
danakem is on a distinguished road
Default Re: Anyone got ArtBanners working with 4.5.1a

Quote:
Originally Posted by maleli
danakem, I searched and searched and dind find a more recent version for AdBanners, just the one posted in April I think.
I think you are right there is no later version.
Itīs good the hack works, phpAdsNew is good but a little bit too complex for my site!

This is a useful hack to get one ad to open in a _blank window and one ad to open in _self if anyone is interested!

Artbanners redirect
danakem is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 23.10.2004, 17:51   #7 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Location: Tilburg/Netherlands
Posts: 9
Ronny is on a distinguished road
Send a message via MSN to Ronny
Default Re: Anyone got ArtBanners working with 4.5.1a

Hi, the hack works fine, except for the parametersettings!
This must be done hardcoded!
One option I like to have is bannerrotation. You can rotate banners with Artbanners but when you having 5 banners and the countparameter is set to 5 the banners don't rotate anymore. I want all 5 to be visible and rotate!

The code is now like:

$count = (@$params->count > 0)?$params->count:"4";
$banners = (@$params->banners)?$params->banners:"";
$categories = (@$params->categories)?$params->categories:"";
$categories = "3";
if ($categories != "" || $banners != "") {

$start = "<font></font><table width=\"120\" cellspacing=\"2\" cellpadding=\"0\" align=\"center\" style=\"border:0px solid black;\"><td>";
$end = "</td></table>";
$content .= substr(showBanner( $categories, $count, $start, $end, $banners ), 6);

Anyone got a clue

Last edited by Ronny; 24.10.2004 at 09:39.
Ronny is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 24.10.2004, 20:55   #8 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 2
moshak is on a distinguished road
Default Re: Anyone got ArtBanners working with 4.5.1a

hi for all...
I coded your hack but, take a look what display me:

Quote:
Warning: module2(/home/########/www/modules/mod_banners.php): failed to open stream: No such file or directory in /home/###########/www/includes/frontend.html.php on line 119
and

Quote:
Warning: module2(): Failed opening '/home/#############/www/modules/mod_banners.php' for inclusion (include_path='.:/usr/share/pear/:/usr/lib/php/') in /home/##############/www/includes/frontend.html.php on line 119
Some ideia plz...
moshak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 24.10.2004, 23:48   #9 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Location: Tilburg/Netherlands
Posts: 9
Ronny is on a distinguished road
Send a message via MSN to Ronny
Default Re: Anyone got ArtBanners working with 4.5.1a

Did you installed Artbanners?
Ronny is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27.10.2004, 22:51   #10 (permalink)
Baby Mamber
 
gene's Avatar
 
Join Date: Apr 2004
Posts: 11
gene is on a distinguished road
Send a message via Yahoo to gene
Default Re: Anyone got ArtBanners working with 4.5.1a

I am running into a problem running ArtBanners under 4.5.1a. I updated the with the fix identified above, but I can't get the ArtBanners Module to list more than one banner. My parameters are set to:
banners=1,2,3
count=2

but only one banner posts at a time...I worked fine under 4.5 1.0.9....any thoughts?

TIA
gene is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
+++ 4.5.1 Compatibility Patch: Use nearly every old component, module in 4.5.1(a) +++ pocketom Mambo 4.5.1 'How Do I' Questions 33 22.03.2005 15:09
Fehler im Backend 4.5.1a Thomas - USActive Installation 4 14.10.2004 12:36
Da 4.5.1a RC3 a 4.5.1a stabile GianniT Problematiche generali 1 09.10.2004 16:12
Easy way to upgrade from 4.5.1 stable to 4.5.1a? ron4u Mambo 4.5.1 Installation and Upgrades 11 04.10.2004 22:35
Looking for language supporters for the new multilanguage StandAloneServer of 4.5.1a sinanata Mambo 4.5.1 General Talk 0 30.09.2004 07:57


All times are GMT +2. The time now is 06:13.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.