PDA

View Full Version : Check Post Count...


robertpro2a
07-28-2008, 10:19 PM
Edit: Works now. My apologies.

I searched with no luck. I'd like to display a certain image if post count exceeds xxx.
Using "$post[posts]", how can I use the VB condition statement to do this?

i.e.:

<if condition="$post[posts]>100"><img src = PICTURE.JPG></if>

But not luck..
Thanks.

Opserty
07-29-2008, 07:52 AM
Where exactly are you displaying the image? In the postbit?

If so try:

<if condition="$post['posts'] > 100"><img src="PICTURE.JPG"></if>

I'd test with a bit of text first, then put the image in when you know its working.