I'm not sure where you got that from - if I were to grab a login form, I'd grab it straight from the navbar template. But anyway, I surprised it even worked since the variable names are wrong. It should be $vbulletin->userinfo['userid'] and $vbulletin->userinfo['username'] . I didn't look through the form code, but I would guess some of those may be wrong too. And, you really should not use echo - you should use the templating system. You may want to go look in the articles forums for some articles on creating external pages.
|