个人信息美化 For Discuz6.1.0 qq必填第1/2页
2018-10-12 14:11
477 查看
第一种方法1.请在4月23号22点以前的重新下载
第二种手动修改[4月23号22点以前装的可手动修改]
打开:\templates\default\snshow.htm
找到:
代码:
<a href="pm.php?action=send&uid=$post[authorid]" target="_blank" id="ajax_uid_$post['pid']" onclick="ajaxmenu(event, this.id, 9000000, null, 0)">{lang send_pm}</a>
<a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, null, 0)">{lang add_to_buddylist}</a>
替换为:
代码:
<a href="###" onclick="pmwin('open', 'uid=$post[authorid]')">{lang send_pm}</a> <a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, 3000, 0)">{lang add_to_buddylist}</a>
==========================================================================
安装方法:[附件里有修改好的!请在4月23号22点以前的重新下载]
==========================================================================
1、修改register.php(主目录下文件)
①查找:
代码:
if($password != $password2) {
showmessage('profile_passwd_notmatch');
}
下面加:
代码:
if($qq = preg_match("/^([0-9]+)$/", $qq) && strlen($qq) >= 5 && strlen($qq) <= 12 && intval($qq) > 0 ? $qq : '') {
} else {
showmessage('请填写QQ号码,返回重新填写','javascript:history.back()');
}
2、templates/default/register.htm(模块文件)
①查找:
代码:
<tr>
<th><label for="password2">{lang password_confirm} *</label></th>
<td>
<input type="password" name="password2" size="25" id="password2" onBlur="checkpassword2()"
tabindex="5" />
<span id="checkpassword2"> </span>
</td>
</tr>
下面加:
代码:
<tr>
<th><label for="qq">QQ *</label></th>
<td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
</tr>
②再查找:
代码:
<tr>
<th><label for="qq">QQ</label></th>
<td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
</tr>
把以上代码删掉!!(删除高级选项里的)
12下一页阅读全文
第二种手动修改[4月23号22点以前装的可手动修改]
打开:\templates\default\snshow.htm
找到:
代码:
<a href="pm.php?action=send&uid=$post[authorid]" target="_blank" id="ajax_uid_$post['pid']" onclick="ajaxmenu(event, this.id, 9000000, null, 0)">{lang send_pm}</a>
<a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, null, 0)">{lang add_to_buddylist}</a>
替换为:
代码:
<a href="###" onclick="pmwin('open', 'uid=$post[authorid]')">{lang send_pm}</a> <a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, 3000, 0)">{lang add_to_buddylist}</a>
==========================================================================
安装方法:[附件里有修改好的!请在4月23号22点以前的重新下载]
==========================================================================
1、修改register.php(主目录下文件)
①查找:
代码:
if($password != $password2) {
showmessage('profile_passwd_notmatch');
}
下面加:
代码:
if($qq = preg_match("/^([0-9]+)$/", $qq) && strlen($qq) >= 5 && strlen($qq) <= 12 && intval($qq) > 0 ? $qq : '') {
} else {
showmessage('请填写QQ号码,返回重新填写','javascript:history.back()');
}
2、templates/default/register.htm(模块文件)
①查找:
代码:
<tr>
<th><label for="password2">{lang password_confirm} *</label></th>
<td>
<input type="password" name="password2" size="25" id="password2" onBlur="checkpassword2()"
tabindex="5" />
<span id="checkpassword2"> </span>
</td>
</tr>
下面加:
代码:
<tr>
<th><label for="qq">QQ *</label></th>
<td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
</tr>
②再查找:
代码:
<tr>
<th><label for="qq">QQ</label></th>
<td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
</tr>
把以上代码删掉!!(删除高级选项里的)
12下一页阅读全文
相关文章推荐
- Android第三方QQ登录、获取个人信息、分享实现
- QQ个人信息保护 | 攻的对面叫防
- Discuz .net版本中的短消息系统第1/2页
- Discuz .net版本中的短消息系统第1/2页
- discuz中用到的javascript函数解析[原创]第1/2页_javascript技巧_脚本之家
- ASP开发中可能遇到的错误信息中文说明大全(整理收集)第1/2页
- 在delphi程序中实现QQ用户的Web登陆并获取个人信息
- 仿QQ个人信息详情界面中背景图的下拉扩展放大功能
- Discuz论坛分类信息显示美化
- 关于DISCUZ不用通行证登陆得内容介绍第1/2页
- 谈谈技术原则,技术学习方法个人总结第1/2页
- Android QQ for Pad修改尾巴信息教程
- ASP开发中可能遇到的错误信息中文说明大全(整理收集)第1/2页
- QQ个人信息保护 | 攻的对面叫防
- PHP 优化配置――加速你的VBB,phpwind,Discuz,IPB,MolyX第1/2页
- Discuz!插件:自动隐藏帖子第1/2页
- Discuz!登陆、退出、个人信息修改提交弹出层实现 by cubeking
- PHP 优化配置――加速你的VBB,phpwind,Discuz,IPB,MolyX第1/2页
- android 根据滑动隐藏或显示导航 类似手机QQ好友个人信息