Quote:
Originally Posted by bananalive
If you use the vB 4 default buttons use this:
PHP Code:
if ($threadinfo[threadid] == 31)
{
$show['quickreply'] = false;
$vbphrase['reply_to_thread'] = "Your Text";
}
You are getting the no securitytoken error because vBulletin now has different template syntax
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="searchthreadid" value="{vb:raw threadinfo.threadid]}'" />
Also use <vb:if> instead of <if>
|
Thanks BananaAlive,
The button one worked perfectly. Sorry, I have already done the <vb:if> and </vb:if>, I meant how to get the border around it (Box).
Many Thanks,
Once Again,
Welshy.