China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-25 17:28
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Manually Upgrading DvNews Forum to 6.0 [Original] View 1,537 Replies 3
Original Poster Posted 2003-05-13 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
I found the 6.0 version of the DvNews source program today and tried upgrading my original forum to 6.0SP2. But the database upgrade program provided by DvNews can't be used... just as wengier said. Sigh...
So I had no choice but to spend some time upgrading it manually.
The DvNews database isn't encrypted; you can open it with Office 2000 and similar software (specifically it should be MS Access).
I compared the two databases (5.0 and 6.0) and found that only a small number of tables and fields are different.
address
admin ---> administrators ****
bbs1 ---> forum data (posts) ****
bbslink
bbsnews
besttopic
board ----> forum categories ****
BoardPermission
bookmark
class ---> this table does not exist in 6.0.
config ---> configuration file for forum templates. ****
friend
groupname
lockip
log ----> records of forum administration.
message ---> private message records
online ----> forum online status
topic ---> topics ****
user ----> this is the registered users table ****
useraccess
usergroups
usertitle
vote
voteuser
The ones marked with **** are relatively important. They need to be migrated into the new database.

board ----> forum categories is different from the old one; it combines the old class and board together. But the fields are the same. The meaning of the values has changed a bit.
bbs1---this one is different too. Mainly a few fields are different, and the field order is different too. Just adjust the fields and the order and it'll be OK. Pay attention to the field types...

The others seem like they can just be imported directly...

That's it...
Finished.

btw: Wengier, now you can upgrade the forum, right? Hehe...
If you want to be lazy, you can also upload the database and let me upgrade it.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 2 Posted 2003-05-14 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Hehe... ko makes it sound way too simple... truly an expert... PF
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 3 Posted 2003-05-14 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Hehe, KO really is a networking expert!!
MSN:tiqit2@hotmail.com
Floor 4 Posted 2003-05-20 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
DvNews 6.0 database table explanation

Table name Purpose

address IP address table
admin administrators table
bbs1 forum post data table (including topics and replies)
bbslink forum links table
bbsnews forum announcements table
BesTopic featured posts table
board forum sections, serial numbers, descriptions, moderators, etc.
Boardpermission record table for user group custom permissions in forum permissions
bookmark user favorites table
class forum category table
config forum configuration table
Friend user friends table
GroupName faction name table
LockIP blocked IP table
log record table for all forum events
message table of all forum private messages
notdownload long duodecimal table, prevents the database from being downloaded
online record table of users currently online on the forum
SmallPaper forum small bulletin
Topic post topic table
User user list
UserAccess table for determining user permissions
UserGroups forum user groups table
UserTitle forum user rank list
vote poll information table (poll items, vote counts for each item, voting time limit, etc.)
VoteUser table of users participating in polls
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: