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
Sidebar Lastest Threads Details »»
Sidebar Lastest Threads
Version: 3.8.002, by ry215 ry215 is offline
Developer Last Online: May 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.1 Rating:
Released: 02-07-2009 Last Update: 02-07-2009 Installs: 93
Uses Plugins Template Edits Auto-Templates
Translations  
No support by the author.

First thanks to F0xy for a great idea!

Description:
If your forum using sidebar, you want to give Lastest Threads out this sidebar, this Mod will do it.

Info:
Plugins: 3
Phrases: 16
Templates: 2
Settings: 5

Install:

1. Import Product via Manage Products
ACP >> Plugins & Products >> Manage Products >> [Add/Import Product]

2. Edit Template:
Add in your sidebar template:

Code:
$template_hook[sidebar_lastest_threads]
where you want show "Lastest Threads"

3. Settings:
ACP >> vBulletin Options >> Sidebar Lastest Threads Settings

History:
v3.8.001 : First Release
v3.8.002 : nothing special, just add default forumids

PS: Work fine with 3.7.x (Tested)

Similar MOD:
Sidebar Column
Sidebar Poll

Download Now

File Type: xml product-sidebar_lastest_threads.xml (8.5 KB, 1128 views)

Screenshots

File Type: png slt_acp_settings.PNG (53.0 KB, 0 views)
File Type: jpg slt_view.jpg (75.1 KB, 0 views)

Show Your Support

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

Comments
  #52  
Old 12-21-2009, 01:20 AM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to trim the long title text?
Reply With Quote
  #53  
Old 03-06-2010, 04:55 AM
obetyance's Avatar
obetyance obetyance is offline
 
Join Date: Jul 2007
Location: Philippines
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we have a separate block per Board/Forum ID?

Ex:

Lastest Threads on FORUM ID 1, 2 & 3 (GEN COMMUNITY)

Lastest Threads on FORUM ID 5, 6 & 7 ( FOR SALE SECTION)

Lastest Threads on FORUM ID 8 & 9 (TECH SUPPORT)

Thanks!
Reply With Quote
  #54  
Old 03-06-2010, 08:04 PM
edward hamilton edward hamilton is offline
 
Join Date: Mar 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After having trouble with this mod I uninstalled it and used this code to get a list of recent posts. Nothing fancy but it works by making a plugin. If you don't know how to do it there are other threads about that.
I used cache_templates as the Hook Location. You can call it anything you want to.

PHP Code:
$numposts='5';


    
$thrdqry $vbulletin->db->query_read("
        SELECT forumid,threadid, title, dateline, lastpost, visible, open, lastposter      
        FROM " 
TABLE_PREFIX "thread
                WHERE forumid NOT IN (100,200,300)  AND visible = '1' 
        ORDER BY lastpost DESC
          LIMIT 0, 
$numposts ");

        while (
$thrds mysql_fetch_array($thrdqry))    
    {

    
$ttid $thrds[threadid]; 
        
$pstqry $vbulletin->db->query_read("
        SELECT postid      
        FROM " 
TABLE_PREFIX "post                        
                WHERE threadid= 
$ttid 
                ORDER BY postid DESC"
);

        
$psts mysql_fetch_array($pstqry);
 
        
$pstid $psts[postid];
            

$lastposted .=<<<EOD
<tr><td class="smallfont">

<b><a href="showthread.php?p=
$pstid#post$pstid">$thrds[title] </a></b></td><tr>
<tr><td>
$thrds[lastposter]<hr> </td></tr>
EOD;
            
    }
        
$db->free_result($thrds);
                
$db->free_result($psts); 
I put $lastposted in my Ultimate Side Column block after adding a heading called Recent Posts.

I hope this helps someone.
Reply With Quote
  #55  
Old 03-12-2010, 11:16 AM
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Location: Germany/Bavaria
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to delete/change the "Latest Threads" text?
Reply With Quote
  #56  
Old 03-13-2010, 01:03 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Silmarillion View Post
How to delete/change the "Latest Threads" text?
Did a quick search and this may be your answer. https://vborg.vbsupport.ru/showpost....4&postcount=35
Reply With Quote
  #57  
Old 06-10-2010, 08:54 AM
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Location: Germany/Bavaria
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do i have to change to show the last poster in every thread?

Original-Code:

Code:
<tr>
    <td class="$class">
        <div class="smallfont"><a href="showthread.php?$session[sessionurl]t=$+++++++_slt[threadid]"><strong>$+++++++_slt[title]</strong></a></div>
<div class="smallfont">- von <a href="member.php?$session[sessionurl]u=$+++++++_slt[postuserid]">$+++++++_slt[postusername]</a></div>
    </td>
</tr>
Reply With Quote
  #58  
Old 06-14-2010, 01:13 PM
Silmarillion's Avatar
Silmarillion Silmarillion is offline
 
Join Date: Jul 2004
Location: Germany/Bavaria
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No one?
Reply With Quote
  #59  
Old 10-24-2010, 07:18 AM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, is there any way to show attachments with this, instead of the title?
Reply With Quote
  #60  
Old 01-11-2011, 11:56 PM
Sukubis Sukubis is offline
 
Join Date: Dec 2010
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That works perfect, thank you =)
Reply With Quote
  #61  
Old 11-13-2011, 03:17 AM
WebCraker's Avatar
WebCraker WebCraker is offline
 
Join Date: Jan 2006
Location: Saudi Arabia
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnx alot man for this mod ..
Attached the mod translated into arabic
الموضوع والمنتج مترجم بتصرف باللغة العربية هنا
Attached Files
File Type: xml product-sidebar_column_AR.xml (89.1 KB, 4 views)
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 02:12 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.10295 seconds
  • Memory Usage 2,350KB
  • 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_php
  • (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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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
  • 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_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