Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Latest XX Threads on Forumhome Page Details »»
Latest XX Threads on Forumhome Page
Version: 1.00, by TECK TECK is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-07-2002 Last Update: Never Installs: 118
 
No support by the author.

This hack will add your latest xx threads to your forum home page.
The good part is that you can do all this with only 1 query.

The following options are available:
- number of threads displayed
- alternating background color (same like the showthread view)
- thread's title (with link)
- thread's title lenght (just in case you use it in a small table)
- thread's icon
- thread's date and time
- thread's starter (with link)
- thread's no. of views
- thread's no. of replies

[high]The hack uses each forum's permissions.[/high]
In other words, if you have a private forum, your private threads will not show unless you have permissions to view them.

ESTIMATED INSTALL TIME: 5 minutes
REQUESTED BY: Nobody
TESTED IN VERSION: 2.2.7

To download the latest version of this hack, click below:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 01-15-2003, 09:47 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you could add it to the top of the forums, as another table. You would need to make adjustments to the template.
Reply With Quote
  #73  
Old 01-16-2003, 04:30 PM
Roody Roody is offline
 
Join Date: Mar 2002
Location: Florida
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks for the info Smoothie.
Reply With Quote
  #74  
Old 01-20-2003, 06:14 AM
Katarn Katarn is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
  #75  
Old 02-07-2003, 09:49 PM
toonarific toonarific is offline
 
Join Date: Feb 2003
Location: Texas
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #76  
Old 02-07-2003, 10:01 PM
Katarn Katarn is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean like on my site?
Reply With Quote
  #77  
Old 02-07-2003, 10:12 PM
toonarific toonarific is offline
 
Join Date: Feb 2003
Location: Texas
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #78  
Old 02-07-2003, 10:37 PM
Katarn Katarn is offline
 
Join Date: Oct 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you see Tecks earlier post?
Reply With Quote
  #79  
Old 02-07-2003, 11:02 PM
toonarific toonarific is offline
 
Join Date: Feb 2003
Location: Texas
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #80  
Old 02-08-2003, 03:19 AM
toonarific toonarific is offline
 
Join Date: Feb 2003
Location: Texas
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #81  
Old 02-24-2003, 06:13 PM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:42 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.04940 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete