首先你需要用記事本打開根目錄下的:
Loadservoces.asp 文件
用查找方式找到:
Application(Dvbbs.CacheName & "_TextAdservices").documentElement.appendChild( Application(Dvbbs.CacheName & "_TextAdservices").createNode(1,"text","")).text="<iframe src="""&Dvbbs_Server_Url&"dvbbs/DvDefaultTextAd.asp"" height=""23"" width=""100%"" marginwidth=""0"" marginheight=""0"" hspace=""0"" vspace=""0"" frameborder=""0"" scrolling=""no""></iframe>"
即倒數第五行換成:
'Application(Dvbbs.CacheName & "_TextAdservices").documentElement.appendChild( Application(Dvbbs.CacheName & "_TextAdservices").createNode(1,"text","")).text="<iframe src="""&Dvbbs_Server_Url&"dvbbs/DvDefaultTextAd.asp"" height=""23"" width=""100%"" marginwidth=""0"" marginheight=""0"" hspace=""0"" vspace=""0"" frameborder=""0"" scrolling=""no""></iframe>"
也就是注釋這一行的意思
接下來,用查找方式找到:
xmlserverurl="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp"
這一行
換成:
'xmlserverurl="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp"
也就是注釋
上傳后更新一下緩存。最好是多更新幾次緩存。
這樣的做法效果也達到了。到時候有問題時也不用去查代碼是否不在了