PDA

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


Jase2
02-01-2008, 10:00 PM
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
02-12-2008, 06:09 PM
Nice!

hrk
02-14-2008, 04:01 PM
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
02-14-2008, 04:23 PM
You don't have to use it. :)

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

Regards Jason :)

DssCrazy
02-22-2008, 04:34 PM
Does not work on vb 3.6.8

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

Regards Jason :)

DssCrazy
02-24-2008, 06:21 PM
nope, i tried and it does not work

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

Regards Jason :)

Johnnnie
02-26-2008, 08:03 PM
Hi,

Very useful !

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

standard_error
standard_error_lite
standard_error_login

Thx

Coop1979
02-28-2008, 01:55 PM
Works on 3.6.8 too. Installed!

PaulSonny
03-04-2008, 04:47 PM
I see this as a major security flaw.

Thanks, Paul.

Jase2
03-05-2008, 10:19 PM
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
03-06-2008, 05:36 PM
works perfectly. Thanks.

Boofo
03-13-2008, 09:19 AM
I see this as a major security flaw.

Thanks, Paul.

Then you need to have your eyes checked. ;)

Jase2
03-16-2008, 11:16 PM
hehe...I agree!

Regards Jason :)

iyihost
03-19-2008, 01:22 PM
thanks

princeedward
03-26-2008, 06:58 PM
...what a great idea Jason... thanks for this...
work like a charm to my vB 3.6.8 PL2

best regards...

Hornstar
04-19-2008, 03:25 AM
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
04-19-2008, 10:15 AM
I agree hornstar1337. My users were having problems getting logged out all the time ect, so this was the solution. :)

Aclikyano
04-19-2008, 10:54 PM
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
04-20-2008, 05:38 PM
thanks using since long time ago on my site

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

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

Cobro
04-21-2008, 08:22 AM
thank you very useful

MattIS
04-22-2008, 03:19 AM
Works like a charm Thanks.

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

Jase2
04-27-2008, 03:22 PM
Not sure what you mean, but there is nothing else you can do with this hack...

maidos
04-27-2008, 03:33 PM
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
04-28-2008, 02:00 PM
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
05-01-2008, 03:24 PM
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
05-01-2008, 04:06 PM
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
05-01-2008, 08:07 PM
Great mod. This will greatly help new members to not have as much log in problems

Goomzee
05-04-2008, 01:14 PM
nice dude

phonexpo
05-04-2008, 08:13 PM
Works like a charm Thanks.

KURTZ
05-04-2008, 08:54 PM
this feature is also implemented into THIS (https://vborg.vbsupport.ru/showthread.php?t=177934) hack :)

sdavis2702
05-10-2008, 02:02 PM
Great thanks!

DiverTree
05-10-2008, 08:39 PM
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
05-21-2008, 09:43 PM
Cracking little Template MOD .... THANKS

_marked_as_installed

LWS
06-06-2008, 01:07 AM
nice little hack..thanks!

KempoMRK
06-08-2008, 04:22 PM
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
06-26-2008, 02:46 PM
LOL - interesting drama back in March LOL
Anyway - thanx for sharing ;)

JAcquii.

PoetJA-1975
07-22-2008, 08:57 PM
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
07-23-2008, 10:14 PM
No, it shouldn't. If they are still staying logged in, tell them to delete the cookies associated with your site.

Pleex
07-24-2008, 02:33 PM
has to work everywhere ><
good idea! thanks.

ErrorLog
07-24-2008, 05:20 PM
Thank you =}

PoetJA-1975
07-25-2008, 01:40 AM
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
08-11-2008, 02:33 PM
nice, thanx

1361
10-31-2008, 05:06 PM
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
11-20-2008, 11:15 AM
Always a must on my forums. Thanks. :D

triff
03-21-2009, 12:15 PM
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
01-12-2010, 03:48 PM
Issue fixed.

jbizzle
06-02-2010, 03:07 AM
Works in 3.8.5, thank you!

JohnnieOO
09-16-2010, 06:34 PM
So Simple, thanks!!!

wangyu1314
07-09-2012, 12:36 AM
thank you, it's nice