discuz嵌入点实现判断标签之设密、验邮、QQ游客提示
discuz嵌入点实现判断标签之设密、验邮、QQ游客提示:[仅适用于dz插件网的特定插件效果]
变量:global_footerlink 类型:文字(string) 代码: |
- <!--{if $_GET['op'] != 'password'}-->
- [yuzhehook:login]
- [yuzhehook:havepwd]
- [yuzhehook:verifyemail]
- [noverifyemail]
- <script type="text/javascript">
- if(!getcookie("verifyemail_[G:uid]")) {
- showDialog('<p class="d"><img src="static/image/common/mail_inactive.png" alt="未验证" class="vm" /> <span class="xi1">新邮箱({echo $_G['member']['email']})等待验证中...</span><br />系统已经向该邮箱发送了一封验证激活邮件,请查收邮件,进行验证激活。<br>如果没有收到验证邮件,您可以 <a href="home.php?mod=spacecp&ac=profile&op=password" class="xi2">更换一个邮箱</a>,或者 <a href="home.php?mod=spacecp&ac=profile&op=password&resend=1" class="xi2">重新接收验证邮件</a></p>', 'confirm', '亲爱的用户', function () {setcookie("verifyemail_[G:uid]", "1", 864000);}, 1, function () {setcookie("verifyemail_[G:uid]", "1", 7200);}, '', '不再提示', '稍后提示');
- }
- </script>
- [/yuzhehook:verifyemail]
- [nohavepwd]
- <script type="text/javascript">
- if(!getcookie("setpassword_[G:uid]")) {
- showDialog('为了您账号安全请设置在本站的登录密码!<br>设置密码后不用QQ也可以登录本站!<br><a href="[G:siteurl]home.php?mod=spacecp&ac=profile&op=password"><font color="red">设置密码</font></a> 后不再弹出该提示!', 'confirm', 'QQ用户', function () {setcookie("setpassword_[G:uid]", "1", 864000);}, 1, function () {setcookie("setpassword_[G:uid]", "1", 7200);}, '', '不再提示', '稍后提示');
- }
- </script>
- [/yuzhehook:havepwd]
- [nologin]
- [yuzhehook:groups{26}]
- <script type="text/javascript">
- if(!getcookie("groups_bindqq")) {
- showDialog('您需要先 <a href="[G:siteurl]member.php?mod=connect"><font color="red">完善帐号信息</font></a> 或 <a href="[G:siteurl]member.php?mod=connect&ac=bind"><font color="blue">绑定已有帐号</font></a> 才能享受更多权限!', 'confirm', 'QQ用户',function () {setcookie("groups_bindqq", "1", 864000);}, 1, function () {setcookie("groups_bindqq", "1", 7200);}, '', '不再提示', '稍后提示');
- }
- </script>
- [nogroups]
- [/yuzhehook:groups]
- [/yuzhehook:login]
- <!--{/if}-->