最近翻了一下BO-BLOG的官方插件页,很多东西都失效了,比如这两个:侧边栏热门日志与随机日志。这两个插件年代久远,已经跟不上时代的脚步。下边教一下大家如何安装这两个插件。(其实我只是想看下大家都喜欢访问哪些文章而已,貌似兰兰的吸引力还是很大的!不过大家都说理论上说可以增加PV,那我就凑合一下,加上这两个插件吧)

其实用Editplus打开这两个插件就明白了,只需要将最后一句话的Content加入到侧边模块内容中,我们就可以正常安装插件了。我把这几段内容提取出来了。作者用BASE64给代码加密了。想研究PHP的去解密,不想研究的就直接用吧。

安装方法:进入后台->常规管理->模块配置->新增/编辑模块->
在手动添加项目那里选择侧边模块->在最下面的"栏目内容"那里把上面的代码粘贴上去,其它的选项自己看着写就行了

热门日志
Z2xvYmFsICRibG9nLCAkZGJfcHJlZml4LCAkbWJjb247DQokaG90dmlldz0kYmxvZy0+Z2V0Z3JvdXBieXF1ZXJ5KCJTRUxFQ1QgKiBGUk9NIGB7JGRiX3ByZWZpeH1ibG9nc2AgV0hFUkUgYHByb3BlcnR5YCA9MCBPUkRFUiBCWSBgdmlld3NgIERFU0MgTElNSVQgMCAsIHskbWJjb25bJ2VudHJ5bnVtJ119Iik7DQppZiAoaXNfYXJyYXkoJGhvdHZpZXcpKSB7DQokdmlld2hvd3M9Jzx1bD4nOw0KZm9yZWFjaCAoJGhvdHZpZXcgYXMgJG9uZWhvdHZpZXcpIHsNCiRmY3V0PShzdHJsZW4oJG9uZWhvdHZpZXdbJ3RpdGxlJ10pPnN0cmxlbigkc3RyX2N1dD1tc3Vic3RyKCRvbmVob3R2aWV3Wyd0aXRsZSddLDAsJG1iY29uWydlbnRyeWxlbmd0aCddLXN0cmxlbigkb25laG90dmlld1sndmlld3MnXSkpKSk7DQokc2hvcnRfdGl0bGU9JHN0cl9jdXQuKCRmY3V0PyIuLi4iOiIiKTsNCiR2aWV3aG93cy49IjxsaT5beyRvbmVob3R2aWV3Wyd2aWV3cyddfV08YSBocmVmPVwiIi5nZXRsaW5rX2VudHJ5KCRvbm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