The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
I went through this when I had my forums on the same server but different domains. Here's what I did. I created an external script on the same domain as the forum. The script echoed out the users online. I then included that script in the home page that I had on the other domain. It was a pain, but it worked.
|
#3
|
|||
|
|||
hmm that would be quite a pain... idk
Alright I cant do anything until I get the cookies working correctly between the 2 sites, so what I really need to know is what file the "vbsetcookie" function is in, ive looked everwhere but I cant find it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|