View Full Version : Login
attroll
08-12-2005, 02:51 AM
I can login to the CMPS page but when I go to foums I do not stay logged in.
I have the Use Module Shell Template on and this is the Form Code I have:
<script src="{$vbulletin->options[bburl]}/clientscript/vbulletin_md5.js" type="text/javascript"></script> <form action="{$vbulletin->options[bburl]}/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)"> <input name="vb_login_md5password" type="hidden" /> <input name="s" type="hidden" value="" /> <input name="do" type="hidden" value="login" />
I have all my users groups have there access set to this also.
attroll
08-12-2005, 02:56 AM
I think I found the reason. When I click on the forums it takes me to http://domain.mysite.com/forums/? instead of taking me to http://mysite.com/forums/?
If I manually type http://mysite.com/forums I am logged in.
Now I need to figure out why it is doing this.
attroll
08-12-2005, 03:25 AM
I have come to the conclusion that is has something to do with the CMPS hack. The reason why I say this is if I type my forums link like this http://www.mysite.com/forums/ and go to my forums without going through CMPS then evereything is fine.
But if I log into my CMPS and then go to the forums then it adds http://domain.mysite.com/forums/ to the domain name.
Brian or anyone if you have any ideas on this please let me know. This is bugging the crap out of me.
attroll
08-12-2005, 05:05 AM
I seem to have fixed this problem.
Here is what I did. I changed the code in the navbar that sent me to the forums that used this coded
$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]
I replace it with the following
http://www.mysite.com/forums/index.php?$session[sessionurl]
Now it seems to be working.
Slayne
09-07-2005, 11:51 PM
Interesting, I'm currently in the exact opposite boat. The CMPS won't stay logged in, but the forum works fine.
Soon as I close the browser and open a new one, the CMPS logs itself out, but the cookies keep the forums logged in so I can continue browsing. If I go to the forum first, then backlink to the CMPS index page, it logs me in. Just can't go to it by default. Though I am using an older version of VB, need to update sometime soon I suppose.
Brian
09-09-2005, 06:57 PM
Have you checked the FAQ forum here?
Interesting, I'm currently in the exact opposite boat. The CMPS won't stay logged in, but the forum works fine.
Soon as I close the browser and open a new one, the CMPS logs itself out, but the cookies keep the forums logged in so I can continue browsing. If I go to the forum first, then backlink to the CMPS index page, it logs me in. Just can't go to it by default. Though I am using an older version of VB, need to update sometime soon I suppose.
Actually I have the same problem. I Tried to applicate the suggestions in FAQ Forum, but was Useless. I can´t login in CMPS, but as Slayne said the cookies kept the forum logged in...and the only way to acces as logged in to the CMPS is loggin´in in the forum...
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.