Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
Detailed Latest Posts - Version 2 Details »»
Detailed Latest Posts - Version 2
Version: 2.00, by Albus Albus is offline
Developer Last Online: Mar 2007 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-25-2005 Last Update: Never Installs: 3
Is in Beta Stage  
No support by the author.

I finally got around to addressing some issues with the 'Detailed Latest Posts' hack I posted last year. This version uses a cron file to generate and cache the required data, saving your index from having to do all the work. This should also reduce the cpu load on large boards since the timing of the update is now controlled by the cron task. This has been tested and is live on my own board. Full instructions for installation are included in the download. For a demo please visit my board via the homepage listed in my profile.

All comments, suggestions, and other related discussion are welcome. Please inform me immediately upon discovering an error, either with the hack or the documentation.

Show Your Support

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

Comments
  #2  
Old 03-26-2005, 02:18 PM
BigIke's Avatar
BigIke BigIke is offline
 
Join Date: Aug 2004
Location: Norfolk, VA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks so much, I visited your site a couple days ago and looked all around for that hack because I thought it existed somewhere else, but I couldn't find anything. Thanks for the hack
Reply With Quote
  #3  
Old 03-26-2005, 02:21 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bringindaruckus
thanks so much, I visited your site a couple days ago and looked all around for that hack because I thought it existed somewhere else, but I couldn't find anything. Thanks for the hack
Let me know if you need any assistance in setting it up, or need questions answered.
Reply With Quote
  #4  
Old 03-26-2005, 02:24 PM
nexialys
Guest
 
Posts: n/a
Default

hum.. interesting technique.. would be good to apply this to a block or two in vBadvanced...
Reply With Quote
  #5  
Old 03-26-2005, 02:32 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thought I'd take a minute to post an 'overview' for those not familiar with vbulletin crons.

When you schedule a task in vbulletin, the time you set for execution is not an interval, but a specific time. For example, if you create a single task and set m=5, leaving the rest of the timing options alone, the task will run 5 minutes after every hour, not every five minutes.

Therefore, you will need to create as many tasks for this as you need. For example, if you want it updated every fifteen minutes, you need four tasks, setting m=0/15/30/45. This is how it breaks down:

For a five minute interval: 12 tasks where m=0/5/10/15/20/25/30/35/40/45/50/55.
For a ten minute interval: 6 tasks where m=0/10/20/30/40/50.
For a fifteen minute interval: 4 tasks where m=0/15/30/45.
For a thirty minute interval: 2 tasks where m=0/30.

This is much more preferable to running the queries on the index because adding a few more row to the tasks table is negligible in comparison.

Hope this answers some questions before they are asked.
Reply With Quote
  #6  
Old 03-26-2005, 02:36 PM
BigIke's Avatar
BigIke BigIke is offline
 
Join Date: Aug 2004
Location: Norfolk, VA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So does this work as a module for vBAdvanced? Specifically as a module on the left or right side? I'm thinking it would look weird..
Reply With Quote
  #7  
Old 03-26-2005, 02:38 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bringindaruckus
So does this work as a module for vBAdvanced? Specifically as a module on the left or right side? I'm thinking it would look weird..
I honestly have no clue. I do not use vBAdvanced. You can try asking a user who has both installed perhaps?

My initial though is this:

Alter the templates included at your discretion, and change the target for the modifications section from index.php to whatever vbadvanced uses. This includes the additions to $specialtemplates, $globaltemplates and the hack code.
Theoretically it should still work. There's nothing tricky going on here. It's all built using stock vB functions and tables/fields. Nothing is altered or added.

Let me know if you get it working in vba, so I can post a compliancy note.
Reply With Quote
  #8  
Old 03-26-2005, 03:38 PM
BigIke's Avatar
BigIke BigIke is offline
 
Join Date: Aug 2004
Location: Norfolk, VA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I'm going to install it as a module at the top, not left or right. It makes more sense on my site on top in the center.
Reply With Quote
  #9  
Old 03-26-2005, 06:54 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you explain how to install the phrases please.
Reply With Quote
  #10  
Old 03-26-2005, 07:10 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Realist
Can you explain how to install the phrases please.
AdminCP -> Language & Phrases -> Phrase Manager

Click 'Search in Phrases' to see what's already there and 'Add New Phrase' to create a new one. Each presents a dialog with options and explanations.

This is a stock vB function. Hope that helps.
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 04:41 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.05923 seconds
  • Memory Usage 2,283KB
  • 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
  • (3)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)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