The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Login code on Non VB Page
Just a request, if someone has this, or can show me a post about it, would greatly appreciate it.
Just want the login name and password on our main website page that logs the user into the bulletin board. |
#2
|
||||
|
||||
Code:
<table border="0" cellpadding="0" cellspacing="0"> <form action="member.php" method="post"> <tr> <td nowrap><smallfont>No Cookies?<br>Enter your Username and Password to Login:</smallfont></td> </tr><tr> <td nowrap><input type="hidden" name="s" value="$session[sessionhash]"> <input type="hidden" name="action" value="login"> <input type="text" class="bginput" name="username" size="7"> <input type="password" class="bginput" name="password" size="7"> <input type="submit" class="bginput" value="Login!"></td> </tr> </form> </table> |
#3
|
||||
|
||||
Heres what i dod for PHPNUKE
echo "<center>" ."<table cellpadding=\"3\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\">\n" ."<tr bgcolor=\"#c0c0c0\">\n" ."<form action=\"/forums/member.php\" method=\"post\">\n" ."<input type=\"hidden\" name=\"action\" value=\"login\"><input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\n" ."<td width=\"580\">\n" ."<font class=\"formbox\">Nick:</font> \n" ."<input type=\"text\" name=\"username\" size=\"7\" maxlength=\"25\" class=\"box\">\n" ."<font class=\"formbox\">Pass:</font> \n" ."<input type=\"PASSWORD\" name=\"password\" size=\"7\" maxlength=\"20\" class=\"box\">\n" ."<input type=\"hidden\" name=\"op\" value=\"login\">\n" ."<input type=\"submit\" value=\"Login!\" class=\"formbox\">\n" ." <a href=\"/forums/register.php?action=signup\"><font class=\"formbox\">Join</font></a>\n" ."</td>\n" ."</form>\n\n" |
#4
|
|||
|
|||
Sleepbirdcyp!
Hey that works great except for one thing. When I go to the page that is protected I see the login boxes and I'm able to log in using them, but there is an error just about them that reads: Warning: Undefined index: bbuserid in c:\inetpub\wwwroot\dealerforge\vbulletin\homelogin .php on line 7 Line seven is: if(!$HTTP_COOKIE_VARS["bbuserid"]) { Can you or someone help? I seem to get that error anytime I refer to bbuserid in code. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|