PDA

View Full Version : Need a condition for attachments row


VADOS
12-15-2007, 05:44 PM
Hello everybody!

I'm making some special mod for my board and now expecting one problem.

There is an options in "General vB options" -> "Attachment options" called "attachrow" - you can set a number of attached thumbnails for each row.

Now I need to make such a condition:
<if condition="$foruminfo['forumid'] == 3">
show 1 attached thumbnail for each row
<else>
5 attached thumbnails for each row
</if>

Please help the beginner (i.e. me :D), what and where should I change to make such a condition?

Thank you!