hi secondv is there away i can have it like my bump plugin
heres the code i used for that plugin
Code:
<if condition="$permissions['bumpthreadspermissions'] & $vbulletin->bf_ugp['bumpthreadspermissions']['canbump']">
<td class="tcat" align="$stylevar[right]">
<div class="smallfont">
<a href="postings.php?$session[sessionurl]do=bump&t=$threadid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/bump.gif" border="0" alt="$vbphrase[bump]" /></a>
</div>
</td>
</if>
<if condition="$permissions['bumpthreadspermissions'] & $vbulletin->bf_ugp['bumpthreadspermissions']['candebump']">
<td class="tcat" align="$stylevar[right]">
<div class="smallfont">
<a href="postings.php?$session[sessionurl]do=debump&t=$threadid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/debump.gif" border="0" alt="$vbphrase[debump]" /></a>
</div>
</td>
</if>