Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Aiheen aloitti: Skylined - kesäkuu 12, 2006, 07:53:17 IP

Otsikko: changing the login module
Kirjoitti: Skylined - kesäkuu 12, 2006, 07:53:17 IP
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

Otsikko: changing the login module
Kirjoitti: Orstio - kesäkuu 12, 2006, 08:12:00 IP
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.
Otsikko: changing the login module
Kirjoitti: Skylined - kesäkuu 12, 2006, 08:18:34 IP
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>
Otsikko: changing the login module
Kirjoitti: Kindred - kesäkuu 12, 2006, 09:11:12 IP
the switch would be html, not php

change the select to a radio button or checkbox object