View Full Version : adminfunctions_template.php
July 26th, 2005, 11:47 PM
The adminfunctions_template.php template modification could be moved to a plug-in in 3.5, like so:
Hook Location: template_groups
$only['adv_gallery'] = $vbphrase['group_adv_gallery'];
One less file you need to touch.
July 27th, 2005, 05:45 AM
Thanks for the tip.
Brian just wanted to get working versions of the applications out and available, so he'll be optimizing them for 3.5 as time passes.
July 27th, 2005, 09:46 AM
Unless I just missed something, I believe that hook was just added in one of the last two versons or so. If there's a hook for that now though we will be adding that to the install file soon. :)
July 27th, 2005, 09:47 AM
Yeah, they added quite a few new hooks with RC1. That could have been one of them.
July 27th, 2005, 11:21 AM
Yep... just double checked, and it was added with RC1, just happened I only checked to see if there was a hook for it right after I upgraded to RC1. :)
July 27th, 2005, 11:36 AM
That one was my doing by poking scott with a hot branding iron ;)
July 27th, 2005, 11:53 AM
See, Zach can get mean when he wants something done. :p
July 27th, 2005, 01:33 PM
That one was my doing by poking scott with a hot branding iron ;)Good, can I pay you to get 3 more hook locations in there? (2 I have good arguments for, 1 well... would just be nice to not have to hack any files at ALL). heh
July 27th, 2005, 03:44 PM
My original suggestion was to move all template categorys to an xml file and have it built like the admincp nav, :) maybe for antoher day.
July 27th, 2005, 04:27 PM
Yeah, that would have been even better. :)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.