Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

changing the login module

Aloittaja Skylined, kesäkuu 12, 2006, 07:53:17 IP

« edellinen - seuraava »

Skylined

First of all, thanks for your work on this bridge. :)

Now I have two questions about the login module.

1. How can I change the cookie time dropdown menu to a checkbox saying "Always Remember"?
2. My login module isn't matching my theme's fonts and sizes, can you tell me how to fix this?
Looks good in FireFox, but not with IE. :(

wwwdotntntelectronicadotcom


Orstio

Lainaa1. How can I change the cookie time dropdown menu to a checkbox saying "Always Remember"?

You can change that in mod_smf_login.php in your modules folder.

Lainaa2. My login module isn't matching my theme's fonts and sizes, can you tell me how to fix this?

Check the styles in the same file as above.

Skylined

I know that it's this what I have to change, but I don't know PHP, so can you please give me a hand with that?

Lainaa<select name="cookielength">
               <option value="60">', $txt['smf53'], '</option>
               <option value="1440">', $txt['smf47'], '</option>
               <option value="10080">', $txt['smf48'], '</option>
               <option value="302400">', $txt['smf49'], '</option>
               <option value="-1" selected="selected">', $txt['smf50'], '</option>

Kindred

the switch would be html, not php

change the select to a radio button or checkbox object
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: