登录提示(仿QQ绿色版)
[quote]插件名称:登录提示插件功能:未登录会员的提示
插件作者:不知道
适合版本:4.X
安装难度:极易
插件演示:见附件
总结者:netscope[/quote]
1,为啥子叫绿色版
因为只增加文件,不需要时就删除,不用备份任何文件
2,安装步骤
2.1 下载附件,按目录结构覆盖你的论坛根目录
新增:
images/common/pmlogin.jpg
templates/default/hello.htm
改动:
templates/default/index.htm
或
templates/default/footer.htm
2.2 如果你只想首页出现提示那么在 templates/default/index.htm中 强烈推荐只在首页!
查找
[code]<!--{if !empty($newpmexists)}-->
<div class="maintable">
{template pmprompt}
</div>
<!--{/if}-->
[/code]
下面添加
[code]<!--{if !$discuz_uid}-->
<div class="maintable">
{template hello}
</div>
<!--{/if}-->
[/code]
如果你想所有页面都出现提示那么在templates/default/footer.htm中
查找
[code]<tr style="font-size: 0px; line-height: 0px; spacing: 0px; padding: 0px; {HEADERBGCODE}"><td colspan="3"> </td></tr></table>
</td></tr></table>
</div>
</center><br>
[/code]
下面添加
[code]<!--{if !$discuz_uid}-->
<div class="maintable">
{template hello}
</div>
<!--{/if}-->
[/code]
3,说明
3.1 附件里含提示的背景PNG源文件,可用FW自己编辑
3.2 你也可以自己编辑templates/default/hello.htm成你想要的样式,其实只要你具备基本的HTML知识就可以
3.3 登录框的停留时间可以修改hello.htm中的
[code]popupWinhideAfter=8000[/code]
8000=8秒
3.4 查找代码针对DZ4.1原始程序
3.5 反安装只需逆操作
-END-
[img]http://www.discuz.net/attachments/month_0605/eg_Vee5sBuLIU9v.jpg[/img] 不错的说哦!!!!!!!!!!!!!! 呵呵不错不错,已经安装了~ *** 作者被禁止或删除 内容自动屏蔽 *** 挺好玩的,要了
以后需再关
以后需再关注,现在先帮你顶一下页:
[1]