Log in

View Full Version : Remember me option?


iyama
05-01-2011, 09:37 AM
Is there a solution for vb4.x.x.x suite to automatically have the "Remember me" on?

I have search in the long treat's but nothing found.
Further the rest is working after a lot of costuming and editing.

Maybe its a option to make a new upload and explanation of all to new down-loaders?

And :up: for all the good work!

Hippy
05-01-2011, 10:34 AM
in your header template look for this code
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label>

and change it to this code

<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked="checked" /> {vb:rawphrase remember_me}</label>

this will check the remember me box by default

iyama
05-01-2011, 08:23 PM
is not there on vb4.

It is now:

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

Hippy
05-01-2011, 10:15 PM
heres a screen shot of it
vb4.1.3

plain as day

iyama
05-02-2011, 08:05 AM
Its different i see

Boofo
05-02-2011, 09:41 AM
Just add checked="checked" anywhere in that line then.

iyama
05-03-2011, 01:59 PM
Just add checked="checked" anywhere in that line then.

not working

Boofo
05-03-2011, 02:00 PM
Post the line after you added it in here.

iyama
05-04-2011, 08:15 AM
How do you mean?

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

Is it now.

Boofo
05-04-2011, 02:23 PM
First, there are 3 of those lines that need to be changed. Second, that is not the one in the header, which is a fourth one.

In the header look for this:

<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label>


and add it to that line.

Or save yourself the headache, and use this, which has the options to turn the checked boxes off or on:

https://vborg.vbsupport.ru/showthread.php?t=244573

iyama
05-11-2011, 04:14 PM
That was the solution, thnx.