PDA

View Full Version : Mini Mods - Remember me box automatically ticked


Jase2
02 Feb 2008, 17:43
Default Check 'Remember Me'

This little template modification will guide you through the few simple steps that will make the '[ ] Remember Me' checkbox automatically checked.


Admin Control Panel > Styles & Templates > Style Manager > Dropdown: Edit Templates > Navigation / Breadcrumb templates > navbar

Find the following piece of code:

<input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />


At the end, before the /> add checked="checked", which will then look like this:

<input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />

Save and you're done!

UltraFanatics
12 Feb 2008, 19:09
Nice!

hrk
14 Feb 2008, 17:01
Good effort.

But i think forcing ppl to click "remember me" is not a good idea at all.
Imagine if they were to surf the forum at an internet cafe , the damage is huge. :eek:

Jase2
14 Feb 2008, 17:23
You don't have to use it. :)

And all that would take is a simple "Clear Cookies". ;)

Regards Jason :)

DssCrazy
22 Feb 2008, 17:34
Does not work on vb 3.6.8

Jase2
22 Feb 2008, 17:38
This does indeed work with 3.6.8, as that's what it was originally created for ;)

Regards Jason :)

DssCrazy
24 Feb 2008, 19:21
nope, i tried and it does not work

Jase2
24 Feb 2008, 19:43
I know for a fact it works, so I don't know where your going wrong, not that you can.

Regards Jason :)

Johnnnie
26 Feb 2008, 21:03
Hi,

Very useful !

But now, do you have something for template's;

standard_error
standard_error_lite
standard_error_login

Thx

Coop1979
28 Feb 2008, 14:55
Works on 3.6.8 too. Installed!

PaulSonny
04 Mar 2008, 17:47
I see this as a major security flaw.

Thanks, Paul.

Jase2
05 Mar 2008, 23:19
Explain that? If a vB developer said it was OK ... then why is it a security flaw?

In fact, if you've got negative comments, then please don't post at all. I am sick of people complaining about peoples hacks/mods ect. if you can do better, then by all means do it. :)

Regards Jason :)

hotwheels
06 Mar 2008, 18:36
works perfectly. Thanks.

Boofo
13 Mar 2008, 10:19
I see this as a major security flaw.

Thanks, Paul.

Then you need to have your eyes checked. ;)

Jase2
17 Mar 2008, 00:16
hehe...I agree!

Regards Jason :)

iyihost
19 Mar 2008, 14:22
thanks

princeedward
26 Mar 2008, 19:58
...what a great idea Jason... thanks for this...
work like a charm to my vB 3.6.8 PL2

best regards...

Hornstar
19 Apr 2008, 04:25
This actually solves more problems then it could ever create. Trust me, some users just have so many problems with signing in, I have no idea what they do wrong, but this quite often will solve the problem for them.

Jase2
19 Apr 2008, 11:15
I agree hornstar1337. My users were having problems getting logged out all the time ect, so this was the solution. :)

Aclikyano
19 Apr 2008, 23:54
thank GOD !! now I dont have to click the stupid box everytime I login to my site...

I mean I clear cookies anyway...
I mean it makes me stay logged in even if I dont check the box...
As a matter of fact I think the box doesnt even work to be honest...

But great hack.:)

myown
20 Apr 2008, 18:38
thanks using since long time ago on my site

thestaton
20 Apr 2008, 20:25
thanks so much for this simple hack. works like a charm on 3.7 RC3.

a squared
21 Apr 2008, 04:27
I've used this before and now using it again. Thanks! :up:

Cobro
21 Apr 2008, 09:22
thank you very useful

MattIS
22 Apr 2008, 04:19
Works like a charm Thanks.

maidos
27 Apr 2008, 12:18
thanks, how about having this feature same when ppl get error message when they are trying to access a restricted section

Jase2
27 Apr 2008, 16:22
Not sure what you mean, but there is nothing else you can do with this hack...

