PDA

View Full Version : Threadbit Image Overlayround


Lizard King
01-17-2006, 01:11 AM
Open Gars_threadbit template

find :
<td class="alt2" align="center" rowspan="2" valign="top" width="$stylevar[GARS_image_width]" style="padding: 10px;" >
<if condition="$thread['header_image']">
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="$thread[header_image]" border="0" style="border: 2px #000000;padding:2px;" alt="" /></a>
<else />
&nbsp;
</if>
</td>

Replace with :

<td width="105" class="alt1" rowspan="2" valign="middle" align="center"><div class="smallfont" style="background-repeat: no-repeat; background-position: center; background-image: url($thread[header_image]); background-color: #000;">
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img alt="$thread[title]" border="0" src="$stylevar[imgdir_misc]/overlay-round.gif" /></a></div>
</td>

Upload attached file to your misc folder and you are ready to go.

Demo (http://www.ayyas.com/biyografiler/)

Lizard King
01-17-2006, 01:57 AM
This can also work for featured module.

In order to do that

open featured.php find :
<td class='alt2' align='center'><a href='showthread.php?t=$value[threadid]' title='$vbphrase[GARS_read_more]' style='text-decoration:none;'><img src='$value[image]' style='border-style: solid;border-color: #000000;padding:2px;' /><br /><strong>$value[title]</strong></a><br />$value[byline]</td>

and replace it with :
<td class='alt2' valign='middle' align='center'><table width='105' border='0' cellpadding='0' cellspacing='0' align='center'><tr><td width='105' style='background-repeat: no-repeat; background-position: center; background-image: url($value[image]); background-color: #000; '><a href='showthread.php?t=$value[threadid]' title='$vbphrase[GARS_read_more]' style='text-decoration:none;'><img src='$stylevar[imgdir_misc]/overlay-round.gif' style=';padding:0px;' border='0' /></td></tr></table><br /><strong>$value[title]</strong></a><br />$value[byline]</td>

Donot forget to upload the overlay-round.gif to your misc folder.

The Geek
01-17-2006, 04:28 PM
Great addition Lizard, thanks!

JohnBee
10-08-2010, 11:50 PM
Thank-you, thank-you, thank-you! :D

SteveRobWhatever
10-23-2010, 01:37 AM
Does this still work for GARS 2.1.9? I can't seem to find the code to replace.

SteveRobWhatever
12-04-2010, 03:36 PM
Is there a dark skin version?