Hey everyone, I am releasing another template modification, its basically shows you how to manually make the "Remember Me" box.
Why I made this small release.
Well I don't know about you but I only have one theme and about 25 modifications and am tired of adding plugins for such a simple thing when it takes almost less then 30 seconds to manually do this. Plus manually adding simple stuff like this expands your knowledge of HTML and PHP so that you can learn to do things like this yourself. Anyways enough of my mindless rambling and lets get to it.
STEP 1Open up your forum navbar template and find the following line of code.
Code:
<input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />
Step 2Add the following code anywhere in their
now your code should look something like the following
Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" checked="checked" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />
For highly customized templates they might have placed the login check box in some other template and you may not know exactly which one well here is how you can find which that template it is in.
Step 1Go to admincp >> Styles & Templates >> Search in Templates. Now in the top box labeled "Search Templates" First select which theme you want to seach in then in the search box search for the following
Code:
cb_cookieuser_navbar
Step 2Open up the highlighted template and below the code box it should already have the searched phrase in there so you should be able to just click "Find" and it will bring you to the code.
Step 3Ok, now just use the steps provided above to make it auto check the remember me box.
This should work for any check box

Well I hope you learned something today, I know its small tweak but it is very nice addition to any website.