+V1.7文本版使用技巧 +
<P><STRONG><SPAN class=tpc_title><FONT color=#ff0000>自由更换表情</FONT></SPAN><BR><BR></STRONG><SPAN class=tpc_content id=a_ajax_1451>作者:Wekci<BR><BR>换表情,有两种方法。<BR><BR>第一个笨但是简单。把所有的表情图片名字改成和原来的emot图片名字一样,然后覆盖即可,不过表情图片的数量要一致。<BR><BR>第二个就是我采用的方法啦,比较彻底的换了,而且不用顾及表情个数。先更换表情图片,然后编辑include文件夹下的emotions.php和emotions2.php这两个文件,逐一修改<td width=宽度><img src=\"表情相对地址\" onclick=\"insertstr(\'表情文件名称\');\" style=\"CURSOR: hand\"></td>,并删除多余的。<BR><BR>换完表情后,要记得调admin文件夹下的maintain.php,否则显示不整齐。查找 $parts[\'emotnum\']= <BR>后面的数字默认是16,修改为你想要单行表情数,比如我为10。<BR><BR>当这些都上传搞定后在管理后台刷新下表情就ok啦。<BR><BR>补充:无意中测试发现,以上的步骤似乎大部分都不是必要的,好像只要将所有表情都上传后,什么都不用做,在后台刷新表情,blog程序就会自动读入emot文件夹中所有表情(当然单行表情数还是要修改),不知是否所有人都是这样,仅在此记录此发现而已,大家也可以测试。。。</SPAN></P><P><SPAN class=tpc_content><SPAN class=tpc_content id=a_ajax_1705><FONT color=#ff0000><SPAN class=tpc_title><STRONG>QuickSub的使用</STRONG></SPAN><BR></FONT></SPAN></SPAN></P><P><SPAN class=tpc_content><SPAN class=tpc_content>作者:小歪</SPAN></SPAN></P><SPAN class=tpc_content><SPAN class=tpc_content><P><BR>quickSub是什么?简单的理解就是让你的blog访问者更好、更方便地订阅你的rss和atom提要。它集成了很多最流行的在线rss和atom提要阅读器,让用户仅仅点击一下鼠标就可以在自己使用的在线阅读器中订阅。不过大部分是国外网站,对中国人好像没有什么大的用处,大家可以做为一种体验。请把鼠标放在右侧栏的(img/xml2.gif)看效果。<BR> <BR>-----小歪的一点浅显的理解<BR><BR>quickSub - making RSS and Atom feed subscribing easier for your readers!<BR><BR>Overview:<BR><BR>quickSub is a Javascript function that adds intelligence to the (img/xml2.gif) feed button on your web page. Just roll your mouse over the example above, and you\'ll be instantly greeted by one-click subscription links to the most popular aggregators. <BR>quickSub was inspired by the great overLib library from Erik Bosrup, and by Morten Frederiksen\'s Syndication Subscription Service <BR><BR>Current Version: 0.3.5 (May 30, 2005)<A href=\"http://prdownloads.sourceforge.net/quicksub/quicksub-0.3.5.zip\" target=_blank><FONT color=#000000>{ZIP。}</FONT></A> <A href=\"http://prdownloads.sourceforge.net/quicksub/quicksub-0.3.5.tar.gz\" target=_blank><FONT color=#000000>{tar.gz}</FONT></A><BR><BR>官方网站:<A href=\"http://www.methodize.org/quicksub/\" target=_blank><FONT color=#000000>[url]http://www.methodize.org/quicksub/[/url]</FONT></A><BR><BR>使用办法:(以clean模版为例)<BR><BR>1、添加代码到<BR><link rel=\"stylesheet\" type=\"text/css\" href=\"blog/template/clean/quicksub.css\"><BR><script type=\"text/javascript\" language=\"JavaScript\" src=\"blog/template/clean/quicksub.js\"><!-- quickSub (c) Jason Brome --></script><BR><BR>2、添加代码到<BR><div id=\"quickSub\" style=\"position:absolute; visibility:hidden; z-index:1000;\" onmouseout=\"return timeqs();\" onmousemove=\"return delayqs();\"></div><BR><BR>3、在clean模版的杂项中,有这样一个图片(img/rss2.png),我们在这个图片上实现示例效果。在index.htm文件中,删除{ xml1 },以一下代码代替<BR><a href=\"<A href=\"http://www.joyepp.com/rss2.php\" target=_blank><FONT color=#000000>[url]http://www.joyepp.com/rss2.php[/url]</FONT></A>\" onmouseout=\"return timeqs();\" onmouseover=\"return quicksub(this, \'<A href=\"http://www.joyepp.com/rss2.php\" target=_blank><FONT color=#000000>[url]http://www.joyepp.com/rss2.php[/url]</FONT></A>\');\"><img src=\"img/rss2.png\" border=\"0\" /></a><BR><BR>4、上传下载回来的quicksub.css和quicksub.js 到clenn目录下。</P><P><STRONG><FONT color=#ff0000><SPAN class=tpc_title>首页的\"阅读全文\"前面加一个图标</SPAN><BR></FONT><BR></STRONG><SPAN class=tpc_content id=a_ajax_1452>1>阅读全文前添加小图标:<BR>打开main.htm,在{ seereply }前面加入如下代码:<BR>/////////////////////////////////////////////////////////<BR><BR><img src=\"blog/template/模板名/images/icon_readmore.gif\" border=0 align=\"absmiddle\"><BR>/////////////////////////////////////////////////////////<BR><BR>那个小图标放到blog/template/模板名/images.你可以自己更换!<BR><BR>2>Blog分类小图标:就是发表的每一篇日志标题前面都有一个小图标,对应分类。打开article.htm,在{ articlename }前面加上{ thiscatimg }。分类小图标可以自己找,按1.gif,2.gif,3.gif,4.gif,5.gif顺序放在catimg目录里,程序会自动找到。</SPAN></P><P><SPAN class=tpc_content><STRONG><SPAN class=tpc_title><FONT color=#ff0000>去除最新评论、最新引用底端的空行</FONT></SPAN><BR><BR></STRONG><SPAN class=tpc_content id=a_ajax_1450>作者:Wekci<BR><BR>有细心的人注意到,Bo-blog最新评论和最新引用模块底下多了一个空行,不像最新日志和归档那样能紧贴底部,原因是程序自身会在模块最后端插入一个<BR>。对于追求完美的模板使用者,这也许就有点碍眼了,该如何解决呢?以下是方法,目前测试没问题。<BR><BR>去掉评论的空行:<BR>用editplus打开index.php,ctrl+F寻找comment,找到如下字段<BR>$reoutput.=”{ $parts[’listpic’] } $latest[5]$latest[3]<BR>“;<BR>}<BR>$reoutput.=”<BR>“;<BR><BR>将$reoutput.=”<BR>” 中的<BR>去掉,修改为$reoutput.=”\"<BR><BR>去掉引用的空行:<BR>找到“//最新引用开始”,在这句话下面的字段找到<BR>}<BR>$tbshow.=”\";<BR>}<BR><BR>依旧如上操作,去掉<BR>,替换为$tbshow.=”\"<BR><BR>请务必使用editplus替换,并自行备份index.php</SPAN></SPAN></P><P><SPAN class=tpc_content><SPAN class=tpc_content><STRONG><FONT color=#ff0000><SPAN class=tpc_title>修改转向分类打开方式</SPAN><BR></FONT><BR></STRONG><SPAN class=tpc_content id=a_ajax_1449>作者:Wekci<BR><BR>Bo-blog默认转向分类在新窗口打开,如果想要在原窗口打开,可以采用以下方法。<BR><BR>用editplus打开global.php,ctrl+F 寻找“转向分类”,出现以下一段文字:<BR><BR>function updateredirection() { //更新附加转向分类缓存<BR> global $dirblog;<BR> $tmp= at file(”$dirblog/redirection dot php”);<BR> for ($i=0; $i$tk[1]“;<BR> }<BR> $newest= at file(”blog/mblogcon dot php”);<BR>………………<BR><BR>去掉$redirection.=” &line; $tk[1]“;中的target=’_blank’ 即可。<BR><BR>Note:此为重要php文件,请务必用editplus修改,并请自行备份。</SPAN></SPAN></SPAN></SPAN></SPAN></P>页:
[1]