![]() |
This is for vB 2.01
This little hack allows the display of the last active thread on the forums pages. This is the 'UBB like' feature. You can see an example at http://dbforums.com. NOTES It requires two extra column to be added in the forum table a few code additions and then the thread title and iconid can be referenced using the variables $forum[lastactivethread] and icon$forum[lastactiveiconid].gif. Instructions are in the attachment. This was originally part of my usenet hack and due to popular request ( all two of them :D ) I'm releasing it seperately. |
nice but what happesn with very long thread titles ?
|
I think they are cut off, if they are too long.
|
Looks like an awesome hack, and I really want to get it going, but I have no idea how to :
1) Run the following SQL statement: ALTER TABLE forum ADD lastactivethread VARCHAR (64); Is their an easy way to do this? Thanks |
Quote:
|
great hack fastforward
any chance to show last post icon also?:D tx |
Hm, i noticed that it doesn't work correctly at dbforums.com. If you click on the last post icon, you will get only a blank page.
|
Quote:
|
Quote:
If you want it longer, add a line to your config_inc.php that reads $lastactivethread_length=64; or whatever. If you need it longer than 128, you will also need to increase the table column width. |
Quote:
|
All times are GMT. The time now is 01:42 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:
|