Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
'Remember Me' Checked by Default in Navbar Details »»
'Remember Me' Checked by Default in Navbar
Version: 1.00, by Phooey Phooey is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Version: 3.6.1 Rating:
Released: 09-30-2006 Last Update: Never Installs: 239
Template Edits
 
No support by the author.

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>
Change it to this:
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>
You'll be adding the part that's highlighted in green at the end of the 'replacement' code and telling the browser to check that box by default.


If you use this template mod, please, click INSTALL.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-04-2006, 01:38 PM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice idea and thx 4 share ..
Reply With Quote
  #23  
Old 10-05-2006, 07:10 PM
iLLoGIc iLLoGIc is offline
 
Join Date: Jul 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 10-06-2006, 04:17 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iLLoGIc
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.
once clicked you remain logged in until your cookie expires, thus once your cookie expires it wont remember you ticked it

so the answer is no. sorry.
Reply With Quote
  #25  
Old 10-06-2006, 12:37 PM
Phooey Phooey is offline
 
Join Date: May 2004
Location: Wisconsin, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iLLoGIc
an option in the usercp to set default yes or no.
See the previous post for an answer to that first part, but I really like this idea. Look for it in a future release. I can't guarantee it'll be in the next few weeks because I'm pretty busy irl, but I'll definately work on it.
Reply With Quote
  #26  
Old 10-06-2006, 05:15 PM
iLLoGIc iLLoGIc is offline
 
Join Date: Jul 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
once clicked you remain logged in until your cookie expires, thus once your cookie expires it wont remember you ticked it

so the answer is no. sorry.

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.

Reply With Quote
  #27  
Old 10-06-2006, 07:05 PM
Phooey Phooey is offline
 
Join Date: May 2004
Location: Wisconsin, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 10-06-2006, 08:05 PM
iLLoGIc iLLoGIc is offline
 
Join Date: Jul 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phooey
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.
That would be cool. Keep up the good work.
Reply With Quote
  #29  
Old 10-09-2006, 09:02 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 01-25-2007, 06:50 AM
mrkhm mrkhm is offline
 
Join Date: Oct 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works a treat in 3.6.4 * installed thanks!
Reply With Quote
  #31  
Old 01-25-2007, 12:31 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx
/me installs
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08587 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete