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 Posts Details »»
Latest Posts
Version: 2.0.0, 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: 07-17-2008 Last Update: 04-25-2011 Installs: 149
Supported Uses Plugins Auto-Templates
 

Latest Posts
by: Michael Biddle

What this does?

This addon will add the latest posts of your forum to all pages.

What version does it work on?

This modification was written in vBulletin 3.8.7, however, it should work will most of the later 3.x series.

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 - Choose to include the date and time posted.
Installation?
  1. Import Product

Due to popular demand, this product has now been updated to show globally.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 07-19-2008, 08:27 PM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you only want to include one then you can edit the 'main code' plugin that is added with this addon. Find:

PHP Code:
WHERE post.visible '1' AND thread.visible '1' AND open '1' AND $platest_and AND $platest_and_1 
Change to:

PHP Code:
WHERE post.visible '1' AND thread.visible '1' AND open '1' AND forum.forumid 


Where x is your forumid.
Reply With Quote
  #23  
Old 07-20-2008, 09:19 AM
MrAd MrAd is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks for your quick help, Michael.
Dont want to become a pain in your a**, but now I have another problem:

I want to use this hack as kind of advertising and this means that I want to show the latest x posts from a forum, which is not accessable (not visible) for normal users. They should see topic-titles, but not the content of the post. Is there any chance to make it work?
Reply With Quote
  #24  
Old 07-20-2008, 09:41 PM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well if you set the cutoff to 0, then they will only see the titles. The change above will not include the forum permissions, so all will show.
Reply With Quote
  #25  
Old 07-21-2008, 07:01 AM
MrAd MrAd is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As admin I see other latest posts than a normal user.
Example: I´ve a private area and only one usergroup (specials) can enter this area. If I now setup the hack to exclude all other forums so that only this private area is using the hack.
The result is that I (logged in as admin) see the latest posts (topic titles) in the private area, while normal members see nothing.
So the hack is using the forumpermissions of the different usergroups.
-
What I have in mind is to show the latest posts from a specified forum, no matter if the members have the permissions to enter this specified forum or not. As I have set the cutoff to 0, they only can see the topic title and if they click on such a link, the board-software, depending on the usergroup-persmissions, will either show them the topic or give them an error-message
Reply With Quote
  #26  
Old 07-22-2008, 05:27 AM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like I said, the fix above will not use the forum permissions. It will show to all.
Reply With Quote
  #27  
Old 07-22-2008, 07:58 AM
MrAd MrAd is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry I was a bit next the track. Got it now and it´s working like a charme.
Thanks alot for these fantastic hack.
Reply With Quote
  #28  
Old 07-22-2008, 08:34 AM
luffy's Avatar
luffy luffy is offline
 
Join Date: Dec 2006
Location: Alger
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

helloo ,

how to show the prefix thread , and (tag+attachment icons)

thank you
Reply With Quote
  #29  
Old 07-23-2008, 09:21 PM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if this can be done but what if I wanted to make the title of the threads in bold?

Thanks.
Reply With Quote
  #30  
Old 07-23-2008, 11:02 PM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could edit the template forumhome_latest_bit

Find:

HTML Code:
$pthreadtitle
Replace with:

HTML Code:
<strong>$pthreadtitle</strong>
Reply With Quote
  #31  
Old 07-24-2008, 02:00 AM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That took care of it. Many thanks!
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 01:52 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.04737 seconds
  • Memory Usage 2,309KB
  • 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_html
  • (2)bbcode_php
  • (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