Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest Thread - Forum Home Details »»
Latest Thread - Forum Home
Version: 1.01, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 10-27-2008 Last Update: 12-11-2008 Installs: 138
Uses Plugins Template Edits Auto-Templates
 
No support by the author.

Latest Thread - Forum Home

What this does?

This will latest x thread on to your forum home

Modifications Info Plugin : 3
Phrases : 28
Template : 2
Setting : 8

v1.0 - First release
v1.0.1 - small change

Download Now

File Type: xml product-tvpano_lt.xml (15.0 KB, 1217 views)

Screenshots

File Type: gif lt.gif (44.6 KB, 0 views)
File Type: gif lt2.gif (75.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
muratcan25

Comments
  #32  
Old 03-17-2009, 05:14 PM
StormLily StormLily is offline
 
Join Date: Jan 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The download link isn't even working.
Reply With Quote
  #33  
Old 05-17-2009, 04:11 AM
fogjuice fogjuice is offline
 
Join Date: May 2009
Location: Toronto, Canada
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to mod this so it shows latest threads with replies rather than just the newest posts but I now have a problem with the caching. Everytime a new reply shows up, it goes to the top of the list and that is fine but after the I read the thread it still stays bold with this mod until I log out and log in again.

Code to show latest thread with replies, not just newest posts:
Code:
$gthreads = $db->query_read("SELECT 
        thread.title, thread.taglist, thread.prefixid, thread.taglist as tag, thread.threadid, thread.attach, icon.title AS icontitle, icon.iconpath, thread.lastpost, thread.lastpostid, thread.forumid, thread.replycount, thread.lastposter, thread.dateline, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views, thread.visible, user.username, user.userid, user.usergroupid, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, forum.title_clean as forum_title 
        FROM " . TABLE_PREFIX . "thread AS thread 
        LEFT JOIN  " . TABLE_PREFIX . "user AS user ON (user.username = thread.lastposter) 
        LEFT JOIN " . TABLE_PREFIX . "forum as forum on (thread.forumid = forum.forumid) 
        LEFT JOIN " . TABLE_PREFIX . "icon AS icon ON(icon.iconid = thread.iconid) 
        WHERE NOT ISNULL(thread.threadid) 
        $excludedforums AND thread.visible = 1 ORDER BY lastpost DESC LIMIT 0, $tvpano_lt_max");
Where it says ORDER BY you have to change it to lastpost, previously it said dateline.
Reply With Quote
  #34  
Old 05-19-2009, 07:54 PM
scratchit scratchit is offline
 
Join Date: Dec 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much
Reply With Quote
  #35  
Old 07-28-2009, 10:22 PM
Markets Where Markets Where is offline
 
Join Date: Feb 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have install the plugin, but every thread show 2 times.
http://www.glasses123.net/forums/
Reply With Quote
  #36  
Old 09-30-2009, 04:48 AM
JasonGD JasonGD is offline
 
Join Date: Jul 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fogjuice View Post
I tried to mod this so it shows latest threads with replies rather than just the newest posts but I now have a problem with the caching. Everytime a new reply shows up, it goes to the top of the list and that is fine but after the I read the thread it still stays bold with this mod until I log out and log in again.

Code to show latest thread with replies, not just newest posts:
Code:
$gthreads = $db->query_read("SELECT 
        thread.title, thread.taglist, thread.prefixid, thread.taglist as tag, thread.threadid, thread.attach, icon.title AS icontitle, icon.iconpath, thread.lastpost, thread.lastpostid, thread.forumid, thread.replycount, thread.lastposter, thread.dateline, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views, thread.visible, user.username, user.userid, user.usergroupid, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, forum.title_clean as forum_title 
        FROM " . TABLE_PREFIX . "thread AS thread 
        LEFT JOIN  " . TABLE_PREFIX . "user AS user ON (user.username = thread.lastposter) 
        LEFT JOIN " . TABLE_PREFIX . "forum as forum on (thread.forumid = forum.forumid) 
        LEFT JOIN " . TABLE_PREFIX . "icon AS icon ON(icon.iconid = thread.iconid) 
        WHERE NOT ISNULL(thread.threadid) 
        $excludedforums AND thread.visible = 1 ORDER BY lastpost DESC LIMIT 0, $tvpano_lt_max");
Where it says ORDER BY you have to change it to lastpost, previously it said dateline.
That worked perfect, thanks! Installed.
Reply With Quote
  #37  
Old 11-09-2009, 07:10 PM
Oria Oria is offline
 
Join Date: Apr 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I try to show this code not at the HOMEPAGE, but i don't know how.

how i can put this at any page in my forum ?
Reply With Quote
  #38  
Old 01-18-2010, 04:10 AM
vtck vtck is offline
 
Join Date: Sep 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If there is a text box to insert url where this latest x threads to be display then this mod would be very popular.
Reply With Quote
  #39  
Old 01-29-2010, 07:11 PM
NinjaKane NinjaKane is offline
 
Join Date: Jan 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like this is dead, anyone reading this? how could you move the position of the table? right now it pops up right under the nave bar...can you point me in the right direction to move it?
Reply With Quote
  #40  
Old 08-20-2011, 04:08 PM
s.sami s.sami is offline
 
Join Date: Mar 2011
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can auto refresh ?
Reply With Quote
  #41  
Old 08-24-2011, 12:06 AM
mapleleaffans's Avatar
mapleleaffans mapleleaffans is offline
 
Join Date: Apr 2011
Location: Toronto, ON Canada
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod! Installed, thank you!
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 09:47 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.05059 seconds
  • Memory Usage 2,336KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete