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 |
#152
|
|||
|
|||
How can I get it to do this?
Post# xx of xxx Thanks! |
#153
|
|||
|
|||
Quote:
|
#154
|
||||
|
||||
Everything works fine (The link) , but the post number doesn't show up!
|
#155
|
|||
|
|||
when i installed this thing, i got Post # and thats it, no number after it.
Link works for it, but no number is showing. BTW i am using vB226 |
#156
|
||||
|
||||
If you installed the stars hack, don't look for this:
$postbits .= getpostbit($post); Find the other one inside the stars hack code and place the code over that one instead. The numbers will show up this time! |
#157
|
||||
|
||||
work well on 2.2.8
|
#158
|
|||
|
|||
Rolodex what do u mean? Sorry I am tired and I am not registering what u r saying i guess.
|
#159
|
||||
|
||||
I just installed this, thanks bira and everyone else who added the helpful changes throughout this thread! :glasses:
I'm also interested in having these things mentioned:[list=1][*]posts #s accurate with Order of posts within a thread set to newest first as well [*]show post #xx of xxx posts[/list=1] Are they in the works? Da_Gotti, Did you double check your link? mine shows fine in 2.2.8 using this for the link: Quote:
|
#160
|
||||
|
||||
Working great with vBulletin 2.2.8.
|
#161
|
||||
|
||||
Is it an impossible thing to make it so if you have your forums threads post order set to 'newest first' in your adminCP, the post count for the newest post will be post# 99 (for example) or whatever it is instead of 1? post# 1 still being the original first post...
What would be the best way to go about trying this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|