ageurtse
05-02-2009, 12:46 PM
how to rewrite this code to the newest vbulletin forum software ?
globalize($_REQUEST, array('perpage' => INT, 'pagenumber' => INT, 'showthumbs' => INT, 'userid' => INT));
--------------- Added 1241272909 at 1241272909 ---------------
i think i have solved it, this code seems to be working
$vbulletin->input->clean_array_gpc('r', array(
'perpage' => TYPE_INT,
'pagenumber' => TYPE_INT,
'showtumbs' => TYPE_INT,
'userid' => TYPE_INT,
));
globalize($_REQUEST, array('perpage' => INT, 'pagenumber' => INT, 'showthumbs' => INT, 'userid' => INT));
--------------- Added 1241272909 at 1241272909 ---------------
i think i have solved it, this code seems to be working
$vbulletin->input->clean_array_gpc('r', array(
'perpage' => TYPE_INT,
'pagenumber' => TYPE_INT,
'showtumbs' => TYPE_INT,
'userid' => TYPE_INT,
));