默认情况下新用户注册会自动跳转到 UCenter Home 的注册页面,有些站长想让用户注册的时候跳转到其它应用的页面,如论坛的注册页面,从而起到阻止用户直接在 UCenter Home 注册的效果,下面详细说明具体的修改方法。
当用户在 UCenter Home 首页直接点注册的时候,会跳转到如下图所示的页面:
那么如果想让会员跳转到其它应用注册,如跳转到论坛的注册页面注册的修改方法为:
1、打开 ./template/default/header.htm 文件,找到
Code:
<input type="submit" name="loginsubmit" value="登录" />
<input type="button" name="regbutton" value="注册"
onclick="urlto('do.php?ac=$_SCONFIG[register_action]');">
修改为:
Code:
<input type="submit" name="loginsubmit" value="登录" />
<input type="button" name="regbutton" value="注册"
onclick="urlto('http://www.xxx.com/bbs/register.php');">
2、找到
Code:
<a href="do.php?ac=$_SCONFIG[register_action]">注册</a>
修改为:
Code:
<a href=http://www.xxx.com/bbs/register.php>注册</a>
3、打开 ./template/default/network.htm 文件,找到
Code:
<a href="do.php?ac=$_SCONFIG[register_action]">马上注册</a>
修改为:
Code:
<a href=http://www.xxx.com/bbs/register.php>马上注册</a>
4、打开 ./template/default/index.htm 文件,找到
Code:
<a href="do.php?ac=$_SCONFIG[register_action]">马上注册</a>
修改为:
Code:
<a href=http://www.xxx.com/bbs/register.php>马上注册</a>
5、登录 UCenter Home 后台更新缓存。
说明:把其中
Code:
http://www.xxx.com/bbs/
改为您自己的论坛访问地址
(责任编辑:大宝库)