View Full Version : VB3 enhanced templates
January 3rd, 2013, 06:34 PM
I've noticed in a lot of vb3enhanced templates there is
which should be
without the curly brace. I think some refactoring went wrong somewhere. I have been through all my templates and fixed it but that's from a live 5.23 copy.
January 3rd, 2013, 06:51 PM
Yes I show 6 templates in that set which had that and that has been corrected thanks.
January 4th, 2013, 03:04 AM
Off to work so no chance to be more thorough now, but I searched for
and it turned up a few more I think, I've yet to fix them yet.
January 4th, 2013, 07:30 AM
well there are some variables that should be surrounded with brackets just to let you know. LOL
January 4th, 2013, 11:59 AM
Heh, I started to have that feeling this morning.
I'll just do the six templates that you mentioned and see if I bump into anything else :)
January 4th, 2013, 12:07 PM
Just fyi, if I search in the root templates folder I find 7 files to fix.
January 4th, 2013, 12:42 PM
what do you mean by root templates folder as there are no files in the root of templates
I already fixed anything related to this in any templates folder in my build.
January 4th, 2013, 01:49 PM
I mean in the folder above the vb3enhanced folder, so the templates folder itself.
I'm sure you're right, but when I extract a fresh 5.23 I find matches in
January 4th, 2013, 01:50 PM
Oh and congratulations on your 70k post ;)
January 4th, 2013, 02:10 PM
Those are not root of templates those are subfolders and yes I already searched and found all those so thanks.
yeah I post alot and the sad thing is we already pruned a couple years from the database here.
January 4th, 2013, 08:37 PM
If I am not mistaken, (and that happens plenty of times :)) wouldn't it be better to leave the curly braces on rather then off. It should help with some ambiguity to the parser.
January 4th, 2013, 09:23 PM
No not at all both are valid
Part of the new versions was making variables more user friendly and the templating not being so PHP heavy handled but more straight html so users could understand and work with it more.
See how much simpler the second one is rather than the old way of doing it. ;)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.