News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

I want to use function login ... Help me Please!!

Started by Gonzalo Higuaín, August 03, 2015, 06:55:06 AM

Previous topic - Next topic

Gonzalo Higuaín

I want to use function login ... Help me Please!!

I want use function login and design login-box

I unknown function login

I want example (code login)

Teach Please





:D ;D 8) Thank You  ;D :D :)

Sir Osis of Liver

If you are referring to the popup login window, that's in Login.template.php, look for function template_kick_guest().  If you want to change the header login, it's in index.template.php, look for -



<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>



It will vary with theme.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


Advertisement: