1

Topic: Banner Tutor for 2.5.2 Commercial License

By default the banner code is in the template header.tpl in two places. Here is an image of what the code looks like

[img]http://www.filipina-lady.net/test252/line40.jpg[/img]

[img]http://www.filipina-lady.net/test252/banners147.jpg[/img]

By seeing what the code looks like, it will help you understand how to use banners.

Now, lets look at your control panel for creating a banner

STEP 1

[img]http://www.filipina-lady.net/test252/banner01.jpg[/img]

STEP 2

[img]http://www.filipina-lady.net/test252/banner02.jpg[/img]

STEP 3

[img]http://www.filipina-lady.net/test252/banner03.jpg[/img]

STEP 4

[img]http://www.filipina-lady.net/test252/banner04.jpg[/img]

Banner on Front End in the Header

[img]http://www.filipina-lady.net/test252/banner06.jpg[/img]

That pretty much covers the basics. If you look at step 2 above, you will notice there is a Banner group called Sidebar. Basically you go through the same steps if you want to add a banner to the side of your site. If you do, this will display on every page  on the side of your site

Advanced Uses

You can add your own banner group and within that group you can add your banner. You can also add more than one banner to the same group. We will break it down and do each.

First lets see how to create your own group and add a banner to that group.

[img]http://www.filipina-lady.net/test252/group01.jpg[/img]

[img]http://www.filipina-lady.net/test252/group02.jpg[/img]

[img]http://www.filipina-lady.net/test252/group03.jpg[/img]

[img]http://www.filipina-lady.net/test252/group04.jpg[/img]

[img]http://www.filipina-lady.net/test252/group05.jpg[/img]

Now it is time to see how to add another banner to the same group and how to code your template. Lets use the header group for our tutor.

If you look at step 4 above for the header group, we added a banner with a label of google01. We can add another banner to the same group. Not hard to do, but to display it in your template you have to know how to code it. Lets do the steps.

[img]http://www.filipina-lady.net/test252/new01.jpg[/img]

[img]http://www.filipina-lady.net/test252/new02.jpg[/img]

[img]http://www.filipina-lady.net/test252/new03.jpg[/img]

[img]http://www.filipina-lady.net/test252/new04.jpg[/img]

[img]http://www.filipina-lady.net/test252/new05.jpg[/img]

If you are scratching your head and thinking that adding a new Group or adding a another banner to an existing Group accomplishes the same thing, I would agree. However, I'm sure there is some coding advantage to which way to go if you are in to all those if statements and such. I will leave that up to people smarter than I on which way is better for their needs.

That's it.

Please note that you can only do this with a commercial license. If you have a personal license, the banner feature is not available. Instead, for personal license, you have to add your banner code (i.e. adsense) directly into the template.

Last edited by db3204 (2009-04-07 10:21:17)

2

Re: Banner Tutor for 2.5.2 Commercial License

very good tutorial smile

3

Re: Banner Tutor for 2.5.2 Commercial License

love it thanks a million DB
Barbara

4

Re: Banner Tutor for 2.5.2 Commercial License

Wow. Thank you.

5

Re: Banner Tutor for 2.5.2 Commercial License

I just looked into code. Use "banner" instead of "label":
{banners:group="groupname",banner="google01"}

6

Re: Banner Tutor for 2.5.2 Commercial License

You are a superstar Radioact! I don't know what anyone on VLD would do without you! Thanks, it works now.

7

Re: Banner Tutor for 2.5.2 Commercial License

Thank you, Mudi
You would wait one hour and get correct answer from Vlad smile

8

Re: Banner Tutor for 2.5.2 Commercial License

any banner rotators for VLD ?

9

Re: Banner Tutor for 2.5.2 Commercial License

If you add more than one banner to banner group, they'll rotate.

10

Re: Banner Tutor for 2.5.2 Commercial License

Wow...banner rotation...vlad is that just for 2.5.5 or does  rotation work for 2.5.3 as well??

11

Re: Banner Tutor for 2.5.2 Commercial License

the rotator works for 2.5.2
add more than 1 banner and use {banner:group=""} to show them
and when you refresh the page the banners change

12

Re: Banner Tutor for 2.5.2 Commercial License

I like banner with filter, example for 27-30 years woman. Example when I could newsletter for only man.
Because example there is shaving cream advertisement for man. This is not good for woman. smile

13

Re: Banner Tutor for 2.5.2 Commercial License

the call can be in different places in different templates.
and you must know how to move them there you need to have your banner or ads.
so be sure if you use banner or google ads on your site it is a good tutorial how to do wink

I have my banners between header & content on the frontpage ...
(if someone need to know ... how to do it ... please ask me)

14

Re: Banner Tutor for 2.5.2 Commercial License

Hi,

I have 2.7.1 personal license and ned help with insrting banners. Want to add banners on the bottom and sidebar banner on the right side only.  I need instructions:
- what code should i add
- In which templates  .tpl
-in which rows in templates.

Thanks in advance!
Super powerful dating software!!!