![]() |
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 |
Demo?
|
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.
|
works good ........
nice |
Never mind, I didn't read the entire first post.
|
Could this be collaped by default?
and if so what edits do i have to make? Thanks |
Does this work well with category view? All the rest in the past haven't worked well at all.
|
Quote:
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] Code:
; display:none Quote:
|
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! |
How do you change the background of the last post info to like alt2 or alt1? Thanks in advance.
|
anyone to add this to the alternate posts and thread view?
|
Quote:
you are best :) |
how to change the style of the dark black border - say to a light gray dotted line ?
and how to change the background color of the last post info ? Thanks in advance |
Quote:
- forumhome_forumbit_level1_post - forumhome_forumbit_level2_post Code:
<div id="collapseobj_forumhome_lastpostby_$forum[forumid]" class="smallfont" style="padding:6px; margin-top:6px; border: 1px solid #000000; $vbcollapse[collapseobj_forumhome_lastpostby]" align="$stylevar[left]">$forum[lastpostinfo]</div> Though it's more efficient to put it all into one class, instead of calling a class ?nd putting several other attributes after it. Small mistake from me of not doing so, but that's easy to alter. Could work on that, if people rather like that. Quote:
Code:
<div id="collapseobj_forumhome_lastpostby_$forum[forumid]" class="smallfont" style="padding:6px; margin-top:6px; border: 1px solid #000000; $vbcollapse[collapseobj_forumhome_lastpostby]" align="$stylevar[left]">$forum[lastpostinfo]</div> |
Looks pretty good I like it. Once someone installs it, please shoot me a link of it. I'd like to see an entire forumhome page using this mod!
|
Quote:
|
Hi grate hack ( if i could not muck it up ) But as i just said i think i messed up. I would like to say am completely new to this so bare with me.
All was good untill i could not find the Quote:
PHP Code:
I rely can not see where i went wrong. So if someone could please show me where i went wrong or what i should put in there to make it correct. My forum is here if you do have a look the welcome section is correct as it is just displaying the number of threads http://i207.photobucket.com/albums/b...redbyvBu-2.png But the rest of the forum is still displaying this : https://vborg.vbsupport.ru/external/2008/06/5.png |
They removed the "nowrap" in the latest version, forgot to edit the .txt file. So just look for the:
Code:
<td class="alt2">$forum[lastpostinfo]</td> Code:
<tr align="center"> |
Thanks so much for your help !! All sorted now.
|
Changed the code a tad, but looks great here.
|
All times are GMT. The time now is 12:42 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|