Quote:
Originally Posted by wholemama
Has anyone successfully had this working on 3.6?
|
Yes if you just upgraded from vB3.5x to vB3.6 you need to go back through and modify your templates and FOUR vBulletin PHP files as per the instructions.
Be very careful and use a little judgement as there are subtle adjustments that need to be made. For instance in postings.php the following mod needs to be used:
Code:
// M/DD/YY PRIVATE THREADS PORT
if ($_POST['do'] == 'updatethread')
{
$vbulletin->input->clean_array_gpc('p', array(
'visible' => TYPE_BOOL,
'open' => TYPE_BOOL,
'sticky' => TYPE_BOOL,
'iconid' => TYPE_UINT,
'notes' => TYPE_NOHTML,
'threadstatus' => TYPE_UINT,
'reason' => TYPE_NOHTML,
'title' => TYPE_STR,
'redirect' => TYPE_STR,
'frame' => TYPE_STR,
'period' => TYPE_UINT,
'privatethread' => TYPE_UINT,
'privateusers' => TYPE_STR
));
// END PRIVATE THREADS PORT
Instead of:
Code:
// M/DD/YY PRIVATE THREADS PORT
if ($_POST['do'] == 'updatethread')
{
$vbulletin->input->clean_array_gpc('p', array(
'visible' => TYPE_BOOL,
'open' => TYPE_BOOL,
'sticky' => TYPE_BOOL,
'iconid' => TYPE_UINT,
'notes' => TYPE_NOHTML,
'threadstatus' => TYPE_UINT,
'reason' => TYPE_NOHTML,
'title' => TYPE_STR,
'redirect' => TYPE_STR,
'privatethread' => TYPE_UINT,
'privateusers' => TYPE_STR
));
// END PRIVATE THREADS PORT
because of the two additional fields in v3.6. Just be careful and if you understand PHP you will be fine.