![]() |
'Remember Me' Checked by Default in Navbar
Ok, so this is a painfully simple Template Modification, but I'm sure there are plenty of vBulletin users who would love to have the 'Remember Me' box on the navbar login form checked by default, so here it is:
Find the following in your navbar template (Its within the <!-- login form --> section): Code:
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> Code:
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td> If you use this template mod, please, click INSTALL. |
Reserved, just in case. :D
|
Shouldn't it be checked="checked" ?
We also edit the various error message templates as you can login with them as well. :) |
whats the reason for the hack...........................
|
Both "checked" and "on" seem to work, but I think "checked" might be more common, so I'll edit that. Thanks. :cool:
|
Quote:
|
there problem ................i have to say happens on mine to but hey arcade scores arnt that important ........unless there mine of course !
|
There is actually a very good reason why it is off by default. When people use internet caf?s or the likes and they forget to log off, they don't have to worry about their account getting hijacked.
Quote:
Quote:
|
That had to have been the most difficult mod I've made so far! :D
Thanks for sharing, Mark |
Quote:
great hack |
So where do i must put the code??? Under the <!-- login form --> or over???
|
Quote:
|
I dint understood!!! Can you explain me step by step pls???
|
Just sent you a PM, it should help you out. Also updated the hack here so that it reads a bit more clearly.
|
Quote:
|
Ok thnx to Phooey!!! He saved me!!!
|
Glad to be of assistance. :)
|
reserved. I'm not sure how many of my members actually log in from home even though a lot of them complain they keep getting logged out since they don't remember to check that box for themselves.
:) Good modification! |
One of my older 3.x hacks made it to vborg, sweeet - thanks for updating it to 3.6.1 :)
|
Yeah, I figured I wasn't the first person to post this. It's probably not too different (if at all) from your 3.x version, i just couldn't find it posted here at all, so I figured I'd share. :cool:
|
nice idea and thx 4 share .. ;)
|
I have a request? Anyway to make this default off but once clicked it would remember each time you come back. As well as an option in the usercp to set default yes or no.
|
Quote:
so the answer is no. sorry. |
Quote:
|
Quote:
I know this is possible. May not be how the code is designed but its possible. I am saying some people want this on by default and some don't. I think if its up to the user to have it on or off and leave it up to them because depending on if they are an admin having it save their info is not cool if the its a huge board thats a huge security risk if they forget to uncheck the save password. If it would remember that you check it and then when you come back what ever it was last set would be cool. maybe if there was some type of cookie that would save to remember this on that computer or when you type your user name if it could check the userr name and the user name's setting in their cp for this password remember as you click on password then the check box would change value based on what the userscp is set to. I am not trying to get into a debate about it I am just trying to find a way to make this mod a better mod and less of a security hazard but if the way i am thinking is too complex and is not possible and more of a security hazard then whatever. But i do see what your saying Hornstar about the it not able to know who to check into the db becuz everyone is a guest. :cool: :cool: :cool: :cool: |
Well, that's way above my level of coding for vB, but I'll defiantely work on implementing an on/off switch somewhere in the admincp. :)
|
Quote:
|
im fully with you, it would be cool, but the chances of seeing it anytime soon are quite slim. and im no expert but i feel doing some of the above may actually make it a little more insecure then secure lol but i aint no expert so i dont know for sure.
|
works a treat in 3.6.4 * installed thanks!
|
thanx
/me installs |
Thanks! I was tired of all the issues from people losing their session and always telling them to remember to click that box... I wanted to hack this myself but you saved me the effort... Thanks!
|
Thank you Phooey
Install |
Glad you guys like it. I've never created a product or plugin before, but I'm (very slowly) working on turning this in to a nice simple and small product that would automatically make the template change.
|
I'm not sure what I thought was correct . Why don't you guys just set cookies time higher, like 99999 instead of modifying the template to force "Remember me" checked ???
|
Quote:
Great hack! Thank you. |
Quote:
Even though it saves on less click of the moust :) But its nice to have |
Quote:
Because if they are auto logged in and you use the hack to remove the logout button once you have banned them then they cannot log out ;) |
Installed, what a ripper of an idea. On other forums I visit I forget at times and get dropped out now and then.
For those visiting internet cafe's they'd be pretty darn thick to not clear their sessions prior to leaving, liken it to leaving your card in the ATM and walking off! |
Thank you for this. I've had problem with this for a while and kinda tired of saying "check the remember me checkbox when logging in". Hopefully, this will solve the problem. Thanks again.
|
here is the TMS (template modification system) XML file for this modification. Users that have TMS installed can simply download this file and upload it in their ACP and it will take care of the edits for them.
|
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|