vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Last Thread Titles on Forumhome (Cleaner) (https://vborg.vbsupport.ru/showthread.php?t=85692)

filburt1 12-15-2002 10:00 PM

[release] Last Thread Titles on Forumhome (Cleaner)
 
Requires PAPI. See the instructions for details.

Author: filburt1
Description: Includes the title of the last thread along with the last poster and date/time on forumhome.
Screenshot: next post
Demo: none yet

An important note! The last title for a given forum will only update when you post a new thread (newthread.php). Editing, deleting, moving, etc. a thread will not change this cache.

To get around this, run a cron job that executes "report.php?updatethreadtitlecache=1" every 10 minutes or so. This script uses about 6 queries on top of the few needed to run report.php. Once that script is ran, every last thread title will be updated.

If you don't know what a cron job is, I don't suggest you try this mod unless you want to play around with the database manually.

filburt1 12-16-2002 06:24 PM

Screenshot:

imported_Blindchild02 12-16-2002 07:14 PM

hmm, dunno might make it look a bit cluttered, but nice nonethe less

Cypher720 12-16-2002 09:42 PM

aw dude - EXCELLENT mod!

ive been wanting this for a LONG time!!
thanks man...10/10

-Cypher

filburt1 12-16-2002 09:44 PM

Is it working for you?

Cypher720 12-16-2002 09:55 PM

didnt try yet - i got lots of work. maybe later tonight ill install it o a test board...why...is there a problem?

filburt1 12-16-2002 10:05 PM

No, I'm just getting the feeling that I forgot something from the instructions. It's also the first real test of PAPI :)

Tony G 12-16-2002 10:34 PM

There are two of this you released right filbie? PAPI and normal?

filburt1 12-16-2002 10:40 PM

Yes. The other one requires fewer queries but is incredibly cheap how it works and doesn't need PAPI.

Cypher720 12-16-2002 10:41 PM

i havent used PAPI yet - ill test it later:)


All times are GMT. The time now is 12:17 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.01413 seconds
  • Memory Usage 1,724KB
  • 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
  • (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