Quote:
Originally Posted by Abhik
Thanks..
But is there any way to put this on Custom 404 Page?
|
Yes. But you have to integrate that page with vBulletin first. Adding these lines at the top of your custom 404 page will do the trick:
Code:
<?php
$forumpath = '/home/youraccountname/public_html/forum';
chdir($forumpath);
require_once('./global.php');
exec_shut_down();
?>
Edit the
$forumpath with config.php's
$config['Misc']['forumpath'] = setting.