Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Site Info
Webmasters
admin
admin

Who's Online
4 user(s) are online (2 user(s) are browsing XOOPS Docman)

Members: 0
Guests: 4

more...

2.4. Banners

2.4.1. What are they?

Banners are advertisements displayed in the top section of the page. They may be images or flash movies, e.g. the wildly gyrating XOOPS banner that is part of the default installation. XOOPS has a built in system for managing banners and creating accounts for advertising clients, which is found in the System Module->Banners. You can have multiple banners on a XOOPS site – the display area rotates through each of the active banners in turn each time a new page is loaded.

Each time a banner is displayed to a visitor this counts as one “impression”, which is the common trading currency of banners. Clients typically pay for a certain number of impressions – i.e. to have their advertisement displayed a certain number of times.

Please note: If you are in the business of selling banners based on the number of impressions there is one important thing you should do: Go to System Module->Preferences->General Settings and fill in the Your IP Address field (if you have one). This will prevent your visits to the site from being included in the impression count. Failure to do this could be considered somewhat dishonest (noting, however, that many Administrators don’t have a permanent IP – e.g. those using dial up modems).

The Banner Administration section of the control panel is divided into several sections, described below:

2.4.2. Current active banners

A summary of the details of banners currently being displayed. ‘Banner ID’ is simply a unique identifier. ‘Impressions’ is the number of times the banner has been displayed. ‘Imp. Left’ is the number of paid impressions remaining. ‘Clicks’ is the number of times a visitor has clicked on the banner. This is used to calculate ‘% Clicks’ which is a useful gauge of the effectiveness of a banner – the higher the better. ‘Client Name’ is the owner of the banner.

Current Active Banners

Figure 2.2. Current Active Banners

2.4.3. Add new banner

You can add new banners to your website through this form. The fields are as follows:

FieldDescription
Client Name:Assign the ownership of a banner via this drop down box. The client must be registered first!
Impressions purchased:Enter the number of impressions the client has paid for here. Enter ‘0’ to give them unlimited impressions (this is useful for your own advertisements, or arrangements based on time rather than impressions).
Image URL:Enter the URL to retrieve the banner here.
Click URL:Clicking on the banner will open the URL assigned here. This would normally be the client’s website or a page describing the product.
Use HTML?You may wish or need to use HTML in your banner. Check this box to enable it (it is disabled by default).
Code HTML:If you want to use HTML, enter it in this box.

Table 2.2. New Banner

2.4.4. Editing banners

Select the ‘edit’ link to open a form that displays the banner and its details. The fields are almost the same as above and may be changed freely. The only difference is that the ‘Impressions Purchased’ field is now called ‘Add More Impressions’; and the number of impressions already paid for / used is also displayed. You can reduce the number of impressions purchased by entering a negative number.

2.4.5. Finished banners

Banners are moved to this section of the control panel as they become inactive (i.e. when the number of impressions left = zero).

2.4.6. Advertising clients

A list of your current clients and their details:

Advertising Clients

Figure 2.3. Advertising Clients

2.4.7. Add new client

Fill in the form to register new advertising clients. This creates an account that the client can login to view the current status of their banner advertisements:

FieldDescription
Client Name:Normally the name of the company.
Contact Name:Your contact at the company.
Contact Email:Make sure you get this right. A summary of current banner statistics will be sent to this address when the client requests a status report (see ‘Client banner accounts’ below).
Client Login:Assign a login name for your client here. You will have to inform clients of their login and password manually. This is entirely separate from the main site login system.
Client Password:Assign a password for your client’s account here. The client cannot change this. Pick something secure.
Extra Info:A discretionary ‘notes’ field, enter anything you like in here.

Table 2.3. New Client

Clients can check the status of their banners at any time by visiting http://www.yoururl.com/banners.php. This presents a login screen where the client must enter their login and password (assigned by you via the ‘add client’ form).

After login, clients are presented with a table summarising their banner statistics (described in ‘Current active banners’ above), and a display of their currently running banners. The ‘Email Stats’ link enables the client to send the current report, marked with a timestamp, to their contact email address. The client can re-point the banner to any URL they choose via the ‘Change URL’ box. This enables them to redirect the focus of their advertisement as needed.

Logging in

Figure 2.4. Logging in

The comments are owned by the author. We aren't responsible for their content.

Author Thread
dalong
Published: 2006/11/16 8:00  Updated: 2006/11/16 8:00
Just popping in
Joined: 2006/11/16
From:
Comments: 2
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
very good!
I like here!

Author Thread
dalong
Published: 2006/11/16 10:13  Updated: 2006/11/16 10:13
Just popping in
Joined: 2006/11/16
From:
Comments: 2
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
thank for your work!

Author Thread
huqilong
Published: 2006/11/20 2:50  Updated: 2006/11/20 2:50
Just popping in
Joined: 2006/11/16
From:
Comments: 3
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
I hava a question ,when I have installed phpeclipse,I can't user the button for the apache in the Eclipse IDE,how shoud I do?

Author Thread
huqilong
Published: 2006/11/20 3:10  Updated: 2006/11/20 3:10
Just popping in
Joined: 2006/11/16
From:
Comments: 3
 Re: xo-002 http://www.apachefriends.org/en/xampp.html
dddd

Author Thread
Mark_1900
Published: 2006/11/18 11:05  Updated: 2006/11/18 11:09
Just popping in
Joined: 2006/11/18
From:
Comments: 2
 Alias Permission Problems
