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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] 升级修改 【55625】商业提取个人信息美化(经验条+用户组多风格) 美化插件

[复制链接]
hm1029 发表于 2012-4-6 07:43:00 | 显示全部楼层 |阅读模式
插件发布
插件名称: 商业提取个人信息美化(经验条+用户组多风格)
插件来源: 二次修改他人插件
适用版本: Discuz! X2.5
语言编码: GBK简体 
最后更新时间: 2012-04-06
插件作者: hm1029
插件简介: 原作者的程序,用在Discuz2.5版本后,帖子底部分享栏里缺少了淘帖功能,其他功能项也有报错情况。。。因此,我已经将将其更新
本帖最后由 hm1029 于 2012-4-14 15:55 编辑

最新更新地址:
https://discuz.dismall.com/thread-2760512-1-1.html


更新内容:

修改viewthread_node.htm文件
找到:

  1. <!--{if $post['invisible'] == 0}-->
  2. <div id="p_btn" class="mtw mbmm cl">
  3. <!--分享到-->
  4. <div class="tshare cl">
  5. <strong>{lang viewthread_share_to}:</strong>
  6. <!--{hook/viewthread_share_method}-->
  7. </div>
  8. <!--分享到结束-->
  9. <!--{if $_G['setting']['homestatus']}-->
  10. <a href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" id="k_share" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('sharenumber').innerHTML + ' {lang activity_member_unit}{lang thread_share}'"><i><img src="{IMGDIR}/oshr.png" alt="{lang thread_share}" />{lang thread_share}<span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span></i></a>
  11. <!--{/if}-->
  12. <a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' {lang activity_member_unit}{lang thread_favorite}'"><i><img src="{IMGDIR}/fav.gif" alt="{lang thread_favorite}" />{lang thread_favorite}<span id="favoritenumber">{$_G['forum_thread']['favtimes']}</span></i></a>
  13. <!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
  14. <a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_add').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][addtext]'"><i><img src="{IMGDIR}/rec_add.gif" alt="$_G['setting']['recommendthread'][addtext]" />$_G['setting']['recommendthread'][addtext]<span id="recommendv_add">$_G[forum_thread][recommend_add]</span></i></a>
  15. <a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-{$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_subtract').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][subtracttext]'"><i><img src="{IMGDIR}/rec_subtract.gif" alt="$_G['setting']['recommendthread'][subtracttext]" />$_G['setting']['recommendthread'][subtracttext]<span id="recommendv_subtract">$_G[forum_thread][recommend_sub]</span></i></a>
  16. <!--{/if}-->
  17. <!--{if $_G['group']['raterange'] && $post['authorid']}-->
  18. <a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
  19. <!--{/if}-->
  20. <!--{if $post['first'] && $_G[uid] && $_G[uid] == $post[authorid]}-->
  21. <a href="misc.php?mod=invite&action=thread&id=$_G[tid]" onclick="showWindow('invite', this.href, 'get', 0);"><i><img src="{IMGDIR}/activitysmall.gif" alt="{lang invite}" />{lang invite}</i></a>
  22. <!--{/if}-->
  23. <!--{hook/viewthread_useraction}-->
复制代码
替换为:
  1. <!--{hook/viewthread_modaction}-->

  2. <!--{if $post['invisible'] == 0}-->
  3. <div id="p_btn" class="mtw mbm cl">
  4. <!--{if !empty($_G['setting']['pluginhooks']['viewthread_share_method'])}-->
  5. <div class="tshare cl">
  6. <strong>{lang viewthread_share_to}:</strong>
  7. <!--{hook/viewthread_share_method}-->
  8. </div>
  9. <!--{/if}-->

  10. <!--{if !$post['anonymous'] && helper_access::check_module('follow')}-->
  11. <a href="home.php?mod=spacecp&ac=follow&op=relay&tid=$_G[tid]&from=forum" id="k_relay" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('relaynumber').innerHTML + ' {lang activity_member_unit}{lang thread_realy}'"><i><img src="{IMGDIR}/rt.png" alt="{lang thread_realy}" />{lang thread_realy}<span id="relaynumber">{$_G['forum_thread']['relay']}</span></i></a>
  12. <!--{/if}-->
  13. <!--{if !$_G['forum']['disablecollect'] && helper_access::check_module('collection')}-->
  14. <a href="forum.php?mod=collection&action=edit&op=addthread&tid=$_G[tid]" id="k_collect" onclick="showWindow(this.id, this.href);return false;" onmouseover="this.title = $('collectionnumber').innerHTML + ' {lang activity_member_unit}{lang collection}'"><i><img src="{IMGDIR}/collection.png" alt="{lang thread_share}" />{lang collection}<span id="collectionnumber">{$post['releatcollectionnum']}</span></i></a>
  15. <!--{/if}-->
  16. <!--{if helper_access::check_module('share')}-->
  17. <a href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" id="k_share" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('sharenumber').innerHTML + ' {lang activity_member_unit}{lang thread_share}'"><i><img src="{IMGDIR}/oshr.png" alt="{lang thread_share}" />{lang thread_share}<span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span></i></a>
  18. <!--{/if}-->
  19. <a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' {lang activity_member_unit}{lang thread_favorite}'"><i><img src="{IMGDIR}/fav.gif" alt="{lang thread_favorite}" />{lang thread_favorite}<span id="favoritenumber">{$_G['forum_thread']['favtimes']}</span></i></a>
  20. <!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
  21. <!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
  22. <a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_add').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][addtext]'"><i><img src="{IMGDIR}/rec_add.gif" alt="$_G['setting']['recommendthread'][addtext]" />$_G['setting']['recommendthread'][addtext]<span id="recommendv_add">$_G[forum_thread][recommend_add]</span></i></a>
  23. <!--{/if}-->
  24. <!--{if !empty($_G['setting']['recommendthread']['subtracttext'])}-->
  25. <a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-{$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_subtract').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][subtracttext]'"><i><img src="{IMGDIR}/rec_subtract.gif" alt="$_G['setting']['recommendthread'][subtracttext]" />$_G['setting']['recommendthread'][subtracttext]<span id="recommendv_subtract">$_G[forum_thread][recommend_sub]</span></i></a>
  26. <!--{/if}-->
  27. <!--{/if}-->
  28. <!--{if $_G['group']['raterange'] && $post['authorid']}-->
  29. <a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
  30. <!--{/if}-->
  31. <!--{hook/viewthread_useraction}-->
复制代码

社区交流QQ群:
112446668    更多相关 55625 的作品,请DZ站内搜索 55625 即可查询到!

官方演示地址:http://dz.55625.com
---------------------------------------------------------------------
1.首先修改个人信息栏的宽度
打开 module.css 查找 .pls 类定义,将 width: 160px; 修改为: width: 181px; 保存上传更新缓存。
---------------------------------------------------------------------
2.然后下载本站提供的压缩包,文件包括:
viewthread_node.htm
viewthread_user.htm
然后上传至:/template/当前模板目录/forum/ 目录更新缓存。
最后上传图片文件至当前模板图片目录即可~
BY: lovenr - 55625.com   QQ:114512039
本站美化修改均属本站原创,禁止出售转让。
商业Q3展示 https://discuz.dismall.com/thread-2692385-1-1.html
如果后续有更新就不上来更新了 最新的下载地址 http://dz.55625.com/forum-38-1.html

注:附件集成了组图标  同时也更新了修改内容

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| hm1029 发表于 2012-4-6 08:10:23 | 显示全部楼层
本帖最后由 hm1029 于 2012-4-11 20:15 编辑
haohuifeng998 发表于 2012-4-11 10:44
没有2.5 的收听呢。。。呵呵!建议把收听也加入到这个美化中!感觉会更好


美女请求,一定改,其实很简单


打开viewthread_user.htm这个文件
找到一下代码
  1.                                         <li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" onclick="showWindow('sendpm', this.href);" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
复制代码
在这个后面添加
  1.                                 <!--{if helper_access::check_module('follow')}-->
  2.                                         <li class="addflw">
  3.                                                 <a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">{lang follow}</a>
  4.                                         </li>
  5.                                         <!--{/if}-->
复制代码
如果你想不管后台开不开起广播都显示收听他,你就把IF判断取消
  1.                                         <li class="addflw">
  2.                                                 <a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">{lang follow}</a>
  3.                                         </li>
复制代码
忘了附上原帖子地址了
https://discuz.dismall.com/thread-2695727-1-1.html

有问题可以加我QQ询问

686230


回复

使用道具 举报

abcnic 发表于 2012-4-6 08:16:58 | 显示全部楼层
了解一下呢  呵呵
回复

使用道具 举报

坚定信心 发表于 2012-4-6 08:19:13 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| hm1029 发表于 2012-4-6 17:42:05 | 显示全部楼层
其实,刚刚,我又发现了一个问题。不过来的更新程序了。。。
就是个人信息栏中,没有了“收听Ta”的选项,不过我的程序已经改了
回复

使用道具 举报

 楼主| hm1029 发表于 2012-4-6 17:42:33 | 显示全部楼层
如果有人要,我就放出来
回复

使用道具 举报

7#
无效楼层,该帖已经被删除
520VIP 发表于 2012-4-7 00:14:58 | 显示全部楼层
留个记号啊!呵呵!
回复

使用道具 举报

haohuifeng998 发表于 2012-4-11 10:44:11 | 显示全部楼层
没有2.5 的收听呢。。。呵呵!建议把收听也加入到这个美化中!感觉会更好
回复

使用道具 举报

 楼主| hm1029 发表于 2012-4-11 11:25:33 | 显示全部楼层
收听那个很好改。只要在发信息后面加一个判断即可
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-23 07:18 , Processed in 0.107978 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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