View Full Version : Switch On/Off Out-of-Date Custom Templates Notifications in admincp

14 Jan 2006, 20:07
I see that many people asking for something to disable Out-of-Date Custom Templates Notifications.

Now I worked on it only 30 seconds & get it work with 2 file edits (in one file - admincp/index.php) & a small product to give the ability to switch On/Off this Notification.

I made it as a product to be easly installed & uninstalled if this option comes in future vbulletin versions as a default option.

Installation: go to admincp dir & then to index.php file & open it in any php or text editor & find in it the following code:
// before the quick stats, display the number of templates that need updating

add above it directly the following code:
if ($vbulletin->options['disablevboutodt'])

in the same fille find the following code:
// *******************************
// Admin Quick Stats -- Toggable via the CP
$starttime = mktime(0, 0, 0, date('m'), date('d'), date('Y'));

add above it directly the following code:

Now Save your work & upload the file in its place
Now go to your admincp & then to Manage Products then [Add/Import Product] then import the attached product.

Now you are done

to use the hack & see that option follow the following steps:
Admincp >> vBulletin Options >> Admin Control Panel Options >> see at the button for this option (Switch On/Off Out-of-Date Custom Templates Notification.) you will see it as default (yes) make it No if you need to disable it.

15 Jan 2006, 01:15
Thanks man, I asked there for :)


Click Install

25 Jan 2006, 09:10
yes & I coded it for you & any one need it :)