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 |
#182
|
||||
|
||||
Works well with 2.3.0 - very nice
|
#183
|
|||
|
|||
First hack I ever installed, it is great. Thank you
|
#184
|
||||
|
||||
Quote:
Good lookin man.....I updated mine |
#185
|
|||
|
|||
original hack "Post Counter & Direct Link" doesn`t work on my 2.3.0
shows only (post#) How to repair? Thanx |
#186
|
||||
|
||||
works fine on 2.30 thanks
|
#187
|
||||
|
||||
[QUOTE]12-22-02 at 12:01 AM agfisdn said this in Post #164
Ps: What I cannot find is why the Post # does not show when you click on the ingored Post (java script popup window that shows on demand an ignored user's Post). I get the Post# Link but there is no $post[postcount]... no biggy ) |
#188
|
||||
|
||||
Wow -- how did I miss this one?
This is working on 2.3.0 for me. The ignored posts aren't showing the numbers, but when viewed, the links work, so I am happy. **installs** Does anyone know how to get this link incorporated into the quote function like is done here on vB.org? |
#189
|
||||
|
||||
[QUOTE]Today at 05:34 PM Christine said this in Post #187
Wow -- how did I miss this one? This is working on 2.3.0 for me. The ignored posts aren't showing the numbers, but when viewed, the links work, so I am happy. **installs** Does anyone know how to get this link incorporated into the quote function like is done here on vB.org? |
#190
|
|||
|
|||
Has anybody noticed that on the 2nd page it renumbers the posts one onwards again. The actual links are preserved but as soon as you go to another page the display number starts from one again?!?!
|
#191
|
||||
|
||||
Very easy but nice hack. Thanks for it Bira.
btw, did you know that your handle means beer in turkish? :classic: |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|