Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications

Reply
 
Thread Tools
[release] Last Thread Titles on Forumhome (Cleaner) Details »»
[release] Last Thread Titles on Forumhome (Cleaner)
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-15-2002 Last Update: Never Installs: 0
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-12-2003, 05:20 AM
mbowers mbowers is offline
 
Join Date: Jun 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The instructions say:

In phpinclude, find:

// ---------------------------------------------------------------
// ------------------------- End PAPI ----------------------------
// ---------------------------------------------------------------

But all I've got in phpinclude is the following:

include("./customscripts/papi.php");
// This code is PHP4 only:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
Reply With Quote
  #33  
Old 07-14-2003, 11:11 PM
sonic3d's Avatar
sonic3d sonic3d is offline
 
Join Date: Jan 2002
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvm, fixed it

l8er
sonic
Reply With Quote
  #34  
Old 07-15-2003, 01:33 AM
mbowers mbowers is offline
 
Join Date: Jun 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got PAPI installed (note first line of my phpinclude above), but maybe I installed it wrong? I thought I just had to add that include statement to phpinclude and drop papi.php into a customscripts folder...

Thanks,
Mbow
Reply With Quote
  #35  
Old 07-21-2003, 09:35 AM
daFish's Avatar
daFish daFish is offline
 
Join Date: Nov 2002
Location: Germany
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Hybrid
I must have dome something wrong since I don't get the threadtitle... perhaps I installed PAPI wrong?
Same for me.

-Fish
Reply With Quote
  #36  
Old 08-06-2003, 12:18 PM
Jean147's Avatar
Jean147 Jean147 is offline
 
Join Date: Apr 2002
Location: NRW, Germany
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same problem either.
Reply With Quote
  #37  
Old 08-08-2003, 02:47 PM
Jean147's Avatar
Jean147 Jean147 is offline
 
Join Date: Apr 2002
Location: NRW, Germany
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No more suppoet???
Reply With Quote
  #38  
Old 08-15-2003, 12:30 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mbowers
The instructions say:


In phpinclude, find:

// ---------------------------------------------------------------
// ------------------------- End PAPI ----------------------------
// ---------------------------------------------------------------



But all I've got in phpinclude is the following:

include("./customscripts/papi.php");
// This code is PHP4 only:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
Just think of include("./customscripts/papi.php"); as the End PAPI section... It should work, so long as you add everything after include("./customscripts/papi.php"); and before // This code is PHP4 only:... Have fun!
Reply With Quote
  #39  
Old 08-18-2003, 02:08 AM
Andrew111888's Avatar
Andrew111888 Andrew111888 is offline
 
Join Date: Mar 2003
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm doing that, and still no title is appearing for me.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08546 seconds
  • Memory Usage 2,277KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete