vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

bing11 07-05-2005 01:17 AM

thank you hellsatan

I have a plan .I hope there are 2 different Latest Threads on my Forum Home.

I try do it by myself :(. But not working . So hope you help :)

Kirk Y 07-05-2005 04:57 AM

Quote:

Originally Posted by bing11
thank you hellsatan

I have a plan .I hope there are 2 different Latest Threads on my Forum Home.

I try do it by myself :(. But not working . So hope you help :)

...Huh? Sorry... I'm confused. :ermm:

aldo7a 07-05-2005 02:17 PM

thanks nice hack
is work great
best regard

Chris M 07-05-2005 03:27 PM

Quote:

Originally Posted by acidburn0520
...Huh? Sorry... I'm confused. :ermm:

He wants two versions of the hack, one with the latest threads, and one with the latest posts?

In order to do this, you will have to change the variables within the plugin for the second of the two, otherwise it will not work :)

i.e.

Change:
PHP Code:

$getthreads $db->query_read(

to:
PHP Code:

$getposts $db->query_read(

continue to change the variables and it should work :)

Satan

Kirk Y 07-05-2005 10:31 PM

Ahhh... okay. Satan saves the day... again. :p

Edit: That's actually not a bad idea... I may do the same.

Chris M 07-06-2005 11:38 AM

Oh incase you are wondering, you can increase or decrease the number of latest threads/posts displayed by altering:
PHP Code:

DESC LIMIT 5"); 

Change the [high]5[/high] to whatever you like, i.e. 3 or 10 :)

I'm going to release another version of this as soon as I get the time, with some Admin CP Settings for this, so you can alter what forums do and do not show, the number of results to display etc :)

Satan

ohgenki 07-07-2005 04:28 AM

pardon me, but where is the plugin to download ? i don't see any anywhere...

Biker_GA 07-07-2005 04:52 AM

latest-threads-on-forumhome-111.xml is the file you need. Along with the txt file for your instructions.

Chris M 07-08-2005 03:01 PM

Yeh upon the next release I will .zip it all up ;)

Satan

Rover416 07-10-2005 03:10 AM

Thank for this.

Although i moved it to the top of the forum. :D


All times are GMT. The time now is 04:07 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.01303 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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