Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #82  
Old 03-06-2003, 07:26 PM
mattshania mattshania is offline
 
Join Date: Nov 2001
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could this hack be set up to list threads by their time of creation (most recent) instead of their last reply time?
Reply With Quote
  #83  
Old 03-06-2003, 09:31 PM
stryka stryka is offline
 
Join Date: Aug 2002
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do i include the last $posttime, instead of $threadtime... which shows the time that the thread was started...

thanx in advance...
Reply With Quote
  #84  
Old 04-15-2003, 07:40 AM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-06-03 at 11:20 PM mattshania said this in Post #81
Could this hack be set up to list threads by their time of creation (most recent) instead of their last reply time?
Yes that's what i like to know aswell!
Anyone?
Reply With Quote
  #85  
Old 05-21-2003, 10:40 PM
Splitfyre Splitfyre is offline
 
Join Date: Dec 2001
Location: Vancouver, BC Canada
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this hack be loaded onto a non-vb page?
Reply With Quote
  #86  
Old 06-22-2003, 08:47 PM
discussfitness discussfitness is offline
 
Join Date: Jan 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TECK are you still around?

This bug is great, but it doesn't show whether you've viewed a thread or not or whether it's new since your last visit.

Anyway of adding this?
Reply With Quote
  #87  
Old 07-13-2003, 03:18 AM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,
Very nice hack ! thank you.

What must be changed to exclude some forum ID's to be shown at the "latest Threads summary".
For example we have a testforum for testing signatures and vb Code. This treads should be not shown on the summary list.

My program skills are not so good to implement a array with the forum ID's by my own.
Can anybody help ???

thanks in advance
Tom
Reply With Quote
  #88  
Old 08-04-2003, 02:48 PM
EVO VIII Chris EVO VIII Chris is offline
 
Join Date: Aug 2003
Location: Portland, OR
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright I dont want to bring up old threads but I am trying to install this on my home page which IS NOT my forum home page. It is my main page at www.vorspann.net I want it to show the Recent Discussions at my main page and not my main forum page. How do I install it to do this?
Reply With Quote
  #89  
Old 08-09-2003, 02:31 AM
toonarific toonarific is offline
 
Join Date: Feb 2003
Location: Texas
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's exactly what I want to do too; have xx threads appear on my main website index page, not on a VB page.
Reply With Quote
  #90  
Old 08-13-2003, 04:50 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
Is there a way to show also the name of the Forum where the post is in the latest thread summary ?
Reply With Quote
  #91  
Old 10-06-2003, 08:55 AM
shadow187 shadow187 is offline
 
Join Date: Sep 2003
Location: Belgium
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Antorz
Installed!

Thanks, great hack!


Sorry about contacting you on msn, won't happen again..


As for my question, I was trying to setup your hack with a few modifications...


Basicaly I want to make it exactly like you have on your second screenshot..

This is the code I have in there right now trying to accomplish that..

PHP Code:
<table cellpadding="0" cellspacing="0" border="0" bgcolor="{categorybackcolor}" width="100%" align="center">
    <
tr>
        <
td>
            <
table cellpadding="4" cellspacing="1" border="0" width="100%">
                <
tr>
                    <
td bgcolor="{categorybackcolor}" colspan="1">
                        <
table cellpadding="0" cellspacing="0" border="0" width="100%">
                            <
tr>
                                <
td bgcolor="{categorybackcolor}">
                <
B><normalfont>Statistics</normalfont></B></td>
                            </
tr>
                        </
table>
                         </
td>
                </
tr>
                <
tr>
                    

                    <
TD bgcolor="{secondaltcolor}" width="100%">
            <
smallfont>
<
b>Top 5 New Thread Replys:</b>
<
hr>

<
table>
<
tr>
<
td width=65%><smallfont>Thread Names:</smallfont></td>
<
td width=25%><smallfont>Last Posters:</smallfont></td>
<
td width="10%"><smallfont>Replies:</smallfont></td>
<
td align="right"><smallfont>Views:</smallfont></td>
</
tr>
<
tr>
<
td width=65%><smallfont> <a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]"><b>$thread[title]</b></a></smallfont></td>
<
td width=25%><smallfont><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a></smallfont></td>
<
td width="10%"><smallfont>$thread[views]</smallfont></td>
<
td align="right"><smallfont>$thread[replycount]</smallfont></td>
</
tr>
</
table>
            </
smallfont></td>
                </
tr>
                </
table

I'm not sure what I'm doing wrong, if it's coding in the index.php or in the threadbits template..

Basicaly it just takes that table, and for each "latest XXX thread" it makes a whole new 'complete' table for it...




Any support would be greatly apreciated.
Thanks
-Antorz

I get the same problem, can any1 help me out here PLEASE !!!
Reply With Quote
Reply


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 11:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06186 seconds
  • Memory Usage 2,350KB
  • Queries Executed 27 (?)
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)bbcode_php
  • (2)bbcode_quote
  • (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_postinfo_query
  • fetch_postinfo
  • 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