pic.php 中
$shownums = 5;//演示个数 6以内
$searchnums = 50;//搜索总数.
$cachelife = 1800;//缓存时间.
$orderby = 'dateline';//搜索顺序:按日期dateline.按浏览次数downloads.随机rand.
$cachename = 'showpic';//缓存名.若与何插件冲突请修改,只要不冲突不会影响使用.
$searchfid = '';//搜索fid范围.不限制留空.请用逗号相隔,如'1,2,3'.[separator]
var config='5|0xffffff|0x0099ff|50|0xffffff|0x0099ff|0x000000'
//-- config 参数 -- 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩
var swf_width=255 设置flash 宽
var swf_height=175 设置flash 高
index.php中
$hack_cut_str = 26; //标题字数
DESC LIMIT 0, 10" //设置显示条数
如果不想调用某个版或某个区或者某些版的帖子可在index.php预留给大家的位置增加:(共三处)
and f.fid not in (0)
增加为:
and f.fid not in (1,2,3)其中123为 不想调用的 fid,
或者只想调用 1 2 3 改为:and f.fid in (1,2,3)
discuz.htm 中
需要像官方一样每个区加入伸缩点击功能的请在discuz.htm 中改写(五格的,如果是四格就根据
≡ 本周热门 ≡
<td align="center" style="padding:0 0 0 1px"><h3>今日发帖</h3></td>
</tr>
</thead>
<tr>
为
<span class="headactions">
<img id="toplist_img" src="images/default/collapsed_no.gif" title="收起/展开" alt="收起/展开" onclick="toggle_collapse('toplist');" />
</span>
<h3>今日发帖</h3>
</td>
</tr>
</thead>
<tr id="toplist">
关于调用 随机 显示的方法,
将所调用句的最后
order by *** linit 0,10
替换为:
order by RAND() desc limit 0, 10
$shownums = 5;//演示个数 6以内
$searchnums = 50;//搜索总数.
$cachelife = 1800;//缓存时间.
$orderby = 'dateline';//搜索顺序:按日期dateline.按浏览次数downloads.随机rand.
$cachename = 'showpic';//缓存名.若与何插件冲突请修改,只要不冲突不会影响使用.
$searchfid = '';//搜索fid范围.不限制留空.请用逗号相隔,如'1,2,3'.[separator]
var config='5|0xffffff|0x0099ff|50|0xffffff|0x0099ff|0x000000'
//-- config 参数 -- 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩
var swf_width=255 设置flash 宽
var swf_height=175 设置flash 高
index.php中
$hack_cut_str = 26; //标题字数
DESC LIMIT 0, 10" //设置显示条数
如果不想调用某个版或某个区或者某些版的帖子可在index.php预留给大家的位置增加:(共三处)
and f.fid not in (0)
增加为:
and f.fid not in (1,2,3)其中123为 不想调用的 fid,
或者只想调用 1 2 3 改为:and f.fid in (1,2,3)
discuz.htm 中
如果想把最新回复中的链接打开时指向最后回复此帖的位置,只需将discuz.htm 中的:
<a href="viewthread.php?tid=$rthread[tid]"
改为:
<a href="redirect.php?tid=$rthread[tid]&goto=lastpost#lastpost"
<a href="viewthread.php?tid=$rthread[tid]"
改为:
<a href="redirect.php?tid=$rthread[tid]&goto=lastpost#lastpost"
需要像官方一样每个区加入伸缩点击功能的请在discuz.htm 中改写(五格的,如果是四格就根据
≡ 本周热门 ≡
<td align="center" style="padding:0 0 0 1px"><h3>今日发帖</h3></td>
</tr>
</thead>
<tr>
为
<span class="headactions">
<img id="toplist_img" src="images/default/collapsed_no.gif" title="收起/展开" alt="收起/展开" onclick="toggle_collapse('toplist');" />
</span>
<h3>今日发帖</h3>
</td>
</tr>
</thead>
<tr id="toplist">
关于调用 随机 显示的方法,
将所调用句的最后
order by *** linit 0,10
替换为:
order by RAND() desc limit 0, 10








