Quote:
Originally Posted by X-Files
Fixed it myself.
functions_newpost.php
Change:
PHP Code:
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
To:
PHP Code:
if (! $post['preview']){
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
}
|
I think it would be better to wrap the plugin that goes in that hook with the conditional.
Doing it the way you suggest will cause issues down the road with any plugin that requires that hook, and previewing.