![]() |
Collapsible first posts like vb.org or collapse every post
1 Attachment(s)
this will allow each of your posts to be collapsible, i use it to only collapse the first post like here at vb.org.
in postbit legacy find: Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if> Code:
<a href="#top" onclick="return toggle_collapse('firstpost_$post[postid]')"><img id="collapseimg_firstpost_$post[postid]" src="$stylevar[imgdir_button]/collapse_tcat{$vbcollapse['collapseimg_firstpost_' . $post[postid]]}.gif" alt="" border="0" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" /></a> Code:
<tr valign="top"> Code:
<tbody id="collapseobj_firstpost_$post[postid]" style="{$vbcollapse['collapseobj_firstpost_' . $post[postid]]}"> Code:
$template_hook[postbit_end] Code:
</tbody> Code:
<if condition="$post[postcount] == 1"> |
Wow thanks for this i will try it
|
i will try it too
|
All times are GMT. The time now is 11:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|