Gary King
01-05-2004, 10:00 PM
Using this hack, you can just make one click in your admin cp to see all your templates, OR add a new template, without making several clicks :)
I use these modification a lot myself, because it saves me some time, especially on slower hosts and such which takes more time to get to where I want to go :p
Instructions
For the modification to view all templates
Open admincp/index.php and find construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
Below, add: construct_nav_option($vbphrase['view_all_templates'],'template.php?do=modify&expandset=1&group=all','<br />');
Now create a new phrase called view_all_templates, in the Control Panel Home Pages phrase type, and put the following in the content:View All Templates
For the modification to add a new template
Open admincp/index.php and find construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
Above, add: construct_nav_option($vbphrase['add_new_template'],'template.php?do=add&dostyleid=1','<br />');
Now create a new phrase called add_new_template, in the Control Panel Home Pages phrase type, and put the following in the content:Add a New Template
Also, if your default style isn't styleid 1 (not the first one after installing vBulletin, but one that you created) then change the 1 in the added code, to whatever other styleid you are using :)
Hack is now installed, enjoy! :D
I use these modification a lot myself, because it saves me some time, especially on slower hosts and such which takes more time to get to where I want to go :p
Instructions
For the modification to view all templates
Open admincp/index.php and find construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
Below, add: construct_nav_option($vbphrase['view_all_templates'],'template.php?do=modify&expandset=1&group=all','<br />');
Now create a new phrase called view_all_templates, in the Control Panel Home Pages phrase type, and put the following in the content:View All Templates
For the modification to add a new template
Open admincp/index.php and find construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
Above, add: construct_nav_option($vbphrase['add_new_template'],'template.php?do=add&dostyleid=1','<br />');
Now create a new phrase called add_new_template, in the Control Panel Home Pages phrase type, and put the following in the content:Add a New Template
Also, if your default style isn't styleid 1 (not the first one after installing vBulletin, but one that you created) then change the 1 in the added code, to whatever other styleid you are using :)
Hack is now installed, enjoy! :D