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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] 关于【Discuz! 实验室出品】发帖直通车插件部分站点安装后无法正常显示的解决方案

[复制链接]
jacychen 发表于 2012-1-9 18:48:10 | 显示全部楼层 |阅读模式
插件标题:【Discuz! 实验室出品】发帖直通车V1.0 FOR Discuz! X1.5/X2.0 (最后更新 20111216)
插件地址:https://discuz.dismall.com/thread-2566530-1-1.html
在看完该帖子的评论和回复之后,发觉有部分站点安装该插件后,快速评论等显示不正常,如下图所示:



如出现以上问题而不知道怎么解决的话,请继续看下去。
在发现该问题后,也在楼主的帖子发表了回复,并反映了该问题以及产生问题的原因,但楼主一直没有回复,因此现在自己动手,解决这个问题,绝对算官方回复。{:soso_e120:}
在经过和官方论坛的快速发帖对比之后,发现问题的原因是因为在cache/data下的css缓存中,该插件所使用的css缺失导致。
至于为什么部分站点会出现问题部分站点不会,这个有待研究。反正我是出现了。
废话不多说,现在给出解决方案:
请在根目录下data/cache/中找到style_1_forum_index.css,打开后在该文件内容之后加入如下代码(不需要换行,这是cache文件,就是为了加快载入速度而选择不换行的):
  1. #vfitips{margin-bottom:10px;position:relative;cursor:pointer;}#vfitips input{height:30px;line-height:30px;width:70%;cursor:pointer;color:#AAA;border:1px solid #C2D5E3;background:none;}#vfitips img{vertical-align:top;padding-right:10px;}#vitip{line-height:33px;}#f_pst{position:relative;}#vfclose_i{display:block;position:absolute;top:0;right:15px;color:#369;cursor:pointer;}.tig_bottom{color:#B1B1B1;display:block;height:8px;top:56px;margin-left:20px;position:absolute;z-index:99;}.tig_bottom1{color:#FEFEE9;display:block;height:8px;top:55px;margin-left:20px;position:absolute;z-index:111;}.vct{font:12px/1.5 Tahoma;margin:0;}.container{border:1px solid #B1B1B1;margin-top:8px;margin-right:80px;background-color:#FEFEE9;border-radius:3px;padding:5px;width:120px;position:absolute;top:-80px;left:57%;}
复制代码
同样目录下, 找到style_1_forum_viewthread.css,执行同样的操作,插入如下代码:
  1. #vfpop_menu{visibility:hidden;position:fixed;bottom:154px;display:block;margin:-30px 0 0;width:26px;height:81px;background:url(../../source/plugin/vfastpost/image/vpopup.png) no-repeat 50% 0;line-height:999px;overflow:hidden;cursor:pointer;}.ie6 #vfpop_menu{position:absolute;}#vfastpost{background:#E5EDF2;padding:3px;margin:10px 30px;position:relative;clear:both;}#vfastpost td{height:38px;}#vfastpost #vf_l{width:5px;background:url(../../source/plugin/vfastpost/image/v.png) no-repeat -30px -39px;}#vfastpost #vf_m{background:url(../../source/plugin/vfastpost/image/v.png) repeat-x 0px -79px;}#vfastpost #vf_m input{border:1px solid white;width:100%;border:1px solid white;outline:none;font-size:14px;}#vfastpost #vf_r{width:10px;background:url(../../source/plugin/vfastpost/image/v.png) no-repeat -47px -119px;}#vfastpost #vf_b{width:120px;}#vfastpost #vf_b button{width:120px;display:block;height:38px;line-height:100px;overflow:hidden;background:url(../../source/plugin/vfastpost/image/v.png) no-repeat 0 0;margin:0;padding:0;border:none;}.tig_bottom{color:#B1B1B1;display:block;height:8px;top:56px;margin-left:20px;position:absolute;z-index:99;}.tig_bottom1{color:#FEFEE9;display:block;height:8px;top:55px;margin-left:20px;position:absolute;z-index:111;}.vct{font:12px/1.5 Tahoma;margin:0;}.container{border:1px solid #B1B1B1;margin-top:8px;margin-right:80px;background-color:#FEFEE9;border-radius:3px;padding:5px;width:120px;position:absolute;top:-80px;right:0;}
复制代码
以上代码的来源:以上代码均复制与官方论坛同名文件下的css,非个人所写,大家可以放心使用。
加入代码,保存,上传,然后更新缓存,你就会看到和官方一样的快速发帖。
不过据说该插件在站点开启验证码回复/发帖时会报错,无法使用,请各位根据站点情况设置和使用。

加入代码后的演示:http://www.isolidworks.net - 爱索网,爱3D,爱分享!

希望Discuz!保持良好的开源风气,莫被道德沦丧的插件模板盗窃者破坏了国内得之不易的开源之风。

本帖子中包含更多资源

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

x
ppcynt 发表于 2012-1-9 18:48:59 | 显示全部楼层
回复

使用道具 举报

无效楼层,该帖已经被删除
 楼主| jacychen 发表于 2012-1-9 18:56:00 | 显示全部楼层
c9c9gua 发表于 2012-1-9 18:54
这样也可以么

是的,那个插件需要额外的css,插件的作者没有给出。直接抠官方的就可以了,呵呵。
回复

使用道具 举报

abcnic 发表于 2012-1-9 19:31:43 | 显示全部楼层
本帖最后由 abcnic 于 2012-1-9 19:31 编辑

支持一下呢
回复

使用道具 举报

caindd 发表于 2012-1-9 20:08:16 | 显示全部楼层
哦,怎么不错呀,
回复

使用道具 举报

darwinwen 发表于 2012-1-10 03:22:27 | 显示全部楼层
先收藏下,备用。。
回复

使用道具 举报

凉开水2012 发表于 2012-1-10 06:45:42 | 显示全部楼层
解决了,谢谢了。
回复

使用道具 举报

1314学习网 发表于 2012-1-10 07:19:11 | 显示全部楼层
我想说更新缓存会重新生成这些CSS
回复

使用道具 举报

lulut 发表于 2012-1-10 10:14:36 | 显示全部楼层
了解一下,收藏此贴以备用













广州这边或国内需要进口轴承的来FAG轴承价格优惠的原装进口轴承
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-23 11:21 , Processed in 0.101400 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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