Support Forums

Old 10-13-2006, 05:08 AM   #1
Member
 
Join Date: Oct 2006
Posts: 31
Rep Power: 10
brian-bear is on a distinguished road
Default Banner Ads For Website

I wish to use banner ads, reading the forum there is the Maffo module but it only runs with developer, is there any other versions available, or has a fix been done for it to run in designer. Worst case senario if I do have to upgrade to designer is there any sites running the system that can preview or their owners can provide feedback on the system

thanks
brian-bear is offline   Reply With Quote
Old 10-13-2006, 09:23 AM   #2
GSP
Senior Member
 
Join Date: Apr 2006
Posts: 122
Rep Power: 0
GSP is on a distinguished road
Default

I�ve been using phpAdsNew. It and open source script and works well. There is a bit of a learning curve to it but once you figure out how it works you�re good to go. It might be worth looking into. You can check it out for yourself here: http://phpadsnew.com/two/

Tom
GSP is offline   Reply With Quote
Old 10-13-2006, 09:56 AM   #3
Staff
 
Join Date: Mar 2006
Posts: 388
Rep Power: 19
Blair will become famous soon enough
Default

Some other folks are also using AdPeeps...
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
Blair is offline   Reply With Quote
Old 10-31-2006, 01:58 PM   #4
Member
 
Join Date: Oct 2006
Posts: 31
Rep Power: 10
brian-bear is on a distinguished road
Default

I got phpadsnew up and working but did anyone get a solution how to link a banner to a specific url or category. I have the invocation code in my layout.tpl
brian-bear is offline   Reply With Quote
Old 10-31-2006, 02:11 PM   #5
Moderator
 
 
Join Date: Mar 2006
Posts: 3,871
Rep Power: 94
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by brian-bear View Post
I got phpadsnew up and working but did anyone get a solution how to link a banner to a specific url or category. I have the invocation code in my layout.tpl
You could set up miltiple ad campaigns and then use logic in the template to determine the category (if any) that your in and display the appropriate phpadsnew campaign invocation code.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 10-31-2006, 05:47 PM   #6
Member
 
Join Date: Oct 2006
Posts: 31
Rep Power: 10
brian-bear is on a distinguished road
Default

Would that mean adding loads of java script to the template for each campaign?
Surely there must be an easy way, I would have though this idea would be use a lot.

Maffo have you your system working yet in designer?
brian-bear is offline   Reply With Quote
Old 10-31-2006, 06:05 PM   #7
Moderator
 
 
Join Date: Mar 2006
Posts: 3,871
Rep Power: 94
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by brian-bear View Post
Would that mean adding loads of java script to the template for each campaign?
Surely there must be an easy way, I would have though this idea would be use a lot.

Maffo have you your system working yet in designer?
I would use includes and selectively call the one I needed to invoke the campaign for the appropriate category.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 10-31-2006, 06:15 PM   #8
Member
 
Join Date: Oct 2006
Posts: 31
Rep Power: 10
brian-bear is on a distinguished road
Default

Hi Larry
Sorry but I am not a coder so thats a little over my head, I was inserting the javascript invocation code into the layout.tpl where I wanted the ad to appear
brian-bear is offline   Reply With Quote
Old 10-31-2006, 06:39 PM   #9
Moderator
 
 
Join Date: Mar 2006
Posts: 3,871
Rep Power: 94
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by brian-bear View Post
Hi Larry
Sorry but I am not a coder so thats a little over my head, I was inserting the javascript invocation code into the layout.tpl where I wanted the ad to appear
Basically what you would do is create seperate files just to hold the invocation code. Then use logic in the template to determine where your at and in turn make a call to the file that has the code you want to invoke.

For example lets say your site is for pets and you have 3 categories. Dogs, cats, birds. Then in PHPadsnew you have 3 campaigns. Each campaing has multiple ads but is targetted toward a specific animal.

Now you create 3 files, dogs.js, cats.js and birds.js. In each one of these you place the invocation JS code for the campaing in question.

Then in layout.tpl.php you have some simple logic to determine the category you are in.

Something like this...

PHP Code:
{foreach name=outer item=contact from=$breadcrumb}
{foreach 
item=item from=$contact}
{
assign var=category value=$item|strip_tags:false}
{/foreach}
{/foreach}
{if 
$category=="Dog"}
    {include 
file='dog.js'}
{elseif 
$category=="Cat"}
    {include 
file='cat.js'}
{elseif 
$category=="bird"}
    {include 
file='bird.js'}
{/if} 
The above will check for the category name and include the apropriate JS invocation code based on the category thats being viewed.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 11-01-2006, 10:40 AM   #10
Member
 
Join Date: Oct 2006
Posts: 31
Rep Power: 10
brian-bear is on a distinguished road
Default

Hi Larry
I done a little more research on this and found an even better solution. Phpadsnew have a development / evolution of Phpadsnew called Max Media Manager or MMM for short, you can upgrade or just do a fresh install. It allows you to target an ad to an exact url and really works great, down side is that is a development and has a very high learning curve for a beginer, however if you mastered Phpadsnew it is easy
brian-bear is offline   Reply With Quote

Bookmarks

Thread Tools
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
Maffo Banner Mod Ready Maffo v3.1 Modules & Modifications 65 10-14-2008 08:22 PM
Banner Mod Ideas Maffo v3.1 Suggestions and Feedback 21 10-08-2006 09:29 PM
Need Banner Ad Rotator Script with: garysr HTML, CSS, and Design Help 6 06-26-2006 09:53 AM
In Admin Section- set amount of featured ads/ banner rotator zman78 v3.0 Questions & Support 2 04-15-2006 09:32 AM
adding a simple banner rotator From old forum calaf6 v3.0 Questions & Support 0 03-30-2006 05:47 PM


All times are GMT -4. The time now is 10:45 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0