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 |
#192
|
||||
|
||||
Great Hack. I've loved this one ever since the first time I visited vB.org!
[high]* Nomb clicks install [/high] |
#193
|
||||
|
||||
Great Hack. I've loved this one ever since the first time I visited vB.org!
[high]* Nomb clicks install [/high] |
#194
|
|||
|
|||
Help me, not working on my 2.3.0... the number won't show...
|
#195
|
||||
|
||||
Hi reismarktq2,
Try installing it from the compiled instructions by BfB in this post: https://vborg.vbsupport.ru/showthrea...883#post338883 I am running it on 2.3.0 as written by BfB with no problems, so unless you have other hacks installed that are conflicting with it, it should work. |
#196
|
|||
|
|||
Quote:
I couldn't find it either, turns out my php shows: PHP Code:
its right before PHP Code:
|
#197
|
|||
|
|||
Quote:
I couldn't find it either, turns out my php shows: PHP Code:
its right before PHP Code:
|
#198
|
|||
|
|||
Excellent hack!
Well done. Running 2.3.0 and it's working perfectly. *Psi clicks install* |
#199
|
||||
|
||||
I stated this earlier, but I wish someone knew how to get the the Post Count to show up correctly when in a ignored post. The basic Post Link works fine for me, but it just when you have someone on ignored. So you decided that you want to view their post, so you click "To view this post click [here]" to view the message. And then the popup window appears with message and the post link as "Post #" where is should be "Post #1". I have tried and tried to figure it out. But I will pay anybody $40 if they can help me out by telling me how to fix this.
|
#200
|
|||
|
|||
This is a very nice hack and i have installed it now after doing a bit of modifications, like having the actual display and link in a different position.
However, I'd be interested to know, say, if i ahve installed fastforward's hack which converts dynamic URL's to static URL's, do i need to make any changes to actually link to the static URL, instead of dynamic one ?? Thanks for the hack ! |
#201
|
|||
|
|||
I know its an old post but just installed it... Great hack.
But i have a problem. Why does that happen in the aligning? Check attachment.. thanx in advance Edit: If i remove the quick quote hack the align is perfect at the right side. So i can imagine something is wrong with the tables... any ideas? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|