The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
...Form from another page, that would use the user's database from VBB for authentication?
i.e: You have a password autherntication on your site, and the users and passwords have to be registered on the board, it must be easy to do this, but I can't ![]() Any help would be appreciated! Thanks in Advance! Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Yes I would love something like this for my site
with an option of letting them in only if they are in a certain group such as admin or super mod... would this be possible? |
|
#3
|
|||
|
|||
|
I think I know how to do this now, thanks to the hear me chat hack, the hack uses a code like this, on a php stand alone file:
Code:
<?
require("global.php");
if ($bbuserid == 0)
{
eval("echo standarderror(\$bbtitle,\"".gettemplate("error_nopermission")."\");");
exit;
}
if ($bbusername == "" || (isset($bbusername))==0)
{
$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$bbuserid");
$username=$getusername[username];
$bbusername = $username;
}
else
{
$username = $bbusername;
}
eval("echo standarderror(\$bbtitle,\"".gettemplate("chat_hack")."\");");
?>
|
|
#4
|
|||
|
|||
|
in member.php find:
if ($action=="login") { above this add if ($action=="memberlogin") { eval("\$logincode = \"".gettemplate("logincode")."\";"); eval("echo dovars(\"".gettemplate("memberlogin")."\");"); } then create a new template called memberlogin and paste this code in it {htmldoctype} <HTML> <HEAD><TITLE>$bbtitle - powered by vBulletin</title> $cssinclude </head> <body> $header <center> $logincode <br><br> </center> $footer </body> </html> then create a link to it I think that was all I did here is my link http://www.clubbers.ws/vb/member.php?action=memberlogin back up your member.php file before trying this. |
![]() |
|
|