PDA

View Full Version : forum not remembering usernames and passwords ...


A.Dutsov
04-11-2012, 06:39 AM
The forum is not logging us automatically like other forums, like this forum also, we use 'remember me' but its just not remembering. The forum is drifting.bg/forum if it matters, its alot modified to be implemented into wordpress, but the code is not changed, only moved some elements, like the login panel etc ... the coocies path was set to / and to /forum/ without effect ... now its set to / ... the problem is not in the browser or something like that ... its forum problem, because its for every user, and no matter opera, mozilla, chrome or IE is used. I think its because of the theme modifying ... but i read the code and i cant find a problem ... we was thinking to upgrade to 4.12, but i am scared to lose our work, i dont know what happens when upgrade, do i loose all my changes on the forum files like header, footer, css files ...

Lynne
04-11-2012, 02:54 PM
If you allow users to login to your site via both http://www.yoursite.com and just yoursite.com., then you MUST have your cookie domain (AdminCP > Settings > Options > Cookies and HTTP Header Options > Cookie Domain) set to ".yoursite.com" (no quotes, but note the period at the beginning) or your users will have problems. Also, make sure to tell your users to click the Remember Me button when they login.

A.Dutsov
04-11-2012, 03:13 PM
but my forum domain is not forums.drifting.bg but drifting.bg/forum/ so do i need this with the dot? also, do i need to enter .drifting.bg/forum/ or just .drifting.bg ... because in drifting.bg/ i have the wordpress, and it also has a login ... and about the remember me, they know they have to use it if they want to stay logged in ... i also use this, for this forum it works ok, but in our forum its not working ... i will try what you suggest and write again

Lynne
04-11-2012, 08:49 PM
Since I can access your forum via both http://www.drifting.bg/forum/ and http://drifting.bg/forum/, then yes, you definitely need the dot.

A.Dutsov
04-17-2012, 11:23 AM
i did it with dot, its the same, so now i am ready to pay you, if you are interested, to investigate my problem and solve it ... i tried all possible solutions, and i think we messed something up, because we changed the possition of the login panel, and also modified the theme alot to suit our needs, but now we cant find the problem, and i think we need help from somebody who can investigate from where the problem comes ... so if somebody here is interested, please email me at a d u t s o v @ d f a c t o r y . b g i can pay with paypal. But please everybody willing to help me, first to write something here, so i can check his "name" and then to send me email, and tel me his nickname from the forum, because i am not going to give access to our board to somebody without reputation and name.

I added .drifting.bg/forum/ to custom cookie domain settings, and made the cookie path to /forum/ , the settings are:
Session Timeout: 900 (default)
Path to save cookies: /forum/
Cookie domain - suggested settings - blank (default)
custom settings .drifting.bg/forum/ (tried also .drifting.bg - also not working)
all other settings are standard - yes, 1, no, no, yes, no (default settings)
vbulletin version is 4.11

kh99
04-17-2012, 01:30 PM
I know you said you tried both of these above, but just in case you didn't try all combinations, did you try:

Path to save cookies: /
Cookie domain: .drifting.bg

Did you change anything about the way login works (like for instance are you doing it from an "external" page?

A.Dutsov
04-17-2012, 01:47 PM
at the moment its like that, and its not working, we didnt changed anything else than the login possition ... just changed the login place ... only the remember me is not working ...

kh99
04-17-2012, 01:49 PM
Could you provide a test account? (I could try to register but I can't read whatever language that is :) ) ETA: I see now that you have English as well.

Lynne
04-17-2012, 04:48 PM
Also, make sure you clear your cookies for your site when you change them before you try logging in again.

(And in case you lock yourself out, upload the tools.php file from your do_not_upload directory into your /admincp and run it to reset your cookie domain.)

A.Dutsov
04-17-2012, 04:57 PM
i locled myself once, and i unlocked it from the database directly, its not a problem, but i did everything few times, cleared cookies from my browsers, tried from 4 different computers, i also tried to change the bb to vb and did all things again ... as suggested on vbulletin.com forum ... its just not working ... when i close my browser, and then open it again, it prompts me again for user and password ...

A.Dutsov
04-17-2012, 05:08 PM
not working, i tried all possible solutions from vbulletin.com and from here, repeted several times, also cleared the browser cache every time ... i am willing to pay to specialist to help me with the forum, so please if you are doing payd services, i can pay with paypal, i want the cookies issue fixed, and forum settings revised(and if needed - changed) we bought the forum, but i dont think we can make it working as it should work ... we've spent alot time in modifying the forum to be like its now, but now this thing with the remember me is a big problem for our members, they dont like the fact they have to enter their login every time even if they clicked on remember me ... so again, if somebody think can fix this, we are willing to pay, and we are also searching for vbulletin expert to review our forum settings and see if we done the things right and to check our forum security and functionality

Lynne
04-17-2012, 05:22 PM
Have you checked to make sure your custom style has a login form that is exactly the same as the default login form - all the same inputs and such?

kh99
04-17-2012, 09:10 PM
Yeah, good call - it looks like the code for the "Remember Me" checkbox (which looks like this in the output):

<li id="remember" class="remember"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> Запомни Ме?</label>
</li>


Is not inside the login form tags, so it's value isn't being sent.

A.Dutsov
04-18-2012, 05:42 AM
something went really wrong, i made style backup with download, then i tried to change the style ... it went wrong, and when i tried to recover the style the problem was still there, the forum looks not good ... please now i need fast and if needed - payd help! i can give test account to everybody willing to help on PM ...

Lynne
04-18-2012, 02:19 PM
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

This will give you a default style until you get yours fixed.

If you wish to pay someone to fix your style, you need to post the Request for Paid Services forum, not ask in this thread.

A.Dutsov
04-18-2012, 02:39 PM
the problem seems not to be the style itself ... i made new style, its same, i installed 2 new styles, same again, please if you have time check my forum at drifting.bg/forum ... its looking like something is not working ... maybe not loading all css files ... or i dont know ...

Lynne
04-18-2012, 02:59 PM
You have done something to your Master Style.

Upload the tools.php file from your do_not_upload directory into your /admincp directory. Then point your browser to it and login with your customer number. Then click to rebuild your style.