赤脚小乐
发表于 2007-9-2 11:02:00
<p><strong>动网论坛 dvbbs 8.0 让你的IE滚动条变的更漂亮</strong>
</p><p>风格界面模板总管理、当前模板CSS设置<a href="http://www.hahala.com/bbs/admin/template.asp#" target="_blank"><font color="#004f97">(StyleName)</font></a> 、<a href="http://www.hahala.com/bbs/admin/template.asp?action=editcss&StyleID=1" target="_blank"><font color="#004f97">修改CSS样式</font></a>、aspsky_1.css修改样式内容:</p><p>最前面加入:</p><p>HTML {<br/> SCROLLBAR-FACE-COLOR: #e9f5fb;<br/> SCROLLBAR-HIGHLIGHT-COLOR: #fbfbfb;<br/> SCROLLBAR-SHADOW-COLOR: #87c2ef;<br/> SCROLLBAR-3DLIGHT-COLOR: #87c2ef;<br/> SCROLLBAR-ARROW-COLOR: #300;<br/> SCROLLBAR-TRACK-COLOR: #f6f6f6;<br/> SCROLLBAR-DARKSHADOW-COLOR: #fbfbfb<br/>}</p><p>好了。刷新看效果吧。</p><p>如果想让分栏的滚动条也变的漂亮,请打开inc/Templates/leftmenu.xslt<br/>找到以下代码<style type="text/css">随后加上上面的代码,一切OK!</p>
赤脚小乐
发表于 2007-9-2 11:02:00
<p><strong>动网论坛 dvbbs 8.0 修复邮件验证方法</strong>
</p><p>共要修改2个文件</p><p>一个是reg.asp</p><p>把</p><p> If Dvbbs.Forum_Setting(25)="1" Then<br/> Rs("UserGroupID")=5<br/> Else<br/> Rs("UserGroupID")=Dvbbs.UserGroupID<br/> End If</p><p>修改成</p><p> If Dvbbs.Forum_Setting(25)="1" Then<br/> Rs("UserGroupID")=5<br/> elseif Dvbbs.Forum_Setting(23)="1" then<br/> Rs("UserGroupID")=6<br/> Else<br/> Rs("UserGroupID")=Dvbbs.UserGroupID<br/> End If</p><p>第二个是login.asp</p><p>把</p><p>If rsUser(2)=1 Or rsUser(2)=2 Or rsUser(2)=4 Or rsUser(2)=5 Then</p><p>修改成</p><p>If (rsUser(2)=1 and GroupID<>6 ) Or rsUser(2)=2 Or rsUser(2)=4 Or rsUser(2)=5 Then</p><p><br/></p>
赤脚小乐
发表于 2007-9-2 11:03:00
<p><strong>动网论坛 dvbbs 8.0 分栏的左栏的定义和修改</strong>
</p><p>在frameleft.asp里</p><p><TITLE>左右分栏</TITLE><br/></head><br/><body><br/><script type="text/javascript"><br/>if (document.getElementById){ //DynamicDrive.com change<br/>document.write('<style type="text/css">\n')<br/>document.write('.submenu{display: <font color="#ff0000">none</font>;}\n')<br/>document.write('</style>\n')</p><p>红色的字改为block就可以实现进入分栏分<font color="#004f97">论坛</font>为全部打开状态!!</p>
赤脚小乐
发表于 2007-9-2 11:03:00
<p><strong>动网论坛 dvbbs 8.0 去掉:国内使用量最大的动网论坛</strong></p><p>首先你需要用记事本打开根目录下的:</p><p><br/></p><p>Loadservoces.asp 文件</p><p><br/></p><p>用查找方式找到:</p><p>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>"</p><p><br/></p><p>换成:</p><p><font color="#ff0000">'</font>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>"</p><p><br/></p><p>也就是注释这一行的意思</p><p><br/></p><p>接下来,用查找方式找到:</p><p><br/></p><p>xmlserverurl="<a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"></a><a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"></a><a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"></a><a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"><font color="#000000">http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp</font></a><a target="_blank"></a><a target="_blank"></a><a target="_blank"></a>"</p><p><br/></p><p>这一行换成:</p><p><br/></p><p><font color="#ff0000">'</font>xmlserverurl="<a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"></a><a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"></a><a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"></a><a href="http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp" target="_blank"><font color="#000000">http://server.dvbbs.net/dvbbs/Dv_xmlservices.asp</font></a><a target="_blank"></a><a target="_blank"></a><a target="_blank"></a>"</p><p><br/></p><p>也就是注释这一行的意思</p><p><br/></p><p>红色部分为增加的代码,上传后更新一下缓存。最好是多更新几次缓存。</p><p><br/></p><p>这样的做法效果也达到了。到时候有问题时也不用去查代码是否不在了</p><p><strong></strong></p>
赤脚小乐
发表于 2007-9-2 11:04:00
<p><strong>动网论坛 dvbbs 8.0 去掉flashget下载</strong>
</p><p><font color="#f70909">inc/Dv_ubbcode.asp</font></p><p>Dim ServerHttp :ServerHttp = Dvbbs.Get_ScriptNameUrl<br/>Dim UserFlashGet<br/>UserFlashGet = 1 '指定FLASHGET<font color="#004f97">下载</font> : <font color="#f73809">0</font>为关闭,<font color="#0000ff">1</font>为开启</p><p>其实可以放上自己的flashget广告代码。我的就是放的自己的广告</p>
赤脚小乐
发表于 2007-9-2 11:04:00
<p><strong>后台插件管理、博客管理里面有二处选取颜色的图片不显示</strong>
</p><p>后台<a class="ReplaceKeyword" href="http://www.google.cn/custom?sa=Google+%CB%D1%CB%F7&client=pub-3625043426619173&forid=1&ie=GB2312&oe=GB2312&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A0%3BLW%3A0%3BL%3Ahttp%3A%2F%2Fwww.hahala.com%2Fbbs%2Findex%2Fskins%2Flogo_google.jpg%3BS%3Ahttp%3A%2F%2Fwww.hahala.com%3BFORID%3A1&hl=zh_CN&q=插件" target="_blank"><font color="#004f97">插件</font></a>管理、博客管理里面有二处选取颜色的图片不显示,修改如下:</p><p>打开BokeAdmin.asp,找到<font color="#ff0000">../</font>images/post/rect.gif改成images/post/rect.gif就可以了,一共有二处,红色部分为去掉的代码</p>
赤脚小乐
发表于 2007-9-2 11:05:00
<p><strong>动网论坛 dvbbs 8.0 增加搜索引擎友好度</strong>
</p><p>DV发布了8.0,增加了不少功能。今天一好友讨论到7.1<a class="ReplaceKeyword" href="http://www.google.cn/custom?sa=Google+%CB%D1%CB%F7&client=pub-3625043426619173&forid=1&ie=GB2312&oe=GB2312&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A0%3BLW%3A0%3BL%3Ahttp%3A%2F%2Fwww.hahala.com%2Fbbs%2Findex%2Fskins%2Flogo_google.jpg%3BS%3Ahttp%3A%2F%2Fwww.hahala.com%3BFORID%3A1&hl=zh_CN&q=首页" target="_blank"><font color="#004f97">首页</font></a>模板里增加搜索引擎友好度的一段代码,在8.0中消失了。不知道是因为有了Xhtml无图版和Xslt无图版,觉得<a class="ReplaceKeyword" href="http://www.google.cn/custom?sa=Google+%CB%D1%CB%F7&client=pub-3625043426619173&forid=1&ie=GB2312&oe=GB2312&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A0%3BLW%3A0%3BL%3Ahttp%3A%2F%2Fwww.hahala.com%2Fbbs%2Findex%2Fskins%2Flogo_google.jpg%3BS%3Ahttp%3A%2F%2Fwww.hahala.com%3BFORID%3A1&hl=zh_CN&q=首页" target="_blank"><font color="#004f97">首页</font></a>里专门为搜索引擎准备的每版分页没用了,还是其他什么原因。我觉得还是加上好些,反正对速度也没什么影响。 </p><p><strong>效果</strong>:</p><p><a href="http://bbs.dvbbs.net/Dv_UPLOADFILE/2007-6/2007628071258200.jpg" target="_blank"><img title="" alt="图片点击可在新窗口打开查看" src="http://bbs.dvbbs.net/Dv_UPLOADFILE/2007-6/2007628071258200.jpg" border="0" dypop="dvubb" style="CURSOR: pointer;"/></a><br/>(搜索机器人抓到的页面)</p><p><a href="http://bbs.dvbbs.net/Dv_UPLOADFILE/2007-6/2007628084345047.jpg" target="_blank"><img title="" alt="图片点击可在新窗口打开查看" src="http://bbs.dvbbs.net/Dv_UPLOADFILE/2007-6/2007628084345047.jpg" border="0" dypop="dvubb" style="CURSOR: pointer;"/></a><br/>(普通的WEB访问不会出现,依旧保持8.0的原始界面)</p><p></p><p><strong>修改步骤</strong></p><p><strong>建议</strong>:把以下修改将模板中的内容复制到你平常熟悉的文本编辑器,如:记事本、EditPlus 、UltraEdit、DW等中修改,改好替换进去,查找、修改起来比较方便。</p><p><strong>步骤:</strong>进入后台风格模板管理--分页面模板(page_index)--template.html(0),找到</p><div class="HtmlCode"></div><br/></div><br/><font color="#ff00ff"><div class="mainbar2" style="height:1px;overflow :hidden;"><br/></div><br/></font></xsl:for-each><br/></xsl:template></div><p></p><p>将<font color="#ff00ff"><strong>粉红色部分</strong></font>替换为以下<font color="#0033ff"><strong>蓝色部分</strong></font></p><strong><font color="#0033ff"><div class="HtmlCode"></div><br/></div><br/><font color="#0000ff"><xsl:choose><br/><xsl:when test="</font><a target="_blank"><font color="#0000ff">/BoardList/forum_setting/@issearch=1</font></a><font color="#0000ff">"><br/><div class="mainbar2" style="height:25px;overflow :hidden;"><br/><div class="index_right" style="height:25px;"></div><br/><div class="index_left_states" style="height:25px;"></div><br/><div style="text-align : left; text-indent:5px;"><br/><a href="index.asp?BoardID={$boardid}&amp;Page=2" title="{@boardtype}第二页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=3" title="{@boardtype}第三页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=4" title="{@boardtype}第四页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=5" title="{@boardtype}第五页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=6" title="{@boardtype}第六页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=7" title="{@boardtype}第七页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=8" title="{@boardtype}第八页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=9" title="{@boardtype}第九页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=10" title="{@boardtype}第十页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=11" title="{@boardtype}第十一页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=12" title="{@boardtype}第十二页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=13" title="{@boardtype}第十三页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=14" title="{@boardtype}第十四页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=15" title="{@boardtype}第十五页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=16" title="{@boardtype}第十六页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=17" title="{@boardtype}第十七页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=18" title="{@boardtype}第十八页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=19" title="{@boardtype}第十九页"></a> <br/><a href="index.asp?BoardID={$boardid}&amp;Page=20" title="{@boardtype}第二十页"></a> <br/></div><br/></div><br/></xsl:when><br/><xsl:otherwise><br/><div class="mainbar2" style="height:1px;overflow :hidden;"></div><br/></xsl:otherwise><br/></xsl:choose><br/></font></xsl:for-each><br/></xsl:template></div></font></strong>
赤脚小乐
发表于 2007-9-2 11:06:00
<p><b>客人登录论坛首页,点“分栏”后,右栏空白,登录后再点“分栏”,右栏显示验证码错误</b>
</p><p>解决方法:<br/>index.asp文件中<br/></p><p class="quote">If RightUrl = "" Then</p><p><br/>改为<br/></p><p class="quote">If RightUrl = "" Or Dvbbs.UserID = 0 Then</p><p></p><p>32:<strong>后台基本设置中设置上传水印文字为粗体,选“是”,再回基本设置中查看时,仍为“否”</strong></p><p><strong></strong></p><p><font size="2">admin/setting.asp文件中,找到<br/></font></p><div class="msgheader">QUOTE:</div><div class="msgborder">CheckSel('UploadSetting(7)','<%=UploadSetting(7)%>');<br/></div><p>下面一行添加<br/></p><div class="msgheader">QUOTE:</div><div class="msgborder">CheckSel('UploadSetting(8)','<%=UploadSetting(8)%>');</div>
赤脚小乐
发表于 2007-9-2 11:06:00
<p><strong>动网博客bokeindex.asp 355行出错解决办法</strong></p><p><font face="宋体" size="2">Microsoft VBScript 运行时错误<font face="宋体, MS Song"><br/> </font><font face="宋体" size="2">错误 '800a01a8'</font></font></p><p><font face="宋体" size="2">缺少对象: 'DvBoke.SysChatCat.selectSingleNode(...)'</font></p><p><font face="宋体" size="2">/BokeIndex.asp,行 355</font><br/></p><p>修改方法:</p><div class="msgheader">QUOTE:</div><div class="msgborder"> DvBoke_Sys.SqlStr = "Select Top 8 TopicID,CatID,sCatID,UserID,UserName,Title,PostTime,Child,Hits,IsView,IsLock,sType,LastPostTime,IsBest From where sType<>2 and IsLock<3 Order By TopicID desc "</div><p>改为</p><div class="msgheader">QUOTE:</div><div class="msgborder"> DvBoke_Sys.SqlStr = "SELECT Top 8 TopicID, CatID, sCatID, UserID, UserName, Title, PostTime, Child, Hits, IsView, IsLock, sType, LastPostTime, IsBest From WHERE NOT sType = 2 AND IsLock < 3 AND sCatID IN (SELECT sCatID FROM WHERE sType = 1) ORDER BY TopicID DESC"</div><p>同样的将</p><div class="msgheader">QUOTE:</div><div class="msgborder">DvBoke_Sys.SqlStr = "Select Top 8 PostID,BokeUserID,CatID,sCatID,ParentID,RootID,UserID,UserName,Title, Content,JoinTime From where ParentID>0 Order By PostID desc "</div><p>改为</p><div class="msgheader">QUOTE:</div><div class="msgborder">DvBoke_Sys.SqlStr = "Select Top 8 PostID,BokeUserID,CatID,sCatID,ParentID,RootID,UserID,UserName,Title, Content,JoinTime From where NOT stype=2 And Islock<3 And ScatID IN (SELECT sCatID FROM WHERE sType = 1) Order By PostID desc "</div><p><strong></strong></p><p><br/></p>
赤脚小乐
发表于 2007-9-2 11:08:00
<p><strong>动网论坛 dvbbs 8.0 贴子个人信息加入魅力,金钱等</strong>
</p><div class="msgheader">QUOTE:</div><div class="msgborder">后台dispbbs mplate.html(0) 中,在积分下加入:<br/><div><br/> 金币:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@usermoney"/></div><br/><div><br/> 魅力:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@usercp"/><br/> </div><br/><div><br/> 经验:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userep"/><br/> </div><br/><div><br/> 金钱:<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userwealth"/></div></div><p>如果<font color="#004f97">调用</font>资料多了有时候会部分表格断线,解决方法就是<br/>动网默认风格分页面模板(page_dispbbs)界面风格管理----template.html(0)<br/><xsl:when test="post/agent/@browser='Microsoft Internet Explorer'">height:<font color="#f709f7">200</font>px;width:97%;padding-right:0px; overflow-x: hidden;</xsl:when><br/> <xsl:otherwise>min-height:<font color="#ff00ff">200</font>px;</xsl:otherwise><br/>将红色部分数字望大处改!可以500px,你看着改吧!<br/></p>