vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - Remember me box automatically ticked (https://vborg.vbsupport.ru/showthread.php?t=169444)

Jase2 02-01-2008 10:00 PM

Remember me box automatically ticked
 
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:
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:

Code:

<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

Quote:

Originally Posted by PaulSonny (Post 1456861)
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

Quote:

Originally Posted by maidos (Post 1500760)
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 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 :)


All times are GMT. The time now is 04:40 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
  • Page Generation 0.05081 seconds
  • Memory Usage 1,779KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete