I simply changed it to the following...
Code:
$venue = htmlspecialchars($vbulletin->input->clean_gpc('p', 'venue', TYPE_STR),ENT_QUOTES);
According to the VB manual... this is the way to do it
https://vborg.vbsupport.ru/showthread.php?t=119372
Code:
clean_gpc('p', 'venue', TYPE_STR)
The
'p' is a subsitute for $_POST... g would be for $_GET, r would be for $_RETRIEVE, etc...