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 |
#62
|
|||
|
|||
Works great on 2.2.2 and 3.0pr7
Thanks. :china: |
#63
|
||||
|
||||
can this thread be updated with a whole new post 1 with the correct instructions with no bugs for 2.2.x because no-one really uses 2.0.x any more and there are fixes all over this thread and its really confusing?
Thanks |
#64
|
||||
|
||||
Airwaves, there's a box beneath '2.x.x instructions' which has the instructions in it you're after.
However, I've found this hack to be the one which has been causing my board problems, so I'm uninstalling it. My readouts in the admin cp went from a steady 0.8-1.2 at 'rush hour' (6pm-8pm) over the last three days pre-install, to 2.5-4.1 last night when I installed this hack. This is very bad for my board and shuts off the mainpage (get timeouts). So it's uninstalled. |
#65
|
||||
|
||||
After I installed this hack, after people post their messages and it is suppose to take them back the post they posted? Well after installing this hack, it doesn't do that any more. Has anybody else had this problem? I am running 2.0.3
Thanks for any help or tips you can help me with. |
#66
|
||||
|
||||
I can't get this to install. it just says post # and doesn't have a number....
|
#67
|
|||
|
|||
What version is this forum here using?
|
#68
|
||||
|
||||
Thanks, great hack!
-Tom |
#69
|
|||
|
|||
how come i have the max posts per page 15 and when i goes too a another page the (post #) goes back too 1 helllp
|
#70
|
|||
|
|||
|
#71
|
|||
|
|||
any ideas any1?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|