![]() |
Is there any way for it to display the last post in the thread instead of the first post in the thread?
|
I didn't notice that until now; but the problem is I'm not sure how to get that. vB3.5 doesn't store the lastpostid made (where 3.6 does). So I'm not sure how to JOIN the post and thread table to grab the last preview text.
Try changing line 57 in vaispy.php to: Code:
LEFT JOIN ".TABLE_PREFIX."post ON (post.dateline = thread.lastpost) Edit: However, if I manually add an index on the dateline field in the post table the query drops to .008 seconds on the same site. So this can work, if you add the index manually; unless someone has a better idea. |
Quote:
|
Quote:
|
Thank you very much!
|
Sure, Snake! Don't forget to click INSTALL! ;)
|
Quote:
sorry for being unclear m8...im saying its not taking me to the final post in a thread.... |
Can you grab the current download and update your vaispy.php and va_spy.js files?
|
Would there be a way to modify this so that the latest activity is called only one time every few seconds and not each time as a user hits the vbispy.php page?
If you can get the information to be pulled via a cron job (once every 10 seconds or so) and then have everything displayed on a static page, wouldn't this be much easier on the server load? Quote:
Maybe just a conditional in the footer that wouldt not display microstats on the vbispy page...anyone know how to do that? |
Great stuff, thx. But it doesn't take me to last post either. Just to top of the thread.
|
All times are GMT. The time now is 09:25 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:
|