![]() |
Where do I ADD THIS, I dont get the instructions, help!!!
a) admin/functions.php OLD_CODE -------- No old code to replace. ADD the new code just before the closing brace of the indexpost() function. NEW CODE -------- // START LAST ACTIVE THREAD HACK update_last_active_thread(0,$post[threadid],0); // END LAST ACTIVE THREAD HACK PHP Code:
|
PHP Code:
|
oops
|
I am seeing a bug. It is consistantly displaying the title of the post one post BEFORE the last post. It worked the first time through, meaning that the first post registered correctly. Now, it is consistantly one behind.
It seems to work perfect when I make a new thread/reply but if left for a while it constantly stays one post behind whats also weird is that some forums are correct and some are one behind - very VERY strange check it out and you will see what I mean I REALLY loved this feature when used to use UBB so was very happy when you rls'd this any help would be much appreciated (perhaps table indexes are wrong? or the function.php is slightly wrong?) also how to increase the table width for Last post - i'd like to widen it a bit but i'm totally missing where I should implement the change (doh!) thanks FF ! http://digital-forums.com/forum/ |
I had the same problem. Under certain circumstances vB is not reindexing when replying to a message. This additionl index-call should solve the problem:
Just replace in newreply.php : PHP Code:
PHP Code:
|
See mine
there's a demo: http://tsing.com/vb/ I think it's not need to change any table,I get last activetiltle and its icon in edit index.php. |
So please ztsky,
if there are better solutuions, please let us know how! :eek: |
Quote:
Sorry ,i still have a problem to solve. I have three sub forums in a main forum. in my hacked board, the main forumhome lastposttitle always show the main forum's,but the sub forums have newest thread!:rolleyes: |
Quote:
I found this out AFTER i installed this hack |
Quote:
|
All times are GMT. The time now is 01:45 AM. |
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:
|