I don't see how I'm missing a quote. Very stange.
--------------- Added [DATE]1201192811[/DATE] at [TIME]1201192811[/TIME] ---------------
Found the problem, had to switch this line:
PHP Code:
'" . $upload->process_upload($vbulletin->GPC['img_file'] . "'
To this:
PHP Code:
'" . $upload->process_upload($vbulletin->GPC['img_file']) . "'
--------------- Added [DATE]1201192853[/DATE] at [TIME]1201192853[/TIME] ---------------
Still there is a problem, when it goes to upload, seems it doesn't even try to upload or anything.