Skip to content

Log in from another website?

1443 Views 3 Replies

0 Members and 1 Guest are viewing this topic.

Log in from another website?
on:
#1
Hello!


I'm managing a gaming website, and i made a forum with .createaforum.com. (by the way, it's the best in my opinion)
-well, now to the question.


Since i'm running 2 websites with the same, i thought if it would be possible to get a HTML Log in form code to my official website? That would be great!
-So when my friends log in, they will be logged in at the Forum, but also at the other website?


Actually im just wondering if it was possible to get the Log in form in HTML? ???


-Chesso.
Re: Log in from another website?
Reply #3 on:
#4
The login form in html is
Code: [Select]
        <form action="http://url.createaforum.com/index.php?action=login2" name="frmLogin" id="frmLogin" method="post" accept-charset="ISO-8859-1" onsubmit="hashLoginPassword(this, \'7fc773f3c5525a9e83f5240bb0cae348\');">
        <div class="tborder login">
            <div class="cat_bar">
                <h3 class="catbg">
                    <span class="ie6_header floatleft"><img src="http://images.smfboards.com/caf/images/icons/login_sm.gif" alt="" class="icon"> Login</span>
                </h3>
            </div>
            <span class="upperframe"><span></span></span>
            <div class="roundframe"><br class="clear">
                <dl>
                    <dt>Username:</dt>
                    <dd><input type="text" name="user" size="20" value="" class="input_text"></dd>
                    <dt>Password:</dt>
                    <dd><input type="password" name="passwrd" value="" size="20" class="input_password"></dd>
                </dl>
                <dl>
                    <dt>Minutes to stay logged in:</dt>
                    <dd><input type="text" name="cookielength" size="4" maxlength="4" value="120" class="input_text"></dd>
                    <dt>Always stay logged in:</dt>
                    <dd><input type="checkbox" name="cookieneverexp" class="input_check" onclick="this.form.cookielength.disabled = this.checked;"></dd>
                </dl>
                <p><input type="submit" value="Login" class="button_submit"></p>
                <p class="smalltext"><a href="http://url.createaforum.com/index.php?action=reminder">Forgot your password?</a></p>
                <input type="hidden" name="hash_passwrd" value="">
            </div>
            <span class="lowerframe"><span></span></span>
        </div></form>
        <script type="text/javascript"><!-- // --><![CDATA[
            document.forms.frmLogin.user.focus();
        // ]]></script>

Replace url.createaforum.com with your forum's to get your forum's html login form

I have no idea how to merge them, but I know that MediaWiki has an extension that merges logins with a Simple Machines Forum (aka SMF)
Last Edit: March 06, 2013, 05:56:39 pm by KIЯBYFAN91
Max characters: 300; characters remaining: 254
 

Related Topics