I finally bit the bullet and upgraded to vb4 -- and now am weeding through my customizations *sigh*
This code was on my 3.8 postbit_legacy that rotated signatures based on the forum the post was in. I tried updating it for vb4 but it's not working. Can someone spot what I did wrong?
This code was on my 3.8 postbit_legacy that rotated signatures based on the forum the post was in. I tried updating it for vb4 but it's not working. Can someone spot what I did wrong?
Code:
<vb:if condition="$post['signature']"> <blockquote class="signature restore"><div class="signaturecontainer"><vb:if condition="in_array($forum[forumid],array(9,204,209,98)) AND $post['field86']">{vb:raw post.field86} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(123)) AND $post['field87']">{vb:raw post.field87} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(125)) AND $post['field88']">{vb:raw post.field88} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(8,56,34)) AND $post['field89']">{vb:raw post.field89} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(10)) AND $post['field90']">{vb:raw post.field90} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(201)) AND $post['field91']">{vb:raw post.field91} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(5,200,61)) AND $post['field85']">{vb:raw post.field85} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(7,52,46,59)) AND $post['field92']">{vb:raw post.field92} <br /></vb:if> <vb:if condition="in_array($forum[forumid],array(205)) AND $post['field93']">${vb:raw post.field93} <br /></vb:if> {vb:raw post.signature}</div></blockquote> </vb:if>
Comment