For an Alias I also had to add a Directory tag to the httpd.conf, otherwise I had permission problems accessing the files... <br /> [code] Alias /wiki "C:/Documents and Settings/Me/wiki"<br /> <Directory "C:/Documents and Settings/Me/wiki"><br /> Options Indexes MultiViews<br /> AllowOverride None<br /> Order allow,deny<br /> Allow from all<br /> </Directory><br /> [/code]<br /> Oh and all these editing tags seem broken!!

Author Thread
Mark_1900
Published: 2006/11/18 11:21  Updated: 2006/11/18 11:32
Just popping in
Joined: 2006/11/18
From:
Comments: 2
 Getting the correct php_dbg.dll
I want a debugger. I downloaded the latest XAMPP 1.5.4a and noticed that it comes with PHP 5.1.6 & PHP 4.4.4, and neither are supported. The debugger module only supports a subset of these major versions from 5.1.0 to 5.1.2 and 4.4.0 to 4.4.2 (http://dd.cron.ru/dbg/downloads.php). I think right at the beginning you should specify which versions to download to get a debugger Version "XAMPP 1.5.2" would be fine.

Author Thread
huqilong
Published: 2006/11/30 6:28  Updated: 2006/11/30 6:28
Just popping in
Joined: 2006/11/16
From:
Comments: 3
 Re: xo-002 http://www.apachefriends.org/en/xampp-windows....
I want to know how to use phpeclipse with eclipse detailly!

Author Thread
thierrybo
Published: 2007/2/3 16:19  Updated: 2007/2/3 16:21
Just popping in
Joined: 2007/2/3
From:
Comments: 1
 Re: xo-002 ch02s03.html Workspace Method 2
I do not agree with the suggested method 2: Quote:
For example you have set up XAMPP and your “document root” path is the XAMPP default:
C:Program Filesapachefriendsxampphtdocs
Quote:
,then your appropriate workspace path should be one level less:
C:Program Filesapachefriendsxampp
If htdocs is your document root, then each folder inside IS a new project and you should set workspace directory as Document Root directory. With suggested method, all your web projects are managed with ONE big PHPeclipse project.

Author Thread
dafydd
Published: 2007/4/3 6:01  Updated: 2007/4/3 6:01
Just popping in
Joined: 2007/4/3
From:
Comments: 2
 Re: xo-002 ch01.html
Trying this out on a Mac. J2SE 1.5.0_07-164 installed. 1.5.0_06 is what's available on the download site. However, it would almost certainly be updated with Software Update.

Author Thread
dafydd
Published: 2007/4/6 1:00  Updated: 2007/4/6 1:00
Just popping in
Joined: 2007/4/3
From:
Comments: 2
 Re: xo-002 ch01s04.html
Second question: How do we point the XAMPP start/stop buttons in the Eclipse toobar to where we put XAMPP?

dafydd

Author Thread
dysmas
Published: 2007/8/4 14:18  Updated: 2007/8/4 14:18
Just popping in
Joined: 2007/8/4
From:
Comments: 1
 Debugging standalone PHP applications
Thanks hundred times for all the detailed explanations here !!

And especially for the note which explains why debugging a CLI application does not work in 1.1.8 version and only in 1.1.9. (wrong port, as I guessed, but I have been looking for this information for some hours before coming here). Unfortunately this 1.1.9 CVS version does not work in the last 3.2.0 Eclipse version I just got. Let us hope the stable version is going quickly.

Author Thread
Mercyful
Published: 2007/9/10 14:46  Updated: 2007/9/10 14:46
Just popping in
Joined: 2007/9/10
From:
Comments: 1
 Re: dbg is not working
I want using eclipse3.2 with php-plugin and for debugging i want using dbg.
I'm using xampp 1.6.3a with php 4.4.7. and php_dbg.dll-4.4.x
After step by step installation
http://docs.schuetzengau-freising.de/ ... =xo-002&file=ch01s05.html
the debugger dbg will not work.
When i called phpinfo() there is no section dbg shown.
Who have any ideas?
Thanks a lot!
Regards Mercyful

Author Thread
keryx
Published: 2007/9/26 22:59  Updated: 2007/9/26 22:59
Just popping in
Joined: 2007/9/26
From:
Comments: 1
 Re: xo-002 ch04.html
A section about verrors should be nice. I get the following:


<terminated, exit value: 0>PHP C:\Program\PHP\php.exe : <path>/<fil>.php

I've googled like crazy but to no avail. And yes - it does not stop at breakpoints and "variables" are empty. DBG is working:

if (function_exists ("DebugBreak")) {
DebugBreak ();
echo "debugging started!<br />\n";
}

Outputs "debugging started!" And DBG is reported on phpinfo().

Author Thread
koski
Published: 2007/10/19 3:55  Updated: 2007/10/19 3:55
Just popping in
Joined: 2007/10/19
From:
Comments: 1
 Re: xo-002 ch01s03.html
Hi,

Seems that the mentioned link for cvs:

http://phpeclipse.sourceforge.net/update/cvs

is out of date or wrong.

Author Thread
andybruk
Published: 2007/11/18 1:11  Updated: 2007/11/18 1:11
Just popping in
Joined: 2007/11/18
From:
Comments: 1
 Re: xo-002 index.html
I've been searching for a PHP debugger for ages. This is the only one I can find that works perfectly, thanks very much for providing this documentation.<br /><br />I doubt if I could ever get it to work on Windows, but it works so well with Ubuntu Linux and Eclipse 3.1.<br />
Powered by XOOPS 2.0 © 2001-2005 The XOOPS Project