Ok...searched like a good little girl, found this
https://vborg.vbsupport.ru/showthrea...t=thread+field, followed it...and nada. It always adds the DB default value of '0', not the radio buttons.
What am I doing wrong??
1. Added field to DB
2. Added radio buttons to template for new thread (haven't even begun on edits
3. Added hooks:
newpost_process
Code:
if ($type == 'thread')
{
$dataman->setr('newfield', $post['newfield']);
}
newreply_post_start
Code:
$vbulletin->input->clean_array_gpc('p', array('newfield', TYPE_INT));
$newpost['newfield'] =& $vbulletin->GPC['newfield'];
threaddata_start
Code:
$this->validfields['newfield'] = array(TYPE_INT, REQ_YES);
threadpfdata_start
Code:
$this->validfields['newfield'] = array(TYPE_INT, REQ_YES);