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

Reply
 
Thread Tools
Latest X Threads on Forumhome Details »»
Latest X Threads on Forumhome
Version: 1.1, by Michael Biddle Michael Biddle is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 12-21-2007 Last Update: 03-26-2009 Installs: 192
Supported DB Changes Uses Plugins Template Edits Auto-Templates
 

Latest X Threads on Forum Index
by: whitemike
Demo: Here

What this does?

This will add the latest x posts onto your forum index

Features?
  1. Enable/Disable - Master Switch to Turn Latest Posts on or off
  2. Title - Change the title of the Site News
  3. Posts to Show - Number of Last Posts to show
  4. Cutoff Length - How many characters to show before the ... at the end
  5. Exclude Forums - Choose what forums you do not want to be listed
  6. Thread Title Width - Width of Title Table
  7. User Title Width - Width of User Table
  8. Forum Title Width - Width of Forum Table
  9. Auto Location - Enable/Disable auto location
  10. Location - Gives Options for Under navbar, above forum, or below forum
  11. Date & Time - Enable/Disable the time and date from being shown
Added?
  1. 2 Template
  2. 3 Plugins
  3. 11 Settings
  4. 29 Phrases
Installation?
  1. Import Product
Thats It!

Releases

1.0 - Initial release
Please Click Install if you use

For Latest X Posts on Forum Home CLICK HERE

Show Your Support

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

Comments
  #92  
Old 05-17-2009, 07:22 PM
pjaco's Avatar
pjaco pjaco is offline
 
Join Date: Jul 2008
Location: Oslo / Norway
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #93  
Old 05-18-2009, 03:53 AM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it.
Reply With Quote
  #94  
Old 06-25-2009, 04:04 AM
ErnestA ErnestA is offline
 
Join Date: Jan 2009
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a great mod? Will you be making a version for vBulletin 3.8?
Reply With Quote
  #95  
Old 07-01-2009, 01:28 AM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should be compatible with 3.8.
Reply With Quote
  #96  
Old 09-07-2009, 03:28 PM
prolific_one prolific_one is offline
 
Join Date: Sep 2009
Location: Michigan
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have looked through forumhome and forumhome_latestthreadbit trying to find how I can make my cell rows only one row of text. right now the 'latest x posts' column lists the thread title/time on one line then the text preview on the next line. I'd like that all on one line. Is this a simple fix that i just don't see?
Reply With Quote
  #97  
Old 09-07-2009, 09:20 PM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by prolific_one View Post
I have looked through forumhome and forumhome_latestthreadbit trying to find how I can make my cell rows only one row of text. right now the 'latest x posts' column lists the thread title/time on one line then the text preview on the next line. I'd like that all on one line. Is this a simple fix that i just don't see?
In the template: forumhome_latest_thread_bit

Find:

HTML Code:
<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$threadid" class="smallfont">$threadtitle</a>
        <if condition="$vboptions['latest_thread_time']"><span class="smallfont">$date $time</span></if>
        <if condition="$vboptions['latest_thread_cut'] != '0'"><div class="smallfont">$pagetext</div></if>
You can make it something like:

HTML Code:
<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$threadid" class="smallfont">$threadtitle</a>
        <if condition="$vboptions['latest_thread_time']"><span class="smallfont">$date $time</span></if>
        <if condition="$vboptions['latest_thread_cut'] != '0'"><span class="smallfont">$pagetext</span></if>
Reply With Quote
  #98  
Old 09-08-2009, 01:00 AM
Zi55 Zi55 is offline
 
Join Date: Dec 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Michale Thanks for this nice hack , but can you make it use datastore or cache , so we can save MySQL cpu usage .
Thanks ,
Zi55
Reply With Quote
  #99  
Old 09-08-2009, 03:08 AM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is only one query on the forumhome page, it really does not have usage at all.
Reply With Quote
  #100  
Old 11-14-2009, 12:09 AM
royong royong is offline
 
Join Date: May 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works on 3.8.x ... good mod ... and easy to install ... thanks.

I made some modifications on forumhome_latest_thread_bit and I have my display now as

<date><time><thread01><forum><author>
<date><time><thread02><forum><author>
<date><time><thread03><forum><author>
<date><time><thread04><forum><author>
<date><time><thread05><forum><author>
<date><time><thread06><forum><author>

Question ... I would like to change to

<date><time><thread01>...<date><time><thread04>
<date><time><thread02>...<date><time><thread05>
<date><time><thread03>...<date><time><thread06>

thereby removing the display of <forum> and <author> but using the space in the row to display another thread...

any advice?

many thanks in advance!
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:17 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.05266 seconds
  • Memory Usage 2,301KB
  • Queries Executed 24 (?)
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_html
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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