vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=60544)

NTLDR 01-20-2004 10:00 PM

Latest Threads On Forum Home
 
Latest Threads On Forum Home
Version: 1.0.2
vB-version: 3.0.0 Release Candidate 2
Developer: NTLDR
Install-difficulty: 1
File-edits: 2
Template-edits: 1

Description of the Hack:
This is taken from my vBindex hack and will display the latest X threads on your forum home page. Permissions are done automatically so forums users can't view will be excluded. Includes thread icon/goto new post image (if the thread is unread), title, last post info, number of views and replies.



Files modified for this Hack:
index.php


New templates for this Hack:
forumhome_latestthreadbit


Templates modified for this Hack:
FORUMHOME

New phrases for this Hack:
latest_threads

WAR 01-21-2004 01:55 PM

muchas gracias senior!!

/me clicks first to install

ChrisSy 01-21-2004 01:58 PM

great work thanks, now just need a way to get it into my sidebar :)

thanks

KuraFire 01-21-2004 02:34 PM

I take it you're enjoying the HTL ? :)

NTLDR 01-21-2004 02:43 PM

It was alot easier figuring out howto create the HTL install instrctions then trying to make a text file look clear and easy. Once its released I'll provided an updated HTL version :)

KuraFire 01-21-2004 03:26 PM

Quote:

Originally Posted by NTLDR
It was alot easier figuring out howto create the HTL install instrctions then trying to make a text file look clear and easy. Once its released I'll provided an updated HTL version :)

Which will be even easier, still! :)

Don't forget to change the title of the thread (when you go for a HTL installer) to have the [HTL] prefix, to denote that it has a .htl installer file. Makes for much easier checking out for people who want to see which hacks are HTL-hacks :)

(of course, you're free not to do it, but hey, it helps people, and it's not that big a hassle ;))

WAR 01-21-2004 04:05 PM

Where would I change how many recent threads are displayed?

NTLDR 01-21-2004 04:07 PM

Quote:

Add ABOVE that:

Note: Change 5 in this part of the query to change the number of threads to show: DESC LIMIT 5
Change ORDER BY lastpost to ORDER BY dateline to stop it showing threads with new posts.

^^ See that comment above the relevent section of code in the install instructions.

WAR 01-21-2004 04:15 PM

Quote:

Originally Posted by NTLDR
^^ See that comment above the relevent section of code in the install instructions.

[high] * WAR blushes for missing that
[/high]

Your level of support for your hacks is amazing!

Thanks alot

MGM 01-21-2004 10:03 PM

Good job! I could use this one!

/me clicks Install

MGM out


All times are GMT. The time now is 08:31 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.01290 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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