View Full Version : collapse_tcat Images
Aadil
03-07-2009, 04:08 AM
Hey, I've been Customizing skin for my site, and i wanted to make it smaller (from full 100%) but when i do the collapse images are still wide out.
I have looked thru and haven't had any luck trying to fix it
here is a screenshot:
http://img27.imageshack.us/img27/7302/problemq.png
Anyone know how I can fix this? It just seems that the collapse thing is set to 100% still
Thanks
Winterfell
03-07-2009, 05:09 AM
To fix it, you'll need to make modifications to your forumhome_forumbit_level1_nopost template. Without knowing what edits may have already been made to itare the separated categories shown done via a plugin in or template edit?I can't give a code fix.
Aadil
03-07-2009, 05:12 AM
Shall i post it here?
Winterfell
03-07-2009, 05:32 AM
Shall i post it here?
That would be fine, or you can send it to me via PM.
Aadil
03-07-2009, 06:27 AM
Cheers
Aadil
03-08-2009, 10:13 AM
Have not solved this problem yet,,
can anyone help?
Forumhome_forumbit_level1_post
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="33" align="left" valign="top"><img src="$stylevar[imgdir_misc]/mt-left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/mt-middle.gif)" valign="middle">
<a style="position:absolute;right:50px;" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" align="right" /></a>
<div align="left">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
</td>
<td width="483px" height="42px" align="right" valign="top"><img src="$stylevar[imgdir_misc]/mt-right.gif" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="5%"> </td>
<td class="thead" width="65%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="20%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="11%">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>
</table>
<!--
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/bot_left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bot_back.gif)"></td>
<td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/bot_right.gif" alt=" " border="0" /></td>
</tr>
</table>
-->
<br />
<div class="spacer"></div>
the forum width is 95%
mmoore5553
03-08-2009, 04:16 PM
what i the link to your forum also see the precents in what you posted. Those have to add up to 100 to be correct. also if you want just just size down forum as a whole you could have just done it in the admincp for width.
Aadil
03-08-2009, 10:31 PM
I currently have moved it back to full because it looked bad and i made the new skin default.
I have tried in the skin settings.
mmoore5553
03-09-2009, 12:27 AM
so are you fixed ?
Aadil
03-09-2009, 01:01 AM
no.. it happens when i adjust it there..
Aadil
03-11-2009, 05:27 AM
bump
Seven Skins
03-11-2009, 10:21 AM
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="33" align="left" valign="top"><img src="$stylevar[imgdir_misc]/mt-left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/mt-middle.gif)" valign="middle">
<div align="left">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td width="483" height="33" align="right" valign="top" style="background-image:url($stylevar[imgdir_misc]/mt-right.gif); padding-right: 50px;">
<a href="#top" onclick="return toggle_collapse('forumbit_$forumid')">
<img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" align="right" /></a>
</td>
</tr>
</table>
<!-- End top category table setup -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="5%"> </td>
<td class="thead" width="65%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="20%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="11%">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>
</table>
<!--
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/bot_left.gif" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bot_back.gif)"></td>
<td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/bot_right.gif" alt=" " border="0" /></td>
</tr>
</table>
-->
<br />
<div class="spacer"></div>
Aadil
03-11-2009, 10:33 AM
mmh no go does this
http://img26.imageshack.us/img26/2015/errorbmj.png
mmoore5553
03-11-2009, 10:41 AM
i would have to see a live link to the forum to see what is acdtually going on since alot of customizing has been happening
Seven Skins
03-11-2009, 10:47 AM
mmh no go does this
http://img26.imageshack.us/img26/2015/errorbmj.png
You have to adjust the height, width, image links etc... according to your site that was just an example I made without looking at your site and graphics etc.
--------------- Added 1236772463 at 1236772463 ---------------
To remove grey border change border="1" to border="0" from the 2nd line in the code.
.
--------------- Added 1236772672 at 1236772672 ---------------
.
If you are just trying to make your forum fixed width or 90% etc ... read this.
https://vborg.vbsupport.ru/showthread.php?t=207918
.
Aadil
03-11-2009, 11:27 AM
Thanks will look into it tomorrow :) off to bed :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.