The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Problem with pagination URL
Hello all,
Does anybody know what appears in the URL when one parameter is array? eg: &genders=Array&roles=Array is correct? Actually it must be correct as the pagination works just fine (I mean navigating between the pages), but I can't get the values for another action that I want. Testing the 1st page with: Code:
if (is_array($genders)) { echo "1"; print_r($genders); } The most important parts of the code before are: Code:
$vbulletin->input->clean_array_gpc('r', array( 'homeform' => TYPE_INT, 'genders' => TYPE_ARRAY_INT, 'roles' => TYPE_ARRAY_INT, .... )); $genders = $vbulletin->GPC['genders']; $roles = $vbulletin->GPC['roles']; // Below I've the code for counting the amount of rows etc etc. .......... // Storing the values to pass them as parameters $postvalues .= "&genders=".$genders; $postvalues .= "&roles=".$roles; // Finally building the page navigation $pagenav = construct_page_nav($pagenumber, $perpage, $records, 'dating.php?' . $vbulletin->session->vars['sessionurl'] . 'do=searchresults'.$postvalues.''); Code:
$postvalues .= "&genders=".implode(',',$genders); Any idea is welcome Thank you |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|