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

Reply
 
Thread Tools
Latest X Posts on Forum Home Details »»
Latest X Posts on Forum Home
Version: 2.4, by Michael Biddle Michael Biddle is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.x Rating:
Released: 03-21-2007 Last Update: 03-26-2009 Installs: 292
Supported Uses Plugins Auto-Templates
 

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

What this does?

This will add the latest x posts onto your forum index

What version does it work on?

This modification should work on any version 3.6.0 and up! Including the new 3.7

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
Added?
  1. 2 Template
  2. 3 Plugins
  3. 10 Settings
  4. 27 Phrases
Installation?
  1. Import Product
Thats It!

Fixes?

2.3
  1. Fixed the cutoff bug

2.2
  1. Fixed Bug

2.1
  1. Changed variables, so that you can see this, and latest X Threads on forumhome.

2.0
  1. Feature Added: Time and Date
  2. Added feature where if Cut Off is 0, then it will not display the row

1.9
  1. XHTML and CSS Compliant

1.8
  1. For some reason a phrase didn't save so I uploaded it with it.

1.7
  1. Added option to enable/disable auto location
  2. Added 3 automatic locations

1.6
  1. Added Permissions based on forums
1.5
  1. Fixed Look - Made Link Thread Title, with text under it

1.4
  1. Fixed Bug - Was showing up hidden/moderated posts

1.3
  1. Fixed Bug - Didn't display threads in excluded forums
  2. Added Check Version

1.2
  1. Cached Templates
  2. Moved Plugin Location to allow global use of $latest
1.1
  1. Added default value to excluded, which was causing an error if null
  2. Made Collapsible
Please Click Install if you use

Show Your Support

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

Comments
  #242  
Old 04-09-2008, 12:42 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what was causing it, But i changed the forumhome_start plugin to global_start and disabled the forumhome_complete plguin and it works wonderfully

(and on all pages as i intended to do with it :0)
Reply With Quote
  #243  
Old 04-09-2008, 04:24 AM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason that I have not made this on global_start is for a few reason. The biggest being that it adds a query to every single page. Also, their was a bug when I made it set to global, it was acting wierd. It was taking threads out of the actual forum listings.
Reply With Quote
  #244  
Old 04-09-2008, 05:09 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured it'd add the query to all the pages, but i've got a design(or lack thereof) going where the latest posts are in the footer but you already know about that snazz

Actually you've just given me a better idea for it ty
Reply With Quote
  #245  
Old 04-20-2008, 12:13 AM
synisterk synisterk is offline
 
Join Date: Feb 2008
Location: South Carolina
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to change $latest on either this or your threads one so that both can be used?
Reply With Quote
  #246  
Old 04-27-2008, 07:19 PM
silver_wing silver_wing is offline
 
Join Date: Jan 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried this on VB 3.7, and it is not showing up.

Quote:
Originally Posted by synisterk View Post
Is there a way to change $latest on either this or your threads one so that both can be used?
I would like to know this too.
Reply With Quote
  #247  
Old 05-03-2008, 06:50 PM
blebetanje's Avatar
blebetanje blebetanje is offline
 
Join Date: Sep 2007
Location: Croatia
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make one for 3.7x, this is something that user realy want
Reply With Quote
  #248  
Old 05-03-2008, 08:27 PM
Sushubh Sushubh is offline
 
Join Date: Apr 2007
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i upgraded to 3.7 with this installed and it seems to be working fine on the new version.
Reply With Quote
  #249  
Old 05-08-2008, 08:15 PM
ngkong ngkong is offline
 
Join Date: May 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should add 'AND thread.visible = 1' to the sql query, because posts still visible even the threads are soft deleted.

Code:
SELECT post.postid, post.pagetext, post.userid, post.username, post.visible, 
post.dateline AS date, thread.forumid, thread.title as thread_title, thread.threadid, 
forum.forumid, forum.title as forum_title
FROM " . TABLE_PREFIX . "post as post
LEFT JOIN " . TABLE_PREFIX . "thread as thread on (post.threadid = thread.threadid)
LEFT JOIN " . TABLE_PREFIX . "forum as forum on (thread.forumid = forum.forumid)
WHERE post.visible = 1 AND thread.visible = 1 AND $platest_and AND $platest_and_1
ORDER BY postid DESC
LIMIT $limit
thanks
Reply With Quote
  #250  
Old 05-17-2008, 05:46 PM
Pocket Aces Pocket Aces is offline
 
Join Date: Mar 2007
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed plugin to global_start. Since then an error occurs on the advance search key word field auto-generate a value of "Resource id #22". Whats that Resource id #22 error mean and how to fix it??
Reply With Quote
  #251  
Old 05-30-2008, 02:20 PM
Piratos Piratos is offline
 
Join Date: Mar 2008
Location: Tunisia
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello
i tested on 3.7.1 and nothing added !!! it installed correctly but i don't saw the last news on forumhome!

Any help ??
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 10:49 PM.


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.05435 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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_code
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_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