News:

Create A Forum Installed

Author Topic: Log in from another website?  (Read 619 times)

0 Members and 0 Guests are viewing this topic.

Offline Chesso123

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Log in from another website?
« on: March 03, 2013, 12:46:54 pm »
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.

Share on Facebook Share on Twitter


Offline Stephanie Smith

  • Full Member
  • ***
  • Posts: 180
  • Karma: -15
  • Gender: Female
    • View Profile
    • Hogwarts school and wizardry world RPG
Re: Log in from another website?
« Reply #1 on: March 03, 2013, 01:15:05 pm »
I don't think they made anything like that? 

but you can add the other website by making a new page and importing it so its a click away from your main

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7090
  • Karma: 322
    • View Profile
Re: Log in from another website?
« Reply #2 on: March 03, 2013, 04:06:04 pm »
No easy way to do that at the moment.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline KIЯBYFAN91

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
  • Gender: Male
    • View Profile
    • Smash Forums
Re: Log in from another website?
« Reply #3 on: March 06, 2013, 05:55:00 pm »
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

  Subject / Started by Replies Last post
1 Replies
371 Views
Last post March 03, 2016, 01:56:26 pm
by CreateAForum
1 Replies
1684 Views
Last post February 19, 2017, 05:42:05 pm
by CreateAForum
0 Replies
1011 Views
Last post April 13, 2020, 12:26:11 am
by Taykair
6 Replies
279 Views
Last post October 04, 2022, 12:49:39 pm
by Crystal Wisdom
3 Replies
265 Views
Last post November 16, 2022, 12:49:37 pm
by CreateAForum