rrr - put it above the $printhr = false; line then.
Razz- Everytime someone brings this up - it turns out that it isnt in safe mode. There may be an occasional issue with the settings being built - but I havent seen it yet! Try this:
In your functions_showthread.php file, comment out the following line:
PHP Code:
$post['message']=preg_replace("<!--GAL_REMOVAL--> ","",$post['message']);
So it looks like this:
PHP Code:
//$post['message']=preg_replace("<!--GAL_REMOVAL--> ","",$post['message']);
Then rebuild your settings in safe mode and go to a page with mesed up URL. If it is still mesed up view the source and search for <--GAL_REMOVAL--> If it isnt there, it means the settings were not built right.
HTH's