hmmmm i can't get it to work
this is what i have done but no pop-up.
hook location newthread_start and newthread_post_start
and this is the code
Code:
if ($foruminfo['forumid'] == 356 && $_REQUEST['do'] == 'postthread')
{
$message = 'This is a message.';
echo "<SCRIPT>
alert('$message');
</SCRIPT>";
}
when i leave $_REQUEST['do'] == 'postthread' away, there is a pop-up only on the hook location newthread_start.
i now i do something wrong or use the wrong hook. but i don't know what.