Version: , by fastforward
Developer Last Online: Nov 2011
Version: Unknown
Rating:
Released: 05-24-2001
Last Update: Never
Installs: 0
No support by the author.
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 ) I'm releasing it seperately.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by fastforward
That's a template issue. It has nothing to do with the hack. All the hack does is create a new variable that can be accesed via the forum home pages.
Originally posted by h4p3 Tested it on my local server and it works fine.
Thx fastforward!
Hm, one suggestion: if you move/delete a Topic, then you will see still the Title on the main site, or the wrong one if you have moved it.
Perhaps you can improve it a little
Yeah... this is a problem with the location of the call to the indexpost() function from the move thread vB functions. I actually moved the call on my setup but that was with RC3 I was hoping it may not be an issue with the release version. I didn't move it on the hack release because I'm not sure what other implications it may have. I'll do some more testing and see if it's safe to move the function call.
Originally posted by nuno great hack fastforward
any chance to show last post icon also?
tx
I knew someone was going to ask for that
The reason it's not there already is because I wanted to keep this as simple as possible, but mainly because I didn't want to cause the thread listings to generate any more queries than other than the standard vB ones.
Having said that, it wouldn't be too difficult to add an additional column containing the icon reference that could be called from the template in the same way as the title. The trouble is, with every column added and every extra line of code there's more to go wrong
I'll provide optional additions to the existing hack that will allow the title icon this weekend. That way people will have a choice of whether to implement it.
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 that was made after the hack was installed registered correctly. Now, it is consistantly one behind.
Originally posted by amykhar 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 that was made after the hack was installed registered correctly. Now, it is consistantly one behind.
Amy
Anybody else seeing this? I can't seem to reproduce it.
Originally posted by nuno fastforward
this shouldnt show private forums threadtitles
If you enable "Private forum (Invisible to all except moderators and admins; user access masks must be on!) - YES", then only Mods, Admins and authorized Users can view the forum and so the thread titles.