View Full Version : Thread topic hack
AustinChief
05-14-2001, 06:51 AM
I need help hacking showthread.php so that the first post in a thread is tacked to the top of EVERY page in the thread.
I can use the postbit template for now and later add a new template to distinguish the message as the "starter" for the thread.
Thanks,
Kyle
AustinChief
05-14-2001, 07:09 PM
Any ideas on where to start with this?
I think I know where to insert the code... I just don't know how much coding is required... a push in the right direction would be appreciated.
--Kyle
AustinChief
05-14-2001, 11:18 PM
Okay,
I have what I think is the correct code in the correct place... but I can't get it to populate with the FIRST post only the last post...
any idea how I can pull the FIRST post in a thread...
I tried
$post[postid]=$totalposts;
(I have the thread in reverse order)
... but it doesn't have any effect.
Any ideas?
--Kyle
AustinChief
05-15-2001, 12:05 AM
OK... I realize that I suck at this.
Anybody know how to pull the first(chronologically) post out of the array $posts???
I think that is all I need now...
--Kyle
AustinChief
05-15-2001, 04:11 AM
OK... nevermind.... I think I got it... it is ugly (very ugly) but it works... unfortunately I needed to added two completely new queries to showthread.php :(
Owell,
Kyle
Sloat
08-23-2001, 01:02 PM
I would be interested in the hack.
I, too, would like to be able to "tack" the original topic post at the top of each page of the forums message display. I would also like the original topic post to stay at the top regardless of the message order (oldest->newest of vice-versa.)
Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.