Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
bulletinモジュールの投稿者名とヒット数とコメント数を消す。 bulletin_item.html | 社内SEのウェブ制作

2010.06.20xoopsズープス

bulletinモジュールの投稿者名とヒット数とコメント数を消す。 bulletin_item.html

<{if $story.title_link}>
<a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$story.title}></a>
<{else}>
<{$story.title}>
<{/if}>
</span></div>
  <div class="itemInfo">

↓ここが投稿者名↓
<!--    <span class="itemPoster"><{$smarty.const._MD_POSTEDBY}>&nbsp;:&nbsp;
<{if $story.uid}>
<a href="<{$xoops_url}>/userinfo.php?uid=<{$story.uid}>"><{$story.uname}></a>
<{else}>
<{$story.uname}>
<{/if}>
</span> -->

 

<span class="itemPostDate"><{$smarty.const._ON}> <{$story.posttime}></span>

↓ここがヒット数↓
<!-- (<span class="itemStats"><{$story.hits}> <{$smarty.const._READS}></span>)-->
  </div>
  <div class="itemBody">
    <{if $story.topic_url}>
      <a href="<{$mydirurl}>/index.php?storytopic=<{$story.topicid}>"><img src="<{$story.topic_url}>" alt="<{$story.topic}>" hspace="10" vspace="10" align="<{$story.align}>" /></a>
    <{/if}>

 

★コメント数を消す
<span class="itemPermaLink">
<{if $story.readmore}>
<a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$smarty.const._MD_READMORE}></a> | <{$story.bytes}> |
<{/if}>

↓ここからがコメント数↓
<!--<{if $mod_config.comment_dirname != '' && $mod_config.comment_forum_id > 0}>

 <{d3comment class="BulletinD3commentStory" mydirname=$mydirname mode="count" var="comments_count"}>

 <{if $comments_count}>
  <a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$comments_count|string_format:$smarty.const._MD_NUMCOMMENTS}></a>
 <{else}>
  <{$smarty.const._MD_COMMENTS}>
 <{/if}>

<{else}>
 <a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$story.comentstotal}></a>
<{/if}>-->
↑ここまでがコメント数↑
</span>

追記:コメント数は、picoでページを作る際に、 コメント可能 のチェックボックスにチェックすることで、
0 の表記は消えました。


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (30327)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/50

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