I must be missing some syntax change in the versions. Can't find it in the vb manual? Can anyone spot it?
In PHP Include:
Code:
$cleantestvar =& $vbulletin->input->clean_gpc('g', 'imageid', TYPE_INT);
In template:
Code:
<center><img src="http://pokegym.net/gallery/displayimage.php?imageid=$cleantestvar"></center>
Welcome to the PokeGym Researching Tower, $bbuserinfo[username]!
<if condition="is_member_of($bbuserinfo, 33)"><a href="http://pokegym.net/gallery/editimage.php?i=$cleantestvar" target=_blank>Edit</a> this image or metadata</if>
This used to work until the version change (and upgrade to new web templates, hooray!)
So passing this gives a blank page!
Code:
http://server/forums/view.php?pg=towercard&imageid=52494
with nothing in Apache error_log.
but executing the template with $cleantestvar substituted with the value 52494 gives the desired result, so I'm guessing $cleantestvar is coming up null/blank.
Suggestions?