The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
remote login
Hi.
i was searching for a remote login, i found some hacks, but all those hacks don't login on theirselves, but redirect to member.php. I'm searching for a hack(or code only) that processes the login on the same remote page. This is what i currently have now: Code:
<? require('global.php'); if ($bbuserinfo[userid]>=1) { $id = $bbuserinfo[userid]; $query = "SELECT username FROM user WHERE userid=$id"; $result = mysql_query($query); $row = mysql_fetch_array($result); echo $row[username]; } else { ?> <form action="member.php" method="post"> <input type="hidden" name="s" value="<?=$session[sessionhash]?>"> <input type="hidden" name="action" value="login"> Gebruikersnaam: <input type="text" class="bginput" name="username" size="25"><br> Wachtwoord: <input type="password" class="bginput" name="password" value="" size="25"><br> <input type="submit" class="bginput" value="Login!"> </form> <? } ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|