Need help creating user online thing and Cookies
Ok so
My forum is on a seprate domain than my site, but both the forum and the site are on the same server, so what im doing is kinda intergrating them. Im remaking sorta a member system thats connected to the forum database. So the first thing I want to do is make a Users Online, Guests Online, Mods Online, Admins online thing, but I cant figure out how, I cant even find any guest data anywhere of when there actions were (in the tables). Ive looked through online.php but I couldnt figure out a thing that it was doing. So can anyone point me in the right direction?
Second I want it to be so I log in the forums and it sets the vbulletin cookie on 2 domains (i dont know if it is possible with setcookie) but I was going to try to just duplicate the lines that set it for vb, and make them have a cookie location of where it can be access of the site. But I kept comming across this vb_setcookie function or something, and I couldnt find where the actual function that set the cookie was, anyone know where?
|