View Full Version : Forum Home Enhancements - Recent Posts v2
luffy
08-09-2012, 10:00 PM
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
.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.
davidg
08-10-2012, 08:35 AM
luffy u forgot to add screenshots
luffy
08-10-2012, 08:37 AM
Updated
zascok
08-11-2012, 07:45 PM
Gonna try this, thanks. Looks great. Any chance that it can go on the top of forums AND sidebar?
Ricsca
08-14-2012, 10:42 AM
Collapsable dont work...
dacho
08-14-2012, 10:51 AM
thanks mate
gonna try it
luffy
08-17-2012, 12:22 AM
Gonna try this, thanks. Looks great. Any chance that it can go on the top of forums AND sidebar?
for future version, I'll add the top forum for change and sidebar.
Collapsable dont work...
It's work , check your template "FORUMHOME"
ThiagoO
08-18-2012, 12:18 PM
Nice, how disable fully for guests and banneds?
all categories of my forum are released for visitors
and I only want registereds members to see these recent posts ..
BTArep
09-23-2012, 10:16 PM
<a href="http://takethebastardstoarbitration.com/forum.php" target="_blank">http://takethebastardstoarbitration.com/forum.php</a>
How do I get the 'collapse' button aligned?
Also, how do I get a 1 px border around the header?
xixxon
09-24-2012, 03:24 PM
Nice, man. Thank you
scottct1
09-27-2012, 01:26 AM
I would like to have this display on every page in the footer... is there any way to do that?
Revelence
09-27-2012, 03:22 PM
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
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
BTArep
09-27-2012, 04:06 PM
Edit recentposts template, and add
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
<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.
Revelence
09-29-2012, 03:37 PM
<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.
<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;" />
BTArep
09-30-2012, 03:32 AM
Try this.
<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!!
RobAC
10-15-2012, 01:00 PM
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?
umbrae12
12-15-2012, 11:28 PM
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
Mellnik
01-17-2015, 09:52 PM
One of my favorite mods :)
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.