PDA

View Full Version : how to make post counts and profile fields not show when guests post


Marcel Lee
08-07-2008, 06:38 PM
I want to make it so that post counts and profile fields do not show when guests post, because their post counts are always "n/a" and their profile fields are always blank.

Steve Machol told me "This can be done with template conditionals", but he "don't know conditionals well enough to help".

Opserty
08-07-2008, 08:20 PM
<if condition="$post['userid']">

</if>
Would probably be code to encapsulate the data.

Marcel Lee
08-08-2008, 12:04 AM
It worked. Thanks. :up: