![]() |
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; 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> |
good idea for a hack
i got this error though: Fatal error: Cannot redeclare stripslashesarray() in ./global.php on line 10 |
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...:confused:
|
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 |
I've got no clue...anyone else have any idea?
|
handy.. i think tubedogg has such a similar thing on his forums for idleworld :)
|
All times are GMT. The time now is 09:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|