Log in

View Full Version : "$bbuserinfo"?


Revan
09-04-2005, 12:21 PM
How does vBulletin handle the convert between $vbulletin->userinfo in the fs and $bbuserinfo in the templates?
I searched all the obvious files, and came up short.
I want to make my pwn "$classvar-> to $shortvar[]" replacement, see.

Andreas
09-04-2005, 12:23 PM
function replace_template_variables() in functions_misc.php

Revan
09-04-2005, 12:43 PM
Thank you sir :)
Now thats a pity, no hooks.

Andreas
09-04-2005, 12:46 PM
Request'em :)
AFAIK there will be Hooks in process_template_conditionals() and compile_template(), so that might help.

Revan
09-04-2005, 12:52 PM
Yeah, that should do the trick.
For now I can practice ripping vB's regex to get my stuff working :p