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)
-   -   vB3 Style - "Last Posts" Modification (v1.2a) (https://vborg.vbsupport.ru/showthread.php?t=47726)

Krakken 01-14-2003 10:00 PM

vB3 Style - "Last Posts" Modification (v1.2a)
 
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:
http://www.inspire-fx.com/images/lastpostex.png

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. ;)

Krakken 01-15-2003 12:20 AM

You can view an active demo here:
http://www.randomrubbish.net/bulletin

I have also attached a small screenshot to give you the idea.

snyx 01-15-2003 12:42 AM

yeah ppn (i think, oh tech) created this ages ago
but not the vb3 style.. none the less I prefer to use my own style.

Brad 01-15-2003 12:47 AM

how many querys dose it add to go to the last thread? I also released something that would go to the last thread (not post) that works like the method vB uses to send a user to the lastest post in a forum.

Krakken 01-15-2003 01:02 AM

PPN's was a lot more complicated to install than this one is.

Vivi Ornitier 01-15-2003 01:07 AM

wat's the dif between just using the lasttitlehacks we have right now and changing the layout around a bit to achieve that. Good hack tho, good job!

alkatraz 01-15-2003 01:08 AM

Installed, works great, thx!

Here is a live demo on my forums:
http://forums.northwestnissans.com/

BigJohnson 01-15-2003 01:11 AM

one query per forum right?

So which one uses less queries this one or PPN's?

Krakken 01-15-2003 03:18 AM

Okay that is now fixed; the script uses only two querys altogether.
I have also added the thread icon display.

Boofo 01-15-2003 05:15 AM

Without the date, though, how do you know when the last post was done? PPN's hack is better in that way. :)


All times are GMT. The time now is 07:28 PM.

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.01101 seconds
  • Memory Usage 1,726KB
  • 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