網(LieHuo.Net)教程 默認情況下新用戶注冊會自動跳轉到 UCenter Home 的注冊頁面,有些站長想讓用戶注冊的時候跳轉到其它應用的頁面,如論壇的注冊頁面,從而起到阻止用戶直接在 UCenter Home 注冊的效果,下面詳細說明具體的修改方法。
當用戶在 UCenter Home 首頁直接點注冊的時候,會跳轉到如下圖所示的頁面:
默認注冊頁面(石家莊開心網)
那么如果想讓會員跳轉到其它應用注冊,如跳轉到論壇的注冊頁面注冊的修改方法為:
1、打開 ./template/default/header.htm 文件,找到
以下為引用的內容: <input type="submit" name="loginsubmit" value="登錄" /><input type="button" name="regbutton" value="注冊" onclick="urlto('do.php?ac=$_SCONFIG[register_action]');"> |
以下為引用的內容: <input type="submit" name="loginsubmit" value="登錄" /><input type="button" name="regbutton" value="注冊" onclick="urlto('http://www.veryhuo.com/bbs/register.php');"> |
以下為引用的內容: <a href="do.php?ac=$_SCONFIG[register_action]">注冊</a> |
以下為引用的內容: <a href=http://www.veryhuo.com/bbs/register.php>注冊</a> |
以下為引用的內容: <a href="do.php?ac=$_SCONFIG[register_action]">馬上注冊</a> |
以下為引用的內容: <a href=http://www.veryhuo.com/bbs/register.php>馬上注冊</a> |
以下為引用的內容: <a href="do.php?ac=$_SCONFIG[register_action]">馬上注冊</a> |
修改為:
以下為引用的內容: <a href=http://www.veryhuo.com/bbs/register.php>馬上注冊</a> |
說明:把其中
http://www.veryhuo.com/bbs/改為您自己的論壇訪問地址就可以了。