2005/10/09 | 如何去掉动网论坛的广告
类别(网页制作) | 评论(1) | 阅读(1463) | 发表于 13:36
去广告

打开inc/Dv_ClsMain.asp

找到

If IsSqlDataBase = 0 Or (IsBuss = 0 And IsSqlDataBase = 1) Or Forum_Info(0)="动网先锋论坛" Then
Alibaba_Ad = "网上贸易 创造奇迹! <a href = ""http://china.alibaba.com"" title = ""从网民、网友时代进入“网商”时代"" target=_blank>阿里巴巴</a> <a href = ""http://www.alibaba.com"" title= ""Online Marketplace of Manufacturers & Wholesalers"" target = ""_blank"">Alibaba</a><BR><BR>"
End If

改为

'If IsSqlDataBase = 0 Or (IsBuss = 0 And IsSqlDataBase = 1) Or Forum_Info(0)="动网先锋论坛" Then
'Alibaba_Ad = "网上贸易 创造奇迹! <a href = ""http://china.alibaba.com"" title = ""从网民、网友时代进入“网商”时代"" target=_blank>阿里巴巴</a> <a href = ""http://www.alibaba.com"" title= ""Online Marketplace of Manufacturers & Wholesalers"" target = ""_blank"">Alibaba</a><BR><BR>"
'End If

第二个

风格模板总管理 Mainstyle界面风格管理 Dvbbs.mainhtml(8)

找到

{$alipaymsg}

删掉它



第一:
将“网上贸易 创造奇迹! 阿里巴巴 Alibaba”
换成你论坛管理员的QQ号码和名称!
第二:

发送图片到手机
发送图片到手机换成你论坛的统计图片,比如我的是:
发送图片到手机
发送图片到手机,只要轻轻一改就可以了

打开inc/Dv_ClsMain.asp

找到

If IsSqlDataBase = 0 Or (IsBuss = 0 And IsSqlDataBase = 1) Or Forum_Info(0)="动网先锋论坛" Then
Alibaba_Ad = "网上贸易 创造奇迹! <a href = ""http://china.alibaba.com"" title = ""从网民、网友时代进入“网商”时代"" target=_blank>阿里巴巴</a> <a href = ""http://www.alibaba.com"" title= ""Online Marketplace of Manufacturers & Wholesalers"" target = ""_blank"">Alibaba</a><BR><BR>"
End If

改为

If IsSqlDataBase = 0 Or (IsBuss = 0 And IsSqlDataBase = 1) Or Forum_Info(0)="动网先锋论坛" Then
Alibaba_Ad = "管理员1 <a href = "http://wpa.qq.com/msgrd?V=1&Uin=75068813&Site=By Dvbbs&Menu=yes" title = ""联系我联系我"" target=_blank>QQ交谈的连接</a> 管理员2 <a href = "http://wpa.qq.com/msgrd?V=1&Uin=75068813&Site=By Dvbbs&Menu=yes" title = ""联系我联系我"" target=_blank>QQ交谈的连接</a><BR><BR>"
End If



找到

Tmp = Replace(Tmp,"{$alipaymsg}","<td width=""2%""></td><td align=right valign=bottom><a href=""https://www.alipay.com"" target=_blank><img src="""&Dvbbs_Server_Url&"dvbbs/alipay_icon2.gif"" border=0 alt=""本论坛采用阿里巴巴支付宝网上银行支付系统,安全、可*、便捷""></a></td>")

改为

Tmp = Replace(Tmp,"{$alipaymsg}","<td width=""2%""></td><td align=right valign=bottom><a href=""统计地址的路径"" target=_blank><img src="""统计图标的路径"" border=0 alt=""论坛统计""></a></td>")



[更正]去掉啊里巴巴而又保留官方版权信息简单教程(免改文件)
彻底关闭论坛底部的阿里巴巴广告·图标方法

打开后台->动网默认风格分页面模板(main_style)->界面风格管理->Dvbbs.mainhtml(8)

<!--页面结束部分-->
<br><br>
<div id=Footer_ads align=center>{$Footer_ads}</div>
<table cellspacing="0" cellpadding="0" align="center" width="98%">
<tr>
<td align=center style="line-height: 130%">
<table align="center"><tr>
<td align="center">
{$powered}<br>{$copyright}{$runtime}
</td>
{$alipaymsg}
</tr></table>
</td>
</tr>
<tr><td height=5></td></tr>
</table>
<iframe id="stylecss" border="0" style="width:0;height:0;"></iframe>
</body></html>

注意:红色部分为删除部分,其中把{$powered}替换以下代码即可恢复动网官方版权信息,代码如下:

Powered By <A href="http://www.dvbbs.net/" target=_blank><FONT color=#000000>Dvbbs</FONT></A> <A href="http://www.dvbbs.net/download.asp" target=_blank><FONT color=#000000>Version 7.1.0</FONT></A>


演示论坛:http://ynwo.com/good/index.asp

修改完成后的源码如下:覆盖到动网默认风格分页面模板(main_style)->界面风格管理->Dvbbs.mainhtml(8)即可.

<!--页面结束部分-->
<br><br>
<div id=Footer_ads align=center>{$Footer_ads}</div>
<table cellspacing="0" cellpadding="0" align="center" width="98%">
<tr>
<td align=center style="line-height: 130%">
<table align="center"><tr><td align="center">
Powered By <A href="http://www.dvbbs.net/" target=_blank><FONT color=#000000>Dvbbs</FONT></A> <A href="http://www.dvbbs.net/download.asp" target=_blank><FONT color=#000000>Version 7.1.0</FONT></A>
<br>{$copyright}{$runtime}
</td>
</tr></table>
</td>
</tr>
<tr><td height=5></td></tr>
</table>
<iframe id="stylecss" border="0" style="width:0;height:0;"></iframe>
</body></html>
0

评论Comments