Unfortunately, that code did not work. So I had to modify it as below:
HTML Code:
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
<vb:if condition="$threadinfo['forumid'] == '19'">
<form action="postings.php?do=domovethread&t={vb:raw thread.threadid}" method="post" name="resolved" style="display:inline;">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="t" value="{vb:raw thread.threadid}" />
<input type="hidden" name="do" value="domovethread" />
<input type="hidden" name="title" value="{vb:raw thread.threadtitle}" />
<input type="hidden" name="redirect" value="none" />
<input type="hidden" name="redirecttitle" value="{vb:raw thread.threadtitle}" />
<input type="hidden" name="destforumid" value="31" />
<input type="submit" class="button" value="Resolved" />
</form>
<vb:elseif condition="$threadinfo['forumid'] == '32'" />
<form action="postings.php?do=domovethread&t={vb:raw thread.threadid}" method="post" name="resolved" style="display:inline;">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="t" value="{vb:raw thread.threadid}" />
<input type="hidden" name="do" value="domovethread" />
<input type="hidden" name="title" value="{vb:raw thread.threadtitle}" />
<input type="hidden" name="redirect" value="none" />
<input type="hidden" name="redirecttitle" value="{vb:raw thread.threadtitle}" />
<input type="hidden" name="destforumid" value="28" />
<input type="submit" class="button" value="Resolved" />
</form>
</vb:if>
</vb:if>
But the problem is that the following condition is not executing at all:
HTML Code:
<vb:if condition="$threadinfo['forumid'] == '19'">
Any help will be highly appreciated.
P.S. I tried the above condition with & without the apostrophe.