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

Reply
 
Thread Tools
Recent Posts v2 Details »»
Recent Posts v2
Version: 2.00, by luffy luffy is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.2.x Rating:
Released: 08-09-2012 Last Update: 08-09-2012 Installs: 28
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

This mod will add the most recent posts of your forum on the board index. The permissions will remain intact, meaning the group/groups that does/have not permissions to view a forum, will not be able to see the posts from the forum/forums that they are not allowed to view.

After installing the xml file you can configure the mod at Settings->Options->Recent Posts v2.

And add additionnel CSS

HTML Code:
.recentposts_top_td{background-color:#E9E9E9;color:#3E3E3E;padding:3px 3px 3px 3px}
.recentposts_tr{border-top:1px solid #C4C4C4}
.recentposts_tr img{margin-bottom:-2px;padding-right:2px}
.recentposts_tr .time{color:#666686}
.recentposts_td1{background:#ffffff url(./images/gradients/grey-up_sm.png) repeat-x scroll left bottom;font-family:Tahoma,Calibri,Verdana,Geneva,sans-serif;font-size:11px;padding:3px 3px 3px 3px}.recentposts_td2{background:#F2F6F8 url(./images/gradients/grey-up_sm.png) repeat-x scroll left bottom;font-family:Tahoma,Calibri,Verdana,Geneva,sans-serif;font-size:11px;padding:3px 3px 3px 3px}.recentposts_unsubscribe{margin-right:-1px}.recentposts_reputation{float:right}
And upload grey-up_sm.png in gradients folder

For more, please have a look at the attached screenshots.

Download Now

File Type: zip recent_posts_v2.zip (3.6 KB, 194 views)

Screenshots

File Type: jpg 2012-08-10_11h09_58.jpg (30.6 KB, 0 views)
File Type: png 2012-08-10_11h36_45.png (29.8 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 09-27-2012, 01:26 AM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to have this display on every page in the footer... is there any way to do that?
Reply With Quote
  #13  
Old 09-27-2012, 03:22 PM
Revelence Revelence is offline
 
Join Date: Apr 2011
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BTArep View Post
http://takethebastardstoarbitration.com/forum.php

How do I get the 'collapse' button aligned?

Also, how do I get a 1 px border around the header?
Edit recentposts template, and add

Code:
style="margin-bottom: 5px;
position: absolute;
top: -5px;
right: -6px;
display: block;
width: 13px;
height: 13px;
overflow: hidden;
float: right;
clear: left;"
To the img tags for the collaspe
Reply With Quote
  #14  
Old 09-27-2012, 04:06 PM
BTArep BTArep is offline
 
Join Date: Sep 2012
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revelence View Post
Edit recentposts template, and add

Code:
style="margin-bottom: 5px;
position: absolute;
top: -5px;
right: -6px;
display: block;
width: 13px;
height: 13px;
overflow: hidden;
float: right;
clear: left;"
To the img tags for the collaspe
Code:
<a class="collapse" id="collapse_recentposts" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" /></a>
			</vb:if>
I added it in the 'alt=' part, and then uploaded it again, and nothing changed.
Reply With Quote
  #15  
Old 09-29-2012, 03:37 PM
Revelence Revelence is offline
 
Join Date: Apr 2011
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BTArep View Post
Code:
<a class="collapse" id="collapse_recentposts" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" /></a>
			</vb:if>
I added it in the 'alt=' part, and then uploaded it again, and nothing changed.
Try this.

Code:
<img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" style="margin-bottom: 5px;
position: absolute;
top: -5px;
right: -6px;
display: block;
width: 13px;
height: 13px;
overflow: hidden;
float: right;
clear: left;" />
Reply With Quote
  #16  
Old 09-30-2012, 03:32 AM
BTArep BTArep is offline
 
Join Date: Sep 2012
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revelence View Post
Try this.

Code:
<img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" style="margin-bottom: 5px;
position: absolute;
top: -5px;
right: -6px;
display: block;
width: 13px;
height: 13px;
overflow: hidden;
float: right;
clear: left;" />
Thank you!!
Reply With Quote
  #17  
Old 10-15-2012, 01:00 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know, if/how to show this hack on another php page that's external to vBulletin. Example: Let's say the index site of site is a PHP page and not part of vBulletin, but I want to show Recent Posts on the index page of the site?
Reply With Quote
  #18  
Old 12-15-2012, 11:28 PM
umbrae12 umbrae12 is offline
 
Join Date: Sep 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much. Very nice mod.

Would it be possible to:

1. Remove the icons (RSS, attachment, tag, etc)
2. Have the recent post link to the last page instead of the first page
Reply With Quote
  #19  
Old 01-17-2015, 09:52 PM
Mellnik Mellnik is offline
 
Join Date: Dec 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of my favorite mods
Reply With Quote
  #20  
Old 02-26-2020, 03:39 PM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
Recently, I installed this mod for try, I have vb 4.2.5 and PHP 7.1.
Not works, appears at the top or footer but...in blank, with any post...
I try to change the value, 5, 10 posts...never appears some post in the block...

Thanks and regards.
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:13 AM.


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.04659 seconds
  • Memory Usage 2,323KB
  • 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
  • (6)bbcode_code
  • (1)bbcode_html
  • (4)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
  • (1)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
  • (3)postbit_attachment
  • (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_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