CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   PHP (http://www.codingforums.com/forumdisplay.php?f=6)
-   -   login code making it login in my forums (http://www.codingforums.com/showthread.php?t=274891)

legendrock7 10-02-2012 03:37 AM

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.

mlseim 10-02-2012 04:27 AM

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.

legendrock7 10-02-2012 04:38 AM

Mybb

Do you need my website url?

mlseim 10-02-2012 01:14 PM

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.


.

legendrock7 10-02-2012 04:50 PM

I'm not familiar with mybb, i usually use simple machines forums. I'm trying out the link you sent me

legendrock7 10-03-2012 01:27 AM

Edit: got it solved.


All times are GMT +1. The time now is 01:48 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.