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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

首页n格的问题整理与解决[最后更新:2007.11.05 JS调用附件]

[复制链接]
м緯絕爺℡ 发表于 2007-6-21 12:40:55 | 显示全部楼层
有点新问题。安装多格调用后。。。最新回复一项无法访问。在点击最新回复调用的贴子后,弹出的窗口中提示,  未定义操作。请返回    www.bkais.com

插件地址:https://discuz.dismall.com/viewthread ... hlight=%B6%E0%B8%F1
猎英夜客的多格
回复

使用道具 举报

习明 发表于 2007-6-21 12:48:08 | 显示全部楼层

回复 #33 м緯絕爺℡ 的帖子

你的最后回复链接地址有误 所提供的插件地址也有误 ...
回复

使用道具 举报

海风默然 发表于 2007-6-21 21:30:46 | 显示全部楼层
找这贴子几天,原来置顶了,我就在论坛找的,不过我做了点修改。我把相关代码给你看吧

<table cellspacing="0" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder" border="1" bordercolor="#799AE1" style="color:#000066;border-collapse:collapse;">
        <tr class="header">
    <td class="header" width=34% align=center><img src=/images/apple/forum_readme.gif><b>≡最新话题≡</b></td>
    <td class="header" width=33% align=center><img src=/images/apple/forum_readme.gif><b>≡最新回复≡</b></td>
    <td class="header" width=33% align=center><img src=/images/apple/forum_readme.gif><b>≡精华话题≡</b></td>
    </tr>
        <tr>
        <td class="">
        <!--{loop $new_post_threadlist $nthread}-->
        
<table border=0 width='100%' cellspacing=2><tr><td height=12 width='78%'><img src=/images/apple/forum_readme.gif> <!--{if $nthread[replies]}--><a href="redirect.php?tid=$nthread[tid]&goto=newpost" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题标题: $nthread[subject] {LF}主题作者: $nthread[author]{LF}发表时间: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}最后回覆: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]" target='_blank'>$nthread[view_subject]</a>
<!--{else}-->
<a href="redirect.php?tid=$nthread[tid]&goto=newpost" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题标题: $nthread[subject] {LF}主题作者: $nthread[author]{LF}发表时间{lang time}: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}{lang replies}: 暂时没有回覆" target='_blank'>$nthread[view_subject]</a><!--{/if}-->
</td><td> <a href="viewpro.php?username=$nthread[author]" target="_blank" class="smalltxt">$nthread[view_author]</a></td></tr></table>
<!--{/loop}-->
</td>      
<td class="">
<!--{loop $new_reply_threadlist $rthread}-->
<table border=0 width='100%' cellspacing=2><tr><td height=12 width='78%'><img src=/images/apple/forum_readme.gif>
<a href="viewthread.php?tid=$rthread[tid]" $rthread['highlight'] title="最新回复 {LF}所在论坛: $rthread[forumname]{LF}主题标题: $rthread[subject]{LF}主题作者: $rthread[author]{LF}发表时间: $rthread[date]{LF}浏览次数: $rthread[views] 次{LF}回复次数: $rthread[replies] 次{LF}最后回覆: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]" target='_blank'>$rthread[view_subject]</a></td><td> <a href="viewpro.php?username=$rthread[lastposter]"  target="_blank" class="smalltxt">$rthread[view_lastposter]</a></td></tr></table>
<!--{/loop}-->
</td>
<td class="">
<!--{loop $new_digest_threadlist $dthread}-->
<table border=0 width='100%' cellspacing=2><tr><td height=12 width='76%'><img src=/images/apple/forum_readme.gif>
<a href="viewthread.php?tid=$dthread[tid]"  $dthread['highlight'] title="精华文章 {LF}所在论坛: $dthread[forumname]{LF}主题标题: $dthread[subject]{LF}主题作者: $dthread[author]{LF}发表时间: $dthread[date]{LF}浏览次数: $dthread[views] 次{LF}回复次数: $dthread[replies] 次{LF}最后回复: $dthread[lastreplytime]{LF}{lang lastpost}: $dthread[lastposter]"target='_blank'>$dthread[view_subject]</a></td><td> <a href="viewpro.php?username=$dthread[lastposter]"target='_blank' class="smalltxt">$dthread[view_author]</a></td></tr></table>
<!--{/loop}-->
</td></tr>
</table><br>
回复

使用道具 举报

习明 发表于 2007-6-21 22:03:30 | 显示全部楼层
你是想把回复数和浏览数放在标题后面么?
<table border=0 width='100%' cellspacing=2><tr><td height=12 width='78%'><img src=/images/apple/forum_readme.gif> <!--{if $nthread[replies]}--><a href="redirect.php?tid=$nthread[tid]&goto=newpost" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题标题: $nthread[subject] {LF}主题作者: $nthread[author]{LF}发表时间: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}最后回覆: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]" target='_blank'>$nthread[view_subject]</a>

以这一段为例 $nthread[view_subject] 为主题标题 $nthread[views] 为浏览数 $nthread[replies] 为回复数 所以把$nthread[view_subject] 后面加上你需要的东西就可以了
  1. $nthread[view_subject]({$nthread[replies]}/{$nthread[views]})
复制代码

其他的类推一下吧
回复

使用道具 举报

海风默然 发表于 2007-6-21 23:11:46 | 显示全部楼层
是的,放在标题后面。
看都看晕了,老大能不能帮我搞好,搞了半天都出错
回复

使用道具 举报

习明 发表于 2007-6-21 23:34:30 | 显示全部楼层

回复 #37 海风默然 的帖子

先按照我说的那个改改看 成功了在继续~
回复

使用道具 举报

海风默然 发表于 2007-6-22 01:23:21 | 显示全部楼层
最新主题,最新回复OK了,精华主题搞不定
回复

使用道具 举报

习明 发表于 2007-6-22 09:24:07 | 显示全部楼层

回复 #39 海风默然 的帖子

  1. $dthread[view_subject]({$dthread[replies]}/{$dthread[views]})
复制代码
回复

使用道具 举报

尐強 发表于 2007-6-22 21:58:55 | 显示全部楼层
看看我的首页N格你一定会喜欢.

演示请看签名站.
回复

使用道具 举报

动凡心 发表于 2007-6-23 02:57:28 | 显示全部楼层
如果要指定图片显示要怎么样修改?请问?
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-22 03:34 , Processed in 0.144730 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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