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)
-   -   Latest XX Threads on Forumhome Page (https://vborg.vbsupport.ru/showthread.php?t=43310)

Smoothie 01-15-2003 09:47 PM

Yes, you could add it to the top of the forums, as another table. You would need to make adjustments to the template.

Roody 01-16-2003 04:30 PM

ok thanks for the info Smoothie. :)

Katarn 01-20-2003 06:14 AM

I first want to say... this is awesome. I installed this at www.explosivelabs.com and used the server side include code from the vblite to insert the code. I am trying to have the latest threads listed in my forums as two columns like at http://www.techimo.com/forum/. But I can't figure out the code necessary to make it possible. All I can figure is placing " " in order to space it out.. but that just screws up the listing. I have just taken out the table format from the threadbits template ending up with

<smallfont>$thread[icon] <a href="http://www.explosivelabs.com/forums/showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]"><b>$thread[title]</b></a> by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[lastposter]</a></smallfont>

but that alone just lists the latest thread posts side by side. Can someone help me with this? I am still kinda new to hacking vb and new to php code....

toonarific 02-07-2003 09:49 PM

I got as far as editing the index.php file, and now Im lost. It says to edit forumhome_threadbits, but I cant find that at all in my forums admin section. Is that what we are supposed to call the ne template? Also, it says to post the $threadbits string anywhere in the forumhome page, but what is the string that we put anywhere? Can the string be placed on a page outside the forum, like my site's main index page, and pull up the last several threads?

Katarn 02-07-2003 10:01 PM

You mean like on my site?

toonarific 02-07-2003 10:12 PM

yes, that is similar to how I want it to be on the main page of my site, but I still need help with the rest

Katarn 02-07-2003 10:37 PM

did you see Tecks earlier post?

toonarific 02-07-2003 11:02 PM

Ive read the whole thread, and none of it makes sense to me. Ive added the $threadbits to my mainpage, but it comes out as just text.

toonarific 02-08-2003 03:19 AM

what exactly is the code that I am supposed to put on my index page to show the threads: $threadbits ????

I think, other than that, I have figured everything else out

PennylessZ28 02-24-2003 06:13 PM

I was going to ask how to change the amount of threads it showed, but I found it myself.

Very nice hack, worked on the first try like a charm on VB 2.3.0

Excellent work! Two Thumbs

*clicks install ;)


All times are GMT. The time now is 02:57 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.01238 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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