文章評論

文章評論調用在內容詳情頁可用,具體使用建議參考默認模板

1、基本標簽

{pboot:commentcodestatus} 驗證碼是否開啟

{pboot:commentaction} 評論提交地址

comment、checkcode 評論表單必填

注:由于涉及東西較多,具體使用可參考默認模板

?

2、評論循環輸出

{pboot:comment contentid={content:id}}

[comment:***]

{pboot:commentsub}
[commentsub:***]
{/pboot:commentsub}

{/pboot:comment}

3、可使用的輸出標簽

[comment:n] 序號,從0開始
[comment:i] 序號,從1開始
[comment:pid] 父評論ID
[comment:contentid] 評論文章ID
[comment:comment] 評論內容
[comment:ip] IP地址
[comment:os] 操作系統
[comment:bs] 瀏覽器
[comment:date] 日期
[comment:uid] 評論人ID
[comment:username] 評論人賬號
[comment:nickname] 評論人昵稱
[comment:headpic] 評論人頭像
[comment:pid] 父評論人ID
[comment:pusername] 父評論人賬號
[comment:pnickname] 父評論人昵稱
[comment:pheadpic] 父評論人頭像
[comment:likes] 點贊數量
[comment:oppose] 反對數量
[comment:replyaction] 評論回復提交地址
{pboot:commentsub} 子評論輸出
[commentsub:***] 子評論調用字段同上
{/pboot:commentsub}
子評論輸出