In the following code below, you are assuming that everyone's mod control panel is found in the directory
modcp. But I changed mine for security purposes. I manually made the changes in your code but it may be an issue for others that have done the same. I highlighted in
red the directory I had to change to make this work.
BTW, I also changed the directory of my admincp!
Code:
]]></template>
<template name="postbit_modtools" templatetype="template" date="0" username="OrRyuN" version="1.1"><![CDATA[
<if condition="$show[modtools_basic] OR $show[modtools_adv]">
<if condition="$show[modtools_ban]">
<if condition="$post[usergroupid]=='8'"><!-- if user is banned -->
<tr><td class="vbmenu_option">
<a href="modcp/banning.php?do=liftban&u=$post[userid]">$vbphrase[modtools_liftban]</a>
<else /><!-- user is not banned -->
<tr><td class="vbmenu_option">
<a href="modcp/banning.php?$session[sessionurl]do=banuser&u=$post[userid]">$vbphrase[modtools_ban]</a></td></tr></if></if>
<if condition="$show[modtools_editsig]"><tr><td class="vbmenu_option"><a href="modcp/user.php?do=editsig&u=$post[userid]">$vbphrase[modtools_censorsig]</a></td></tr></if>
<if condition="$show[modtools_edit2]"><tr><td class="vbmenu_option"><a href="moderator.php?do=useroptions&u=$post[userid]">$vbphrase[modtools_edit2]</a></td></tr></if>
</if>