if ($vbulletin->options['threadpreview'] > 0){ $hook_query_fields .= ", post.pagetext AS previewbbcode"; }