好像用ACCESS的朋友也不少啊.
安装很简单的.下面是小鱼写的安装说明.对着一样安装就可以了.
//==================================
文件说明:
1、Fish(文件夹) 两个用到的小图片
2、conn.asp 数据库连接文件
3、focus.swf FLASH图片展示
4、pic.asp 图片主控文件(随机形式)
5、show.asp 帖子调用主控文件
6、focus.swf源文件(文件夹) 内含focus.swf的FLA源文件,备用。(不用上传至服务器)
一、设置数据库连接
打开:conn.asp
SqlDatabaseName = "kshotbbsnt" '数据库名
SqlUsername = "sa" '数据库用户名
SqlPassword = "123456789" '数据库用户密码
SqlLocalName = "192.168.1.1" '连接名(本地用local,外地用IP)
二、上传文件
修改好CONN。ASP的数据库连接后,将包内的文件上传到论坛的当前目录下
三、模板修改
1、在模板管理中找到forumindex文件,同时打开forumindex在里面找到下面两句
<%template _pagewordadlist%>
<%template _newpmmsgbox%>
在其下插入代码:
<!-- 首页五格代码开始 -->
<div class="mainbox forumlist" style="padding:0;">
<table width="100%" cellpadding="0" cellspacing="0">
<thead class="category">
<tr>
<td align="center" class="titlebar" style="padding:0 1px 0 0"><h3>佛山2008图片</h3></td>
<td align="center" class="titlebar" style="padding:0"><h3>社区最新帖子</h3></td>
<td align="center" class="titlebar" style="padding:0 1px 0 1px"><h3>论坛最新回复</h3></td>
<td align="center" class="titlebar" style="padding:0"><h3>一周热门话题</h3></td>
<td align="center" class="titlebar" style="padding:0 0 0 1px"><h3>今日发帖之星</h3></td>
</tr>
</thead>
<tr>
<td width="24%">
<script src="pic.asp" type="text/javascript"></script>
</td>
<td width="21%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="/Fish/list.gif" border="0" /></td>
<td background="images/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat-y" width="100%" id="ShowNew"><img src="/Fish/loading.gif" width="16" height="16" style="margin-top: 10px;margin-left: 15px;"/></td>
</tr>
</table>
</td>
<td width="21%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="/Fish/list.gif" border="0" /></td>
<td background="images/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat-y" width="100%" id="ShowRe"><img src="/Fish/loading.gif" width="16" height="16" style="margin-top: 10px;margin-left: 15px;"/></td>
</tr>
</table>
</td>
<td width="21%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="/Fish/list.gif" border="0" /></td>
<td background="images/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat-y" width="100%" id="ShowHot"><img src="/Fish/loading.gif" width="16" height="16" style="margin-top: 10px;margin-left: 15px;"/></td>
</tr>
</table>
</td>
<td width="13%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="/Fish/list.gif" border="0" /></td>
<td background="images/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat-y" width="100%" id="ShowPlace"><img src="/Fish/loading.gif" width="16" height="16" style="margin-top: 10px;margin-left: 15px;"/></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- 首页五格代码结束 -->
2、再转到页面的最底部,找到<%template _footer%> 在下面插入:
<script src="show.asp?JsType=ShowNew" type="text/javascript" charset="Gb2312"></script>
<script src="show.asp?JsType=ShowRe" type="text/javascript" charset="Gb2312"></script>
<script src="show.asp?JsType=ShowHot" type="text/javascript" charset="Gb2312"></script>
<script src="show.asp?JsType=ShowPlace" type="text/javascript" charset="Gb2312"></script>
四、完成
/===================================
如果还有什么问题就到我空间来发表吧.我会尽快回复你.
http://bbs.fs0757.com/space/?uid=2