The vB Geek

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

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

Advertisement
  Learn how to remove ads

Comment
 
Release Tools Display Modes
Russ_T
Junior Member

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

Mod Version: 1
 

Released: 05-29-2006
 

Installs: 10
 

Last Update: n/a
 

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

Hi,

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

Quote:
<tr>
<td class="tcat" id="af_status_$thread[realthreadid]">
$thread[openclose_editable]
<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>
<td class="tcat" id="t$thread[threadid]" title="$thread[preview]" valign="top" width="100%" style="padding: 5px">
<div>
<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>
</span>
<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>
$thread[movedprefix]
$thread[typeprefix]
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a>
</div>
<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>
</div>
</if> <if condition="$thread[byline]">
<div class="smallfont">
$thread[byline]
</div>
</if>
<span class="smallfont">
<if condition="$show['guestuser']">
$vbphrase[GARS_posted_by] $thread[postusername]
<else />
<span style="cursorointer" onclick="window.open('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>
</div></span>
<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> />
</if>
</td>
</tr>
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.

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

Release Tools

  #1  
By The Geek on 05-29-2006, 05:38 PM
Default

Thanks! Nice one
Reply With Quote
  #2  
By Russ_T on 05-29-2006, 10:55 PM
Default

Have added screen shot, see thumbnails on right of this page.
Reply With Quote
  #3  
By Loco on 11-10-2006, 02:48 AM
Default

Does anyone have a live demo ?
Thank you
Reply With Quote
  #4  
By arachn1d on 11-22-2006, 09:52 AM
Default

The ajax ability of clicking the new thread icon to [feature] it doesn't work.
________
TOYOTA FINANCIAL SERVICES SPECIFICATIONS
Last edited by arachn1d; 03-07-2011 at 10:02 AM..
Reply With Quote
  #5  
By jasbell on 02-28-2007, 02:45 PM
Default

I this still not VB 3.6 compliant?
Reply With Quote
  #6  
By Praetorian on 05-18-2007, 03:54 PM
Default

yeah correct, the AJAX thread editing doesnt work. Trying to make it work.
Reply With Quote
Comment

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 12:29 AM.


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

Release powered by GARS 2.1.9 ©2005-2006