- 主题:从smth1.1升级到1.2后,原来的ID都不能登录了....
以前有的ID不能登录也不能注册....以前没有的可以注册
这可能会是什么方面的原因啊?//bow....
--
FROM 219.224.186.148
【 在 Carlking (生命不息·奋斗不止) 的大作中提到: 】
: 以前有的ID不能登录也不能注册....以前没有的可以注册
: 这可能会是什么方面的原因啊?//bow....
说说怎么转化的吧
--
FROM 166.111.161.221
因为原来已经安装过了1.1,于是就按照精华区的那个文档转的....
装完了就发现不能登陆了:(
cnv_passwd_define2和cnv_bh 3也是按照说明改的
【 在 czz (喜滋滋) 的大作中提到: 】
: 说说怎么转化的吧
--
FROM 219.224.186.148
把你原先的struct.h里面相关的东东贴一下看看
【 在 Carlking (生命不息·奋斗不止) 的大作中提到: 】
: 因为原来已经安装过了1.1,于是就按照精华区的那个文档转的....
: 装完了就发现不能登陆了:(
: cnv_passwd_define2和cnv_bh 3也是按照说明改的
: ...................
--
FROM 202.120.189.*
基本就事原先1.1的,没变什么啊
struct userec { /* Structure used to hold information in */
char userid[IDLEN + 2]; /* PASSFILE */
char flags; /*一些标志,戒网,版面排序之类的 */
unsigned char title; /*用户级别 */
time_t firstlogin;
char lasthost[16];
unsigned int numlogins;
unsigned int numposts;
#ifdef CONV_PASS
char passwd[OLDPASSLEN];
char unused_padding[2];
#endif
char username[NAMELEN];
unsigned int club_read_rights[MAXCLUB >> 5];
unsigned int club_write_rights[MAXCLUB >> 5];
unsigned char md5passwd[MD5PASSLEN];
unsigned userlevel;
time_t lastlogin;
time_t stay;
int signature;
unsigned int userdefine;
time_t notedate;
int noteline;
int notemode;
time_t exittime;
/*
* 生日数据转移到 userdata 结构中
*/
unsigned int usedspace; /* used space of user's mailbox, in bytes */
#ifdef HAVE_USERMONEY
int money;
int score;
char unused[20];
#endif
};
struct boardheader { /* This structure is used to hold data in */
char filename[STRLEN]; /* the BOARDS files */
char BM[BM_LEN];
char title[STRLEN];
unsigned level;
unsigned int nowid;
unsigned int clubnum; /*如果是俱乐部,这个是俱乐部序号 */
unsigned int flag;
union {
unsigned int adv_club; /* 用于指定club对应关系,0表示没有,1表示序号 */
unsigned int group_total; /*如果是二级目录,应该是目录的版面总数 */
} board_data;
time_t createtime;
int toptitle;
char ann_path[128];
int group; /*所属目录 */
char des[196]; /*版面描述,用于www的版面说明和search */
};
【 在 wisi (誓心) 的大作中提到: 】
: 把你原先的struct.h里面相关的东东贴一下看看
--
FROM 219.224.186.148
转化的程序里面加上打印语句,写入之前printf一下看看转化好没有
【 在 Carlking (生命不息·奋斗不止) 的大作中提到: 】
: 基本就事原先1.1的,没变什么啊
: struct userec { /* Structure used to hold information in */
: char userid[IDLEN + 2]; /* PASSFILE */
: ...................
--
FROM 202.120.189.*