The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Add-ons (http://www.thevbgeek.com/forumdisplay.php?f=16)
-   -   Threadbit Image Overlayround (http://www.thevbgeek.com/showthread.php?t=932)

Lizard King 01-17-2006 01:11 AM

Threadbit Image Overlayround
 
1 Attachment(s)
Open Gars_threadbit template

find :
Code:

                <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 :

Code:

<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

Lizard King 01-17-2006 01:57 AM

This can also work for featured module.

In order to do that

open featured.php find :
Code:

<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 :
Code:

<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?


All times are GMT. The time now is 09:11 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Release powered by GARS 2.1.9 ©2005-2006