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)

TECK 01-15-2003 06:16 AM

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

BigJohnson 01-15-2003 08:33 AM

true also this hack right here doesnt work on subdomains. It just doesn't show the thread title.

Erwin 01-15-2003 10:13 AM

TECK is absolutely correct. PPN's hack adds no additional queries. This is why I use his hack. :)

Krakken 01-15-2003 11:20 AM

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.

Krakken 01-15-2003 11:21 AM

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.

Krakken 01-15-2003 11:24 AM

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.

USODJA 01-17-2003 09:56 PM

I am having problems wth this picking up the proper thread in sub forums!

Krakken 01-18-2003 12:00 PM

All fixed. :)
Download and follow instructions to upgrade from v1.1a to v1.2a.

Krakken 02-03-2003 05:28 PM

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.

Boofo 02-03-2003 05:31 PM

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


All times are GMT. The time now is 10:28 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.01160 seconds
  • Memory Usage 1,734KB
  • 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)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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