The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | ||||||||||||||||||||||||||
This is a small hack I have on my BB that I posted some 2 months ago in reply to a thread in the hacks request forum. Since then, a couple of people contacting me asking me this hack, so I'm posting it here in the release forum.
It numbers your posts in a thread - the first one has the number 1 written on it, the second 2 etc. This will accurately count the post number irrespective of the page you are on, and tt helps orientation on long threads (and our threads are long). The post number on my BB is also a hyperlink, so people can copy the direct URL to that specific post. Installation is simple: INSTALLATION INSTRUCTIONS FOR VERSIONS BEFORE 2.0.3 scroll down for installation in version 2.0.3 and later Open showthread.php Find PHP Code:
PHP Code:
Find PHP Code:
PHP Code:
Edit template postbit and place the variable $countposts where you want the post # to show. For example, place <smallfont>Post #$countposts</smallfont> somewhere at the bottom or <a href="showthread.php?postid=$post[postid]#post$post[postid]"><smallfont>$countposts</smallfont></a> if you want the numebr to also be a hyperlink directly to that post. ------------------------------------------------------------------------- INSTALLATION INSTRUCTION FOR VERSIONS 2.0.3 AND UP ok, how 'postbit' is parsed has changed since 2.0.3 so here's what you need to do to install this: Quote:
Edit template postbit AND postbit_ignore and place the variable $countposts where you want the post # to show. For example, place <smallfont>Post #$post[postcount]</smallfont> somewhere at the bottom or <a href="showthread.php?postid=$post[postid]#post$post[postid]"><smallfont>$post[postcount]</smallfont></a> if you want the numebr to also be a hyperlink directly to that post. --------------------------------------- You can see it on my BB, on any of the threads (near the date/time of the post, to the right of the small folder icon). Example: http://www.atlasf1.com/bb/showthread...threadid=24656 Cheers, Bira Show Your Support
|
Comments |
#52
|
||||
|
||||
yeah, FWC has a point.
Tommy, since 'postcount' is going to be part of the vB code, I think you might want to edit your hack and change your variable to 'postnumber' or something as such. Sadie -- read what FWC just posted and do the same |
#53
|
|||
|
|||
Er, bira, i don't get what FWC meant
I have that same prob, is their better, easier directions for us people who dont know sql too well? |
#54
|
|||
|
|||
Quote:
|
#55
|
||||
|
||||
Quote:
|
#56
|
||||
|
||||
What's in vB3 is what I wrote in this post : https://vborg.vbsupport.ru/showthrea...914#post205914
|
#57
|
||||
|
||||
Is there a way to fix the post numbers reflected if you have you vBulletin set to display threads in reverse order?
As is stands right now, all my post #'s are backwards. Thanks for the help... |
#58
|
||||
|
||||
Maybe, could be, please???
|
#59
|
||||
|
||||
great hack! THANX!
|
#60
|
|||
|
|||
very useful hack but i'm with philphee on the reverse order issue. is there a way to get this to work for boards that are in reverse order?
i'm especially concerned for i was planning on installing the hack that allows my users the choice in the order of posts. back to the original subject, i was seeking this hack cuz the reverse post order option makes it hard to link to the original post of a thread. anyone have ideas on this? |
#61
|
||||
|
||||
Ok, great googly moogly. I saw so many posts in here, that I find myself a little bit confused.
How, if I may inquire, do add this hack in version 2.2.2 We know how to move around vB with no problem, I just need the final verdict of what is added where. Thank you very much, for any responses. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|