Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB3 Style - "Last Posts" Modification (v1.2a) Details »»
vB3 Style - "Last Posts" Modification (v1.2a)
Version: 1.00, by Krakken Krakken is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-14-2003 Last Update: Never Installs: 77
 
No support by the author.

vBulletin Hack: vB3 Style - "Last Posts" Modification.
Version: 1.2a

Designed and Coded by: Krakken
Copyright ? 2003


This hack will change the "Last Post" section on your Forum Homepage to a style similar to vBulletin 3.0.
It will show the last active thread someone posted and it's current icon in on the forum homepage in the place of the date and time. The date is completely removed in this version and the time is placed underneath the thread title next to the name of the last person to post in that thread.

Example:


Working Demo:
http://www.randomrubbish.net/bulletin

Files to Edit: "index.php" "forumdisplay.php" (x2)
Templates to Edit: "forumhome_lastpostby" (x1)

Current Releases:
v1.2a - Added a fix so the thread shows in the category view as well.
v1.1a - The script now only uses two querys (one for thread and one for thread icon) to display for all forums. Also, thread icons can now be seen next to thread title.
v1.0a - Changes "Last Post" template and adds last active thread view to forum home.

If you like this hack please click INSTALL. Thanks.

Show Your Support

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

Comments
  #12  
Old 01-15-2003, 06:16 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack will add 2 queries to your forumhome.
PPN's is more complicated, true, but it will add no extra queries.
Also, you could use a LEFT JOIN for the icon, if you want to get the path, so you save a query...
Reply With Quote
  #13  
Old 01-15-2003, 08:33 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

true also this hack right here doesnt work on subdomains. It just doesn't show the thread title.
Reply With Quote
  #14  
Old 01-15-2003, 10:13 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TECK is absolutely correct. PPN's hack adds no additional queries. This is why I use his hack.
Reply With Quote
  #15  
Old 01-15-2003, 11:20 AM
Krakken Krakken is offline
 
Join Date: Feb 2002
Location: Staffs, England Quote: "Free Your Soul..." Looks: Amazingly Sechsy Popularity: 10,000%
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
This hack will add 2 queries to your forumhome.
PPN's is more complicated, true, but it will add no extra queries.
Also, you could use a LEFT JOIN for the icon, if you want to get the path, so you save a query...
Hmm could you elaborate on how to do this? I have never used "LEFT JOIN" before. Thanks.
Also there was a little bit I left out of the installation file which is fixed now sorry.
Reply With Quote
  #16  
Old 01-15-2003, 11:21 AM
Krakken Krakken is offline
 
Join Date: Feb 2002
Location: Staffs, England Quote: "Free Your Soul..." Looks: Amazingly Sechsy Popularity: 10,000%
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by BigJohnson
true also this hack right here doesnt work on subdomains. It just doesn't show the thread title.
That might have been because of a bug in the installation. Sorry, fixed now.
Reply With Quote
  #17  
Old 01-15-2003, 11:24 AM
Krakken Krakken is offline
 
Join Date: Feb 2002
Location: Staffs, England Quote: "Free Your Soul..." Looks: Amazingly Sechsy Popularity: 10,000%
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Boofo
Without the date, though, how do you know when the last post was done? PPN's hack is better in that way.
You can add the date very easily by adding:
PHP Code:
$forum[lastpostdate
...where you want it to appear in the template.
Reply With Quote
  #18  
Old 01-17-2003, 09:56 PM
USODJA's Avatar
USODJA USODJA is offline
 
Join Date: Dec 2002
Location: Arnprior, Ontario, Canada
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having problems wth this picking up the proper thread in sub forums!
Reply With Quote
  #19  
Old 01-18-2003, 12:00 PM
Krakken Krakken is offline
 
Join Date: Feb 2002
Location: Staffs, England Quote: "Free Your Soul..." Looks: Amazingly Sechsy Popularity: 10,000%
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All fixed.
Download and follow instructions to upgrade from v1.1a to v1.2a.
Reply With Quote
  #20  
Old 02-03-2003, 05:28 PM
Krakken Krakken is offline
 
Join Date: Feb 2002
Location: Staffs, England Quote: "Free Your Soul..." Looks: Amazingly Sechsy Popularity: 10,000%
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was just a little side-thing I made. I may make it into a proper hack one day. Contact me on AIM: "Krakkius" and I will try to show you what to do.
Reply With Quote
  #21  
Old 02-03-2003, 05:31 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Krakken
That was just a little side-thing I made. I may make it into a proper hack one day. Contact me on AIM: "Krakkius" and I will try to show you what to do.
I'd be interested in seeing that also.
Reply With Quote
Reply


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 12:54 AM.


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.09225 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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