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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] X3.2论坛登陆框加入固定前缀的方法

[复制链接]
真诚的小叶 发表于 2015-7-12 22:59:08 | 显示全部楼层 |阅读模式
本帖最后由 真诚的小叶 于 2015-7-12 23:16 编辑

效果图:

应该有的游戏论坛或者公众论坛等需要吧,我发出来给大家共享!

1 如果是官方默认模板,就打开bbs/template/default/member中的login.htm


找到:<td><input type="text" name="username"id="username_$loginhash" autocomplete="off"size="30" class="px p_fre" tabindex="1"value="$username" /></td>

把value="$username"改成value="自己想要的前缀名"



2 如果是安装了第三方模板或者官方其他模板,就打开bbs/template/某个模板文件名/member中的login_simple.htm


找到:<input type="text" name="username"id="ls_username" autocomplete="off" class="vm" tabindex="901"style="width: 98px;" />

改成:<inputtype="text" name="username" id="ls_username"autocomplete="off" class="vm" tabindex="901"style="width: 98px;" value="自己想要的前缀名" />



3 Email登陆比如想加入@这个符号,也可以参考以上的做法,还有QQ登陆等,都一样。


有需要的给个鼓励啦,谢谢!
lianbangidc 发表于 2015-7-16 15:09:47 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-18 19:23 , Processed in 0.095303 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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