Change the top and bottom of the Web forum Flash method

Source: Internet
Author: User
Tags iis modify net query

Because the dynamic network forum to the top and bottom of the flash all into their own ads, and can not be changed in the background, this

Indeed a bit too much oh ~ ~, really good students want me to help him to change this two flash, so the study of the move net 7.0 below is my modification process!

Top Flash:
1, name your flash as banner02.swf and put it in the ad directory.

Or:

Alternatively, you may not name banner02.swf at this time you need to modify the database (Dvbbs7.mdb in the data directory)
Change the banner02.swf (two places) in the row A_adcode field in the Table Dv_adcode a_address field to 0001 to your flash name
To change to a picture connection, change to Object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= http://download.macromedia.com/ pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 "width=" 468 "height=" >param Name=movie "value=" www.163design.net/a/y/ad/banner022.swf ">param name=quality value=high>param name=menu value=false>embed Src= "http://www.163design.net/a/y/ad/banner022.swf" Quality=high pluginspage= "http://www.macromedia.com/ Shockwave/download/index.cgi? P1_prod_version=shockwaveflash "type=" Application/x-shockwave-flash "width=" 468 "height=" ">/embed>/object" >


0001
The first two paragraphs are your top Flash implementation code is also the A_adcode field content in table Dv_adcode
and the third paragraph 0001 is the A_address field in table Dv_adcode that I said earlier

2. This is the key, it is estimated that many people did not change the reason: because he used the data caching technology, so if you make the first step can not immediately see the effect
Then we need to restart the IIS service and reopen the Web page!


Bottom Flash:
This change is indeed more troublesome, really admire moving nets, their own advertising so hidden!
Because the dynamic network to the bottom of the flash binary data stored in the database, so you must write a Web page to modify this database field contents
I wrote three files (img_upfile.asp,connfile.asp,img_upload.asp), just put it in your forum directory and then enter the URL to browse img_upload.asp
Upload the flash or picture you want.
If the original flash is still displayed please reboot IIS

On the img_upfile.asp point of addition:
Find Code
sql_img = "SELECT * from Dv_chanad where a_adname= ' gnjs_tl.swf '"
I'm a_adname= ' gnjs_tl.swf ', and I guess that's it, of course you can confirm that.
Enter the Web Site Browsing Forum home page, and then view the source code files, find show_ad_sc.asp
You'll see a code like this
Value= "show_ad_sc.asp?fn=gnjs_tl.swf"
One of the gnjs_tl.swf is the query statement, if this has changed, it is necessary to modify the above query sentence!

~ ~ ~ ~ ~ Well, solved, take a break!



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.