Hi everyone,
sorry I wasn't able to explain how I fixed the issue with this mod... here is the details:
what I did is changing
case 8 in the code to a custom template hook that you need to add manually...
so I've changed this :
Code:
case 8: $template_hook['postbit_controls'] .= $addfriend_postbit->render(); break;
to this:
HTML Code:
case 8: $template_hook['postbit_addfriend'] .= $addfriend_postbit->render(); break;
I did that twice in the same plugin and then add template hook manually in both
postbit and
postbit_legacy...
find this code:
Code:
<span class="postcontrols">
Add below it this code:
Code:
{vb:raw template_hook.postbit_addfriend}
and here is the modified plugin if you don't know how to do it...
however, you still need to add the custom template hook as I mentioned before, otherwise, it won't work...
any question, please ask...
Good luck!!