![]() |
Remember me box automatically ticked vB 4.0.x INC vb 4.0 PL 1 (GOLD)
1 Attachment(s)
Default Check 'Remember Me'
What does this do? This small template modification will make the 'Remember Me' checkbox automatically checked. Instructions: Admin Control Panel -> Styles & Templates -> Style Manager -> The Style that you Use (mine is Default Style) -> << >> -> header FIND: Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" /> {vb:rawphrase remember_me}</label> REPLACE WITH: Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" checked=checked"/> {vb:rawphrase remember_me}</label> ON vB 4.0.1: FIND: Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label> Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked=checked"/> {vb:rawphrase remember_me}</label> SAVE And - Job Done! Please Click Install if you use this. Only recommended for private Computers! ** Worth mentioning that if your members do use a public computer (a shared pc; such as in a Internet Cafe or Library etc). They should remember to untick the box; Manually, Also clear the cookies. Use or Don't use - it's there for you to choose. :) UPDATES: ** 18/01/2010 - Updated Code for vB 4.0.1 Version |
** Reserved **
|
Installed :D
|
I always recommend remember me for users that complain about being logged out after so many minutes while typing a thread... I even had the timeout set high but I've never had a problem when they tick the box... this should help them. :D
|
Installed.
|
|
Quote:
It certainly WILL. :D |
I used this and made the box hidden permanently
|
Quote:
Interesting. :) Feel free to share how you did it - If you wish to. :D |
I added style="display:none;" and deleted the remember me code
Code:
<div id="remember" class="remember"> |
Coooool.
Installed. :) Is there a version of this for 3.8? I have a few 3.8's that this would be useful on. |
Quote:
I am using a version on vB 3.8.x too. I will do it Tomorrow for you. Sorry, I won't have time Today. :( |
does this work for 4.0.2 ???
|
I have a 4.0.2 PL1 testboard and it works on there. :)
|
Thanks! :)
|
Great little tip/mod thanks ... have rated it 5 stars for ya :).
|
Dumbest idea I've seen in a while. The whole point of the box being unchecked by default is security. By checking it by default, you're forcing users on public computers to remember to uncheck it, and if your users are too dumb to check it, then they're certainly too dumb to uncheck it.
My members aren't the brightest bulbs in the box, but on the rare occasions I have to tell them to check it, they do. If they're really too stupid to check it, then I really don't want them as members. |
Quote:
Someone has a chip one their shoulder, don't they?! Here is a quote from my OP... Quote:
I think the world of ALL of my members and without them, my forum won't be the huge success it is Today. I respect my ALL my members and YOU will do well to do the same to yours. If you don't like it - DON'T install it! No-one is forcing you too!! |
perfect! thanks..
|
Do we have any update for 4.03 for this, it doesn't seem to be working now I've upgraded :(
|
That's strange,
It works for me after an Upgrade from 4.02 - 4.0.3 PL1. Have you reverted the templates back? |
Love this, it works in vB 4.0.5 :D
|
Thank You for confirming that it works in vB4.0.5, Destron. :)
|
hi
can you make this mode as auto Template as a product i hope that pleas pleas pleas :p :p :p thanks |
works also on 4.0.6
|
1 Attachment(s)
hi
is this right code to make a plugin from this hack: PHP Code:
thanks |
Installed 4.0.2, works great.
|
i have vb 4.0.7 and it does not work in my site ???
the file: product-autorememberbox.xml is defrent from the code, i hope if some one can fix the code, the file is vb 3.5 and the code for vb 4.0 thanks |
Quote:
You have the wrong mod there Mate. There are no files to upload on this one. ;) |
i am talking about the file i uploaded i want some one to fix it so we can use it as product and we do not need to change the style code.
thanks |
Quote:
Therefore, you would be better to ask that question on the thread, where ever you uploaded your original file from. Regards, Welshy2008. |
hi
seriously, i don't remember from ware i downloaded the file. all what i need is to have this node in a product so i am not going to add anything in the template. i hope if some one can help. thanks |
It looks like there are mismatched quotes around "checked". Shouldn't this
Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked=checked"/> {vb:rawphrase remember_me}</label> Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked="checked"/> {vb:rawphrase remember_me}</label> |
you need to fix this line - and add (checked="checked")
|
Quote:
|
I can't make this work on 4.1, can't find exact code
HTML Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label> |
Quote:
Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label> Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked="checked" /> {vb:rawphrase remember_me}</label> |
Quote:
4.1 PL2 |
nice one !!!
|
Does not work with moded skin style on 4.1PL2 (at least mine anyway)
|
All times are GMT. The time now is 02:20 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:
|