HOLD THE PRESSES!
HOLD THE PRESSES!
By withdrawing the code from the condition, the variable is being passed successfully!
So, here's what we have in the plugin - location is 'global_start':
PHP Code:
# Sanitize the variables, all of them are unsigned integers
$vbulletin->input->clean_array_gpc('r', array('c' => TYPE_UINT, 'e' => TYPE_UINT, 'g' => TYPE_UINT));
Here's what we have in the header template:
HTML Code:
<a href="/forums/forumdisplay.php?f={$vbulletin->GPC['e']}">
...which is being evaluated correctly as:
HTML Code:
<a href="/forums/forumdisplay.php?f=2">
Outstanding!
Gents, I appreciate your time, patience and expertise.
Please let me know how I can return the favor.
--------------- Added [DATE]1214867069[/DATE] at [TIME]1214867069[/TIME] ---------------
Follow Up!
Is there an easy way for me to get these values that I pass into the vBulletin templates to persist for the life of the user's session?
Is there a switch that we can call to maintain the values I pass in?