The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I want to number replyes inside a thread so if you have a long thread you can refer the reader to the reply number instead of describing wich reply you are talking about.
It is very usefull, I realy don't know why it is not a standerd feature of this great board. Thanks very much in advance |
#2
|
||||
|
||||
You can give them a URL which includes a post number, which will send them to that post specifically. If you run your mouse over the "edit/delete" icon of any post, you will see &postid=XXX where XXX is the postid. To link to that, just do the following:
http://mysite.com/forums/showthread....id=XXX#postXXX again, replacing the XXX in both places with the post number. |
#3
|
|||
|
|||
Thanks tubedogg for your reply
It is a nice idia, but I realy think it is much nicer to refer them to a reply number. I was talled it is easy to be done but not more than that |
#4
|
|||
|
|||
tubedogg
I am so sorry, perhaps I did not make my self very cleare. I did not mean extracting the post number from the data base, what I meant is a basic numbring, for example. Your reply was number 1 and my previous reply was number 2 this reply is 3 and so on. |
#5
|
||||
|
||||
You just need to put a counter in the loop that processes messages and refer to $count in your postbit template. Make sure to take care of multiple page threads by by using the pagenumber and the postsperpage settings also.
|
#6
|
||||
|
||||
For those interested in the same thing:
Open showthread.php Find PHP Code:
PHP Code:
Find PHP Code:
PHP Code:
Edit template postbitp and place the variable $countposts where you want the post # to show. For example, place <smallfont>Post #$countposts</smallfont> somewhere at the bottom. This will accurately count the post number irrespective of the page you are on. Cheers, Bira p.s. You can see it on my BB, on any of the threads (near the date/time of the post, to the left of the small folder icon) http://www.atlasf1.com/bb |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|