最近 想做个 基于 DZ 。net 3.0 论坛的 一个采集程序, 研究了下 dz的 数据字典 发现 他的 主题 和 帖子 表 分别为 posts1 和 topics 。 这个 直接往数据库写数据 页面 是 能读取出来的 但是 现在有个问题是 插入的帖子 在首页 显示不出来 今日发帖量 等 应该还有关联表我没发现 后来 发来了个 forums 缓存表 但是 修改了数据后 首页一样的 没显示 ..不知道 为什么??
解决方案 »
- 如何把GridView列里的UniversalTime转化为LocalTime
- 为什么有循环访问数据库会连接超时
- 关于配置文件中的数据库路径问题
- 请教:在虚拟主机中如何使用urlwrite?
- 急求:win2003ser下,asp.net无法连接sql2005
- 重新装了系统,但页面没法访问,提示web.config错误,很郁闷,高手看看怎么回事???顶有分
- 绑定一个数值,并且从1开始循环显示
- 接收弹出页面的回传值,然后根据回传值,datagrid显示相应的纪录???
- 如何在.NET中运用javascript
- 求一正则表达式,在线等待
- 急 高手进特别是做过wap的
- 怎么样根据标题把相关文档聚集在一起呢
代码 注释 类型 长度 小数 默认值 标识 主键 空值
tid 主题tid int 10 0
fid 版块id smallint 5 0
iconid 主题图标id tinyint 3 0 (0)
readperm 阅读权限 int 10 0 (0)
price 主题出售价格积分 smallint 5 0 (0)
poster 作者 nchar 20 0 ('')
posterid 作者uid int 10 0 (0)
title 标题 nchar 60 0
postdatetime 发布时间 datetime 23 3 (getdate())
lastpost 最后回复时间 datetime 23 3 (getdate())
lastpostid 最后回复帖子ID int 10 0 (0)
lastposter 最后回复用户名 nchar 20 0 ('')
lastposterid 最后回复用户名ID int 10 0 (0)
views 查看数 int 10 0 (0)
replies 回复数 int 10 0 (0)
displayorder >0为置顶,<0不显示,==0正常 -1为回收站 -2待审核 int 10 0 (0)
highlight 主题高亮识别号 varchar 500 0 ('')
digest 精华级别,1~3 tinyint 3 0 (0)
hide 是否为回复可见帖 int 10 0 (0)
attachment 是否含有附件 int 10 0 (0)
moderated 是否被执行管理操作 tinyint 3 0 (0)
closed 是否关闭,如果数值>1,值代表转向目标主题的tid int 10 0 (0)
magic 标示帖子的类型id int 10 0 (0)
identify 被鉴定的id int 10 0 ('0')
special special tinyint 3 0 (0)
typeid typeid int 10 0 (0)
rate rate int 10 0 (0)
attention attention
是不是有审核功能没有审核?
代码 注释 类型 长度 小数 默认值 标识 主键 空值
fid 论坛fid int 10 0
parentid 本论坛的上级论坛或分本论坛的上级论坛或分类的fid smallint 5 0 ('0')
layer 论坛层次 smallint 5 0 ('0')
pathlist 论坛级别所处路径的html链接代码 nchar 3000 0 ('')
parentidlist 论坛级别所处路径id列表 char 300 0
subforumcount 论坛包括的子论坛个数 int 10 0 (1)
name 论坛名称 nchar 50 0
status 是否显示 int 10 0 ('0')
displayorder 显示顺序 int 10 0 ('0')
templateid 风格id,0为默认 smallint 5 0 ('0')
topics 主题数 int 10 0 ('0')
curtopics 当前主题数 int 10 0 ('0')
posts 帖子数 int 10 0 ('0')
todayposts 今日发帖 你可以查看 dnt_forums 这个表
或者搜索这个表,是不是发表文章的时候没有增加数目?
TOPdnt_statistics
代码 注释 类型 长度 小数 默认值 标识 主键 空值
totaltopic 主题总数 int 10 0
totalpost 帖子总数 int 10 0
totalusers 用户总数 int 10 0
lastusername 最后注册用户名 nchar 20 0
lastuserid 最后注册用户ID int 10 0
highestonlineusercount 最高在线用户总数 int 10 0
highestonlineusertime 最高在线用户时间 smalldatetime 16 0
yesterdayposts 昨日帖子数 int 10 0 (0)
highestposts 最高帖子数 int 10 0 (0)
highestpostsdate 最多发帖日 论坛首页的发帖统计 却还是 1.
那你要看看页面以及源码是怎么样的了