Tutorials How to add ad banner in 123 Flash Chat Server SoftwareHow to add ad banner to chat? |
Ad banner can be inserted into a chat, and attached at the bottom. For example, let's presume the original chat size is x1*y1, and the original ad banner size is x2*y2. Following picture explains how the chat size will alter after the ad banner is inserted. |
Step by step instructions. |
It only takes two steps to insert ad banners into chat, they are: Step 1): Upload ads One ad or a series of rotating ad banners can be displayed in 123 flash chat, please upload them first to the same folder with 123flashchat.swf. |
Step 2): Enable ad feature in client.xmlWith a text-editing tool like notepad, you can edit <123flashchat installed directory>/client/client.xml. Find sample code: <advertisingBanner enable="false" height="60" width="468"> <banner src="ad/banner1.jpg" href="http://www.123flashchat.com" duration="8"/> <banner src="ad/banner2.jpg" href="http://www.123flashchat.com/host.html" duration="5"/> <banner src="ad/banner3.swf" href="http://www.123flashchat.com/howto_advertising_banner.html" duration="5"/> </advertisingBanner> You can see ad feature is disabled by default, edit the code to :enable="true" to turn it on. Remark:1) src value src value is the filename of the ad files. Use relative URL if it's not in the present folder with 123flashchat.swf. eg: src="ad/banner1.jpg" 2) href value href value is ad link, so visitors can be directly linked to that URL when they click the ad_banner. If you don't want any link, just leave it blank. 3) duration value duration value is the duration of current ad. For example, if you set it "10" ,then this banner will be shown there for 10 seconds before shifted to next banner. If there's only one exclusive banner, you can leave the duration null. |
Why my ad banner won't show? |
Ad banner can only be JPG or SWF format, following formats are not allowed: gif, png, bmp, psd. etc. due to the macromedia regulation that only JPG or SWF can be externally inserted to flash SWFs. For jpg format, it has to be non-progressive mode. If not, please use a software like acdsee to convert it. eg: open your jpg in acdsee, then File -> Save as, choose options in popup dialog and in the option of encoding, DON'T check Progressive, then save jpg. Done. For gif banner, convert it to SWF first in this way: import it to macromedia flash and export it as SWF. |
|

|
|
TOPCMM News
24 Hours Support
+86-21-51785636 (China) +1-858-866-9362 (USA)
Mailing List
|