How to ad a post count for each post in threadReply #nnn
Note: the reply number is also a link to the post making it easier and more efficient to just right click and copy the link address
Drop this in your global footer, it should affect all themes.
<script type="text/javascript">
$(function(){
if(window.listMan && listMan.item_type == "post"){
var p = listMan.options, r = proboards.data("route")
$('.content-head .info .date', listMan.content).each(function(i,e){
var post = {element:$(e), index: i, id: $(e).closest('tr.item.post').attr('id').split("-").pop(), page: listMan.pagination.data("pagination").page},
search = /search/i.test(r.name) || p.data.search || p.data.posts_search || p.data.post_query || p.data.hash.q || p.data.recent_page?1:0;
post.element.before('<span class="post-method post-number" />').prev()
.html( '<a href="/post/' + post.id + '/thread" title="Link to Post" >' + ((i+post.page+search) == 1 ? 'Thread ' : (search?'Result':'Reply') + ' #' + ((post.page - 1) * p.limit + i + search)) + '</a> ' + (i+post.page+search == 1 ?'started ' : 'posted '))
})
}
if($.inArray(arguments.callee, proboards.events.afterSearch) == -1)proboards.on("afterSearch",arguments.callee);
})
</script>
Display reply # with post.total eg Reply #10 of 30
<script type="text/javascript">
/* Adds reply count to posts. */
$(function(){
if(window.listMan && listMan.item_type == "post"){
var p = listMan.options, r = proboards.data("route")
$('.content-head .info .date', listMan.content).each(function(i,e){
var post = {element:$(e), index: i, id: $(e).closest('tr.item.post').attr('id').split("-").pop(),
page: listMan.pagination.data("pagination").page, total: listMan.pagination.data("pagination").options.total},
search = /search/i.test(r.name) || p.data.search || p.data.posts_search || p.data.post_query || p.data.hash.q || p.data.recent_page?1:0;
post.element.before('<span class="post-method post-number" />').prev()
.html( '<a href="/post/' + post.id + '/thread" title="Link to Post" >' + ((i+post.page+search) == 1 ? 'Thread </a> ' : (search?'Result':'Reply') + ' #' + ((post.page - 1) * p.limit + i + search) + '</a> '+ ' of ' + post.total) + (i+post.page+search == 1 ?' started ' : ', '))
})
}
if($.inArray(arguments.callee, proboards.events.afterSearch) == -1)proboards.on("afterSearch",arguments.callee);
})
</script>
source:
support.proboards.com/post/7085720 support.proboards.com/thread/560162/numbered-replies support.proboards.com/post/7085720 (post.total codes from mobile view)