sweet thanks! But, I tried the code, and looks like what big jimmysisco said, it only works on the first page.
How can you add this to all pages?
I’ve amended the code on the other forum thread.
Please post subsequent replies on that thread and not this one to prevent forking.
Thanks!
ok, now I got that.
I’m sort of trying to figure out how to display the number count. Any hints on to get the count? Is it in the $bp->global?
Try the $topic_template global variable. Particularly $topic_template->current_post.
I’m not that advanced… ??: <?php topic_template_current_post_ID ?
`global $topic_template;
echo $topic_template->current_post;`
oops sorry, is this “forking?”
It’s slightly different, so I’ll allow it
O boy , it works great.
But, now heres the thing. On each page, the count starts back at one. I want it to keep going.
Sorry, and also, on the second page and so on, it does not count the first post.
Aaaarg!
Try:
`function my_not_first_post() {
global $topic_template;
$current_page = $topic_template->pag_page – 1;
$post_position = $current_page * $topic_template->pag_num + $topic_template->current_post;
if ( 0 != $post_position ) {
// do your business here… eg.
echo ‘Re: ‘;
echo $post_position;
}
}`
Getting there… but now each count is going up by 8, and each page starts at 8. So close!
Reply #8
Reply #16
Now it starts at 16 on every page, and goes up by 1.
r-a-y, you’ve helped me so much, if you want some donation or something i’ll do it
Amended again! Should work now as I’ve actually tested it this time
Donation link is available on my profile page.
Sweet! Thanks! it works now.
I will donate tonight, or as soon as i possibly can, I get my pay check tonight.