最新附件请在14楼下载,谢谢!! /*
**
插件名称:X-Space个人
空间热点导读 for PW Forums5.3 /
6.0 & LxBlog 5.3正式版 by 胶东人社区
** 作 者:胶东人社区'易海
** 升 级:Lyn
** 开发基础:
论坛调用博客新贴 for PWBlog 5.1 by 天若有精
** 说 明:此插件适合整合PWforum5.3+lxBlog5.3.
** 最后更新:2007.11
** 使用说明:
** 1.确定您已经安装了lxBlog5.3正式版。
** 2.打开xspace.php,根据你的情况设置$lockurl,$forumurl,$cachetime的值。
若博客表前缀不是bg_,请搜索全文,把两处bg_替换为你的表前缀。若博客与论坛安装在同个数据库名下,强烈建议把博客表前缀改为非pw_,否则论坛升级后将会影响博客正常使用。 ** 3.把插件文件xspace.php上传到博客的根目录。
** 4.把xspace.gif上传到您论坛的image目录下
** 5.调用方法
PW Forums5.3 调用方法:template/wind/index.htm
查找
复制代码- <a href="profile.php?action=show&username=$rawnewuser"
- target="_blank">$newmember</a>
- </td>
- </tr>
- </table></div>
|
后面加上
复制代码- <!-- 博客新帖开始 -->
- <div class="t">
- <table width="100%" cellpadding="0" cellspacing="0" id="X-Space" class="11">
- <tr><th class="h" colspan="6"><h2><a href="blog" class="cfont">X-Space个人空
- 间热点导读
- </a></h2></th>
- </tr>
- <tr>
- <td><script src="http://您的博客网址/xspace.php?cidin=all&num=9&length=35&orders=2&pre=4&info=0&rw=3&rnum=3"></script></td>
- </tr>
- </table>
- </div>
- <!-- 博客新帖结束 -->
|
PW Forums6.0调用方法:template/wind/index.htm
查找
复制代码- <div style="margin-top:7px;"></div>
- <!--
- EOT;
- }if($db_iftag && $db_tagindex){print <<<EOT
- -->
|
修改为
复制代码- <div style="margin-top:7px;"></div>
- <!--
- EOT;
- }print <<<EOT
- -->
- <!-- 博客新帖开始 -->
- <div class="t">
- <table width="100%" cellpadding="0" cellspacing="0" id="X-Space" class="11">
- <tr><th class="h" colspan="6"><h2><a href="blog" class="cfont">X-Space个人空间热点导读</a></h2></th>
- </tr>
- <tr>
- <td><script src="http://您的博客网址/xspace.php?cidin=all&num=9&length=35&orders=2&pre=4&info=0&rw=3&rnum=3"></script></td>
- </tr>
- </table>
- </div>
- <!-- 博客新帖结束 -->
- <!--
- EOT;
- if($db_iftag && $db_tagindex){print <<<EOT
- -->
|
** 参数说明:
** cidin(out):是调用博客的板块参数,整个博客调用 cidin=all,调用第一个板块
:cidid=1;调用2,3板块:cidid=2_3;
** 不显示2和10两个博客的新帖cidout=2_10;依次类推,
** orders(可选,默认为0): 新贴排序方式(0最后回复时间1点击2发表时间)
** num(可选,默认为10): 调用新帖的数目
** length(可选,默认为70):新贴标题长度限制
** pre(可选,默认为1): 新贴标题显示前缀参数
** info(可选): 新贴标题后增加显示时间
信息(0)
** uid(可选): blog的用户uid
** rw(可选默认为1): 显示的列数最大为3
** rnum(可选默认为5): 每列显示的新闻条数
*/
感谢各位该感谢的同志,呵呵……
1124:修正设置显示1列多行时的错误~
1215:增加了pw forum6.0的调用方法~(见前面内容)
注意:http://您的博客网址/xspace.php?cidin=all&num=9&length=35&orders=2&pre=4&info=0&rw=3&rnum=3 中,num=rw×rnum,否则会出现问题![ 此贴被lyn在2008-06-15 21:37重新编辑 ]