![]() |
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. |
Code:
<table border="0" cellpadding="0" cellspacing="0"> |
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" |
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. |
All times are GMT. The time now is 12:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|