PDA

View Full Version : How to show all templates in one click OR add a new template when in the admin cp!


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&amp;expandset=1&amp;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&amp;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

MindTrix
01-06-2004, 09:28 PM
LOL simple and sweet :)
Nice one.
Using this hack, you can just make one click in your admin cp to see all your hacks
See all your hacks? ;)


Thanks!!

Dark_Wizard
01-06-2004, 09:52 PM
Cool...nice little addition.

MGM
01-06-2004, 11:26 PM
sweet! another great addition by Gary :P

/me clicks Install

MGM out

Gary King
01-06-2004, 11:33 PM
LOL simple and sweet :)
Nice one.

See all your hacks? ;)


Thanks!!
Fixed :p

Aaron1
01-07-2004, 08:46 AM
Sounds cool & handy!
But is this hack also available for a Vbulletin version 2.* ?

Gary King
01-07-2004, 12:45 PM
Sounds cool & handy!
But is this hack also available for a Vbulletin version 2.* ?
https://vborg.vbsupport.ru/showthread.php?p=458028#post458028

:)

Gary King
01-08-2004, 07:01 PM
Bump (instructions updated, added a new "feature" ;)) :D

SloppyGoat
01-09-2004, 08:49 PM
Sweet! Thanks!

Mike Gaidin
01-11-2004, 03:31 PM
/me clicks install.

gmarik
01-17-2004, 07:49 AM
/me asks: is it efficient?

Boofo
01-21-2004, 07:29 PM
How about one for Edit Templates?

Gary King
01-21-2004, 07:39 PM
How about one for Edit Templates?
?

Gary King
01-21-2004, 07:39 PM
* gmarik asks: is it efficient?
Of course it is ;) Anyways you don't lose anything from installing this hack :)

Boofo
01-21-2004, 10:58 PM
?
The same thing that is in the Style drop down for Edit Templates.

The General
04-11-2004, 04:47 PM
The same thing that is in the Style drop down for Edit Templates.
Excellent hack! Very handy...thanks!

weitalia
07-15-2004, 01:35 PM
Very nice hack,I installed and i notice very fast new templates creation.
But what about Boofo's question? I'm interested in it,in a way to edit ALL TEMPLATES and update them too [i need too many things to be synchronized,like Top10 hack,Quote hack,statistik hack,vbarcade and so on!!!]
I hope u could think in this ;)

;)