maidos
27 Apr 2008, 16:33
im refering to this language phrase not_logged_no_permission
on that error message it allows to login with the remember me box wheere ppl can tick

Kinneas
28 Apr 2008, 15:00
This is an extremely simple and useful template edit, all it does is ticks something which is unticked by default. I don't see how anyone can be reporting problems with it, lol.

Jase2
01 May 2008, 16:24
im refering to this language phrase not_logged_no_permission
on that error message it allows to login with the remember me box wheere ppl can tick

I see what you mean. That can be achieved, but not with this hack ;)

I actually have the remember be box ticked with the standard_error

Boofo
01 May 2008, 17:06
There are 4 places for the remember me checkbox:

navbar
STANDARD_ERROR
STANDARD_ERROR_LOGIN
STANDARD_ERROR_LITE

I did a str_replace for all of them for the Ultimate Navbar hack.

Chunkerz
01 May 2008, 21:07
Great mod. This will greatly help new members to not have as much log in problems

Goomzee
04 May 2008, 14:14
nice dude

phonexpo
04 May 2008, 21:13
Works like a charm Thanks.

KURTZ
04 May 2008, 21:54
this feature is also implemented into THIS (http://www.vbulletin.org/forum/showthread.php?t=177934) hack :)

sdavis2702
10 May 2008, 15:02
Great thanks!

DiverTree
10 May 2008, 21:39
thanks! for the life of me i can never remember where to edit that bit of code. lol. as for the "security" problem that was mentioned, i only see it being an issue of security on a public computer. like at a library or at work where somebody else that frequents your site would use the same computer. not really an issue on my board, as most of them are well aware of the "security issues" that this edit causes ... but if thats the norm for your users then i would suggest for you to simply not to do it. :rolleyes:

TimberFloorAu
21 May 2008, 22:43
Cracking little Template MOD .... THANKS

_marked_as_installed

LWS
06 Jun 2008, 02:07
nice little hack..thanks!

KempoMRK
08 Jun 2008, 17:22
I didn't use this hack for the "Remember Me" box, however I used part of the code to automatically tick another box I wanted ticked.

So thanks, I'll mark it as installed :)

PoetJA-1975
26 Jun 2008, 15:46
LOL - interesting drama back in March LOL
Anyway - thanx for sharing ;)

JAcquii.

PoetJA-1975
22 Jul 2008, 21:57
Hey JASON - I've been having an issue with Members staying logged in - could this template modification possibly have anything to do with this issue?

Thanx,

Jacquii.

Jase2
23 Jul 2008, 23:14
No, it shouldn't. If they are still staying logged in, tell them to delete the cookies associated with your site.

Pleex
24 Jul 2008, 15:33
has to work everywhere ><
good idea! thanks.

ErrorLog
24 Jul 2008, 18:20
Thank you =}

PoetJA-1975
25 Jul 2008, 02:40
No, it shouldn't. If they are still staying logged in, tell them to delete the cookies associated with your site.

OK = Thanx ;)

Jacquii.

BucWiLd
11 Aug 2008, 15:33
nice, thanx

1361
31 Oct 2008, 18:06
There are 4 places for the remember me checkbox:

navbar
STANDARD_ERROR
STANDARD_ERROR_LOGIN
STANDARD_ERROR_LITE

I did a str_replace for all of them for the Ultimate Navbar hack.

I looked into doing all of them myself. The code is a little different in the files you mention.
<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" />
What exactly should be placed in here to get this to work?

GlamRockTalk
20 Nov 2008, 12:15
Always a must on my forums. Thanks. :D

triff
21 Mar 2009, 13:15
This template edit also works great for vB 3.8. You should add in it among the vB 3.8 template edits too! :)

SGL.

Iguana Goddess
12 Jan 2010, 16:48
Issue fixed.

jbizzle
02 Jun 2010, 04:07
Works in 3.8.5, thank you!

JohnnieOO
16 Sep 2010, 19:34
So Simple, thanks!!!

wangyu1314
09 Jul 2012, 01:36
thank you, it's nice