Log in

View Full Version : Non-vb pages


misterfade
08-26-2005, 07:06 PM
Hi,

I'm currently running 3.0.7. and I have all my site's non-vb pages with this at the top:


chdir("/path/to/my/forums/");
require('./global.php');
include('./includes/functions_user.php');
$session['sessionhash'] = fetch_sessionhash();


I tried using that on my test forum for 3.5 RC2 and it's not working. Can anyone tell me what has changed for 3.5? The reason I have the above code is to call usernames and avatars on my non-vb pages, especially the usernames. This is really giving me a headache!

Thanks.

jugo
08-26-2005, 07:08 PM
usernames are now $vbulletin->userinfo['username']

misterfade
08-26-2005, 10:35 PM
Ok. But what about the lines of code I just mentioned? Would anything change in those?