Log in

View Full Version : Where are template conditionals parsed?


Colin F
10-13-2004, 03:56 PM
Hi

I would like to have a look at how it's done... I tried to do something similiar and used sscanf(), but I can't find what vBulletin uses.

Show me how the masters do it ;)

Zachery
10-13-2004, 04:06 PM
Hi

I would like to have a look at how it's done... I tried to do something similiar and used sscanf(), but I can't find what vBulletin uses.

Show me how the masters do it ;)
look in adminfunctions_template or template in the admincp directory :)

Colin F
10-13-2004, 04:32 PM
Of course, why don't I look in the adminfunctions files... well, I didn't expect it to be an adminfunction ;)

Thanks Zachery!

Zachery
10-13-2004, 04:34 PM
Of course, why don't I look in the adminfunctions files... well, I didn't expect it to be an adminfunction ;)

Thanks Zachery!
:)

Also, templates are kept in two forms by default IIRC, unparsed (so we can edit them) and parsed, so vBulletin can use them.