Quote:
Originally Posted by SirShaw
my stats script for bf2 relies on variables attached to the url. each player has a different url to pull up stats.
|
You can give it a shot for these 2 methods:
1- Edit view.php, find
PHP Code:
$pg = strtolower(trim($vbulletin->GPC['pg']));
after that add:
PHP Code:
$vbulletin->input->clean_array_gpc('r', array(
'input1' =>TYPE_INT
));
$input1 = strtolower(trim($vbulletin->GPC['input1']));
This should then allow you to use input1 variable in WT.
2- In php webtemplates, variables for header, footer, headinclude etc. are already compiles so I'd think just echo'ing them should work. Eg.
echo $header;
echo $headinclude;
echo $footer;
(I didn't test myself atm)