vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Separate corner images at the ends of "gradient_tcat" sections (https://vborg.vbsupport.ru/showthread.php?t=155942)

0lly 08-22-2007 01:51 PM

Separate corner images at the ends of "gradient_tcat" sections
 
Hi, at the top of each section on the forum index there's the usual "gradient_tcat.gif" headers, but lots of forums I've seen have rounded corners or custom images at the ends of thwe rows, how do you add them?

Eg: This image; http://transversestyles.com/vB/image.../cat_top_l.gif

On the following skin;

http://transversestyles.com/vB/?styleid=161

Thanks :)

PS: The guide at the following link doesn't work because the template has changed; http://www.vbhackers.com/f78/rounded...y-strips-5520/

helmlein 08-22-2007 05:13 PM

1st step: split the categories.

2nd step:

use this "forumhome_forumbit_level1_nopost"!!!

Code:

<!-- top category table setup -->
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="50" align="left" valign="top"><img src="$stylevar[imgdir_misc]/header_left.gif" alt="" height="20"/></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/botcenter.gif)"><img src="$stylevar[imgdir_misc]/header_bg.gif" alt="" width="100%" height="20" border="0"/></td>
<td width="50" align="right" valign="top"><img src="$stylevar[imgdir_misc]/header_right.gif" alt="" height="20"/></td>
</tr>
</table>
<!-- End top category table setup -->
</table>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" 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" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<tr align="center">
<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="45%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="30%">$vbphrase[last_post]</td>
<td class="thead" width="10%">$vbphrase[threads]</td>
<td class="thead" width="10%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="0%">$vbphrase[moderator]</td>
</if>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>
<!-- bottom table setup -->
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="30" align="left" valign="top"><img src="$stylevar[imgdir_misc]/footer_left.gif" alt="" height="23"/></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/botcenter.gif)"><img src="$stylevar[imgdir_misc]/footer_bg.gif" alt="" width="100%" height="23" border="0"/></td>
<td width="30" align="right" valign="top"><img src="$stylevar[imgdir_misc]/footer_right.gif" alt="" height="23"/></td>
</tr>
</table>
<!-- End bottom table setup -->

<br />



</if>



All times are GMT. The time now is 07:09 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.01617 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete