歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 30, 2024, 02:58:45 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  新增使用者資料欄位的問題 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 新增使用者資料欄位的問題  (閱讀 6758 次)
charlesc
新手見習
*
文章: 30


檢視個人資料 個人網站
« 於: 五月 17, 2005, 12:12:14 上午 »

我想讓使用者在註冊時,多填些資料,例如性別。
改了一些地方,也加了資料庫欄位,但是卻無法把資料正確地塞入資料庫,例如總是把性別塞到about欄位,而full name則無資料。
問題似乎出在/class/dao/users.class.php,不知該如何改....

==
有改到的檔案(都是加個變數):
/templates/summary/
registerstep0.template
registerstep1.template
registerstep2.template
registerstep3.template
registerstep4.template
registerstep5.template

/class/summary/action
registeraction.class.php
dofinishregister.class.php
chooseblogtemplateaction.class.php
dousercreation.class.php
已記錄

...EVALS TEN 是 我
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 五月 19, 2005, 02:09:41 下午 »

Hi Charles:

不好意思!現在才回。你看一下這一篇文章,裡面有很詳細的說法,告訴你怎麼加上客製的欄位:

http://forums.lifetype.net/viewtopic.php?t=1840&highlight=register

Mark
已記錄

頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  新增使用者資料欄位的問題 « 上篇主題 下篇主題 »
    前往: