Our UBB forum runs on subdomain.domain.com, but I'd like to set the cookie to apply to all of domain.com. Can I just put a domain setting inside of the set cookie on line 572 of ubbt.inc.php to make this happen, or am I missing some other calls? Will this work OK?
Former versions of ubbthreads had setcookie calls all over, so it was a PITA to change.
one of the things Rick did in 6.4 was move it all into the ubbt_setcookie function - which to my knowledge is the only way cookies get set in threads.
Like I said, I havent' tested and am not 100% certain, but that was the reasoning behind centralizing the function. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
hey, just so you know, it's generally best for you to start a new topic than dredge up an old one. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> keeps things tidy, and will oftentimes get you a quicker response (because we'll see an unanswered thread).
in your configuration settings, you should be able to change the URL to just domain.com and the board would run on that domain...
i haven't tested this - but give it a shot and tell me if it does the trick for you. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />
Kate Thaete Groupee Guide: Scriptkeeper Groupee, Inc.
Again, untested - and use caution when you modify. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> Modify at your own peril. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />
This should be standard - at the moment you can be looged into www.ubbcentral.com but logged out of ubbcentral.com which is daft. Okay any decent webhost would repoint ubbcentral.com to www.ubbcentral.com - but there are many that don't. <img src="https://www.ubbcentral.com/boards/images/graemlins/tongue.gif" alt="" /> <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />
If this was as default it would enable sites to have seperate sub-domains for various sections - and all still work around the threads database.