LOL - don't rip on yer poor co-desingner - it's the way VB handles replacement varialbles, even in code - it's happened to all of us!
Just be careful when copying code directly from the site - if it says { imagesfolder} (without the space after the {) it will give you the local reference path to it...
Glad it's working for you now - it's a great little hack!
PS - for clarity the following are the same except for the space following the {... In both cases I typed in the word
imagesfolder and
imagesfolder - in the first case the {} brackets are around the statement, in the second, I left a leading space after the first { - and here is the result - the absolute local path to this installations 'imagesfolder' shows up in the first case!! Welcome to the world of replacement variables...
https://vborg.vbsupport.ru/greentek
{ imagesfolder}
In both cases, I typed in imagesfolder - but in the first example, I left no spaces between { and the name. vBulletin then parses it as the path to the local 'imagesfolder' (which is
https://vborg.vbsupport.ru/greentek) - which is what happened to you. This can be annoying at times, but one of the things you have to watch for!
Try it for yourself and see...