View Full Version : End-User Options - Remember me box auto ticked
Atakan KOC
05-08-2008, 10:00 PM
Remember me box auto ticked
This hack is made for to put a check to the rules when sign in. I made this hack because sometimes I am so busy to edit the templates so I made navbar default templates. Hope you like it.
install
Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-autorememberbox.xml' from your computer then press 'Import'
Modifications Info
Plugin : 1
Phrases : 0
Template : 0
Setting : 0
Versions:
v1.0 - 9 May 2008
-First release
kaptanblack
05-09-2008, 04:20 PM
Thank you KOÇ.installed.
Jase2
05-09-2008, 04:21 PM
Hmm... this is a simple template edit to add: checked="checked" -- I really don't think a product is needed.
KURTZ
05-09-2008, 04:23 PM
Hmm... this is a simple template edit to add: checked="checked" -- I really don't think a product is needed.
agreed :)
PaylaX
05-09-2008, 04:29 PM
Thanks...
Hasann
05-09-2008, 05:39 PM
Hmm... this is a simple template edit to add: checked="checked" -- I really don't think a product is needed.
agreed :)
some people can't or wouldn't template edits
this is a way make a life simple in vbulletin
KURTZ
05-09-2008, 05:42 PM
i know Hasann, anyway THIS (https://vborg.vbsupport.ru/showthread.php?t=177934) hack made by Cyb give us many options ;)
PaylaX
05-09-2008, 05:58 PM
this is your election
anyway you agreedI really don't think a product is needed.
sdavis2702
05-10-2008, 11:45 AM
Hm... I went to just edit my template and it already said checked="checked". Am I looking in the right place? What template would this edit be done in?
Jase2
05-10-2008, 03:30 PM
Hasann, IMHO this is just a mod for mods sake. Really, how hard is it to add checked="checked" to the navbar template ?
rizelim
05-10-2008, 06:19 PM
thanks Atakan
mkinnov8
05-10-2008, 06:45 PM
Hasann, IMHO this is just a mod for mods sake. Really, how hard is it to add checked="checked" to the navbar template ?
Its not really hard at all.. However the OP made this mod because they had a use for it, then shared it here as others may have had the same thought. Each to their own. Its quite simple really, if you dont need it, dont use it :). Just remember, others might.
Madlike
07-22-2008, 06:25 AM
Hasann, IMHO this is just a mod for mods sake. Really, how hard is it to add checked="checked" to the navbar template ?
<![CDATA[ $repl = array(
array(
'<td class=\"smallfont\" 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>',
'<td class=\"smallfont\" 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>'
));
foreach ($repl as $r)
{
$vbulletin->templatecache['navbar'] = str_replace($r[0],$r[1],$vbulletin->templatecache['navbar']);
}
unset($repl, $r);
$repl = array(
array(
'<input type=\"checkbox\" name=\"agree\" id=\"cb_rules_agree\" value=\"1\" />',
'<input type=\"checkbox\" name=\"agree\" id=\"cb_rules_agree\" value=\"1\" checked=\"checked\" />'
));
foreach ($repl as $r)
{
$vbulletin->templatecache['register_rules'] = str_replace($r[0],$r[1],$vbulletin->templatecache['register_rules']);
}
unset($repl, $r);
]]>
:p
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.