M1sT3rM4n wrote:I just made a brand new forum, and installed the modbot on there. I then edited the posting.php and I still don't see the option to enable a bot response.
I think it might be your edits in posting.php. Check your work.
Yes, you are right, the problem is in posting.php. This lines need to be in the correct place :
$message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';
$message = include 'ai/posting_bot_option.php';
$message .= $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');
i saw, you added this lines, in other place, it is ok, but, when you added this lines again(did you remember this step?), the last line was added in this way :
$message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');
instead
$message .= $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');
The problem was the point "."
Explanation :
$message .= $msg;
this is similar
$message = $message + $msg;
if you dont add the point before the equal, you wont be able to see the prompt. because the prompt would be detected.
i am not sure if my explanation is clear, but if you want to create clearly instructions for this modbot, someones and i will be grateful.
PD: if you wish, show me your posting.php code (again) only this part, and i will rewrite that part of code. no problem.