pyro.699
10-25-2005, 10:27 PM
if (isset($_POST['rpg_name_int']))
{
$db->query_write(
"UPDATE ". TABLE_PREFIX ."thread
SET rpg_name_int = '1',
WHERE threadid = '" . $vbulletin->threadinfo['threadid'] . "'
);
}
This is used in a plugin
Hook Location: newthread_post_complete
nothing really happens. no errors, i check my db, i took a sc of what i want it to look like
www.frozencreations.net/stuff/stuff.gif
when it posts i want it to set those values to 1
Ty
~Cody
{
$db->query_write(
"UPDATE ". TABLE_PREFIX ."thread
SET rpg_name_int = '1',
WHERE threadid = '" . $vbulletin->threadinfo['threadid'] . "'
);
}
This is used in a plugin
Hook Location: newthread_post_complete
nothing really happens. no errors, i check my db, i took a sc of what i want it to look like
www.frozencreations.net/stuff/stuff.gif
when it posts i want it to set those values to 1
Ty
~Cody