felixthekat85
12-02-2010, 12:58 PM
:(:( Does not work:
$foroid = $vbulletin->forum['forumid'];
if ($foroid != 24)
{
$vbulletin->db->query_write("
INSERT INTO " . TABLE_PREFIX . "followusernotify (userid, message)
VALUES
($tousername, '$subject: <a href = $forumurl/showthread.php?t=$threadid&p=$postid>$threadtitle</a> $subject')
");}
Help Me!!
--------------- Added 1291304552 at 1291304552 ---------------
I explained wrong.
When user create a thread, calls this function
$vbulletin->db->query_write("
INSERT INTO " . TABLE_PREFIX . "followusernotify (userid, message)
VALUES
($tousername, '$subject: <a href = $forumurl/showthread.php?t=$threadid&p=$postid>$threadtitle</a> $subject')
")
I want to do is:
if the user creates a thread in forum ID=24 is not fulfilled.
then I did so:
$foroid = $vbulletin->forum['forumid'];
if ($foroid != 24)
{....}
but no work!!!
because, although the user create a thread in the forum ID=24 this is true
$foroid = $vbulletin->forum['forumid'];
if ($foroid != 24)
{
$vbulletin->db->query_write("
INSERT INTO " . TABLE_PREFIX . "followusernotify (userid, message)
VALUES
($tousername, '$subject: <a href = $forumurl/showthread.php?t=$threadid&p=$postid>$threadtitle</a> $subject')
");}
Help Me!!
--------------- Added 1291304552 at 1291304552 ---------------
I explained wrong.
When user create a thread, calls this function
$vbulletin->db->query_write("
INSERT INTO " . TABLE_PREFIX . "followusernotify (userid, message)
VALUES
($tousername, '$subject: <a href = $forumurl/showthread.php?t=$threadid&p=$postid>$threadtitle</a> $subject')
")
I want to do is:
if the user creates a thread in forum ID=24 is not fulfilled.
then I did so:
$foroid = $vbulletin->forum['forumid'];
if ($foroid != 24)
{....}
but no work!!!
because, although the user create a thread in the forum ID=24 this is true