Java IRC Client Help on Advertising
1. Post ads on-line:
To post ad, you must use a special nick name defined by a site administrator.
Use the pulldown menu Tools|Post Ad. If the menu item is disabled,
you need to set yourself as ad posting admin, which is defined in the
irc.htm file. When the ad posting window is open, you can do the
following,
- Prepare Ads for a room: select a room that you want to post Ads.
The choice 'All rooms' means all rooms that you are in, NOT all rooms
on the server.
- Ads posting frequency: when the 'Manually' is selected, the ads
will only be posted by the administrator manually (one at a time).
Otherwise, all ads in the list will be posted at the selected time
interval (auto mode). The time between posting each ad is 5 seconds
in the auto mode.
- Ad text entry (required): the text in this entry will be displayed
in the ticker of users in this room when posted. Example: Solutions
for a small planet (IBM). Ads with exactly the same text will be
displayed only once (case sensitive).
- Ad image URL: Display an image for an Ad. When image is available,
the ticker will display the image instead of displaying the text.
Example: http://www.ibm.com/ibm_logo.gif. Make sure your images
are of proper proportion to fit in the ticker.
- Associated URL: when users click on an ad in the ticker, this URL
will be displayed in a separated browser (launched automatically).
Example: http://www.ibm.com/.
Note: this function works when you run the applet through a
browser. Appletviewer won't work for this feature.
Buttons functions:
- Replace/Add: Replace an existing ad in the list (if one is selected),
or add a new ad into the list (none is selected).
- Delete: delete the selected ad in the list.
- Clear list: delete all ads in the list.
- Post selected: post the selected ad to users in the selected room
(manual mode).
- Remove from ticker: remove the selected ad from the ticker.
- Remove all: remove all messages from the ticker.
- Load from URL: if you prepare ads in a text file, which can be served
from a web server, ads can be loaded into the list. The format of the
off-line prepared ads is: Ad text\\URL to display when ad been clicked\\URL of an image (all URLs have to be fully qualified).
- Done: finish ad work. Close the window and automatic advertising functions stop.
2. Post static ads:
In the irc.htm file, you can define static ads that will be displayed when
a client download this applet. The syntax for the ads in the html tag is:
<param name=initAd0 value="Ad text\\URL to go when clicked\\URL of image to display in the ticker">
You can add upto 10 ads this way, from initAd0 to initAd9.
3. Client poll ads from the web server:
This feature allows web site administrator to set a URL for all clients
to poll ads from the server automatically. The URL can be a file or a cgi.
The polling frequency is configurable by the administrator in the irc.htm file.