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)

mattshania 03-06-2003 07:26 PM

Could this hack be set up to list threads by their time of creation (most recent) instead of their last reply time?

stryka 03-06-2003 09:31 PM

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

thanx in advance...

Aaron1 04-15-2003 07:40 AM

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?

Splitfyre 05-21-2003 10:40 PM

Can this hack be loaded onto a non-vb page?

discussfitness 06-22-2003 08:47 PM

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?

Onkel_Tom 07-13-2003 03:18 AM

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

EVO VIII Chris 08-04-2003 02:48 PM

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?

toonarific 08-09-2003 02:31 AM

That's exactly what I want to do too; have xx threads appear on my main website index page, not on a VB page.

Onkel_Tom 08-13-2003 04:50 PM

Hi,
Is there a way to show also the name of the Forum where the post is in the latest thread summary ?

shadow187 10-06-2003 08:55 AM

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 !!!


All times are GMT. The time now is 10: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.01212 seconds
  • Memory Usage 1,781KB
  • 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)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)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