The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Alternative Forumhome Lastpost Display Details »» | |||||||||||||||||||||||||
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 Show Your Support
|
Comments |
#12
|
|||
|
|||
anyone to add this to the alternate posts and thread view?
|
#13
|
|||
|
|||
Quote:
you are best |
#14
|
|||
|
|||
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 |
#15
|
|||
|
|||
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> |
#16
|
|||
|
|||
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!
|
#17
|
|||
|
|||
Quote:
|
#18
|
|||
|
|||
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 But the rest of the forum is still displaying this : |
#19
|
|||
|
|||
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"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_lastpostby_$forum[forumid]')"><img id="collapseimg_forumhome_lastpostby_$forum[forumid]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_lastpostby].gif" alt="" border="0" /></a> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <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> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits |
#20
|
|||
|
|||
Thanks so much for your help !! All sorted now.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|