Add Number to Comment


Notice: Undefined variable: params in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 63

Warning: array_merge(): Argument #2 is not an array in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 63

Display Output
File [/skin/elf_zen/_item_comment.inc.php]
1. Added Line 76

PHP

$comment_number="*";

2. Amended line 90

PHP

'text'      => T_('Comment No. '). $comment_number,

Get the comment number
File [/skin/elf_zen/_item_feedback.inc.php]

1. Added Global variable to Line 59

PHP

$comment_number

2. Line 250

PHP

$comment_number = ( ( $CommentList->page ) * $CommentList->limit ) + 1;

3. Line 272

PHP

'comment_number'   => $comment_number,

See https://forums.b2evolution.net/comment-count-pagination-order