PDA

View Full Version : How to add a new phrase in one click when in admin cp (for those lazy ones among you)


Gary King
01-06-2004, 10:00 PM
Those of you who install this hack should also install this hack for maximum admin cp browsing efficiency :D ( https://vborg.vbsupport.ru/showthread.php?t=59809 )

Using this hack, you can just make one click in your admin cp to add a new phrase, without making several clicks (by going to your Phrase Manager, and then to the very bottom - Add New Phrase :)

I use this modification a lot myself (as well as the other modification I released for admin cp navigational efficiency :)), 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

Open up admincp/index.php and find construct_nav_option($vbphrase['search_in_phrases'], 'phrase.php?do=search', '<br />');


Below, add construct_nav_option($vbphrase['add_new_phrase'],'phrase.php?do=add','<br />');


Now create a new phrase called add_new_phrase, in the Control Panel Home Pages phrase type, and put the following in the content:Add a New Phrase

Hack is now installed, enjoy! :D

Link14716
01-07-2004, 12:52 AM
Yay for laziness! :D

I will install this shortly. :)

Boofo
01-07-2004, 03:15 AM
Nice, Gary, but I got even lazier and put it in a special js menu for mystuff on the foumhome. ;)

What would the command line be for adding a template?

Gary King
01-07-2004, 12:57 PM
Nice, Gary, but I got even lazier and put it in a special js menu for mystuff on the foumhome. ;)

What would the command line be for adding a template?
Wow pure laziness there :D

Also, template.php?$session[sessionurl]group=&amp;do=add&amp;dostyleid=1 for adding new template to styleid 1 :)

Boofo
01-07-2004, 01:44 PM
Would that change all the style's templates then (when it is 1)?

BYW: If you do the edit template code like you have it, it comes up the same way as View All does, so you can combine the 2 and save some work. ;)

Gary King
01-08-2004, 11:16 AM
Would that change all the style's templates then (when it is 1)?

BYW: If you do the edit template code like you have it, it comes up the same way as View All does, so you can combine the 2 and save some work. ;)
True :)

KuraFire
01-08-2004, 12:03 PM
Nice idea, but hopefully will no longer be necessary with the HTL...

Good idea though :):up:

Boofo
01-08-2004, 12:20 PM
Nice idea, but hopefully will no longer be necessary with the HTL...

Good idea though :):up:
HTL?

KuraFire
01-08-2004, 01:03 PM
HTL?

HTL: Hack Tracking Log (https://vborg.vbsupport.ru/showthread.php?t=57860)

Boofo
01-08-2004, 01:05 PM
Well, where is it? ;)

KuraFire
01-08-2004, 02:18 PM
click the link in my sig, read the thread to the end :p

Boofo
01-08-2004, 02:35 PM
I already read it, sir.;)

Those are just words, I want to see a little action coming my way, Mister! :pirate: :lick:

KuraFire
01-08-2004, 03:04 PM
Yehwell, you'll have to be patient just like everyone else :p

Mike Gaidin
01-11-2004, 03:44 PM
Lazy rules!

/me clicks install.

gmarik
01-17-2004, 07:48 AM
Is it good, guys?

SaN-DeeP
06-05-2004, 08:25 AM
is there a way to add multiple phrases from 1 place :)

Sandy...