[eluser]CroNiX[/eluser]
[quote author="DemiGod" date="1241069706"]In the codeigniter environment though, vBulletin generates a bunch of error notices about undefined indexes (ipoints, posts, membergroupids, posts, displaygroupid). The homepage is still updated though. Code follows below:[/quote]
Yes I ran into this as well, but the solution was the same that you did here:
Code:
function getSessionHash()
{
// using vbulletin globals
global $sessionhash;
return $sessionhash;
}
Those variables you were having troubles with are in the global namespace within the vb application and NOT a part of the object, so you need to declare them global to get access to them from within CI. I was thinking about compiling a list of these variables and then adding them to my CI vb library, but as of now I have just been adding them as I encounter the errors. Been working so far...