vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Home Enhancements - Alternative Forumhome Lastpost Display (https://vborg.vbsupport.ru/showthread.php?t=174922)

EWGF 04-01-2008 10:00 PM

Alternative Forumhome Lastpost Display
 
This tutorial changes the look of the last posted post in the forumhome template. The vertical column for the last posts disappears and a box with the last posted post appears below the forum description. Also see the included screenshot to get a better view of this mod.

History:
Version 1.0: First release.
Version 1.1: Added collapsable boxes.
Version 1.2: Fixed boxes for subforums.
Version 1.3: Fixed scrambled box without forum description, fixed box for no-posts forum, added missing "collapseimg" variable to lastpostby.gif, compatible with vBulletin 3.7.x.
Version 1.31: Small adjustment to the "forumhome_forumbit_level2_post" template.

Support only for people who've marked as installed.

Attachment 78123

bxbigt 04-02-2008 10:10 PM

Demo?

EWGF 04-02-2008 10:49 PM

Sorry, I have it only implanted on my testvb at the moment. But the screenshot is animated, so it gives a good impression of how it seems to work.

Barakat 04-05-2008 02:24 PM

works good ........

nice

Preech 04-05-2008 03:15 PM

Never mind, I didn't read the entire first post.

Meatshield 04-06-2008 09:32 PM

Could this be collaped by default?
and if so what edits do i have to make?
Thanks

glorify 04-07-2008 11:38 AM

Does this work well with category view? All the rest in the past haven't worked well at all.

EWGF 04-07-2008 12:24 PM

Quote:

Originally Posted by Meatshield (Post 1484708)
Could this be collaped by default?
and if so what edits do i have to make?
Thanks

Yes, that is possible. Note that visitors with javascript disabled, can't see the content of the by default collapsed box.

In forumhome_forumbit_level1_post and forumhome_forumbit_level2_post, search for:
Code:

<div id="collapseobj_forumhome_lastpostby_$forum[forumid]" class="smallfont" style="padding:6px; margin-top:6px; border: 1px solid #000000; $vbcollapse[collapseobj_forumhome_lastpostby]
Add after:
Code:

; display:none

Quote:

Originally Posted by glorify (Post 1485146)
Does this work well with category view? All the rest in the past haven't worked well at all.

It works fine now.

TCattitude 04-14-2008 02:15 AM

For last vBulletin 3.7.0 RC3 this search and remove in forumhome_forumbit_level2_post:
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>

now is this:
<td class="alt2">$forum[lastpostinfo]</td>

Nice template mod, i like it!

YLP1 04-26-2008 09:56 PM

How do you change the background of the last post info to like alt2 or alt1? Thanks in advance.


All times are GMT. The time now is 03:35 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.01143 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete