FinalAngel |
05-08-2006 08:38 AM |
It doesn't work in my forum too, i've this Code in the Plugin System:
Code:
$fieldname = 'field8';
if ($_GET['postbit'] == 'Left') {
$db->query('UPDATE ' . TABLE_PREFIX . 'userfield SET ' . $fieldname .' = \'Vertical Postbit\' WHERE userid=' . $vbulletin->userinfo['userid']);
$vbulletin->userinfo['field8'] = 'Vertical Postbit';
}
if ($_GET['postbit'] == 'Top') {
$db->query('UPDATE ' . TABLE_PREFIX . 'userfield SET ' . $fieldname .' = \'Horizontal Postbit\' WHERE userid=' . $vbulletin->userinfo['userid']);
$vbulletin->userinfo['field8'] = 'Horizontal Postbit';
}
The other codes in this Thread doesn't work after all.
My field nr is 8, i've vb 3.5.4. I can choose between the two options but nothing happens...
Can anyone help me ?_?
|