The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
Well, with the newly discovered "view single post" feature I found today, I made some alterations to a hack that was released a while ago, not sure what happened to it.
This allows you to have the postnumber/replynumber of a post in a specific thread shown, and linked to. You can place this wherever you want, I stuck it next to the "IP: Logged" bit. Open showthread.php. Find this: Code:
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
Code:
$countposts = ($pagenumber-1)*$perpage; Code:
$postbits .= getpostbit($post); Code:
$countposts = $countposts+1; . You can stick it anywhere in postbit that you want, I threw it next to the "IP: Logged" text.Open your postbit template, find this: Code:
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p> Code:
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged] | <a href="showthread.php?s=$session[sessionhash]&action=showpost&postid=$post[postid]">Post $countposts</a></smallfont></p> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
good idea for a hack
i got this error though: Fatal error: Cannot redeclare stripslashesarray() in ./global.php on line 10 |
|
#3
|
|||
|
|||
|
Er....no clue as to why its giving you that. What's line 10? I don't have stripslashesarray() or anything relating to it used anywhere...
|
|
#4
|
||||
|
||||
|
Quote:
coincidentally (although maybe not), I never could get the "View Ignored Post" feature to work either. I've seen other people with similar problems. This was before I had even started hacking my vB |
|
#5
|
|||
|
|||
|
I've got no clue...anyone else have any idea?
|
|
#6
|
||||
|
||||
|
handy.. i think tubedogg has such a similar thing on his forums for idleworld
|
![]() |
|
|