The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2005, 12:05 AM
Lizard King's Avatar
Lizard King Lizard King is offline
Senior Member
 
Join Date: Oct 2005
Location: Istanbul
Posts: 555
Geek Article and Review System License Holder Geek Gazette License Holder 
Default Is this forumdisplay possible with gars ?

I am thinking of using Gars in another part of my board and i want to make the forumdisplay look like the attached screenshot (prepared in photoshop) is it possible ? and if yes how can i do this in 3 or 4 colomns ?
Attached Images
File Type: jpg possibleforumdisplay.jpg (18.8 KB, 46 views)
Reply With Quote
  #2  
Old 10-25-2005, 09:01 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Sure.

What you would need to do is create a new threadbit that housed the items you want (header image, title and byline) then under the type, set its threadbit to the new template.

Now the real problem: You need some procesing to wrap each threadbit into a row.
Because your design has say 3 threadbits per row, every 3 threadbits you will need to put <tr>'s around them.

Not overly hard, and would look cool.

HTH's
Reply With Quote
  #3  
Old 10-25-2005, 04:17 PM
Lizard King's Avatar
Lizard King Lizard King is offline
Senior Member
 
Join Date: Oct 2005
Location: Istanbul
Posts: 555
Geek Article and Review System License Holder Geek Gazette License Holder 
Default

I am not sure if it is totally the correct way to do but i prepared the template but how can put a <tr> after every 3 threadbits ?
This is the template i got
PHP Code:
<td class="alt1">
<
div>
<
table cellpadding="0" class="alt2" align="center" cellspacing="0" width="200">
<
tr>
    <
td class="tcat" id="t$thread[threadid]" title="$thread[preview]" align="center" valign="top" width="100%" style="padding: 5px">
    <
a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a>
    </
td>
</
tr>
</
table>
<
table cellpadding="0" class="alt2" cellspacing="0" border="0" width="200">
    <
tr>
        <
td class="alt2" align="center" valign="top" style="padding: 5px;" >
        <if 
condition="$show['GARS_attach_as_header_image']">
        <if 
condition="$thread['attachid']">
                <
a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="attachment.php?attachmentid=$thread[attachid]&stc=1&thumb=1" border="0" style="border: 2px #000000;padding:2px;"></a>
        <else />
                <
a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="$show[GARS_default_header_image]" border="0" style="border: 2px #000000;padding:2px;"></a>
        </if>
        <else />
        <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;"></a>
        <else />
                <
a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="$show[GARS_default_header_image]" border="0" style="border: 2px #000000;padding:2px;"></a>
        </if>
        </if>
        <
div class="smallfont">
        
$thread[synopsis]
        </
div>
        </
td>
    </
tr>
    <
tr>
        <
td class="alt2" align="center" valign="middle" style="padding: 5px;">
        <
div class="smallfont">
        <
span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">G&#246;nderen $thread[postusername]</span>
        
<br />
        
$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>
        </
td>
    </
tr>
</
table>

</
div>

</
td
I am not sure if it is the best way to prepare this template also :P
Reply With Quote
  #4  
Old 10-25-2005, 04:58 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

You would need to put some code in a hook (most likely something like threadbit_process_complete) that would keep a running total of how many times its run. You would also need a way to catch it AFTER the threadbits have been processed for any threadbits that dont complete a whole row.
Reply With Quote
Reply

Thread 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
Thread Thread Starter Forum Replies Last Post
Put a search option in the GARS forumdisplay left column? trana Geek Article and Review System 11 10-29-2008 03:49 AM
Change the apperence of my forumdisplay on GARS zkilzz Geek Article and Review System 8 01-06-2007 01:47 AM
Putting a CMPS column into a GARS forumdisplay layout trana Geek Article and Review System 1 11-16-2006 07:26 AM
GARS 201 Default Module Set Forumdisplay jluerken Geek Article and Review System 4 10-12-2006 06:46 PM
using vb forumdisplay instead of GARS? Mellow Geek Article and Review System 4 01-24-2006 06:11 PM


All times are GMT. The time now is 05:37 PM.


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