Unfortunately, it does not work. For example if I call $session[dbsessionhash] in my PHP file I get nothing, but if I call $vbulletin->session->vars['dbsessionhash'] I get what I want.
I have included a PHP file with the plugin system, like explained on
http://www.vbulletin.com/forum/showthread.php?t=173937
Then in the template I call the output of my external script and that works fine.
But when I want to access $vbphrase[good] for example, I get nothing. So that is why I hoped there was a rewrite because that worked with the session info (also with userinfo).
So how can I call $vbphrase[good] in my external PHP file which I include in the template with the plugin option?