Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Sep 2012
    Posts
    61
    Thanks
    8
    Thanked 0 Times in 0 Posts

    login code making it login in my forums

    Hi, i have a login code here

    Code:
    <div id="wrapper">
    
    <font color="#ffffff">
    <center><div id="logintable" style="border-radius: 5px;background: #191a1a; opacity: 6.80; border: solid 2px #2f3d3d; width: 969px;" width="969">
    <tr height="500">
    <div id="container">
    <form action="/smf" name="frmLogin" id="frmLogin" method="post">Login &nbsp; <input type="text" name="user" size="20" value="Username" class="input_text" /><input type="password" name="passwrd" value="password" size="20" class="input_password" />&nbsp;Remember Me?&nbsp;<input type="checkbox" name="cookieneverexp" class="input_check" onclick="this.form.cookielength.disabled = this.checked;" />&nbsp;&nbsp;<input type="submit" class="button_submit"  value="Login" />&nbsp;&nbsp;&nbsp;
    </div></div>
    </div></div>
    i want it to login to the forums without someone going on the forums, login from there.


    Example.


    Homepage>you see a login field>you put your FORUM information(login username & password> you click login>you actually login within the forum.

    I would like to know how to do so,

    thanks if you can help, thanks!


    edit: i'm idiot, i just realized that this isn't part of php. please move if you can.
    Last edited by legendrock7; 10-02-2012 at 03:41 AM.

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,471
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    It might be PHP.

    What is your forum (a PHP script?).

    You'll basically have your own PHP script that duplicates the
    scripting that your forum uses to set PHP SESSION variables.

  • #3
    New Coder
    Join Date
    Sep 2012
    Posts
    61
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Mybb

    Do you need my website url?

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,471
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    How much do you know about PHP?

    You'll need to find the login script(s) that mybb uses.
    I've never used mybb .. I'm not sure how they organize their scripts.

    I googled: mybb login integration

    I found this:
    http://freevps.us/thread-3989.html

    That might be a good place to start.


    .

  • Users who have thanked mlseim for this post:

    legendrock7 (10-03-2012)

  • #5
    New Coder
    Join Date
    Sep 2012
    Posts
    61
    Thanks
    8
    Thanked 0 Times in 0 Posts
    I'm not familiar with mybb, i usually use simple machines forums. I'm trying out the link you sent me

  • #6
    New Coder
    Join Date
    Sep 2012
    Posts
    61
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Edit: got it solved.
    Last edited by legendrock7; 10-03-2012 at 02:48 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •