The vB Geek

Go Back   The vB Geek > vB Geek Modifications > Add-ons

Add-ons Modifications and add-ons for vB Geek stuff.

  Learn how to remove ads

Release Tools Display Modes
Prev Previous Post   Next Post Next
Junior Member

vB Version: vb3.5x & GARS LITE (or 1.01)

Mod Version: 1

Released: 05-29-2006

Installs: 10

Last Update: n/a

DB Changes
Installer Included
Uses Plugins
Template Changes
Code Changes
Additional Files
Is a Beta!
Lightbulb More space efficient forum display


Not sure if this already exists but I just installed GARS Lite (brilliant mod, thank you very much!!) and found that the synopsis and such made the Articles list a bit cumbersome.

Here is what I did

1) Find the GARS_threadbit template, go in to edit it, then change the name to GARS_threadbit_3 and save.

2) Find GARS_threadbit_3 (it will be at the top of the list, not under GARS itself) and replace the template with this

<td class="tcat" id="af_status_$thread[realthreadid]">
<img class="inlineimg" id="af_icon_$thread[realthreadid]" src="$stylevar[imgdir_statusicon]/post_<if condition="$thread['gar_feature']">new.gif" alt="Feature"<else />old.gif" alt=""</if> />
<td class="tcat" id="t$thread[threadid]" title="$thread[preview]" valign="top" width="100%" style="padding: 5px">
<span style="float:$stylevar[right]">
<if condition="$show['paperclip']"><img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></if>
<if condition="$show['subscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /></if>
<if condition="$show['sticky']"><img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /></if>
<if condition="$show['threadratings'] AND $show['threadrating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></if>
<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a>
<if condition="$show['unsubscribe']">
<div class="smallfont">
<a href="newreply.php?$session[sessionurl]do=newreply&amp=noquote=1&amp;t=$thread[threadid]">$vbphrase[reply]</a> |
<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]">$vbphrase[unsubscribe]</a>
</if> <if condition="$thread[byline]">
<div class="smallfont">
<span class="smallfont">
<if condition="$show['guestuser']">
$vbphrase[GARS_posted_by] $thread[postusername]
<else />
<span style="cursorointer" onclick="'member.php?$session[sessionurl]u=$thread[postuserid]')">$vbphrase[GARS_posted_by] $thread[postusername]</span> </if>
- $vbphrase[GARS_last_activity] $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if>
<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div>
<if condition="$show['inlinemod']">
</td><td class="tcat" align="right">
<input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
NB: Where this forum has put a smiley face the face needs to be replaced with : p (without the spaces) so it says <span style="cursor : pointer" again without the spaces between the quotes.

3) In AdminCP go into GARS -> Templates and EDIT the set you use, change the threadbit template to GARS_threadbit_3. This will now use your new template, and if it all goes wrong you can easily change it back to GARS_threadbit.

It's literally taken me about five minutes to do this, so let me know if the HTML is malformed, I may tweak it slighty later.

Attached Images
File Type: jpg Reduced article list.JPG (49.3 KB, 606 views)

Release Tools


Release Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Release Release Starter Category Comments Last Post
Featured Module on Forum Display waltercat Geek Article and Review System 5 05-15-2007 11:09 PM
[How To] display review pages in forum? Asasi Geek Article and Review System 2 08-28-2006 06:57 PM
forum banner display gamelandz Geek Advertising Banner System 3 06-12-2006 11:21 AM
Smaller thumbnails at forum display. Coriolan Geek Article and Review System 3 03-15-2006 05:18 PM
Forum display problem... mlrst Geek Article and Review System 2 01-15-2006 08:22 PM

All times are GMT. The time now is 10:57 AM.

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

Release powered by GARS 2.1.9 ©2005-2006