Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

qq互联登陆成功后如何改变跳转的地址?急,谢谢

[复制链接]
鸢飞唳天 发表于 2012-2-18 12:55:36 | 显示全部楼层 |阅读模式
qq互联登陆成功后如何改变跳转的地址?
urs2 发表于 2012-2-18 13:03:13 | 显示全部楼层
成功后会自动跳转到你的论坛啊。
回复

使用道具 举报

1107103033 发表于 2012-2-18 14:47:11 | 显示全部楼层
不知道,了解一下!













http://www.jinlu108.com/
回复

使用道具 举报

otherbank 发表于 2012-2-20 10:43:06 | 显示全部楼层
找到根目录下的文件 connect.php,找到前20行代码,在第20行代码添加成下面的样子即可:
  1. <?php
  2. /*
  3.    [Discuz!] (C)2001-2009 Comsenz Inc.
  4.    This is NOT a freeware, use is subject to license terms

  5.    $Id: connect.php 24707 2011-10-09 02:48:26Z yangli $
  6. */

  7. define('IN_CONNECT', 1);

  8. if($_GET['mod'] == 'register') {
  9.         $_GET['mod'] = 'connect';
  10.         $_GET['action'] = 'register';
  11.         require_once 'member.php';
  12.         exit;
  13. }

  14. define('APPTYPEID', 126);
  15. define('CURSCRIPT', 'connect');
  16. $_GET['referer'] = 'home.php';
  17. require_once './source/class/class_core.php';
  18. require_once './source/function/function_home.php';
复制代码
回复

使用道具 举报

otherbank 发表于 2012-2-20 10:43:49 | 显示全部楼层
其中第20行代码 $_GET['referer'] = 'home.php';  的home.php为你要跳转的地址
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-1 20:46 , Processed in 0.027700 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表