Hello, long time no post. Sorry about that, work work and more work!!
I have a ravenNuke 7.6 site and Ive recently built a bespoke site for a subdomain.
I need the nuke cookie to be set so that the subdomain can recognise it.
Ive got so far. i have altered the code in Your_Account/index.php - function docookie() to this:
That sets the cookie to mydomain.com instead of www.mydomain.com, allowing my subdomain to read it.
The cookie works fine right across my main nuke site, in the forums and on the subdomain.
BUT, there is a twist!! (isnt there always)
Now, you can't log out of the nuke site anymore.
I am assuming I need to make some changes to function logout();
But Im buggered if I can find any changes to make.
Unfortunately, it didn't seem to work. i still stay logged in when I tried to logout.
So I went on a googly search to brush up on how cookies work and how to delete them.
I found out that to "delete" a cookie, all you had to do is overwrite it with empty values, which I think, is what your code was trying to do.
So i came up with this:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum