The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Login redirect wrong url
Hi!
Once I login into my vbulletin board, it says I am logged in successfully but the redirect takes me to an alternative url to my board, which renders the cookies useless. How do I change this? e.g. I go to community.mycompany.com, login and am redirected to alternativeservername.mycompany.com. How do I tell vbulletin that I need to be redirected to community.mycompany.com? More specifically, I looked at the code and it is the $vbulletin->options['forumhome'] variable that contains the wrong information. How do I change this thing? Where is it set? Can I override it? Thanks!! |
#2
|
|||
|
|||
admincp --> Cookies and HTTP Header Options --> cookie domain --> use custom setting
use .mycompany.com make sure to add the preceeding dot. |
#3
|
|||
|
|||
thanks for the suggestion,
actually I want to get rid of the second url altogether (I don't just want to allow it, I also don't want any links to show up anywhere) Secondly, the 2nd name is not of the form xxx.mycompany.com but totally different (eg xx.myothercompany.com) I tried searching in the sourcecode but I just can't find where that $vbulletin->options['forumhome'] is defined.. |
#4
|
|||
|
|||
Provide a link to your site, might help, also set up a test account for use.
|
#5
|
|||
|
|||
At last I found the problem. Due to some complicated proxy problem, the $_SERVER['hostname'] became the second name and that is used in the redirection meganism of vbulletin. Makes me wonder why this hostname is used anyway.... why not make the urls relative?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|