PhpWind教程:同一郵箱可以注冊多個帳號修改方法_for 7.X_PhpWind教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
PHPWind 重7.0開始,要求注冊時郵箱的唯一性,即每個郵箱只可注冊一個賬號~~ 用已被注冊的郵箱注冊會提示:改郵箱已被注冊,請更換別的郵箱!
有些站長希望沒有郵箱限制注冊,特提供以下修改方法:
同一郵箱可以注冊多個帳號修改方法(7.x所有版本類似)
一、register.php
找到:
$rt = $db->get_one('SELECT uid FROM pw_members WHERE email='.pwEscape($email));
if ($rt) {
echo 2;
} else {
echo 0;
}
改成
echo 0;
找到
Showmsg('reg_email_have_same');
改成
//Showmsg('reg_email_have_same');
二、profile.php
找到
Showmsg('reg_email_have_same');
改成
unset($email_check);
查看更多 PhpWind教程 PhpWind模板風格
相關PhpWind教程:
- PhpWind教程:PHPWind forum V7.5 SP1 使用與修復說明
- PhpWind教程:PHPWind Forum V7.5 升級教程
- PHPWind7.3 升級7.3.2 圖文教程
- PhpWind教程:sitemap生成問題
- PhpWind教程:熱榜排行 for 75
- PHPwind 6.3.2升級至PHPwind 7.3.2 圖文教程
- PHPWind 7.0 升級至PHPwind 7.3.2 圖文教程
- PHPWind 7.0 升級到PHPwind v7.3 圖文教程
- PHPWind 6.3.2升級到 PHPwind v7.3 圖文教程
- PHPWind6.3.2升級PHPWind7.0說明教程
- PhpWind教程:PHPWind6.3(6.3rc、6.3) to PHPWind6.3.2升級教程
- PhpWind教程:PHPWind6.x(6.0rc、6.0) to PHPWind6.3.2升級教程
PhpWind教程教程Rss訂閱Cms教程搜索
PhpWind教程推薦
- PhpWind教程:活動貼發布
- PhpWind教程:已經安裝了PHPWind,打開論壇首頁還是安裝界面
- PhpWind教程:升級完成后無法打開首頁或500錯誤或提示creat_tplfile函數錯誤
- PhpWind教程:PW7.3.2道具購買設置教程
- PhpWind教程:版塊如何橫排
- PhpWind教程:安裝PHPWind7.0時,沒有提示插件安裝
- PhpWind教程:PHP正則表達式收集
- PhpWind教程:PHPWind 7 社區模式 后臺設置 詳細教程
- PhpWind教程:PHPwind 團隊管理插件應用操作指南
- PhpWind教程:MYSQL Server Error Duplicate entry '%s' for key %d Error n
- 相關鏈接:
- 教程說明:
PhpWind教程-PhpWind教程:同一郵箱可以注冊多個帳號修改方法_for 7.X。