The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   postbit_display_complete hook problem (http://www.thevbgeek.com/showthread.php?t=2358)

Lionel 10-24-2006 06:44 PM

postbit_display_complete hook problem
 
There appears to be some problem as described on here

Lionel 10-24-2006 07:02 PM

Surely there must be some conditionals that triggers the display of summary of articles on top of other pages? Then I can do <if condition is not display summary on top of page> then do post thank you

The Geek 10-25-2006 12:03 AM

You can do a conditional to see if the postid is the thread firstpost id... Im doing this off the top of my head so dont bugger me if its not right...
<if condition="$thread[firstpostid]==$post['postid']">
Your in the first post
</if>

HTHs

Lionel 10-25-2006 08:21 AM

I tried putting this in Gars_pb that does not work

Lionel 10-25-2006 08:26 AM

thread firstpostid is null in GARS. I see postcount starts with first comment

Lionel 10-25-2006 09:06 AM

maybe there is a conditional I could put in gars_comment to detect the first comment on a page? In that case that would be #11, #21, #31 etc always incrementing by 10. Cause GARS treat the summary of first thread as a comment (at least in the count)

The Geek 10-25-2006 10:46 AM

Yes, in the count it treats it separately.

Lionel 10-27-2006 05:57 PM

OK, let me ask another question. Can that be disabled the display of article summary on top of every new page?


All times are GMT. The time now is 01:34 AM.

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