vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Recent Posts v2 (https://vborg.vbsupport.ru/showthread.php?t=286502)

luffy 08-09-2012 10:00 PM

Recent Posts v2
 
1 Attachment(s)
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.

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

Quote:

Originally Posted by zascok (Post 2356273)
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.


Quote:

Originally Posted by Ricsca (Post 2356856)
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

Quote:

Originally Posted by BTArep (Post 2368046)
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

BTArep 09-27-2012 04:06 PM

Quote:

Originally Posted by Revelence (Post 2369030)
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.

Revelence 09-29-2012 03:37 PM

Quote:

Originally Posted by BTArep (Post 2369044)
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;" />


BTArep 09-30-2012 03:32 AM

Quote:

Originally Posted by Revelence (Post 2369520)
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!!

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 :)

gnrx 02-26-2020 03:39 PM

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.


All times are GMT. The time now is 08:41 AM.

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.01099 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete