dstruct2k
04-24-2004, 10:00 PM
What this hack does:
Allows you to add a new phrase from the sidebar of the AdminCP in one click, instead of waiting for the Phrase Manager to load. :)
IN admincp/index.php:
Find:
construct_nav_option($vbphrase['phrase_manager'], 'phrase.php?do=modify&phrasetypeid=1', '<br />');
Add After:
construct_nav_option($vbphrase['add_new_phrase'], 'phrase.php?do=add', '<br />');
Now open the Phrase Manager and click "Add Phrase" (you'll never have to do this again! :D)
Add the phrase: add_new_phrase
Type: Control Panel Home Pages
Content: Add New Phrase
You're done! Save the phrase and upload admincp/index.php, and enjoy my first released mini-hack! :D
(Credit goes to Gary W for giving me the idea for this one. :))
If you install this hack, please click, lick, smack, press, bang, hit, or smash the install button (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=64370)! :D Thanks!
Allows you to add a new phrase from the sidebar of the AdminCP in one click, instead of waiting for the Phrase Manager to load. :)
IN admincp/index.php:
Find:
construct_nav_option($vbphrase['phrase_manager'], 'phrase.php?do=modify&phrasetypeid=1', '<br />');
Add After:
construct_nav_option($vbphrase['add_new_phrase'], 'phrase.php?do=add', '<br />');
Now open the Phrase Manager and click "Add Phrase" (you'll never have to do this again! :D)
Add the phrase: add_new_phrase
Type: Control Panel Home Pages
Content: Add New Phrase
You're done! Save the phrase and upload admincp/index.php, and enjoy my first released mini-hack! :D
(Credit goes to Gary W for giving me the idea for this one. :))
If you install this hack, please click, lick, smack, press, bang, hit, or smash the install button (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=64370)! :D Thanks!