vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Last Active Thread for 2.01 (https://vborg.vbsupport.ru/showthread.php?t=19446)

fastforward 06-05-2001 10:00 PM

This is for vB 2.01

This is new thread as there seems to be a problem with editing attachments on old posts.

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.

furious 06-06-2001 09:08 AM

nice hack
but may we have one which works with vb 2.0.0?

h4p3 06-06-2001 10:18 AM

I think it works with vb 2.0.0, try it ;)

Nicholas Brown 06-06-2001 12:43 PM

Quote:

Originally posted by furious
nice hack
but may we have one which works with vb 2.0.0?

Just download 2.0.1 from the members area

nuno 06-06-2001 03:47 PM

nuno waves at fastfoward :D
tx;)

h4p3 06-06-2001 04:16 PM

fastforward:

It still doesn't do what it should, because it isn't very usefull if you move a topic into another forum then the title of the moved topic isn't showing up in the new forum if you refresh. The old Topic in the forum where it shouldn't be is still showing up but links to the next Topic after the one which was moved. I hope u know what i mean :)

The same thing if you delete a topic. What did you change?

Tolitz 06-06-2001 04:35 PM

But isn't active topics considered to be topics that have recently been posted or replied to? Moving a thread to another forum doesn't necessarily signify that the thread is "active" unless someone replies to it. So IMHO the script is doing what it is supposed to do, which is pull "active" topics...

Then again, I may be wrong ;p

h4p3 06-06-2001 04:38 PM

Nope, if you delete a thread then the titel of the deleted thread is still showing up and links to the next thread. Try it out, it is confusing for users.

fastforward 06-06-2001 05:58 PM

Quote:

Originally posted by h4p3
fastforward:

It still doesn't do what it should, because it isn't very usefull if you move a topic into another forum then the title of the moved topic isn't showing up in the new forum if you refresh. The old Topic in the forum where it shouldn't be is still showing up but links to the next Topic after the one which was moved. I hope u know what i mean :)

The same thing if you delete a topic. What did you change?

As I said before. The hack will re-calculate the latest active thread only when the thread is re-indexed. I'm not going to over-complicate this by taking into account every rare possibility. The same goes for editing the thread title. If vB doesn't re-index, then the active thread will not change; simple as that.

The change with this version is the displaying of icons.

h4p3 06-06-2001 06:08 PM

Ah ok, thx for the info!


All times are GMT. The time now is 12:31 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
  • Page Generation 0.01049 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete