ecshop後台增加欄目查詢會員是否重複註冊

2021-09-06 20:18:45 字數 1453 閱讀 5851

ecshop的後台要查詢哪些會員是否有重複註冊時,可以利用特定的欄目來判斷~ 譬如會員**...

修改前請務必先備份下列檔案!!!

開啟 admin/users.php

找到$ex_where .= " and user_name like '%" . mysql_like_quote($filter['keywords']) ."%'";

複製**

替換//$ex_where .= " and user_name like '%" . mysql_like_quote($filter['keywords']) ."%'";

$ex_where .= " and (user_name like '%" . mysql_like_quote($filter['keywords']) ."%' ";

$ex_where .= " or email like '%" . mysql_like_quote($filter['keywords']) ."%' ";

$ex_where .= " or mobile_phone like '%" . mysql_like_quote($filter['keywords']) ."%' ";

$ex_where .= " or office_phone like '%" . mysql_like_quote($filter['keywords']) ."%' ";

$ex_where .= " or home_phone like '%" . mysql_like_quote($filter['keywords']) ."%' ";

$ex_where .= " or msn like '%" . mysql_like_quote($filter['keywords']) ."%' ";

$ex_where .= " or qq like '%" . mysql_like_quote($filter['keywords']) ."%' ";

$ex_where .= ") ";

複製**

此步驟為搜尋會員字段(名稱、郵件、手機、公司**、家用**、msn、qq...)

實際字段還是得依你的資料表(ecs_users)為主,把想調整的字段加進去即可... 需留意的是行2及行行9是不能刪除的!

存檔後關閉上傳

開啟 admin/templates/users_list.htm

找到

複製** 替換

複製**

存檔後關閉上傳

開啟 languages/zh_cn/admin/users.php

找到$_lang['label_rank_name'] = '...';

複製**

下面加入

$_lang['label_search'] = '搜尋會員';

複製**

存檔後關閉上傳

ecshop後台增加欄目查詢會員是否重複註冊

ecshop的後台要查詢哪些會員是否有重複註冊時,可以利用特定的欄目來判斷 譬如會員 修改前請務必先備份下列檔案 開啟 admin users.php 找到 ex where and user name like mysql like quote filter keywords 複製 替換 ex w...

ecshop後台許可權增加

1 在後台 推薦管理 裡新增 推薦人分成 會員分成 兩個操作功能以及許可權 index.php?act menu incluedes inc priv.php 許可權對照表 inc menu.php 管理中心選單陣列 languages zh cn admin common.php 管理中心公共語言...

ecshop後台增加模組選單詳細

ecshop後台增加模組選單詳細教程 孤注一 一 ecshop後台管理 adminincludesinc menu.php 新增上你要新增的功能 adminincludesinc priv.php 對應在inc menu裡面新增的東西,新增到inc priv.php裡面 二 前台語言包 langua...