The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
while looking through includes/class_core.php I saw the function globalize_gpc($variables) which takes data from the $vbulletin->GPC array and reglobalizes it.
Is this function to be available in future or is it possible to use it now ? I'd like to replace several code like $perpage = $vbulletin->input->clean_gpc('r', 'perpage', TYPE_UINT); $pagenumber = $vbulletin->input->clean_gpc('r', 'pagenumber', TYPE_UINT); $daysprune = $vbulletin->input->clean_gpc('r', 'daysprune', TYPE_INT); $sortfield = $vbulletin->input->clean_gpc('r', 'sortfield', TYPE_STR); with something like $vbulletin->input->globalize_gpc($vbulletin->input->clean_array_gpc('r', array( 'perpage' => TYPE_UINT, 'pagenumber' => TYPE_UINT, 'daysprune' => TYPE_INT, 'sortfield' => TYPE_STR ))); so that $sortfield, $daysprune, $pagenumber and $perpage are global anyone know if its possible ? thanks in advance. __________________ (vbportal developer) http://www.vizdepot.com/ is running vbportal 3.0.x |
#2
|
||||
|
||||
![]()
Question seconed. I tried some but couldn't get it to work.
|
#3
|
||||
|
||||
![]()
Bump.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|