PDA

View Full Version : Skin Issue - possible code problem


Didikoy
05-24-2008, 10:25 AM
have now created a new domain and done a fresh install of vbulletin 3.7 with vbadvanced 3.01

The skin Iam using is working fine on the forum at http://www.xboxformat.com/forum however on the homepage at http://www.xboxformat.com the skin is not showing one image on the title menu for the modules

I have used the code below which worked successfully on the older vbulletin and vbadvnced but is no longer working


$mods[formcode]
<table class="tcat_top" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="tcat_left"></td>
<td class="tcat"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></td>
<td class="tcat_right"><img src="$stylevar[imgdir_misc]/skin/spacer.gif" class="spacer" alt="" /> <if condition="$vba_style['portal_collapsemods']"><a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
</if></td>
</tr>
</table>
<div class="tborder_big">
<div class="tborder_big_right">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
<if condition="$show['tablerow']">
<tr>
<td class="$bgclass">
$modulehtml
</td>
</tr>
<else />
$modulehtml
</if>
</tbody>
</table>
</div>
</div>
<div class="tbottom">
<div class="tbottom_left"></div>
<div class="tbottom_right"></div>
</div>

<if condition="$mods['formcode']"></form></if>

I have used the tools provided by both vbadvnced and another tool provided by exlatic to update the image paths, but to no avail.

Any ideas?

PyroNET
05-24-2008, 10:46 AM
Try replacing

<table class="tcat_top" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="tcat_left"></td>
<td class="tcat"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></td>
<td class="tcat_right"><img src="$stylevar[imgdir_misc]/skin/spacer.gif" class="spacer" alt="" /> <if condition="$vba_style['portal_collapsemods']"><a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
</if></td>
</tr>
</table>

with

<div class="tcat_big">
<div class="tcat_left"/>

<div class="tcat_right">
<div class="tcat_right_inner">
<if condition="$vba_style['portal_collapsemods']"><a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a></if>
</div>
</div>

<div class="tcat_text">
<div class="tcat_text_inner"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></div>
</div>
</div>

Didikoy
05-24-2008, 10:59 AM
Hi PyroNET, many thanks for your reply.

I have changed the code however its still not worked, the results can be found on the homepage.

Regards

Didikoy

PyroNET
05-24-2008, 08:20 PM
I fail to see any code difference on the homepage. Be sure you're editing the right template.

Didikoy
05-24-2008, 08:50 PM
I fail to see any code difference on the homepage. Be sure you're editing the right template.



Hi PyroNET

Sorry I was just testing the template. I have modified the code with the one you kindly offered and the homepage should now show this change.

Any ideas please?

PyroNET
05-24-2008, 10:25 PM
I forgot to close something.

Find


<div class="tcat_left"/>

Replace with

<div class="tcat_left"></div>

Didikoy
05-25-2008, 02:07 PM
Many Thanks PyroNET

The skin looks fine now thanks to your generous help, I couldn't have done it without you.

Thanks so much