bibuweb.de

The weblog of bibuweb.de

Browsing Posts in wp-banner

With this version comes full Visual and Text editor integration. This helps you to integrate a wp-banner very easy in your post by selecting the banner from the drop down menu.

After a banner is selected the plugin adds a shortcode into your post.

Image1 is showing the Text editor integration:

Image1: Text editor integration

Image1: Text editor integration

Image2 is showing the Visual editor integration after selecting a banner:

Image2: Visual editor integration

Image2: Visual editor integration

The BannerAdmin menu is also new designed. Now there are three sections:

In the Client Data section you can add or edit the banner name later used for integration.

The Contract Data section has a new Price input field. Here you can input a value for the money you get for the advertisement integration. You can select whether you get payed per view, click or month. Below the Price field you can insert some limitations for showing the ad if there any.
Impressions Purchased defines how many times a banner has to be shown. A zero defines unlimited times.
Start end End Date defines a period of time to show the ad. If there is none the End Date is zero.
With the next option of this section you can define if th banner is active or not. If its not active the banner name does not appear in the editors drop down list.
On the last line of this section shows some basic statistic data. This line only appears if you selected an exiting banner.

In the last section you can define the banner options and where to place it.
An advertisemnt could be a text or an image so first select a media type. After selecting one of these option, another input field appears. If you selected an image put the url to the image in the next input field otherwise put the text you want to show.
Click URL defines the URL where your affiliate partner counts the clicks of the banner. If there isn’t any keep it empty. The clicks for the statistic of your site are counted anyway.

At last choose where to place the banner. If you want to place it in a post select nothing. If you want to place it in a widget choose this option.
The Expert mode is only for people who want to place a banner somewhere direct into the layout. Using this option you should know how your theme layout is desinged!
If you are not shure to use this option or not. Don’t worry you can play around with this option without destroying anyhing.

BannerAdmin

BannerAdmin

A new version of the wordpress plugin wp-banner is available!

Besides some small bugfixes with this version comes language support for german and czech.

Some user requested a banner rotation also in a widget. This is functionality is also available now.

Download here.

WP-Banner NG

No comments

Finally there is a new version of the WordPress plugin wp-banner available.

With this version the plugin took a big step forward to established WordPress usability standards. To reach this ambitious goal this plugin is mainly rewritten to use jQuery and jQuery-UI. To illustrate the alteration, the version number made also a big jump from 0.6.1 to 1.0.0.

In detail, now its easier to place your advertisement banner images or Flash films on your WordPress blog. With the help of a small abstract preview and a position slider you are now able to place the ads almost everywhere without editing the plugin script (see image 1). This new feature implies unfortunately a small incompatibility, when you update from an old to this new version, you have to place all the existing banner images again. But don’t worry, your existing customers will not be lost and no existing data will be deleted, you only have to place the advertisements once again.

New layout placement utility

image 1

The plugin checks automatically if you had put more than one image to the same position. If you did so,  a randomized banner rotation is activated.

The old version let you place only one advertisement at a time or two if you’re using widgets. This limitation is lifted with this new version, now you can place as much advertisements on your blog as you want, even between posts. This also applies to widgets, since WordPress provides multiple widget support.

How to place an advertisement

The WordPress layout has a standard structure based on div tags. Most of this tags have a distinct id. The div ids we are using to place the banner are listed under the drop-down menu WP Div ID, the body tag  is an exception to the rule. After you have selected a div id you have to choose if to append, prepend or to put the banner div after the selected layout id.

Wordpress layout structure

image 2

Image 2 shows you a sample structure of a standard WordPress layout with the symbolic blue banner div.

In this example the div with id=wrapper is chosen and  shows the position of the banner div with each option append, prepend and after. If you select a different div the behavior of the three options is equivalent.

By default the position of the ad is on the left. With the slider shown in image 1 you can adjust the horizontal position to fit your needs. Using a standard banner size of 480×60 a setting value of 25% might be the right choice to center the banner div.

Now your are also able to put the ad between two posts. The most top post has usually the highest post-number, here symbolized with post-n. If place a banner after a post, you have to consider that the  vertically position of the ad will change if you add a new post, so you may correct this after publishing.

Attention:

If there is no entry in the WP DIV ID selection box, check your PHP-Installation if allow_url_fopen option is enabled.

If you see only the body tag your WP themes has no css-ids. The solution is: change your theme. There are lot nice themes using the id parameter.
So that is all for now.

Happy advertising ! :-)

If you like this plugin and if it helps you to make money, it would be nice and fair if you would support this work with a donation.

I must admit, that the widget functionality of the wp-banner plugin works slightly different from other WP-widgets. And after some guys mentioned that the wp-banner plugin using as a widget isn’t self-explanatory I will give you here a short howto.

Before you can put your advert into a widget, you have to make all the configuration in the Posts > Banner Admin menu. After you have put all the parameters needed, you can choose where to put the ad, into a own <div> or into a widget.

After you have chosen widget and saved the configuration you can go to the Appearance > Widgets menu where you can place the banner widget the usual way. No further options are needed. :-)

This new version is widgetized. So now its possible to put banner ads into a widget and/or into a DIV. This means now you are able to include more than one advertise banner in your wp-blog.

To place the banner into a widget you have to choose the widget option at Position in banner admin menu. If divTag is elected, the banner position is to define as described in this post.

Please keep in mind, that if you put an advertisement into a widget, that you have to check that the banner have a corresponding dimension. If not, you may destroy your theme layout. You can adjust the banner to your theme by changing the styles in /styles/default.css.

The install process also is improved. Only unpack the plugin into the plugin directory and activate it, done. :-) To make an update, deactivate the old version first.

After an update you may change the Position option in the admin menu. The default option is divTag, so after an update everything may work as designed ;-)

Download it here.

New wp-banner version

2 comments

This version supports a better banner positioning method.

To put the banner to the postion wanted you need a correct css-theme and an
actual wp-version !

Keep in mind that the banner-div is placed as first child of a parent element.

A parent element can be a tagname e.g. “body”, a classname or an element id.
If you call InsertElement in banner.php you have to edit the first two parameters.
With the first parameter you define the tag-id. This could be “tag” for a tag element
“class” for a class element “id” for an element id. This should enable you to place the banner just where you want it, so e.g. if you got a Partypoker ad that needs to be in just the right place or a personal banner you want placing on your site, you won’t find it a problem.

The second parameter defines the element name.

E.g. if you want to place the banner div after the body tag element you have
to call InsertElement(‘tag’,'body’,'banner’)

if you want to place the banner div between the latest and the penultimate
post you can use InserElement like this:

InsertElement(‘id’,'post-1′,’banner’)

Supposed there is a post-2 element as latest post.

You have to consinder that if you want to place the banner like this, you do a layout manipulation !
That means you have to take care of the banner and/or the wp-theme layout css !!
The wp-banner style-sheet is found in “styles” folder.

You can download the new version here

New WP-Banner Plugin

No comments

Hi again,running your own webserver costs a lot of money. So it would be nice if one could unwind the monthly costs with a little income from banner advertisement.

Since I was using WordPress for my site I was looking for a banner administration tool, which fits my needs. Searching the web at the appropriate sites (i.e. wp-plugins.org | net) I didn’t found what I’m looking for.
But I remembered that the e107 cms had a good banner administration tool, which I’m still using on my site bilderbuchreisen.de. So I decided to adapt this tool to WordPress.

Very important for me is that I can manage banners from different affiliate programs. This programs normaly are counting the hits and views directly so that they offers you two URLs one for the banner it self and one URL for the clicks. The original e107 tool doesn’t support this feature and in addition it has some features more that I didn’t need, so I had to rewrite the complete code.

Ok, if your are curious now. You can download it here