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
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2007, 08:38 AM
zkilzz zkilzz is offline
Member
 
Join Date: Nov 2006
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default What do i do wrong? Forumdisplay

Hello. I have changed my forumdisplay to show in two columns. But instead of having different articles in the different columns i get the same article in every column? How do i fix this.

Here is a screenshot.

Reply With Quote
  #2  
Old 01-04-2007, 11:06 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

Im not sure what modifications you have made there.

Columns are a real pain as they require logic (code - not just html) to create the columns. How have you done the above?

BTW: I love your style.
Reply With Quote
  #3  
Old 01-04-2007, 11:17 AM
zkilzz zkilzz is offline
Member
 
Join Date: Nov 2006
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Quote:
Originally Posted by The Geek View Post
Im not sure what modifications you have made there.

Columns are a real pain as they require logic (code - not just html) to create the columns. How have you done the above?

BTW: I love your style.
Here is my threadbit code.

PHP Code:
<tr>
       
        <
td class="page" valign="top" width="50%" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
        <
div>
                <
span style="float: $stylevar[right]">
                <if 
condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </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>
                    
$thread[openclose_editable]
                    <
img class="inlineimg" <if condition="$show['ajax_js']">onclick="GARS_AJAX_AutoFeature(this);"</if> id="af_icon_$thread[realthreadid]" src="$stylevar[imgdir_statusicon]/post_<if condition="$thread['gar_feature']">new.gif" alt="Feature"<else />old.gif" alt=""</if> />
                <if condition="
$show['inlinemod']"><input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> /></if>
                </span>
                <if condition="
$thread['header_image']">
               <div class="
smallfont" align="left"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="$thread[header_image]" border="0" style="border0px #000000;padding:0px;" alt="$thread[title]" /></a><br></div>
            
</if>
                <if 
condition="$thread['gars_marked_date']">$show[markedprefix]</if> <div align="left"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"style="font-weight:bold" </if>>$thread[threadtitle]</a></div>

            <if 
condition="$thread[byline]">
               <
div class="smallfont" align="left">$thread[byline]</div>
            </if>
            <if 
condition="$thread['synopsis']"><div class="smallfont" align="left" style="padding-top: 2px;" >$thread[synopsis]</div></if>
        </
div
          </
td>

        <
td class="page" valign="top" width="50%" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
        <
div>
                <
span style="float: $stylevar[right]">
                <if 
condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </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>
                    
$thread[openclose_editable]
                    <
img class="inlineimg" <if condition="$show['ajax_js']">onclick="GARS_AJAX_AutoFeature(this);"</if> id="af_icon_$thread[realthreadid]" src="$stylevar[imgdir_statusicon]/post_<if condition="$thread['gar_feature']">new.gif" alt="Feature"<else />old.gif" alt=""</if> />
                <if condition="
$show['inlinemod']"><input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> /></if>
                </span>
                <if condition="
$thread['header_image']">
               <div class="
smallfont" align="left"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="$thread[header_image]" border="0" style="border0px #000000;padding:0px;" alt="$thread[title]" /></a><br></div>
            
</if>
                <if 
condition="$thread['gars_marked_date']">$show[markedprefix]</if> <div align="left"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"style="font-weight:bold" </if>>$thread[threadtitle]</a></div>

            <if 
condition="$thread[byline]">
               <
div class="smallfont" align="left">$thread[byline]</div>
            </if>
            <if 
condition="$thread['synopsis']"><div class="smallfont" align="left" style="padding-top: 2px;" >$thread[synopsis]</div></if>
        </
div
          </
td>
        
        
        
</
tr
Reply With Quote
  #4  
Old 01-04-2007, 11:20 AM
zkilzz zkilzz is offline
Member
 
Join Date: Nov 2006
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

One idea is to make a new variable that shows the 15 latest articles and one that shows the 15-30 newest articles. Something like that! Then i could use one of the variabels for one of the TDs and another one for the other TD.

Thanks for complementing my style
Reply With Quote
  #5  
Old 01-04-2007, 11:24 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

The problem with the approach you have taken is that the $thread variable will always have the same information for both of your TD's. You wont be able to achieve what you are going for with template changes only. In fact, the template change is the easiest and most minor, the rest is in changing the php code
Reply With Quote
  #6  
Old 01-04-2007, 11:40 AM
zkilzz zkilzz is offline
Member
 
Join Date: Nov 2006
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Quote:
Originally Posted by The Geek View Post
The problem with the approach you have taken is that the $thread variable will always have the same information for both of your TD's. You wont be able to achieve what you are going for with template changes only. In fact, the template change is the easiest and most minor, the rest is in changing the php code
Ahh okay! Im not really strong on PHP! I will try to get some help of someone who cans.
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
What can I be doing wrong? poongamer Geek Advertising Banner System 2 06-29-2008 02:29 PM
What am i doing wrong?? Can't see the banners!! ukfg Geek Advertising Banner System 4 03-14-2008 09:15 PM
What am I doing wrong? BeautUtes.com Geek Article and Review System 7 05-16-2007 01:28 PM
What is wrong here kihon kata Geek Auto-Linker 9 04-30-2006 10:38 PM
Wrong Spelling mikem Lizard Lounge 0 02-09-2006 02:21 PM


All times are GMT. The time now is 08:48 PM.


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